CN103176802A - Method of achieving separation of user interface UI of system and control library through control pool - Google Patents

Method of achieving separation of user interface UI of system and control library through control pool Download PDF

Info

Publication number
CN103176802A
CN103176802A CN2013101070539A CN201310107053A CN103176802A CN 103176802 A CN103176802 A CN 103176802A CN 2013101070539 A CN2013101070539 A CN 2013101070539A CN 201310107053 A CN201310107053 A CN 201310107053A CN 103176802 A CN103176802 A CN 103176802A
Authority
CN
China
Prior art keywords
control
user interface
controls
pond
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013101070539A
Other languages
Chinese (zh)
Other versions
CN103176802B (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.)
Xiamen Yealink Network Technology Co Ltd
Original Assignee
Xiamen Yealink Network Technology 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 Xiamen Yealink Network Technology Co Ltd filed Critical Xiamen Yealink Network Technology Co Ltd
Priority to CN201310107053.9A priority Critical patent/CN103176802B/en
Publication of CN103176802A publication Critical patent/CN103176802A/en
Application granted granted Critical
Publication of CN103176802B publication Critical patent/CN103176802B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a method of achieving separation of a user interface UI of a system and a control library through a control pool. The method includes that firstly, control types of the system and creating interfaces of controls can be bonded in advance. Secondly, the controls can be formed by creation and allocation: the creation includes that the control pool is used for creating an interface to create various controls through the controls bonded on the various control types of the system and an unique control ID can be correspondingly generated; and the allocation includes that the exterior of the system can be used for introducing an allocated structural body to the control pool and the allocation information of various controls needed by the system is stored in the structural body; corresponding controls can be allocated according to the allocation information of the various controls. Thirdly, when the user interface UI displays, the control pool is invoked to create the interface and the controls can be operated according the needed control IDs. According to the method of achieving separation of the user interface UI of the system and the control library through the control pool, the user interface UI does not need to care about the concrete controls and using methods of the controls can be simplified; and handling efficiency of a system program can be improved.

Description

By the control pond realizing the method that the user interface UI of system separates with widget library
Technical field
The present invention relates to the computer communication technology field, relate in particular to a kind of by the control pond realizing the method that the user interface UI of system separates with widget library.
Background technology
In the realization of user interface UI, need to reach with control the demonstration of concrete object, use different creation methods for different controls, control is the encapsulation to data and method.Control can have attribute and the method for oneself; Attribute is the easy access person of control data; Method is some simple and visible functions of control; Control is generally to be stored in widget library.
Existing user interface UI binds some controls commonly used, when the user interface UI of system shows like this, each control all needs to create using method, and to be concerned about also user interface UI demonstration needs which concrete control, namely to take out the control that needs from those conventional controls, so just consumed the resource of system program, and the efficient that system program is processed is very low.
Summary of the invention
The technical problem to be solved in the present invention, be to provide a kind of by the control pond realizing the method that the user interface UI of system separates with widget library, by the control pond, unification user interface UI uses the interface of control, make user interface UI need not to be concerned about concrete control, simplify the control using method; Improved the efficient that system program is processed.
The present invention is achieved in that and a kind ofly realizes by the control pond method that the user interface UI of system separates with widget library, comprises the steps:
Step 1, the control type of system and the establishment interface of control are bound in advance;
Step 2, by creating and the formation of control is completed in configuration; Described being created as: the control pond control by each control type binding of system creates interface and creates out each control, and correspondingly generates unique control ID; Described being configured to: the structure that sets is imported the outside into to the control pond in system, and described structure stores each required control configuration information of system; The control pond is configured corresponding control according to each control configuration information in this structure; The control that forms is stored in the control pond;
When the user interface UI of step 3, system shows, create interface by calling in the control pond, and according to required control ID, control is operated; This moment, operated control, be labeled as the state of being used, and the system outside can't re-use this control, and the control after having operated is labeled as idle condition, can be outside for system.
Further, described control configuration information comprises: the attribute of control type, the residing coordinate of control, control display name, control, the alignment thereof of control and the font size of control.
The present invention has following advantage: 1, the module of system outside need not to understand establishment interface and the process of concrete control, simplifies the realization to control.
2, realized unified management to control in system, unifiedly created and destroy, simultaneously also unified management distribution and the release of the control internal memory.
3, for upper-layer user interface UI, under different widget library platforms, can well realize that user interface UI transplants, and only need revise the control pond to the support of new widget library.
4, unification user interface UI uses the interface of control, has improved the efficient that system program is processed.
Description of drawings
Fig. 1 is the inventive method schematic flow sheet.
Embodiment
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
See also shown in Figure 1ly, the present invention a kind ofly realizes by the control pond method that the user interface UI of system separates with widget library, comprises the steps:
Step 1, the control type of system and the establishment interface of control are bound in advance; The establishment interface of described control is the creation operation of realizing concrete control;
Step 2, by creating and the formation of control is completed in configuration; Described being created as: the control pond control by each control type binding of system creates interface and creates out each control, and correspondingly generates unique control ID; Described being configured to: the structure that sets is imported the outside into to the control pond in system, and described structure stores each required control configuration information of system; The control pond is configured corresponding control according to each control configuration information in this structure; The control that forms is stored in the control pond; Just include some information of control in control this moment pond, those information include: control ID, the control object that is created out, control type, the current state that whether is used of control.
When the user interface UI of step 3, system shows, create interface by calling in the control pond, and according to required control ID, control is operated; This moment, operated control, be labeled as the state of being used, and the system outside can't re-use this control, and the control after having operated is labeled as idle condition, can be outside for system; Described mark to control is the change of the state whether control is used.
Comprise at the configuration information of control described in system: the attribute of control type, the residing coordinate of control, control display name, control, the alignment thereof of control and the font size of control.
In a word, the present invention is by the control pond, and unification user interface UI uses the interface of control, makes user interface UI need not to be concerned about concrete control, simplifies the control using method; Improved the efficient that system program is processed.
The above is only preferred embodiment of the present invention, and all equalizations of doing according to the present patent application the scope of the claims change and modify, and all should belong to covering scope of the present invention.

Claims (2)

1. realize by the control pond method that the user interface UI of system separates with widget library for one kind, it is characterized in that, comprise the steps:
Step 1, the control type of system and the establishment interface of control are bound in advance;
Step 2, by creating and the formation of control is completed in configuration; Described being created as: the control pond control by each control type binding of system creates interface and creates out each control, and correspondingly generates unique control ID; Described being configured to: the structure that sets is imported the outside into to the control pond in system, and described structure stores each required control configuration information of system; The control pond is configured corresponding control according to each control configuration information in this structure; The control that forms is stored in the control pond;
When the user interface UI of step 3, system shows, create interface by calling in the control pond, and according to required control ID, control is operated; This moment, operated control, be labeled as the state of being used, and the system outside can't re-use this control, and the control after having operated is labeled as idle condition, can be outside for system.
2. according to claim 1ly realize by the control pond method that the user interface UI of system separates with widget library, it is characterized in that: described control configuration information comprises: the attribute of control type, the residing coordinate of control, control display name, control, the alignment thereof of control and the font size of control.
CN201310107053.9A 2013-03-29 2013-03-29 Realize the method that the user interface UI of system separates with widget library by control pond Expired - Fee Related CN103176802B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310107053.9A CN103176802B (en) 2013-03-29 2013-03-29 Realize the method that the user interface UI of system separates with widget library by control pond

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310107053.9A CN103176802B (en) 2013-03-29 2013-03-29 Realize the method that the user interface UI of system separates with widget library by control pond

Publications (2)

Publication Number Publication Date
CN103176802A true CN103176802A (en) 2013-06-26
CN103176802B CN103176802B (en) 2016-05-11

Family

ID=48636707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310107053.9A Expired - Fee Related CN103176802B (en) 2013-03-29 2013-03-29 Realize the method that the user interface UI of system separates with widget library by control pond

Country Status (1)

Country Link
CN (1) CN103176802B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104102704A (en) * 2014-07-08 2014-10-15 深圳市深信服电子科技有限公司 System control displaying method and system control displaying device
CN104111833A (en) * 2014-07-04 2014-10-22 北京思特奇信息技术股份有限公司 System reading/writing control component separation method and system
CN104407828A (en) * 2014-10-31 2015-03-11 宁波新尚智能电气有限公司 Display and control system applied to power collection terminal and control method of power collection terminal
CN105739973A (en) * 2016-01-22 2016-07-06 深圳市盛弘电气股份有限公司 Android based UI control automatic identification refreshing method and apparatus
CN106371845A (en) * 2016-09-05 2017-02-01 深圳震有科技股份有限公司 Method and system for repeatedly utilizing same kind of controls through control pool on basis of WPF
CN107203373A (en) * 2016-03-18 2017-09-26 阿里巴巴集团控股有限公司 Acquisition methods, method of testing and the acquisition device of interface control, test device
CN107844349A (en) * 2017-10-19 2018-03-27 上海斐讯数据通信技术有限公司 A kind of control method and device based on user interface
CN111026369A (en) * 2019-11-28 2020-04-17 成都睿智融科科技有限公司 Security market data high-speed access and forwarding platform

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101256490A (en) * 2008-03-18 2008-09-03 腾讯科技(深圳)有限公司 Expandable skin system and implementing method
CN101436133A (en) * 2008-11-20 2009-05-20 腾讯科技(深圳)有限公司 Method and device for generating control object library
CN101464805A (en) * 2008-12-24 2009-06-24 中兴通讯股份有限公司 Plug-in management method and system thereof
CN101645006A (en) * 2009-08-25 2010-02-10 山东中创软件商用中间件股份有限公司 Method and device for dynamically generating property page
CN101685393A (en) * 2008-08-20 2010-03-31 大唐软件技术股份有限公司 Method and system for realizing interface dynamic customization and generation
CN101720156A (en) * 2009-12-17 2010-06-02 海洋王照明科技股份有限公司 Method and system for generating monitoring interface of illumination control system and illumination control system
US8219380B1 (en) * 2008-11-14 2012-07-10 Adobe Systems Incorporated Methods and systems utilizing behavioral data models with derived properties

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101256490A (en) * 2008-03-18 2008-09-03 腾讯科技(深圳)有限公司 Expandable skin system and implementing method
CN101685393A (en) * 2008-08-20 2010-03-31 大唐软件技术股份有限公司 Method and system for realizing interface dynamic customization and generation
US8219380B1 (en) * 2008-11-14 2012-07-10 Adobe Systems Incorporated Methods and systems utilizing behavioral data models with derived properties
CN101436133A (en) * 2008-11-20 2009-05-20 腾讯科技(深圳)有限公司 Method and device for generating control object library
CN101464805A (en) * 2008-12-24 2009-06-24 中兴通讯股份有限公司 Plug-in management method and system thereof
CN101645006A (en) * 2009-08-25 2010-02-10 山东中创软件商用中间件股份有限公司 Method and device for dynamically generating property page
CN101720156A (en) * 2009-12-17 2010-06-02 海洋王照明科技股份有限公司 Method and system for generating monitoring interface of illumination control system and illumination control system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
盛蓼楠: "《控件系统及其脚本化技术研究》", 《中国优秀论文学位论文全文数据库 信息科技辑》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104111833A (en) * 2014-07-04 2014-10-22 北京思特奇信息技术股份有限公司 System reading/writing control component separation method and system
CN104102704A (en) * 2014-07-08 2014-10-15 深圳市深信服电子科技有限公司 System control displaying method and system control displaying device
CN104407828A (en) * 2014-10-31 2015-03-11 宁波新尚智能电气有限公司 Display and control system applied to power collection terminal and control method of power collection terminal
CN104407828B (en) * 2014-10-31 2018-08-24 宁波三星医疗电气股份有限公司 Display control program for electric power acquisition terminal
CN105739973A (en) * 2016-01-22 2016-07-06 深圳市盛弘电气股份有限公司 Android based UI control automatic identification refreshing method and apparatus
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
CN106371845A (en) * 2016-09-05 2017-02-01 深圳震有科技股份有限公司 Method and system for repeatedly utilizing same kind of controls through control pool on basis of WPF
CN106371845B (en) * 2016-09-05 2019-10-25 深圳震有科技股份有限公司 The method and system of same type control are reused based on WPF by control pond
CN107844349A (en) * 2017-10-19 2018-03-27 上海斐讯数据通信技术有限公司 A kind of control method and device based on user interface
CN107844349B (en) * 2017-10-19 2021-06-04 台州市吉吉知识产权运营有限公司 Control method and device based on user interface
CN111026369A (en) * 2019-11-28 2020-04-17 成都睿智融科科技有限公司 Security market data high-speed access and forwarding platform

Also Published As

Publication number Publication date
CN103176802B (en) 2016-05-11

Similar Documents

Publication Publication Date Title
CN103176802B (en) Realize the method that the user interface UI of system separates with widget library by control pond
US11513775B2 (en) Group control and management among electronic devices
CN103208046A (en) Workflow engine architecture method and system based on interactive dynamic flow diagram
CN104461746B (en) A kind of memory headroom optimization method and system based on android system
CN105849697A (en) Method and apparatus for upgrading operating system of electronic device
HK1147581A1 (en) Method and system of defining an interactive user interface
CN104503769A (en) Character dot matrix liquid crystal interface implementation method based on XML (extensive markup language) configuration file
CN202904558U (en) Interface modeler device
CN104391693A (en) Method for achieving multiple-choice of drop-down list box
CN102541566A (en) Method for generating interface frameworks of semiconductor software
CN103414750A (en) System and method for web visual editing of ANDROID client application
CN103064682A (en) Device-orientated human-computer interface configuration design method
CN102591651B (en) Webpage 3D (three-dimensional) rendering and controlling method and device
CN104123155A (en) Business system page layer development platform and method based on WEB
CN102375738A (en) Device and method for managing data of mobile terminal
CN108446371A (en) Data return guiding method, device, computer equipment and storage medium
CN103092609B (en) Show method, human-computer interaction device that configuration software and controller data are mutual
CN104834715A (en) Website generating method and system based on components and container
CN102436501A (en) Parallel file managing system based on web
CN106896956B (en) The implementation method of multi-point touch under one kind " road " system
CN102375668A (en) Window management method and device for mobile terminal
US11853727B2 (en) Group control and management among electronic devices
CN103559280A (en) Method for flexibly storing and displaying icons
WO2016201813A1 (en) Dynamic layout method and system based on android
CN103294480B (en) Mesh row data transformations is the method for data list

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160511