CN105677340A - FTK based quick touch screen interface development method - Google Patents

FTK based quick touch screen interface development method Download PDF

Info

Publication number
CN105677340A
CN105677340A CN201610000455.2A CN201610000455A CN105677340A CN 105677340 A CN105677340 A CN 105677340A CN 201610000455 A CN201610000455 A CN 201610000455A CN 105677340 A CN105677340 A CN 105677340A
Authority
CN
China
Prior art keywords
interface
option
ftk
function
control
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
CN201610000455.2A
Other languages
Chinese (zh)
Other versions
CN105677340B (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.)
China Electronics Technology Network Security Technology Co ltd
Original Assignee
Chengdu Westone Information Industry Inc
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 Chengdu Westone Information Industry Inc filed Critical Chengdu Westone Information Industry Inc
Priority to CN201610000455.2A priority Critical patent/CN105677340B/en
Publication of CN105677340A publication Critical patent/CN105677340A/en
Application granted granted Critical
Publication of CN105677340B publication Critical patent/CN105677340B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an FTK based quick touch screen interface development method. An FTK is used as a graphical display engine, then an XML file is adopted to store an attribute value of a general control in a graphical interface, and interface windows are dynamically created according to the data read from the XML file when an application program runs. The FTK based quick touch screen interface development method is simple in operation and good in applicability.

Description

A kind of touch screen interface quick development method based on FTK
Technical field
The invention belongs to touch-screen applications technical field, it is specifically related to a kind of touch screen interface quick development method based on FTK.
Background technology
FTK is that a set of embedded type GUI is increased income framework, is developed so far from 0.1 initial version and has issued 0.6 version. Because FTK writes by C language, portability is one of its design objective, and current FTK temporarily can only simulate at Linux, framebuffer, DirectFB and X11() upper operation. By compiling option, FTK can support resistive touch screen and capacitive touch screen. In addition, by compiling the different back-end hardware interface of all right choice for use of option. Rear end interface determines how to show positionFigure, and how to obtain input event. Abstract by rear end, FTK may operate on multiple platform, such as X11, DirectFB, framebuffer, Windows and other platform. In the selection of font engine, both can use freetype, it is possible to use defaultFont engine. Current newest F TK storehouse achieves window, dialog box, button, drop-down frame, has selected the basic control such as frame, label, input frame, list, and provided a set of corresponding use interface.
XML is the abbreviation of extensible markup language (ExtensibleMarkupLanguage), and mark (markup) wherein is crucial part. XML can create content, then uses restriction mark to mark it, thus makes each word, phrase or block become the information that can identify, can classify. The file or document example created is by element (mark) and Composition of contents. When reading from printout or Electronically process document, element can help to understand document better. Element descriptive more strong, document each several part more easily identifies. Since appearance marks so far, just there is an advantage with the content of mark, namely when computer system lacks, still can by markNote reasonSolution prints out data.
Summary of the invention
For achieving the above object, the present invention provides a kind of touch screen interface quick development method based on FTK, comprises the following steps:
Step one: determine to classify as main interface, menu interface, function operation interface, inputting interface according to function in each interface that application software utilizes touch-screen to show; Wherein, main interface is entrance and the desktop of whole application software; Menu is used in each function subsystem of interface display can for the function items of operation; Each parameter that function operation interface can be revised for showing each function items and arrange; Inputting interface comprises character input interface, carries out information input for user.
Step 2: determine the top caption region of menu interface, intermediary menu options region, bottom state district;Determine Title area, the menu options region of function operation interface; Determining the input mode of inputting interface, described input mode is soft keyboard and/or option list.
Step 3: increase a special option control in FTK storehouse and define the corresponding interface.
FTK storehouse increases a special functional parameter control and defines the corresponding interface.
Input mode such as inputting interface in previous step is option list or comprises option list, then read the option data of described functional parameter control according to functional parameter control ID from XML file, and leave in control buffer memory.
Step 4: compile new FTK storehouse under linux.
Step 5: according to the classification of system function subsystem, creates data field in XML file and fills in the attribute value of corresponding option control.
Step 6: function items according to actual needs, creates data field in XML file and fills in the attribute value of corresponding function parametric contol; If the input mode determined in step 2 comprises option list, then also it is required to be the functional parameter control that type is option list and in XML file, creates data field and fill in corresponding option value.
Step 7: adopt the character input interface in the main interface of traditional static mode developing application and inputting interface.
Step 8: adopt the mode reading XML file data, dynamically create the option list in menu interface, function operation interface and inputting interface.
Further, the attribute value of option control comprises the number of option control, size, title and event handling function.
Further, the attribute value of functional parameter control comprises the number of functional parameter control, size, title, classification and amendment option.
The useful effect of the present invention is:
The present invention provides a kind of touch screen interface quick development method based on FTK, and simple to operate, applicability is strong.
Accompanying drawing explanation
Fig. 1It it is menu interface signalFigure
Embodiment
The present invention provides a kind of method realizing touch-screen applications software in Linux platform based on FTK and XML technology. Adopt method provided by the invention, the touch-screen applications software that can be used for business system can be developed quickly and easily.
The design of the present invention is contemplated that: the present invention uses FTK as graphic display engine, then adopts XML file to deposit the attribute value of common controls in graphical interfaces, creates each interfaces windows according to the Data Dynamic read from XML file when application program is run.
Below the implementation step of the present invention is described in detail
Step one: each interface determining touch-screen applications software to be developed, is divided into main interface, menu interface, function operation interface, inputting interface according to function by each interface region.
Main interface as the entrance of whole application software and desktop, general only one.
Menu interface can for the function items of operation in each function subsystem for showing.Such as Fig. 1Shown in, it comprises three function choosing-items.
Each parameter that function operation interface can be revised for showing each function items and arrange.
Inputting interface comprises character input interface, carries out information input for user.
Step 2: the status information district determining the top caption region of menu interface, intermediary menu options region, bottom; Determine Title area, the menu options region of function operation interface; Determining the input mode of inputting interface, described input mode comprises soft keyboard and/or option list.
Soft keyboard mode allows the manual input character of user, option list mode be to provide input option list to allow user select. The former still uses traditional static mode, and the latter can adopt dynamic establishment mode. Concrete grammar judges parameters input type when being system creation functional parameter control, if being option list type, then reads the option data of this control from XML file according to control ID, and leaves in control buffer memory.When this control of user operation, system dynamically creates option list according to the option data in buffer memory. Each parameter options of functional parameter subordinate can be edited by user.
The present invention is in order to realize the object of dynamically establishment, it is necessary to the control for the operation of user's dominant touch carries out customizing exploitation, and user does not need the part of touch operation then carry out traditional static exploitation.
Generally speaking, the top caption region of menu interface and the state display space of bottom adopt static development scheme, and intermediary menu option adopts dynamic development scheme.
The Title area of function operation interface adopts static development scheme, and menu options region adopts dynamic development scheme. Soft keyboard input mode adopts static development scheme, and option list input mode adopts dynamic development scheme.
Step 3: increase a special option control in FTK storehouse and define the corresponding interface;
FTK storehouse increases a special functional parameter control and defines the corresponding interface.
Step 4: compile new FTK storehouse under linux.
Step 5: according to the classification of system function subsystem, creates data field for each menu interface in XML file and fills in the attribute value of corresponding option control.
The attribute value of option control comprises the number of option control, size, title and event handling function etc.
Step 6: function items according to actual needs, creates data field for each function operation interface in XML file and fills in the attribute value of corresponding function parametric contol.
The attribute value of functional parameter control comprises the number of functional parameter control, size, title, classification and amendment option etc.
Practical situation according to input parameter, the functional parameter control being option list for type creates data field in XML file and fills in corresponding option value; If input mode does not comprise option list, then do not need to carry out this operation.
Step 7: adopt the character input interface in the main interface of traditional static mode developing application and inputting interface;
Step 8: adopt the mode reading XML file data, dynamically create the option list in menu interface, function operation interface and inputting interface;
The useful effect of the present invention is:
The present invention provides a kind of touch screen interface quick development method based on FTK, and simple to operate, applicability is strong.

Claims (3)

1. the touch screen interface quick development method based on FTK, it is characterised in that, comprise the following steps:
Step one: determine to classify as main interface, menu interface, function operation interface, inputting interface according to function in each interface that application software utilizes touch-screen to show; Wherein, main interface is entrance and the desktop of whole application software; Menu is used in each function subsystem of interface display can for the function items of operation; Each parameter that function operation interface can be revised for showing each function items and arrange; Inputting interface comprises character input interface, carries out information input for user;
Step 2: determine the top caption region of menu interface, intermediary menu options region, bottom state district; Determine Title area, the menu options region of function operation interface; Determining the input mode of inputting interface, described input mode is soft keyboard and/or option list;
Step 3: increase a special option control in FTK storehouse and define the corresponding interface;
FTK storehouse increases a special functional parameter control and defines the corresponding interface;
Input mode such as inputting interface in previous step is option list or comprises option list, then read the option data of described functional parameter control from XML file according to functional parameter control ID, and leaves in control buffer memory;
Step 4: compile new FTK storehouse under linux;
Step 5: according to the classification of system function subsystem, creates data field in XML file and fills in the attribute value of corresponding option control;
Step 6: function items according to actual needs, creates data field in XML file and fills in the attribute value of corresponding function parametric contol; If the input mode determined in step 2 comprises option list, then also it is required to be the functional parameter that type is option list and in XML file, creates data field and fill in corresponding option value;
Step 7: adopt the character input interface in the main interface of static mode developing application and inputting interface;
Step 8: adopt the mode reading XML file data, dynamically create the option list in menu interface, function operation interface and inputting interface.
2. as claimed in claim 1 based on the touch screen interface quick development method of FTK, it is characterised in that, the attribute value of option control comprises the number of option control, size, title and event handling function.
3. as claimed in claim 1 based on the touch screen interface quick development method of FTK, it is characterised in that, the attribute value of functional parameter control comprises the number of functional parameter control, size, title, classification and amendment option.
CN201610000455.2A 2016-01-04 2016-01-04 A kind of touch screen interface quick development method based on FTK Active CN105677340B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610000455.2A CN105677340B (en) 2016-01-04 2016-01-04 A kind of touch screen interface quick development method based on FTK

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610000455.2A CN105677340B (en) 2016-01-04 2016-01-04 A kind of touch screen interface quick development method based on FTK

Publications (2)

Publication Number Publication Date
CN105677340A true CN105677340A (en) 2016-06-15
CN105677340B CN105677340B (en) 2018-08-31

Family

ID=56298678

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610000455.2A Active CN105677340B (en) 2016-01-04 2016-01-04 A kind of touch screen interface quick development method based on FTK

Country Status (1)

Country Link
CN (1) CN105677340B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112214236A (en) * 2019-07-10 2021-01-12 杭州龙牛网络科技有限公司 Method for building management system of application architecture of software rapid development platform

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050172235A1 (en) * 2004-02-02 2005-08-04 International Business Machines Corporation System and method for excluded elements mapping in a user interface
WO2007072177A1 (en) * 2005-12-20 2007-06-28 Nokia Corporation Apparatus, method and computer program product providing user interface configurable command placement logic
CN102566864A (en) * 2010-12-24 2012-07-11 新奥特(北京)视频技术有限公司 Flexible customized interface operation method and system
CN103377051A (en) * 2013-07-16 2013-10-30 广东欧珀移动通信有限公司 Application interface customizing method based on Android system
CN104484189A (en) * 2014-12-31 2015-04-01 北京拼图科技有限公司 Construction and design method of application interface

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050172235A1 (en) * 2004-02-02 2005-08-04 International Business Machines Corporation System and method for excluded elements mapping in a user interface
WO2007072177A1 (en) * 2005-12-20 2007-06-28 Nokia Corporation Apparatus, method and computer program product providing user interface configurable command placement logic
CN102566864A (en) * 2010-12-24 2012-07-11 新奥特(北京)视频技术有限公司 Flexible customized interface operation method and system
CN103377051A (en) * 2013-07-16 2013-10-30 广东欧珀移动通信有限公司 Application interface customizing method based on Android system
CN104484189A (en) * 2014-12-31 2015-04-01 北京拼图科技有限公司 Construction and design method of application interface

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112214236A (en) * 2019-07-10 2021-01-12 杭州龙牛网络科技有限公司 Method for building management system of application architecture of software rapid development platform
CN112214236B (en) * 2019-07-10 2023-04-07 杭州龙牛网络科技有限公司 Method for building management system of application architecture of software rapid development platform

Also Published As

Publication number Publication date
CN105677340B (en) 2018-08-31

Similar Documents

Publication Publication Date Title
US7886290B2 (en) Cross version and cross product user interface
JP5139984B2 (en) Markup-based extensibility for user interface
CA2773152C (en) A method for users to create and edit web page layouts
EP1922604B1 (en) Command user interface for displaying selectable functionality controls in a database application
JP4241410B2 (en) Layout adjustment method and apparatus, and layout adjustment program
US11194884B2 (en) Method for facilitating identification of navigation regions in a web page based on document object model analysis
US20140047409A1 (en) Enterprise application development tool
CN104798067B (en) Dictionary system and dictionary call method
US20130290837A1 (en) Method and Apparatus for Correcting Document Formatting Based on Source Document
US20150106700A1 (en) Display and selection of bidirectional text
AU2022202569B2 (en) Method of computerized presentation of a document set view for auditing information and managing sets of multiple documents and pages
US10984170B2 (en) Systems and/or methods for dynamic layout design
US10229096B1 (en) Automatic generation of a presentation from code based on analysis of an intermediate version of the code
US9645798B1 (en) Using program code to generate help information, and using help information to generate program code
CN105677340A (en) FTK based quick touch screen interface development method
US20070124686A1 (en) Locating graphical elements for an object
KR100484347B1 (en) A system and method for creating a display of screen
Guide Colorado Department of Transportation
US20130290835A1 (en) Method and Apparatus for the Selection and Reformat of Portions of a Document
JP2019008452A (en) Program comparison method, program comparison device and program comparison program
Sofroniou Front-end Design and Development for Systems Applications
JP2010026856A (en) Edit support apparatus, method for controlling edit support apparatus, and program
JPH03252850A (en) Interactive information processing system

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
CP03 Change of name, title or address

Address after: No. 333, Yunhua Road, Chengdu hi tech Zone, China (Sichuan) pilot Free Trade Zone, Chengdu, Sichuan 610041

Patentee after: China Electronics Technology Network Security Technology Co.,Ltd.

Address before: No. 333, Yunhua Road, high tech Zone, Chengdu, Sichuan 610041

Patentee before: CHENGDU WESTONE INFORMATION INDUSTRY Inc.

CP03 Change of name, title or address