CN112099679B - TTU function packaging method based on software configuration - Google Patents
TTU function packaging method based on software configuration Download PDFInfo
- Publication number
- CN112099679B CN112099679B CN202010891284.3A CN202010891284A CN112099679B CN 112099679 B CN112099679 B CN 112099679B CN 202010891284 A CN202010891284 A CN 202010891284A CN 112099679 B CN112099679 B CN 112099679B
- Authority
- CN
- China
- Prior art keywords
- ttu
- input
- data
- program
- variable
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/76—Adapting program code to run in a different environment; Porting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Digital Computer Display Output (AREA)
- Devices For Executing Special Programs (AREA)
Abstract
The invention discloses a method for realizing TTU function encapsulation based on software configuration, which comprises the following steps of firstly, clearing a screen through codes and clearing domain variables; the second step, the code analyzes the data in the ini file, wherein the data in the ini file comprises a ciphertext back display mark, a total page number, a line number, an input length, a variable name, a variable used for storing a cache value and a return value mapping relation, and the data is assigned to a general FORM; thirdly, displaying a picture by the TTU, and judging whether input control exists or not through codes; fourth, if input control is available for obtaining input, the code control TTU performs page turning display or input control conversion; and fifthly, selecting online external service, selecting to cancel or exit, and if no operation is performed, continuing TTU display. Through the mode, the invention can provide a simplified FORM FORM configuration scheme, and has flexibility and functional completeness; the completeness of the display and data entry functions provided is not lower than that supported by the native FORM.
Description
Technical Field
The invention relates to the field of packaging methods, in particular to a method for realizing TTU function packaging based on software configuration.
Background
TTU is a small device with a small liquid crystal screen and the liquid crystal screen has only a text display function and a numeric keypad input, and does not have a graphic display function. The method is mainly used for providing an operator post-maintenance function on early ATM/CRS equipment, and providing a human-computer interaction interface for operators in a text display and key selection mode. The system is used for completing functions of clearing, banknote adding, equipment state checking and module self-checking, restarting, shutting down, communication link detection, application parameter setting and checking and the like.
The TTU module may perform FROM display through commands defined in the CEN/XFS specification, and perform string display (support carriage return, line feed control characters) through CEN/XFS specification commands. The method can also be used for reading data FROM the FROM into a designated domain, acquiring input data FROM the TTU and returning the input character string. Because the storage paths and file formats of the FORMs of different manufacturers are different, more than tens of pictures are generally needed for display and data input by all ATMC post-maintenance functions, so that tens of FORM definitions are required to be independently maintained for TTU of each brand, great workload is brought to development and test, and the post-maintenance is not facilitated.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method for realizing TTU function encapsulation based on software configuration, which can provide a simplified version configuration scheme and has flexibility and functional completeness. The completeness of the display and data entry functions provided is not lower than that supported by the native FORM.
In order to solve the technical problems, the invention adopts a technical scheme that: the method for realizing TTU function encapsulation based on software configuration comprises the following steps: firstly, a program clears a screen through codes, and clears domain variables; secondly, the program analyzes data in a specific information file, wherein the data in the specific information file comprises a ciphertext back display mark, a total page number, a line number, an input length, a variable name, a variable used for storing a cache value and a return value mapping relation, and assigns the data to a general form; thirdly, displaying a picture by the TTU, and judging whether input control exists or not by a program through codes; step four, if the input control exists, the input is obtained, and the program control TTU performs page turning display and input control conversion; and fifthly, selecting online external service, selecting to cancel or exit, and if no operation is performed, continuing TTU display.
Further, the second step includes: program reading reads a specific information file according to a specific information file path preset in a code, and reads data in the specific information file according to a command contained in the code; the program assigns the read data to the general form through codes.
Further, the generic form includes: the general form is defined as a general form for general display and data input processing, wherein the content of each row is a full dynamic domain, and the variables of each row are domain variables; support full line display and data entry; each page to be displayed is displayed by dynamically assigning a domain variable to each row and then invoking the generic form.
Further, the specific information file data includes: the page content is defined in the specific information file, and the formats of specific display content and input content are defined; the three data of the input length, the variable used for storing the buffer memory value and the return value mapping relation are separated by a symbol one in a specific information file respectively.
Further, the program judging whether there is an input control by the code includes: the program defines a function in advance in the code, and the judgment of the input control is made by the function.
Further, the program controlling the TTU to perform page turning display includes: and if the program judges that the input control exists, controlling the TTU to turn pages for display.
Further, the input control conversion includes: the input content is assigned to a variable for holding a cache value, or mapped.
Further, assigning the input content to a variable for storing a cache value includes: splitting an input data format by a program through reading symbols among three data of an input length, a variable used for storing a cache value and a return value mapping relation, and judging whether the specific information file data contains a variable name after the program reads the specific information file data; if the variable name does not exist, the input content is converted and then assigned to the variable for storing the cache value.
Further, according to claims 6 and 7, a method for implementing TTU function encapsulation based on software configuration is characterized in that: the mapping transformation includes: if the variable names exist, the mapping relation of the conversion is input correspondingly by using the symbol two.
Further, the mapping relation of the corresponding input conversion includes: the mapping relation and the mapping value corresponding to the variable names are predefined in the program.
The beneficial effects of the invention are as follows: the invention designs an intermediate layer to provide a simplified version of the configuration scheme, while providing flexibility and functional completeness. The completeness of the provided display and data input functions is not lower than that supported by the original FORM, the difference of FORM configuration of each manufacturer is shielded, the editing is simpler, and the expansion of the newly added page is convenient.
Drawings
FIG. 1 is a flow chart of a preferred embodiment of a method for implementing TTU function encapsulation based on software configuration according to the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making clear and defining the scope of the present invention.
Referring to fig. 1, an embodiment of the present invention includes:
a method for realizing TTU function encapsulation based on software configuration comprises the following steps: firstly, a program clears a screen through codes, and clears domain variables; secondly, the program analyzes data in an ini file, wherein the data comprises a ciphertext back display mark, a total page number, a line number, an input length, a variable name, a variable used for storing a cache value and a return value mapping relation, and assigns the data to a FORM; thirdly, displaying a picture by the TTU, and judging whether the data assigned to the FORM contains input control or not by the program through codes; step four, if the input control exists, the input is obtained, and the program control TTU performs page turning display or input control conversion; and fifthly, selecting online external service, selecting to cancel or exit, and if no operation is performed, continuing TTU display.
A step of analyzing data in the ini file by the program, wherein the program reads the path of the ini file to find the file, and reads the data in the ini file by the code, and page contents are actually defined in the ini file, wherein the formats of specific display contents and input contents are defined; the data in the ini file includes: the method comprises the steps of assigning data in a dynamic domain of a general FORM, wherein the three data of the input length, the variable used for storing the cache value and the return value mapping relation are separated in an ini file by using an I, and the program further defines the variable used for storing the cache value and the return value mapping relation in assigning the data to the general FORM. The general FORM defines a general 4-row FORM for general display and data input processing, wherein each row of content is a full dynamic domain, and each row of variable is a domain variable; support full line display and data entry; each page to be displayed is displayed on the TTU by dynamically assigning a domain variable to each row, and then the program proceeds to display on the TTU by calling this generic FORM.
After the second step is completed, the program defines a function in the code in advance through the code, whether input control exists or not is judged through the function, and if the input control exists, the program controls the TTU to turn pages and display the pages; then, input control conversion is performed, and the input control conversion is performed by a program to assign the input contents to variables for saving the cache values or by performing mapping conversion. The program performs splitting control format according to the 'I', and judges whether the ini file data contains variable names after reading the ini file data; if there is a variable name, then use ": "come to correspond to the mapping relation; the corresponding mapping relation and mapping value are predefined in the program; if the variable name does not exist, the program converts the data, assigns the converted value to the variable for saving the cache value, and returns to the interface displayed first.
And finally, selecting online external service, selecting to cancel or exit, and if no operation is performed, continuing TTU display.
The foregoing description is only illustrative of the present invention and is not intended to limit the scope of the invention, and all equivalent structures or equivalent processes or direct or indirect application in other related technical fields are included in the scope of the present invention.
Claims (5)
1. A method for implementing TTU function encapsulation based on software configuration, comprising: firstly, a program clears a screen through codes, and clears domain variables; secondly, the program analyzes data contained in a specific information file, wherein the data in the specific information file comprises a ciphertext back display mark, a total page number, a line number, an input length, a variable name, a variable used for storing a cache value and a return value mapping relation, and assigns the data to a general form; thirdly, displaying a picture by the TTU, and judging whether input control exists or not by a program through codes; step four, if the input control exists, the input is obtained, and the program control TTU performs page turning display and input control conversion; fifthly, selecting online external service, selecting to cancel or exit, and if no operation is performed, continuing TTU display;
the second step comprises: program reading reads a specific information file according to a specific information file path preset in a code, and reads data in the specific information file according to a command contained in the code; the program assigns the read data to the general form through codes;
the general form is defined as a general form and is used for providing general display and data input processing, wherein each row of content is a full dynamic domain, and each row of variable is a domain variable; support full line display and data entry; each page to be displayed is dynamically assigned to the domain variable of each row, and then the general form is called to be displayed on the TTU;
the specific information file comprises page content definition, wherein the page content definition defines the format of specific display content and input content of a page; the three data of the input length, the variable used for storing the cache value and the return value mapping relation are separated by a symbol in a specific information file respectively;
the input control conversion includes: assigning the input content to a variable for storing a cache value or performing mapping conversion; assigning the input content to a variable for storing a cache value includes: splitting an input data format by a program through reading symbols among three data of an input length, a variable used for storing a cache value and a return value mapping relation, and judging whether the specific information file data contains a variable name after the program reads the specific information file data; if the variable name does not exist, the input content is converted and then assigned to the variable for storing the cache value.
2. The method for implementing TTU function encapsulation based on software configuration according to claim 1, wherein: the program judges whether there is input control by a code comprising: the program defines a function in advance in the code, and the judgment of the input control is made by the function.
3. The method for implementing TTU function encapsulation based on software configuration according to claim 1, wherein: the program control TTU performs page turning display, and the program control TTU comprises the following steps: and if the program judges that the input control exists, controlling the TTU to turn pages for display.
4. A method for implementing TTU function encapsulation based on software configuration according to claim 1 or 3, characterized in that: the mapping transformation includes: if the variable names exist, the mapping relation of the conversion is input correspondingly by using the symbol two.
5. The method for implementing TTU function encapsulation based on software configuration according to claim 4, wherein: the mapping relation of the corresponding input conversion comprises: the mapping relation and the mapping value corresponding to the variable names are predefined in the program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010891284.3A CN112099679B (en) | 2020-08-30 | 2020-08-30 | TTU function packaging method based on software configuration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010891284.3A CN112099679B (en) | 2020-08-30 | 2020-08-30 | TTU function packaging method based on software configuration |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112099679A CN112099679A (en) | 2020-12-18 |
CN112099679B true CN112099679B (en) | 2023-09-19 |
Family
ID=73756628
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010891284.3A Active CN112099679B (en) | 2020-08-30 | 2020-08-30 | TTU function packaging method based on software configuration |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112099679B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103853543A (en) * | 2012-12-07 | 2014-06-11 | 北京云天时空科技有限公司 | Method used for quickly constructing forms in enterprise information system development process |
CN104461513A (en) * | 2014-11-21 | 2015-03-25 | 山东航天信息有限公司 | Method and device for generating form interface |
CN106060066A (en) * | 2016-06-28 | 2016-10-26 | 积成电子股份有限公司 | Embedded linux-based method for realizing terminal maintenance and information release |
CN109495392A (en) * | 2018-10-31 | 2019-03-19 | 泰康保险集团股份有限公司 | Message conversion process method and device, electronic equipment, storage medium |
CN111240979A (en) * | 2020-01-10 | 2020-06-05 | 厦门驿全智能科技有限公司 | Method and system for man-machine interaction logic engine for artificial intelligence |
CN111460779A (en) * | 2020-03-31 | 2020-07-28 | 杭州趣链科技有限公司 | Activiti-based flow form data rendering and accessing method |
-
2020
- 2020-08-30 CN CN202010891284.3A patent/CN112099679B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103853543A (en) * | 2012-12-07 | 2014-06-11 | 北京云天时空科技有限公司 | Method used for quickly constructing forms in enterprise information system development process |
CN104461513A (en) * | 2014-11-21 | 2015-03-25 | 山东航天信息有限公司 | Method and device for generating form interface |
CN106060066A (en) * | 2016-06-28 | 2016-10-26 | 积成电子股份有限公司 | Embedded linux-based method for realizing terminal maintenance and information release |
CN109495392A (en) * | 2018-10-31 | 2019-03-19 | 泰康保险集团股份有限公司 | Message conversion process method and device, electronic equipment, storage medium |
CN111240979A (en) * | 2020-01-10 | 2020-06-05 | 厦门驿全智能科技有限公司 | Method and system for man-machine interaction logic engine for artificial intelligence |
CN111460779A (en) * | 2020-03-31 | 2020-07-28 | 杭州趣链科技有限公司 | Activiti-based flow form data rendering and accessing method |
Non-Patent Citations (2)
Title |
---|
EUROPEAN COMMITTEE FOR STANDARDIZATION.Extensions for Financial Services (XFS) interface specification - Part 9: Text Terminal Unit Device Class Interface - Programmer's Interface - Programmer's Interface.1998,(第CWA 13449-9版),全文. * |
严前锋.银行自助终端设备自动化检测系统的设计与实现.中国优秀硕士学位论文全文数据库信息科技辑.2014,第2014年卷(第05期),全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN112099679A (en) | 2020-12-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5986654A (en) | System and method for rendering on-screen iconic buttons with dynamic textual link | |
JP5089684B2 (en) | Technology for generating service programs | |
EP3667520A1 (en) | Webpage content extraction method and terminal device | |
CN102262623B (en) | Character input editing method and device | |
US5228137A (en) | Method for controlling execution of host computer application programs through a second computer by establishing relevant parameters having variable time of occurrence and context | |
US20030193521A1 (en) | Rapid GUI refacing of a legacy application | |
US6263347B1 (en) | System for linking data between computer and portable remote terminal and data linking method therefor | |
EP0409588A2 (en) | Interactive computer system | |
CN111259644B (en) | Rich text processing method, editor, equipment and storage medium | |
EP0428261A2 (en) | Computer user interface | |
US20110078593A1 (en) | Web browser transmission server and method of controlling operation of same | |
CN102622195B (en) | Information browsing method | |
CN101978353B (en) | Portable information terminal, character delivery method, and temporary character saving program product | |
US5734871A (en) | Method for and apparatus for controlling the execution of host computer application programs through a second computer | |
CN114461122A (en) | RPA element picking and on-screen switching method and system | |
CN110297636A (en) | A kind of automatic production of HTML page and parameter management method based on page configuration file, system and device | |
US20060167831A1 (en) | Method to automate resource management in computer applications | |
CN112099679B (en) | TTU function packaging method based on software configuration | |
US7272659B2 (en) | Information rewriting method, recording medium storing information rewriting program and information terminal device | |
US6748391B1 (en) | Alternate access through a stored database model of a computer controlled interactive display interface to information inaccessible directly through the interactive display interface | |
US20020084919A1 (en) | Configurable keyboard | |
US20100318900A1 (en) | Method and device for attributing text in text graphics | |
JPH09198221A (en) | Menu display device | |
US7124371B1 (en) | GUI screen generating apparatus, GUI screen generating method and storage medium recording GUI screen generating program | |
CN109446295B (en) | Svg data map editing tool, editing method and computer readable medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |