The method that atm device is withdrawn the money by drag and drop figure and graphical interfaces
Technical field
The present invention relates to atm device, mainly refer to the method and graphical interfaces of being withdrawn the money by drag and drop image hotpoint on atm device.
Background technology
At present, atm device is withdrawn the money to complete, application system is selected to add a lot of quick amount of money buttons or the keyboard that accesses to your password, amount of money input and transaction selection is carried out, such settling mode, complex operation to allow client, want frequent click keys, interactive experience is poor.
One of prior art: withdrawn the money by the upper quick amount of money button clicking transaction interface.Screen arranges various quick amount of money button, client completes the amount of money by click keys and arranges, thus withdraws the money.The deficiency existed: device screen needs arrange a large amount of button, unsightly, interactivity is poor for graphical interfaces.
Prior art two: withdrawn the money by code keypad input.By clicking the numerical key on code keypad, client completes the amount of money and arranges, thus withdraws the money.The deficiency existed: 1. code keypad is below screen, when client inputs, will note screen and code keypad, poor user experience simultaneously.2., when client arranges the amount of money, repeatedly to click code keypad, complex operation.3. frequently click code keypad, lower keyboard sensitivity, shorten keyboard service life.
Summary of the invention
The object of the invention is the deficiency existed to overcome prior art, method and graphical interfaces that a kind of atm device is withdrawn the money by drag and drop figure are provided.
Realizing technical scheme of the present invention is: this method of being withdrawn the money by drag and drop figure on atm device is comprised:
One multiple point touching display screen, be provided with above arrange the different amount of money paper money zone, with amount of money scale scale district, withdraw the money district, the bank note picture of the different amount of money is dragged to the district that withdraws the money by client, namely completes and withdraws the money; Or confirm scale numerical value after slip vernier, namely complete and withdraw the money;
One operating system, for generating WM_GESTURE message, judges gesture identifier;
One drive system, for carrying out communication between hardware and operating system;
One control system, for controlling multiple point touching display screen.
This technical scheme also comprises:
The translation gesture that multi-point touch panel receives from client inputs, and driver communicates between hardware and operating system; Next, operating system generates WM_GESTURE message, and this message will be sent on the window handle of ATM application program after a while; Then, when having encapsulated relevant information (distance of translation) in the message, ATM application program removes real-time update vernier, amount of money Pictures location, to realize the trailing effect of figure by according to the hand gesture location in the GESTUREINFO structure returned; According to the rising of translation gesture, the withdraw funds of customer selecting can be determined in beginning position, and then call the note output order of hardware, atm device carries out note output.
Slip vernier is withdrawn the money and is comprised the following steps:
Make scale picture, each scale represents 100 yuan, and total length is the maximum permission withdraw funds of single, and scale both sides can increase "+", "-" symbol, and during for clicking, response increases or reduces the amount of money;
Record the X-coordinate of each scale on screen in a program, the X-coordinate value of each scale can be calculated by scale map leaf length and the display position on screen;
Program imports scale resource, is signed on corresponding display interface;
Single indication hits scale label when arranging the amount of money, program response mouse click event, by comparing the scale coordinate recorded in the X-coordinate of the clicking point that click event returns and program, the click scope of client can be known, get the withdraw funds that value less than normal is arranged as client;
When client clicks "+", "-" number arranges the amount of money, by judging the number of clicks of client in program, the withdraw funds that client is arranged can be known;
When using translation gesture dragging vernier that the amount of money is set, touch-screen use in the process of translation gesture, the displacement having gesture real-time in the GESTUREINFO structure that operating system returns, by calculating translation gesture accumulation displacement, vernier can be redrawn in real time, at the end of client's gesture, operating system can return GF_END, mark gesture terminates, and now calculates the X-axis position of current cursor, can know the withdraw funds that client is arranged; After obtaining withdraw funds, in the order of screen invocation facility note output, equipment note output, transaction of withdrawing the money completes.
Dragging bank note picture is withdrawn the money and is comprised the following steps:
Make quick amount of money picture;
Import picture resource in program, signed on display interface;
Screen arranges fixed area, and withdraw funds and client for showing customer selecting drag target area during picture;
When client makes to use gesture and drags picture, utilize system responses translation event handling function
The distance value returned in OnGesturePan (CPoint ptFrom, CPoint ptTo), can redraw trailing picture in real time;
At the end of translation gesture, judge that the rearmost position of picture is whether in the regional extent of establishing, the order of invocation facility note output, does not exist, and will be redrawn by dragging picture initial position.
The beneficial effect that the present invention has:
● change tradition and click key-press input mode, complete input by dragging picture, realize ATM operate tablet, client can with emerging institute wish, and operation sense is stronger;
● pictured interface layout, makes terminal interface more succinct, better Consumer's Experience;
● reduce the use of physical button, extend the serviceable life of code keypad;
● operation steps simplifies, and shortens exchange hour.
Accompanying drawing explanation
Fig. 1 is interface layout of the present invention schematic diagram.
Fig. 2 is multi-point touch panel of the present invention and program cooperating process schematic diagram.
Fig. 3 is that slip vernier of the present invention is withdrawn the money process flow diagram.
Fig. 4 is that dragging bank note picture of the present invention is withdrawn the money process flow diagram.
Fig. 5 is slip vernier schematic diagram of the present invention.
Fig. 6 is face amount 100 yuan note schematic diagram of the present invention.
In figure: withdraw the money district for 1 slip vernier district, 2 paper money zones, 3.
Embodiment
Below in conjunction with accompanying drawing, the invention will be further described:
As shown in the figure, the present invention has abandoned physics, screen key, but adopts interactive graphical interfaces, can automatically adjust according to the requirement of system or user and change.By dragging figure with finger on ATM display screen, user just can complete transaction of withdrawing the money.By contrast, current equipment all requires that click keys is to complete data input.
The present invention, avoids loaded down with trivial details click keys input, and by dragging figure on screen, can complete various withdraw funds and arranging, transaction of withdrawing the money is convenient, quick.
The quick amount of money is arranged on screen with graphic form, after client drags picture to fixed area, the quick amount of money can be completed and withdraw the money, the representation of picture, make interface more attractive in appearance.
Use with the scale of amount of money scale, client slides after vernier and confirms numerical value, can complete other amount of money and withdraw the money, avoid frequent input key, ATM operate tablet, better Consumer's Experience.
Screen arranges boxed area, for showing the withdraw funds that client is arranged; When client oneself arranges the amount of money, for showing confirmation, cancel key.
The translation gesture that multi-point touch panel receives from user inputs, and driver communicates between hardware and operating system.Next, operating system generates WM_GESTURE message, and this message will be sent on the window handle of ATM application program after a while.Then, when having encapsulated relevant information (distance of translation) in the message, ATM application program removes real-time update vernier, amount of money Pictures location, to realize the trailing effect of figure by according to the hand gesture location in the GESTUREINFO structure returned.According to the rising of translation gesture, the withdraw funds of customer selecting can be determined in beginning position, and then call the note output order of hardware, atm device carries out note output.
Slip vernier is withdrawn the money operating process:
1. make scale picture, each scale represents 100 yuan, and total length is the maximum permission withdraw funds of single.Scale both sides can increase "+", "-" symbol, and during for clicking, response increases or reduces the amount of money.As shown in Figure 5:
2. record the X-coordinate of each scale on screen in a program, the X-coordinate value of each scale can be calculated by scale map leaf length and the display position on screen.
3. program imports scale resource, is signed on corresponding display interface.
4. single indication hits scale label when arranging the amount of money, program response mouse click event, by comparing the scale coordinate recorded in the X-coordinate of the clicking point that click event returns and program, the click scope of client can be known, get the withdraw funds that value less than normal is arranged as client.
5., when client's click "+", "-" number arrange the amount of money, by judging the number of clicks of client in program, the withdraw funds that client is arranged can be known.
6. when using translation gesture dragging vernier that the amount of money is set, touch-screen use in the process of translation gesture, the displacement having gesture real-time in the GESTUREINFO structure that operating system returns, by calculating translation gesture accumulation displacement, vernier can be redrawn in real time, at the end of client's gesture, operating system can return GF_END, mark gesture terminates, and now calculates the X-axis position of current cursor, can know the withdraw funds that client is arranged.
7., after obtaining withdraw funds, in the order of screen invocation facility note output, equipment note output, transaction of withdrawing the money completes.Drag bank note picture to withdraw the money operating process:
1. make quick amount of money picture.As shown in Figure 6:
2. import picture resource in program, signed on display interface.
3. on screen, arrange fixed area, withdraw funds and client for showing customer selecting drag target area during picture.
4., when client makes to use gesture and drags picture, utilize system responses translation event handling function
The distance value returned in OnGesturePan (CPoint ptFrom, CPoint ptTo), can redraw trailing picture in real time.
5., at the end of translation gesture, judge that the rearmost position of picture is whether in the regional extent of establishing, the order of invocation facility note output, does not exist, and will be redrawn by dragging picture initial position.
Explanation of nouns:
ATM: automatic drawing, deposit all-in-one.