CN101739251A - Method and system for generating interface control - Google Patents

Method and system for generating interface control Download PDF

Info

Publication number
CN101739251A
CN101739251A CN200810217359A CN200810217359A CN101739251A CN 101739251 A CN101739251 A CN 101739251A CN 200810217359 A CN200810217359 A CN 200810217359A CN 200810217359 A CN200810217359 A CN 200810217359A CN 101739251 A CN101739251 A CN 101739251A
Authority
CN
China
Prior art keywords
control
interface
module
property
generation
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
CN200810217359A
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.)
Konka Group Co Ltd
Original Assignee
Konka Group 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 Konka Group Co Ltd filed Critical Konka Group Co Ltd
Priority to CN200810217359A priority Critical patent/CN101739251A/en
Publication of CN101739251A publication Critical patent/CN101739251A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to the computer technique and provides a method and a system for generating an interface control in order to overcome the defect that the conventional control modifying method is much complex. The method for generating the interface control is characterized by comprising the following steps of: receiving a control request, extracting control characteristics, generating the requested control according to the control characteristics and returning. The invention also provides a system for generating the interface control. The technical scheme of the invention has the advantages that: by presetting all attributes to each control, a user only needs to provide parameters related to the attributes in the using process, so that the needed control can be obtained. Therefore, not only the expressive form of the control is diversified, but also the user does not need to have the developing capability, and the system can be conveniently used.

Description

A kind of interface control generation method and system thereof
Technical field
The present invention relates to computer technology, more particularly, relate to a kind of interface control generation method and system thereof.
Background technology
Present embedded device more and more needs to possess the User Interface of individual character and characteristic.The core of mainstream user's interactive interface designing technique is the control technology.Control developer exploitation also provides various controls, and upper strata interface development personnel call various controls and generate panoramic interface.This is that the development mode of core is widely used in the main flow developing instrument of various platforms (as the VC MFC under the Window and the GTK under the linux and Qt or the like) with the control.The basic thought of control technology is primary development, repeatedly uses, and utilizes the method that improves rate of code reuse to promote software development quality and development efficiency.As seen the quality of control design itself is directly connected to interface expressive ability and software development quality and development efficiency.
Present control design, owing to do not know that the control user need to wish control which characteristic and individual character are arranged, general conform to the principle of simplicity design and the standardized principle of adopting in the definition of outward appearance expressive ability, each control expressive ability is extremely limited, and outward appearance is very single.For example, button control just can only show as the relief square frame of tool or the like slightly.In use, the user is if want need come control is made amendment according to self, then can only realize by the method that derives from modification control internal codes such as new class or heavy duty, such as becoming round or triangle to button control, just must realize by revising control code or control explicit function.But, the control code is made amendment to obtain certain difficulty that the control that needs has for the control user, so the scope of application is extremely limited.
Therefore, need a kind of technical scheme, the control that can generate and provide the user to need automatically.
Summary of the invention
The technical problem to be solved in the present invention is, at the too complicated defective of existing control amending method, provides a kind of interface control generation method and system thereof.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of interface control generation method comprises receiving the control request and therefrom extracting control features, generates the control of being asked in view of the above and returns.
In interface control generation method provided by the invention, described control features comprises control sign and control property.
In interface control generation method provided by the invention, the control that described generation is asked and returning further comprises, search original control, be provided with, to generate the control of being asked and to return according to the corresponding attribute of described control property to described original control with described control sign.
In interface control generation method provided by the invention, described control property comprises control icons.
The present invention also provides a kind of interface control generation system, comprising:
Extraction module is used to receive the control request and therefrom extracts control features;
The control generation module with described extraction module communication linkage, is used for generating the control of being asked and returning according to described control features.
In interface control generation system provided by the invention, described control features comprises control sign and control property.
In interface control generation system provided by the invention, described control generation module further comprises:
The control memory module is used to store original control;
Matching module is used for searching the original control with described control sign in the control memory module;
Attribute is provided with module, is used for being provided with according to the corresponding attribute of described control property to the original control that finds, generates the control of being asked and also returns.
In interface control generation system provided by the invention, described control property comprises control icons.
Implement technical scheme of the present invention, have following beneficial effect: by each control is preestablished various attributes, the user in use only need provide the parameter value of association attributes can obtain required control.Not only can enrich the form of expression of control thus, and needn't require the user to have development ability, easy to use.
Description of drawings
The invention will be further described below in conjunction with drawings and Examples, in the accompanying drawing:
Fig. 1 is the process flow diagram according to the interface control generation method of a preferred embodiment of the present invention;
Fig. 2 is the structural representation according to the interface control generation system of a 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 is the process flow diagram according to the interface control generation method 100 of a preferred embodiment of the present invention.As shown in Figure 1, method 100 starts from step 102.
Subsequently, at next step 104, receive the control request, this control request can be such as but not limited to be triggered by modes such as carrying out the control invokes function.Comprise control features in the control request.
Subsequently, at next step 106, extract control features.Comprise control sign and control property in the control features.Control property further comprises such as but not limited to various attributes such as control icons (being the shown picture of control), control colors.
Control property is used to be provided with the style and the functional character of control, and for example button control can dispose a state small icon (functional character); The sub-clauses and subclauses background of drop down list control can free specified bitmap, and bottom brace can free assigned address or the like).In technical scheme provided by the invention, all to set in advance, the various attributes that the control user only need provide the corresponding parameters value can specify required control can use required control to make up panoramic user interface to the various attributes of each control thus.The various attributes of common control are as shown in the table:
Control class Control property
Button control Possess focus, non-focus bans use of three kinds of states; Can be configured to bitmap or monochromatic areas; Can dispose a additional icon, the icon display position can arbitrarily be specified; Text point on the button, font size, but color separate configurations;
Control class Control property
Static text Text background can be configured to bitmap or monochrome; Can dispose a additional icon, the icon display position can arbitrarily be specified;
The text reference position, font size, color can separate configurations;
The text edit box control Configurable bitmap of text edit box shape or monochromatic areas; Editor's cursor can be configured to dissimilar shapes; The reference position of input text, font size, color can separate configurations;
The progress bar control The progress bar shape can be configured to bitmap or monochromatic areas; Can be configured to horizontal direction or vertical direction progress bar; As be the bitmap progress bar, can be configured to advance the progress type to the right according to bitmap shapes, stretch the progress type to the right, 3 kinds of progress patterns of middle stretching, extension progress type progress status can represent that the progress status display position can dispose appointment with number percent or actual value.Can dispose a additional icon, the icon display position can arbitrarily be specified;
Drop down list control The drop-down list background can be configured to bitmap or monochromatic areas; Configurablely whether represent current selected sub-entry positions, the configurable appointment of vernier display position with vernier; The focus of sub-clauses and subclauses, non-focus condition shape can be configured to different bitmaps or monochromatic areas; Each sub-clauses and subclauses can dispose a plurality of the additional icons, everyone configurable appointment in icon display position; Text reference position on the sub-clauses and subclauses, font, color can dispose separately; Sub-clauses and subclauses are rolled and be can be configured to one by one that order rolls or by page scrolling;
The roll titles control The background of configurable roll titles is monochrome or bitmap; Can be configured to horizontal direction rolls or the vertical direction roll mode; The word reference position of roll titles, rolling speed is adjustable;
The vernier control Itself can be set to monochrome or bitmap vernier background and vernier; Can be set to vertical direction and horizontal direction vernier;
The IP address box control The background of IP address input frame can be set to monochrome or bitmap;
The image control It is synthetic to carry out image that configurable and other view data is carried out the different mode operation;
Control class Control property
The password box control The password box background can be set to monochrome or bitmap;
The password input state can be set to bitmap or different input cursor mode;
Table 1
It should be noted that table 1 only shows the part attribute of part control.In the specific implementation process, also can increase other controls or increase other attributes for control.
Especially, the control outward appearance be control icons by specifying with control outward appearance corresponding parameters value, this parameter value can be the memory location of control icons.In addition, also can come control icons carried out the various profiles that processing such as chamfering, hollow out realize control by the transparent mask look of designated color.Although picture all is upright, but by some area pixel of picture is arranged to particular color (such as pure blue), in the time of can being arranged on this control of demonstration this color is not shown, so just can obtain the different shape of round, triangle and middle hollow out shape.Need only simple replacing corresponding parameters (memory address of control icons) during change control appearance characteristic, and do not need to revise the internal code of control.
Subsequently, at next step 108, the control of generation request also returns.In this step, at first search the original control that comprises the control sign of extracting in the step 106.Subsequently, be provided with, comprise, color of control icons or the like is set such as but not limited to searching control icons according to the corresponding attribute of the control property that extracts in the step 106 to original control.Can generate the control of being asked by respective attributes setting to original control.
The present invention also provides a kind of interface control generation system, below just described in conjunction with Fig. 2.
Fig. 2 is the structural representation according to the interface control generation system 200 of a preferred embodiment of the present invention.As shown in Figure 2, interface control generation system 200 comprises extraction module 202 and control generation module 204, and extraction module 202 communicates to connect with control generation module 204.
Extraction module 202 is used to receive the control request and therefrom extracts control features, then the control features of extracting is mail to control generation module 204.
The control features that control generation module 204 is used for sending according to extraction module 202 generates the control of being asked and returns.Wherein, control features comprises such as but not limited to control sign and control property.Control generation module 204 comprises that further control memory module 2042, matching module 2044 and the attribute that connects that communicate with one another is provided with module 2046.
Control memory module 2042 is used to store original control.
Matching module 2044 is used for searching the original control with above-mentioned control sign in the control memory module, then it is mail to attribute module 2046 is set.
Attribute is provided with module 2046, and the corresponding attribute that is used for the original control matching module 2044 sent according to above-mentioned control property is provided with, and generates the control of being asked and also returns.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. an interface control generation method is characterized in that, comprises receiving the control request and therefrom extracting control features, generates the control of being asked in view of the above and returns.
2. interface control generation method according to claim 1 is characterized in that, described control features comprises control sign and control property.
3. want ball 2 described interface control generation methods according to right, it is characterized in that, the control that described generation is asked and returning further comprises, search original control with described control sign, be provided with according to the corresponding attribute of described control property, to generate the control of being asked and to return described original control.
4. according to each described interface control generation method in each in the claim 1~3, it is characterized in that described control property comprises control icons.
5. an interface control generation system is characterized in that, comprising:
Extraction module is used to receive the control request and therefrom extracts control features;
The control generation module with described extraction module communication linkage, is used for generating the control of being asked and returning according to described control features.
6. interface control generation system according to claim 1 is characterized in that, described control features comprises control sign and control property.
7. interface control generation system according to claim 6 is characterized in that, described control generation module further comprises:
The control memory module is used to store original control;
Matching module is used for searching the original control with described control sign in the control memory module;
Attribute is provided with module, is used for being provided with according to the corresponding attribute of described control property to the original control that finds, generates the control of being asked and also returns.
8. according to each described interface control generation system in the claim 5~7, it is characterized in that described control property comprises control icons.
CN200810217359A 2008-11-17 2008-11-17 Method and system for generating interface control Pending CN101739251A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810217359A CN101739251A (en) 2008-11-17 2008-11-17 Method and system for generating interface control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810217359A CN101739251A (en) 2008-11-17 2008-11-17 Method and system for generating interface control

Publications (1)

Publication Number Publication Date
CN101739251A true CN101739251A (en) 2010-06-16

Family

ID=42462778

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810217359A Pending CN101739251A (en) 2008-11-17 2008-11-17 Method and system for generating interface control

Country Status (1)

Country Link
CN (1) CN101739251A (en)

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102654829A (en) * 2011-03-01 2012-09-05 中兴通讯股份有限公司 Recorded attribute modification method and device
CN103399738A (en) * 2013-07-17 2013-11-20 浙江大学 Control-based multiple-attribute change method and object-based multiple-attribute change method
CN103605519A (en) * 2013-11-19 2014-02-26 北京国双科技有限公司 Application program control adding method and application program control adding device
CN103617036A (en) * 2013-11-27 2014-03-05 小米科技有限责任公司 Method, device and terminal equipment for displaying plug-ins
CN103778108A (en) * 2012-10-25 2014-05-07 金蝶软件(中国)有限公司 Document processing method and device and ERP system
CN104932882A (en) * 2015-06-05 2015-09-23 浪潮电子信息产业股份有限公司 Method for solving problem that dynamic picture cannot be displayed on machine
CN104965642A (en) * 2014-05-23 2015-10-07 腾讯科技(深圳)有限公司 Method and apparatus for generating a drop-down list
CN105912635A (en) * 2016-04-08 2016-08-31 尚学博志(上海)教育科技有限公司 Personalization generation method for electronic teaching materials or courseware editing tools, and system thereof
CN105975263A (en) * 2016-04-29 2016-09-28 乐视控股(北京)有限公司 Method and device for realizing control in 3D space
CN106060634A (en) * 2016-05-31 2016-10-26 乐视控股(北京)有限公司 Method and device for displaying rolling subtitles
CN106164854A (en) * 2014-04-02 2016-11-23 微软技术许可有限责任公司 User interface controls with communicate
CN106155661A (en) * 2015-04-14 2016-11-23 阿里巴巴集团控股有限公司 A kind of control cut-in method and device
CN106293685A (en) * 2015-06-23 2017-01-04 阿里巴巴集团控股有限公司 Component generation method and assembly generating means
CN106293658A (en) * 2015-05-20 2017-01-04 腾讯科技(深圳)有限公司 A kind of interface assembly generates method and equipment thereof
CN106990951A (en) * 2017-02-22 2017-07-28 福建天泉教育科技有限公司 The method for drafting and system of a kind of progress bar
CN107203373A (en) * 2016-03-18 2017-09-26 阿里巴巴集团控股有限公司 Acquisition methods, method of testing and the acquisition device of interface control, test device
CN108228287A (en) * 2016-12-15 2018-06-29 龙芯中科技术有限公司 The generation method and device of user interface controls based on QT
CN108595965A (en) * 2018-04-28 2018-09-28 北京字节跳动网络技术有限公司 Prevent the method and its device that the attribute information of interface control is stolen
CN109117223A (en) * 2018-07-24 2019-01-01 北京酷我科技有限公司 A kind of interactive algorithm for submitting solicited status prompt
CN111367597A (en) * 2018-12-26 2020-07-03 杭州海康威视系统技术有限公司 Color switching method and device and electronic equipment
CN114371901A (en) * 2022-01-11 2022-04-19 福建天晴在线互动科技有限公司 Method and system for self-defining attribute adaptation format of interface control

Cited By (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102654829B (en) * 2011-03-01 2015-08-12 中兴通讯股份有限公司 Record attribute amending method and device
CN102654829A (en) * 2011-03-01 2012-09-05 中兴通讯股份有限公司 Recorded attribute modification method and device
CN103778108A (en) * 2012-10-25 2014-05-07 金蝶软件(中国)有限公司 Document processing method and device and ERP system
CN103399738A (en) * 2013-07-17 2013-11-20 浙江大学 Control-based multiple-attribute change method and object-based multiple-attribute change method
CN103399738B (en) * 2013-07-17 2016-06-22 浙江大学 Many attribute changes method based on many attribute changes method of control and object
CN103605519B (en) * 2013-11-19 2017-02-15 北京国双科技有限公司 Application program control adding method and application program control adding device
CN103605519A (en) * 2013-11-19 2014-02-26 北京国双科技有限公司 Application program control adding method and application program control adding device
CN103617036A (en) * 2013-11-27 2014-03-05 小米科技有限责任公司 Method, device and terminal equipment for displaying plug-ins
CN103617036B (en) * 2013-11-27 2017-11-14 小米科技有限责任公司 A kind of method, apparatus and terminal device for showing plug-in unit
CN106164854B (en) * 2014-04-02 2020-03-10 微软技术许可有限责任公司 User interface controls and communications
CN106164854A (en) * 2014-04-02 2016-11-23 微软技术许可有限责任公司 User interface controls with communicate
CN104965642A (en) * 2014-05-23 2015-10-07 腾讯科技(深圳)有限公司 Method and apparatus for generating a drop-down list
CN104965642B (en) * 2014-05-23 2019-05-28 腾讯科技(深圳)有限公司 Drop-down list 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
CN106293658A (en) * 2015-05-20 2017-01-04 腾讯科技(深圳)有限公司 A kind of interface assembly generates method and equipment thereof
CN106293658B (en) * 2015-05-20 2020-11-27 腾讯科技(深圳)有限公司 Interface component generation method and equipment
CN104932882A (en) * 2015-06-05 2015-09-23 浪潮电子信息产业股份有限公司 Method for solving problem that dynamic picture cannot be displayed on machine
CN106293685A (en) * 2015-06-23 2017-01-04 阿里巴巴集团控股有限公司 Component generation method and assembly generating means
CN107203373A (en) * 2016-03-18 2017-09-26 阿里巴巴集团控股有限公司 Acquisition methods, method of testing and the acquisition device of interface control, test device
CN107203373B (en) * 2016-03-18 2020-10-20 阿里巴巴集团控股有限公司 Interface control acquiring method, interface control testing method, interface control acquiring device and interface control testing device
CN105912635A (en) * 2016-04-08 2016-08-31 尚学博志(上海)教育科技有限公司 Personalization generation method for electronic teaching materials or courseware editing tools, and system thereof
CN105975263A (en) * 2016-04-29 2016-09-28 乐视控股(北京)有限公司 Method and device for realizing control in 3D space
CN106060634A (en) * 2016-05-31 2016-10-26 乐视控股(北京)有限公司 Method and device for displaying rolling subtitles
CN108228287A (en) * 2016-12-15 2018-06-29 龙芯中科技术有限公司 The generation method and device of user interface controls based on QT
CN106990951B (en) * 2017-02-22 2020-04-17 福建天泉教育科技有限公司 Method and system for drawing progress bar
CN106990951A (en) * 2017-02-22 2017-07-28 福建天泉教育科技有限公司 The method for drafting and system of a kind of progress bar
CN108595965A (en) * 2018-04-28 2018-09-28 北京字节跳动网络技术有限公司 Prevent the method and its device that the attribute information of interface control is stolen
CN109117223A (en) * 2018-07-24 2019-01-01 北京酷我科技有限公司 A kind of interactive algorithm for submitting solicited status prompt
CN109117223B (en) * 2018-07-24 2021-06-25 北京酷我科技有限公司 Interactive algorithm for submitting request state prompt
CN111367597A (en) * 2018-12-26 2020-07-03 杭州海康威视系统技术有限公司 Color switching method and device and electronic equipment
CN114371901A (en) * 2022-01-11 2022-04-19 福建天晴在线互动科技有限公司 Method and system for self-defining attribute adaptation format of interface control

Similar Documents

Publication Publication Date Title
CN101739251A (en) Method and system for generating interface control
EP3608795A1 (en) Method and apparatus for generating knowledge graph, device and computer readable storage medium
CN102592298B (en) Visual treatment for a user interface in a content integration framework
US20180095734A1 (en) System and method for creating a universally compatible application development system
CN101523346B (en) Image layout constraint generation
CN105867931B (en) The variation and device at information displaying interface
CN104239305B (en) Generate and show the method and device of electronic document
US20030174165A1 (en) System and method for rendering a directed graph
US6996774B2 (en) Display of data element indicia based on data types
CN109727298A (en) Poster generation method, device, equipment and computer storage medium
CN108040278A (en) Active page processing method, server, system and the storage medium of smart television
CN101739210A (en) Reminding method for image browsing and device thereof
US20020078097A1 (en) System for automatically allocating layout and the allocation method thereof
CN112927314B (en) Image data processing method and device and computer equipment
JP2015035167A (en) Information processing device, information processing method and program
CN106651996A (en) Element hierarchy management method and device in manuscript editing tool
CN107861926A (en) Document template configuration method and device
CN104036028B (en) A kind of method that the generation, processing, differentiation of processing system of electronic document information fragment and electronic document information fragment are shown
CN107578475A (en) A kind of three-dimensional web page display methods and device
CN105700703A (en) Method and device for inserting expressions in character input interface of keyboard and supporting user-defined expressions
CN116415000A (en) Visual knowledge graph configuration method, device, equipment and storage medium
CN109104628A (en) Focus prospect generation method, storage medium, equipment and the system of Android TV
CN113269583A (en) Content production method and device and electronic equipment
US10997356B1 (en) Computing device user interface having auto-grouping of data columns
CN115469869B (en) Visual editing and developing working method for application interface data

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: 20100616