CN102103491A - System and method for generating interface - Google Patents

System and method for generating interface Download PDF

Info

Publication number
CN102103491A
CN102103491A CN2009101889958A CN200910188995A CN102103491A CN 102103491 A CN102103491 A CN 102103491A CN 2009101889958 A CN2009101889958 A CN 2009101889958A CN 200910188995 A CN200910188995 A CN 200910188995A CN 102103491 A CN102103491 A CN 102103491A
Authority
CN
China
Prior art keywords
control
interface
configuration file
chained list
property
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
CN2009101889958A
Other languages
Chinese (zh)
Other versions
CN102103491B (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.)
TCL Corp
Original Assignee
TCL Corp
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 TCL Corp filed Critical TCL Corp
Priority to CN 200910188995 priority Critical patent/CN102103491B/en
Publication of CN102103491A publication Critical patent/CN102103491A/en
Application granted granted Critical
Publication of CN102103491B publication Critical patent/CN102103491B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention belongs to the field of displaying and control of a terminal interface and provides a system and a method for generating an interface. The system comprises a user interface (UI), a configuration file resolver, a control generator and a control searcher, wherein the UI is used for sending an interface configuration instruction to the configuration file resolver; the interface configuration instruction comprises an interface configuration file name and a father control of a needed configuration interface; the configuration file resolver is used for reading and resolving a corresponding configuration file according to the interface configuration instruction so as to generate a control attribute linked list; the control generator is used for generating a control according to the control attribute linked list and storing the generated control into a control linked list; the control generator is used for searching an appointed control from the control linked list; and the UI acquires the corresponding control through the control searcher. By using the system and the method, the diversity of interface displaying is realized conveniently; and popularization of a display terminal is facilitated.

Description

A kind of interface generation system and method
Technical field
The invention belongs to terminal interface and show the control field, be specifically related to a kind of interface generation system and method.
Background technology
UI is the abbreviation of user interface (UserInterface), and UI design then is meant the global design of man-machine interaction to software, operation logic, beautiful interface.Good UI design is not only and is allowed the software individual character that become have good taste, and also will allow the operation of software become comfortable, simple, free, and then demonstrate fully the diversified characteristics at display terminal interface.
A good interface display not only can be brought comfortable visual enjoyment to the user, the distance of people and terminal (such as the computer) that further, the market that also can further promote display terminal.Therefore UI design in interface is not simple art painting, more need to locate user, environment for use, use-pattern and design for the final user, the standard at an interface of check neither certain project development group leader's suggestion neither program member's ballot the result, but final user's impression.So INTERFACE DESIGN will be combined closely with user study, be a process that constantly designs satisfied visual effect for the final user.
But in the prior art, the user can not realize the variation of interface display according to the needs of oneself, and the demand of customization UI is more and more, and this contradiction brings very big influence for the popularization of display terminal.
How realize the variation of interface layout according to user's demand, be one of direction of terminal interface control area research always.
Summary of the invention
The object of the present invention is to provide a kind of interface generation system, be intended to realize the variation of look ﹠ feel layout according to user's demand.
The embodiment of the invention is achieved in that a kind of interface generation system, comprises interface UI, configuration file resolver, control maker and control finger, wherein,
Described interface UI is used to send the interface configurations instruction to described configuration file resolver, and described interface request instruction includes father's control of interface configuration file name and required configuration interface;
The configuration file resolver is used for reading and resolve corresponding configuration file according to described interface configurations instruction, generates the control property chained list;
The control maker is used for generating control according to described control property chained list, and the control that generates is stored in the control chained list;
Described control finger is used for searching from the control chained list control of appointment;
Described interface UI obtains corresponding control by described control finger.
An also purpose of the embodiment of the invention is to provide a kind of interface creating method, said method comprising the steps of:
When the UI interface need generate the interface, send interface configurations and instruct to the configuration file resolver, described interface request instruction includes father's control at interface configuration file name and interface;
Described configuration file resolver reads and resolves corresponding configuration file according to described interface configurations instruction, generates the control property chained list;
The control maker generates control according to described control property chained list, and the control that generates is stored in the described control chained list;
Described interface UI obtains corresponding control by the control finger from described control chained list.
The embodiment of the invention is by being sent the interface configurations instruction by interface UI, the configuration file resolver reads and resolves corresponding configuration file and generates the control property chained list according to instruction, the control maker generates control according to described control property chained list and is stored in the control chained list, afterwards, interface UI obtains corresponding control by the control finger from described control chained list, and then obtaining interface file, the user can realize the variation of interface form very easily, helps the popularization of display terminal.
Description of drawings
The structural drawing of the interface generation system that Fig. 1 provides for preferred embodiment of the present invention;
The process flow diagram of the interface creating method that Fig. 2 provides for preferred embodiment of the present invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
Fig. 1 shows the structure of the interface generation system that preferred embodiment of the present invention provides.
Described interface generation system comprises interface UI11, configuration file resolver 12, control maker 13 and control finger 14.
Wherein, when interface UI11 need generate the interface, send the interface configurations instruction to described configuration file resolver 12, described interface request instruction includes father's control of interface configuration file name and required configuration interface.
In specific implementation process, described interface UI11 at first creates an instance objects of interface generation system, for this object adds the interface configuration file name of required configuration interface and father's control at interface, and call the interface generating function of this object, this generating function is sent to described configuration file resolver 12 with father's control at interface configuration file name and interface.
Configuration file resolver 12 reads and resolves corresponding configuration file according to described interface configurations instruction, generates the control property chained list.
In specific implementation process, when described configuration file resolver 12 is resolved a control from configuration file, at first create control property chained list corresponding to configuration file, resolve the attribute of control in the configuration file then one by one and the control property that parses is added in the described control property chained list, after having resolved current control, father's control pointer of described control property chained list and corresponding control is sent to described control maker 13, continue to resolve next control, up to resolving complete configuration file.
Wherein, configuration file has been described in the interface relation between the control and control and the attribute of each control.
And, can have only an interface in the configuration file, also a plurality of interfaces can be arranged, can also be some controls in certain interface, it is fixed to come according to the actual demand at interface.Be the basic structure at an interface below:
<widget>
The type of class=control
The title of name=control
<property>
The attribute of control is described
</property>
<widget>
Child control 1
</widget>
<widget>
Child control 2
</widget>
。。。More child control
</widget>
Wherein, in the said structure,
The type of class=control: indicate by this and to create different controls;
The title of name=control: interface UI obtains the control pointer of generation by this title and control type;
<widget〉and</widget between definition be a control,<property〉with</property between what define is the attribute of control.
Control maker 13 generates control according to described control property chained list, and the space that generates is stored in the described control chained list.
In specific implementation process, described control maker 13 generates control according to the control property chained list that described configuration file resolver 12 generates, the sign of described control is set, for example be provided with control title (in current configuration file, being unique), control type, with the subordinate relation and the control property of other controls, the control that generates sign and the father's control pointer together with corresponding control stored in the described control chained list.
Described interface UI11 obtains corresponding control by control finger 14 from described control chained list.
Described interface UI11 can obtain specific generation control by control finger 14 by control title and control type, afterwards the control that obtains is operated, such as connecting control signal Processing function, the content of control etc. being set.
In specific implementation process, described interface UI11 sends control and obtains instruction to described control finger 14, and described control obtains instruction and comprises the required sign of obtaining control;
Described control finger 14 obtains instruction according to described control and obtains corresponding control return to described interface UI11 from described control chained list.
Preferably, described control sign comprises control title, control type.
Fig. 2 shows the process flow diagram of the interface creating method that the embodiment of the invention provides.
Step S201, when the UI interface need generate the interface, send interface configurations and instruct to the configuration file resolver, described interface request instruction includes father's control at interface configuration file name and interface;
In specific implementation process, an instance objects of interface generation system is created at the UI interface, for this object adds the interface configuration file name of required configuration interface and father's control at interface, and call the interface generating function of this object, this generating function is sent to described configuration file resolver with father's control at interface configuration file name and interface.
Step S202, described configuration file resolver read and resolve corresponding configuration file according to described interface configurations instruction, generate the control property chained list;
In specific implementation process, when described configuration file resolver is resolved a control from configuration file, at first create the control property chained list, the control property of the configuration file that parses is added in the described control property chained list, and father's control pointer of described control property chained list and corresponding control is sent to described control maker.
Specific description is stated at preamble, repeats no more herein.
Step S203, control maker generate control according to described control property chained list and are stored in the control chained list;
In specific implementation process, described control maker at first generates control according to the control property chained list that described configuration file resolver generates, the sign of described control is set, and the control that generates sign and the father's control pointer together with corresponding control is stored in the described control chained list.
Step S204, described interface UI obtain corresponding control by the control finger from described control chained list.
In specific implementation process, described interface UI transmission control obtains and instructs to the control finger, described control obtains instruction and comprises the sign of described control, and described control finger obtains instruction according to described control and obtains corresponding control return to described interface UI from described control chained list.
Preferably, described control sign comprises control title, control type.
The embodiment of the invention is by being sent the interface configurations instruction by interface UI, the configuration file resolver reads and resolves corresponding configuration file and generates the control property chained list according to instruction, the control maker generates control according to described control property chained list and is stored in the control chained list, afterwards, interface UI obtains corresponding control by the control finger from described control chained list, and then obtaining interface file, the user can realize the variation of interface form very easily, helps the popularization of display terminal.
Should be understood that, for those of ordinary skills, can be improved according to the above description or conversion, and these improvement and conversion all should belong to the protection domain of claims of the present invention.

Claims (10)

1. an interface generation system is characterized in that, comprises interface UI, configuration file resolver, control maker and control finger, wherein,
Described interface UI is used to send the interface configurations instruction to described configuration file resolver, and described interface request instruction includes father's control of interface configuration file name and required configuration interface;
The configuration file resolver is used for reading and resolve corresponding configuration file according to described interface configurations instruction, generates the control property chained list;
The control maker is used for generating control according to described control property chained list, and the control that generates is stored in the control chained list;
Described control finger is used for searching from the control chained list control of appointment;
Described interface UI obtains corresponding control by described control finger.
2. interface as claimed in claim 1 generation system is characterized in that,
Described interface UI also is used to send control and obtains instruction to described control finger, and wherein, described control obtains instruction and comprises the required sign of obtaining control;
Described control finger is used for obtaining instruction according to described control and obtains corresponding control from described control chained list and return to described interface UI.
3. interface as claimed in claim 1 generation system is characterized in that,
Described interface UI, also be used to create an instance objects of interface generation system, for described object adds the interface configuration file name of required configuration interface and father's control at interface, and call the interface generating function of described object, described generating function is sent to described configuration file resolver with father's control at interface configuration file name and interface.
4. interface as claimed in claim 1 generation system is characterized in that,
Described configuration file resolver, also be used to create control property chained list corresponding to configuration file, the control property of the configuration file that parses is added in the described control property chained list, and father's control pointer of described control property chained list and corresponding control is sent to described control maker.
5. interface as claimed in claim 1 generation system is characterized in that,
Described control maker, the control property chained list that also is used for generating according to described configuration file resolver generates control, and the sign of described control is set, and the control that generates is added in the described control chained list together with the sign of corresponding control.
6. as claim 2 or 5 described interface generation systems, it is characterized in that described control sign comprises: control title, control type.
7. an interface creating method is characterized in that, said method comprising the steps of:
When the UI interface need generate the interface, send interface configurations and instruct to the configuration file resolver, described interface request instruction includes father's control at interface configuration file name and interface;
Described configuration file resolver reads and resolves corresponding configuration file according to described interface configurations instruction, generates the control property chained list;
The control maker generates control according to described control property chained list, and the control that generates is stored in the described control chained list;
Described interface UI obtains corresponding control by the control finger from described control chained list.
8. interface creating method as claimed in claim 7 is characterized in that, described interface UI obtains the step of corresponding control from described control chained list, specifically comprises:
Described interface UI transmission control obtains and instructs to the control finger, and wherein, described control obtains instruction and comprises the required sign of obtaining control;
Described control finger obtains instruction according to described control and obtains corresponding control return to described interface UI from described control chained list.
9. interface creating method as claimed in claim 7 is characterized in that, described configuration file resolver reads and resolve described configuration file according to described interface configurations instruction, generates the step of control property chained list, specifically comprises:
Described configuration file resolver is created the control property chained list;
The control property of the configuration file that parses is added in the described control property chained list;
Father's control pointer of described control property chained list and corresponding control is sent to described control maker.
10. interface creating method as claimed in claim 7 is characterized in that, described control maker specifically comprises according to the step of described control property chained list generation control:
Described control maker generates control according to the control property chained list that described configuration file resolver generates;
The sign of described control is set;
The control that generates is added in the described control chained list together with the sign of corresponding control.
CN 200910188995 2009-12-18 2009-12-18 System and method for generating interface Expired - Fee Related CN102103491B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910188995 CN102103491B (en) 2009-12-18 2009-12-18 System and method for generating interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910188995 CN102103491B (en) 2009-12-18 2009-12-18 System and method for generating interface

Publications (2)

Publication Number Publication Date
CN102103491A true CN102103491A (en) 2011-06-22
CN102103491B CN102103491B (en) 2013-11-06

Family

ID=44156288

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910188995 Expired - Fee Related CN102103491B (en) 2009-12-18 2009-12-18 System and method for generating interface

Country Status (1)

Country Link
CN (1) CN102103491B (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102495707A (en) * 2011-12-06 2012-06-13 天马微电子股份有限公司 Touch monitor and touch display method and system thereof
CN102520960A (en) * 2011-12-21 2012-06-27 珠海许继芝电网自动化有限公司 Interface automatic generating system and interface automatic generating method
CN104267930A (en) * 2013-07-31 2015-01-07 深圳市华傲数据技术有限公司 J Text Area component line spacing processing method and device
CN104298686A (en) * 2013-07-18 2015-01-21 深圳市腾讯计算机系统有限公司 Method and device for modifying server configuration file
CN104298495A (en) * 2013-07-19 2015-01-21 桥弘数控科技(上海)有限公司 Program development method and system based on scripting language
CN104484189A (en) * 2014-12-31 2015-04-01 北京拼图科技有限公司 Construction and design method of application interface
CN104598282A (en) * 2015-02-05 2015-05-06 广州华多网络科技有限公司 Control capture method and equipment
CN104915268A (en) * 2015-06-24 2015-09-16 上海海漾软件技术有限公司 Desktop layout storage and recovery method and device thereof, terminal equipment and system
CN105739973A (en) * 2016-01-22 2016-07-06 深圳市盛弘电气股份有限公司 Android based UI control automatic identification refreshing method and apparatus
CN105988814A (en) * 2015-03-02 2016-10-05 腾讯科技(深圳)有限公司 Interface generation method and apparatus
CN106126257A (en) * 2016-06-30 2016-11-16 珠海金山网络游戏科技有限公司 The system and method that a kind of interface generates
CN106155661A (en) * 2015-04-14 2016-11-23 阿里巴巴集团控股有限公司 A kind of control cut-in method and device
CN106201458A (en) * 2016-06-27 2016-12-07 上海波汇科技股份有限公司 A kind of interface creating method can joined flexibly and system
CN106294167A (en) * 2016-08-16 2017-01-04 济南大学 The automatic traversal method of Android Application Program Interface and system
CN109996119A (en) * 2017-12-29 2019-07-09 深圳Tcl新技术有限公司 Support method, smart television and the storage medium of multiple user interfaces style
CN110275735A (en) * 2019-06-24 2019-09-24 深圳乐信软件技术有限公司 A kind of interface configuration method, device, terminal and storage medium
CN110889013A (en) * 2019-11-22 2020-03-17 北京锐安科技有限公司 Data association method, device, server and storage medium based on XML
CN111443912A (en) * 2020-03-25 2020-07-24 平安医疗健康管理股份有限公司 Page rendering method and device based on components, computer equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108172284A (en) * 2017-12-29 2018-06-15 上海联影医疗科技有限公司 The method of adjustment of magnetic resonance parameters card interface and magnetic resonance parameters card interface

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1713140A (en) * 2004-06-25 2005-12-28 华为技术有限公司 Interface generating method and device for computer
CN100481001C (en) * 2006-01-17 2009-04-22 大唐移动通信设备有限公司 Interface automatic forming method and interface automatic forming system
CN101436133B (en) * 2008-11-20 2012-11-21 腾讯科技(深圳)有限公司 Method and device for generating control object library

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102495707B (en) * 2011-12-06 2015-02-04 天马微电子股份有限公司 Touch monitor and touch display method and system thereof
CN102495707A (en) * 2011-12-06 2012-06-13 天马微电子股份有限公司 Touch monitor and touch display method and system thereof
CN102520960A (en) * 2011-12-21 2012-06-27 珠海许继芝电网自动化有限公司 Interface automatic generating system and interface automatic generating method
CN104298686A (en) * 2013-07-18 2015-01-21 深圳市腾讯计算机系统有限公司 Method and device for modifying server configuration file
CN104298686B (en) * 2013-07-18 2019-09-17 深圳市腾讯计算机系统有限公司 The method and apparatus for modifying server profile
CN104298495A (en) * 2013-07-19 2015-01-21 桥弘数控科技(上海)有限公司 Program development method and system based on scripting language
CN104298495B (en) * 2013-07-19 2018-07-20 桥弘数控科技(上海)有限公司 A kind of program developing method and system based on script
CN104267930B (en) * 2013-07-31 2018-04-10 深圳市华傲数据技术有限公司 A kind of JTextArea component rows are away from treating method and apparatus
CN104267930A (en) * 2013-07-31 2015-01-07 深圳市华傲数据技术有限公司 J Text Area component line spacing processing method and device
CN104484189A (en) * 2014-12-31 2015-04-01 北京拼图科技有限公司 Construction and design method of application interface
CN104484189B (en) * 2014-12-31 2018-07-10 北京拼图科技有限公司 The structure and design method of a kind of application interface
CN104598282A (en) * 2015-02-05 2015-05-06 广州华多网络科技有限公司 Control capture method and equipment
CN104598282B (en) * 2015-02-05 2017-10-27 广州华多网络科技有限公司 A kind of control method for catching and equipment
CN105988814A (en) * 2015-03-02 2016-10-05 腾讯科技(深圳)有限公司 Interface generation method and apparatus
CN105988814B (en) * 2015-03-02 2020-07-03 腾讯科技(深圳)有限公司 Interface generation method and device
CN106155661B (en) * 2015-04-14 2020-01-21 阿里巴巴集团控股有限公司 Control access method and device
CN106155661A (en) * 2015-04-14 2016-11-23 阿里巴巴集团控股有限公司 A kind of control cut-in method and device
CN104915268A (en) * 2015-06-24 2015-09-16 上海海漾软件技术有限公司 Desktop layout storage and recovery method and device thereof, terminal equipment and system
CN105739973A (en) * 2016-01-22 2016-07-06 深圳市盛弘电气股份有限公司 Android based UI control automatic identification refreshing method and apparatus
CN106201458A (en) * 2016-06-27 2016-12-07 上海波汇科技股份有限公司 A kind of interface creating method can joined flexibly and system
CN106126257A (en) * 2016-06-30 2016-11-16 珠海金山网络游戏科技有限公司 The system and method that a kind of interface generates
CN106294167A (en) * 2016-08-16 2017-01-04 济南大学 The automatic traversal method of Android Application Program Interface and system
CN106294167B (en) * 2016-08-16 2018-08-10 济南大学 The automatic traversal method of Android Application Program Interfaces and system
CN109996119A (en) * 2017-12-29 2019-07-09 深圳Tcl新技术有限公司 Support method, smart television and the storage medium of multiple user interfaces style
CN110275735A (en) * 2019-06-24 2019-09-24 深圳乐信软件技术有限公司 A kind of interface configuration method, device, terminal and storage medium
CN110889013A (en) * 2019-11-22 2020-03-17 北京锐安科技有限公司 Data association method, device, server and storage medium based on XML
CN111443912A (en) * 2020-03-25 2020-07-24 平安医疗健康管理股份有限公司 Page rendering method and device based on components, computer equipment and storage medium
CN111443912B (en) * 2020-03-25 2023-06-30 深圳平安医疗健康科技服务有限公司 Component-based page rendering method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN102103491B (en) 2013-11-06

Similar Documents

Publication Publication Date Title
CN102103491B (en) System and method for generating interface
CN110073385A (en) Document links in e-mail system
CN102194003A (en) Web page popup window method and device
CN101599015A (en) A kind of method and system of analyzing component
CN103853761A (en) Method and device for displaying and adding comments of webpage content
KR20120045586A (en) Apparatus and method for setting saas(software as a service) applications for multi-tenant
CN103942338A (en) Mapping method, server and terminal
CN102622237B (en) A kind of collocation method of business function procedure and system
CN101980155A (en) Method and system for realizing user interface of television, and television
JP2006268405A (en) Supporting device for creating customer value generation scenario, system and method
CN107423012B (en) A kind of data display method, device and electronic equipment
KR20150086951A (en) Method, server and computer readable recording medium for associating schedule information of electronic diary with mind map
JP2011141617A (en) Web page browsing system, control method thereof, and relay server
CN101369412A (en) LED display screen and its control system and method thereof
CN102646102A (en) XML (Extensible Markup Language) file generating method and device as well as terminal equipment
CN101833936A (en) Mobile terminal and method and device for displaying interfaces thereof
KR100787404B1 (en) Mindmap system using mobil-phone and method thereof
CN104320387A (en) Local module customizing method, terminal and server
CN102541532A (en) Software development kit system suitable for vehicle-mounted system simulator
CN103533176A (en) Method for opening application and terminal
Chueh et al. Universal remote control on smartphone
CN104111841A (en) Method for realizing microkernel web development frame
CN105760479A (en) Song playing control method and device, mobile terminal, server and system
CN102789379A (en) Method and device for constructing user interface
CN103024159B (en) Information generation method and information generation 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
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131106

CF01 Termination of patent right due to non-payment of annual fee