CN101976192A - Method for separating interface and code on self-service terminal - Google Patents

Method for separating interface and code on self-service terminal Download PDF

Info

Publication number
CN101976192A
CN101976192A CN2010105211937A CN201010521193A CN101976192A CN 101976192 A CN101976192 A CN 101976192A CN 2010105211937 A CN2010105211937 A CN 2010105211937A CN 201010521193 A CN201010521193 A CN 201010521193A CN 101976192 A CN101976192 A CN 101976192A
Authority
CN
China
Prior art keywords
function
flash
external
self
interface
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.)
Pending
Application number
CN2010105211937A
Other languages
Chinese (zh)
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.)
FOSHAN TIANTONG INTELLIGENT EQUIPMENT Co Ltd
Original Assignee
FOSHAN TIANTONG INTELLIGENT EQUIPMENT 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 FOSHAN TIANTONG INTELLIGENT EQUIPMENT Co Ltd filed Critical FOSHAN TIANTONG INTELLIGENT EQUIPMENT Co Ltd
Priority to CN2010105211937A priority Critical patent/CN101976192A/en
Publication of CN101976192A publication Critical patent/CN101976192A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method for separating an interface and a code on a self-service terminal. An operating system of the self-service terminal applies a flash program in a version higher than 8.0; the flash program provides registered self-defined functions; and the following functions are set in the flash program: (1) a flash.external.External Interface.call()function which calls a JavaScript function of an external program or triggers an OnFlashCall event and can make the flash execute the external function; (2) a fscommand () function which triggers the OnFlashCommand event in which the external application program can respond to the flash event; and (3) a flash.external.External interface.addCallback () function which registers an internal function of the flash into an external function and the registered internal function can be directly called by the external application program. The method for separating the interface and the code on the self-service terminal reduces the coupling degree between the self-service terminal system and the interface display, improves the reutilization of the code of the self-service terminal system and improves development efficiency.

Description

A kind of self-service terminal is realized the method that separate with code at the interface
Technical field
The present invention relates to the self-service terminal equipment field, relate in particular to the method that a kind of self-service terminal realizes that the interface is separated with code.
Background technology
At present, the very big energy of self-aided terminal system research and development all spends on the interface processing, the explanation of giving one example: more directly perceived for a picture buttons is shown, we must prepare two width of cloth pictures, one width of cloth is the normal picture that shows, the picture that one width of cloth presses down after clicking, this two width of cloth picture has been arranged, we also must write code in program, load different pictures in different, for the demonstration of a button, we get the manual codes of writing two row at least, and this two line code also must be relevant with picture, if picture name mistake or address mistake also will cause the mistake of program run.
Summary of the invention
Technical matters to be solved by this invention is the deficiency that remedies prior art, purpose is to provide a kind of self-service terminal to realize the method that separate with code at the interface, reduce self-aided terminal system and interface display degree of coupling, improve the code reuse of our self-aided terminal system, improve development efficiency.
For solving above technical matters, technical scheme of the present invention is, a kind of self-service terminal is realized the method that separate with code at the interface, the operating system of described self-service terminal is used the flash program that 8.0 above versions are arranged, described flash program provides the registration self-defining function, and described flash program is provided with as minor function:
(1), flash.external.ExternalInterface.call () function, the JavaScript function of described function call external program or triggering OnFlashCall incident, can allow flash carry out external function by described function, reach the mutual purpose of flash interface and application program;
(2), fscommand () function, described function triggers the OnFSCommand incident, external application can respond the flash incident in this incident, reach the mutual purpose of flash interface and application program;
(3), flash.external.ExternalInterface.addCallback () function, described function is registered as external function with the flash intrinsic function, this intrinsic function can directly be called by external application after the registration, to reach the purpose of application program and flash interface alternation.
Self-service terminal provided by the invention is realized the method that separate with code at the interface, the above version of Flash8.0 provides the registration self-defining function, after having registered self-defining function, external program can call the own function that defines very easily just as calling the Flash internalist methodology in the flash file.If can register self-defined outside letter portion, just look like to take for the communication of user and Flash file to have led to bridge, by this bridge block, the user just can allow the intention by us of Flash file show and operate or obtain the required data of user from the Flash file.Self-service terminal provided by the invention is realized the method that separate with code at the interface, can reduce self-aided terminal system and interface display degree of coupling, improve the code reuse of our self-aided terminal system, the function of the data processing of interface processing and self-service end system is independently opened, reduce research staff's workload, allow the research staff that energy is more concentrated on the data processing Application and Development, and need not consider beautifying and operation such as realization of interface, also will make program more succinct, and will improve the stability of system.
Description of drawings
Fig. 1 realizes the process flow diagram of the method that separate with code at the interface for self-service terminal among the present invention.
Embodiment
For those skilled in the art can understand technical scheme provided by the present invention better, set forth below in conjunction with specific embodiment.
See also Fig. 1, this figure is the process flow diagram that self-service terminal is realized the method that separate with code at the interface among the present invention.
Self-service terminal provided by the invention is realized the method that separate with code at the interface, the operating system of described self-service terminal is used the flash program that 8.0 above versions are arranged, described flash program provides the registration self-defining function, and described flash program is provided with as minor function:
(1), flash.external.ExternalInterface.call () function, the JavaScript function of described function call external program or triggering OnFlashCall incident, can allow flash carry out external function by described function, reach the mutual purpose of flash interface and application program;
(2), fscommand () function, described function triggers the OnFSCommand incident, external application can respond the flash incident in this incident, reach the mutual purpose of flash interface and application program;
(3), flash.external.ExternalInterface.addCallback () function, described function is registered as external function with the flash intrinsic function, this intrinsic function can directly be called by external application after the registration, to reach the purpose of application program and nash interface alternation.
The method that separate with code at self-service terminal realization of the present invention interface is applied in the ATM automated teller machine withdrawal and is operating as example, and the mutual of interface and application code is described:
1, the user clicks the operation of withdrawing the money, and the input amount of money of withdrawing the money is jumped at the interface, and the user is from the keyboard input amount of money of withdrawing the money;
2, the user imports the amount of money of withdrawing the money, and after confirming, call () function notification application is passed through with the amount of money of withdrawing the money of user's input in the interface;
3, application program receive affirmation that the interface spreads out of withdraw the money amount of money incident and obtain the amount of money of withdrawing the money of user's input after, handle accordingly;
4, application program is withdrawn the money when operation in process user, calls the interface preset function, allow interface display " handling ... " the operation indicating frame;
5, application program handle the user withdraw the money the operation after, call the interface preset function, on the interface, show corresponding prompt, inform user's result.
Can find out that from above operation application program and interface alternation are all operated by the corresponding interface function, the interface need not to consider how application code works, and application program need not also to consider the interface is how to show and layout.By the mutual division of labor, guaranteed the succinct of program code, improve development efficiency, reduce software systems and interface display degree of coupling in addition, guaranteeing can to design different look ﹠ feels at different clients under the constant situation of software platform.
To the above-mentioned explanation of the disclosed embodiments, make this area professional and technical personnel can realize or use the present invention.Multiple modification to these embodiment will be conspicuous concerning those skilled in the art, and defined herein General Principle can realize under the situation that does not break away from the spirit or scope of the present invention in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet and principle disclosed herein and features of novelty the wideest corresponding to scope.

Claims (1)

1. a self-service terminal is realized the method that separate with code at the interface, it is characterized in that, the operating system of described self-service terminal is used the flash program that 8.0 above versions are arranged, and described flash program provides the registration self-defining function, and described flash program is provided with as minor function:
(1), flash.external.ExternalInterface.call () function, the JavaScript function of described function call external program or triggering OnFlashCall incident, can allow flash carry out external function by described function, reach the mutual purpose of flash interface and application program;
(2), fscommand () function, described function triggers the OnFSCommand incident, external application can respond the flash incident in this incident, reach the mutual purpose of flash interface and application program;
(3), flash.external.ExternalInterface.addCallback () function, described function is registered as external function with the flash intrinsic function, this intrinsic function can directly be called by external application after the registration, to reach the purpose of application program and flash interface alternation.
CN2010105211937A 2010-10-26 2010-10-26 Method for separating interface and code on self-service terminal Pending CN101976192A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105211937A CN101976192A (en) 2010-10-26 2010-10-26 Method for separating interface and code on self-service terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105211937A CN101976192A (en) 2010-10-26 2010-10-26 Method for separating interface and code on self-service terminal

Publications (1)

Publication Number Publication Date
CN101976192A true CN101976192A (en) 2011-02-16

Family

ID=43576080

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105211937A Pending CN101976192A (en) 2010-10-26 2010-10-26 Method for separating interface and code on self-service terminal

Country Status (1)

Country Link
CN (1) CN101976192A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795340A (en) * 2019-10-04 2020-02-14 广州易方信息科技股份有限公司 Non-invasive Flash player automatic testing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795340A (en) * 2019-10-04 2020-02-14 广州易方信息科技股份有限公司 Non-invasive Flash player automatic testing method

Similar Documents

Publication Publication Date Title
CN101344848B (en) Management of icons in a display interface
TWI374368B (en) Real-time inking
CN103116456B (en) Realize apparatus and method and the intelligent terminal of file merging
JP2015519671A (en) Touch screen misoperation prevention method, touch screen, mobile terminal, program, and recording medium
CN106406734A (en) Touch operation processing method and terminal equipment
CN102890593A (en) Method and apparatus for managing icon in portable terminal
JP2007249989A5 (en)
CN105183293A (en) Display method and terminal equipment
CN104375741A (en) Information processing method and electronic device
CN104391707A (en) Application program starting method and starting device
CN109471626A (en) Page logic structure, page generation method, page data processing method and device
CN105808046A (en) Method and device for locally magnifying viewing screen, and mobile terminal
US20190026072A1 (en) Method for detecting usage of a screen reader and system thereof
CN110113496A (en) Screen display mode switching method, device and terminal device
CN111782651A (en) Visual editing method, device and equipment for data association relation and storage medium
CN104143066A (en) Security information exchanging device
CN105117223A (en) Processing method and system of input event
CN102081919A (en) Desktop segmenting display system and method of operating system of handheld device
CN101976192A (en) Method for separating interface and code on self-service terminal
CN103377228A (en) Page content presenting method and device for browser
CN104202484A (en) Method and system for operating dial pad of smart large-screen mobile terminal with single hand
CN101996455A (en) Small-sized settlement terminal and controlling method of the same
CN108920704A (en) File access pattern method, file restoring device and mobile terminal
CN108520063A (en) Processing method, device and the terminal device of event log
MY153314A (en) System and method for providing a smart card-based widget service, and smart card for the same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110216