CN101287220A - Subject management system and method for mobile terminal - Google Patents

Subject management system and method for mobile terminal Download PDF

Info

Publication number
CN101287220A
CN101287220A CNA2008101095215A CN200810109521A CN101287220A CN 101287220 A CN101287220 A CN 101287220A CN A2008101095215 A CNA2008101095215 A CN A2008101095215A CN 200810109521 A CN200810109521 A CN 200810109521A CN 101287220 A CN101287220 A CN 101287220A
Authority
CN
China
Prior art keywords
pattern
control
expansion
acquiescence
module
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
CNA2008101095215A
Other languages
Chinese (zh)
Other versions
CN101287220B (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.)
ZTE Corp
Original Assignee
ZTE 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 ZTE Corp filed Critical ZTE Corp
Priority to CN2008101095215A priority Critical patent/CN101287220B/en
Publication of CN101287220A publication Critical patent/CN101287220A/en
Application granted granted Critical
Publication of CN101287220B publication Critical patent/CN101287220B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a theme management system of a mobile terminal, which comprises a pattern file used for storing default control patterns and expansion control patterns which are used for the configuring of controls, an engine management module used for calling default resource pattern modules and analyzing the default control patterns and loading an expansion engine on the condition that the controls are configured by utilizing the expansion control patterns and the expansion engine for analyzing the expansion control patterns and drawing the expanded controls. The invention also provides a theme management method of the mobile terminal. Thereby, users can configure the needed patterns in the pattern file and developers can develop the personal patterns of controls.

Description

The theme management system of portable terminal and Subject Manager method
Technical field
The present invention relates to a kind of system and method for managing the application program theme, more specifically, relate to a kind of theme management system and Subject Manager method of portable terminal.
Background technology
In GUI (graphical user interface) exploitation, can use control widely.A large amount of controls gets up by container control, layout control, the rational tissue of window control etc.These controls can show by certain shape, overall appearance.Subject Manager is the demonstration outward appearance that is used for managing all controls.The user can select different themes, obtains the control outward appearance of different-style.The user can select the theme oneself liked like this., the Subject Manager of general portable terminal does not provide the outward appearance of concrete certain control of user oneself configuration, just offers several themes of user and selects.The control outward appearance that the user disposes oneself if desired with regard to difficult to realize.In addition, the Subject Manager of general portable terminal does not offer the function that the developer expands the control outward appearance, and inconvenient developer develops abundant more control outward appearance for control.
Summary of the invention
Consider the problems referred to above and make the present invention that for this reason, main purpose of the present invention is, a kind of theme management system and Subject Manager method of portable terminal is provided.
According to an aspect of the present invention, provide a kind of theme management system of portable terminal, it comprises:
The pattern file is used to preserve the acquiescence control pattern and the expansion control pattern that are used for disposing control;
The engine management module is used to call default resource pattern module parses acquiescence control pattern, and loads the expansion engine under the situation of utilizing expansion control style configuration control; And
The expansion engine is used to resolve expansion control pattern and the control of drafting through expanding.
The expansion engine can comprise: extended resources pattern module is used for resolving expansion control pattern and generating pattern data; And expansion Show Styles module, be used for according to the control of drawing by the pattern data of extended resources pattern module generation through expansion.
Extended resources pattern module can also be used to preserve the acquiescence control pattern of having resolved, and the expansion control pattern of parsing is merged mutually with the acquiescence control pattern of having resolved generate pattern data.
This theme management system can also comprise acquiescence Show Styles module, is used for draw control under the situation of only utilizing acquiescence control style configuration control.
According to a further aspect in the invention, provide a kind of Subject Manager method of portable terminal, it may further comprise the steps:
Step S202 creates expansion control pattern in the pattern file of preserving acquiescence control pattern;
Step S204, the acquiescence control pattern in the engine management module invokes default resource pattern module parses pattern file, and under the situation of utilizing expansion control style configuration control, load the expansion engine; And
Step S206, expansion engine parsing expansion control pattern and drafting are through the control of expansion.
Step S204 can also comprise: resolve expansion control pattern and generate pattern data; And according to the control of drawing by the pattern data of extended resources pattern module generation through expansion.
After resolving expansion control pattern, can also comprise: the acquiescence control pattern that preservation has been resolved, and the expansion control pattern of parsing is merged mutually with the acquiescence control pattern of having resolved generate pattern data.
If only utilize acquiescence control style configuration control, then come draw control by acquiescence Show Styles module.
In technique scheme, the outward appearance of control is defined by pattern, and manages by theme.The user changes the outward appearance of control by configuration style, and the developer reaches the purpose of the new outward appearance of design by expanding pattern.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of being write, claims and accompanying drawing.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of specification, is used from explanation the present invention with embodiments of the invention one, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 shows the block diagram according to the theme management system of portable terminal of the present invention;
Fig. 2 shows the flow chart according to the Subject Manager method of portable terminal of the present invention;
Fig. 3 shows the Organization Chart according to the theme management system of the embodiment of the invention; And
Fig. 4 shows the flow chart according to the master map management method of the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in qualification the present invention.
Fig. 1 shows the block diagram according to the theme management system of portable terminal of the present invention.
With reference to Fig. 1, a kind of theme management system of portable terminal is provided, it comprises:
Pattern file 101 is used to preserve required acquiescence control pattern of configuration control and expansion control pattern;
Engine management module 102 is used to call default resource pattern module parses acquiescence control pattern, and loads expansion engine 103 under the situation of utilizing expansion control style configuration control; And
Expansion engine 103 is used to resolve expansion control pattern and the control of drafting through expanding.
Expansion engine 103 can comprise: extended resources pattern module is used for resolving expansion control pattern and generating pattern data; And expansion Show Styles module, be used for according to the control of drawing by the pattern data of extended resources pattern module generation through expansion.
Extended resources pattern module can also be used to preserve the acquiescence control pattern of having resolved, and the expansion control pattern of parsing is merged mutually with the acquiescence control pattern of having resolved generate pattern data.
This theme management system can also comprise acquiescence Show Styles module, is used for draw control under the situation of only utilizing acquiescence control style configuration control.
Fig. 2 shows the flow chart according to the Subject Manager method of portable terminal of the present invention.
With reference to Fig. 2, a kind of Subject Manager method of portable terminal is provided, it may further comprise the steps:
Step S202 creates expansion control pattern in the pattern file of preserving acquiescence control pattern;
Step S204, the acquiescence control pattern in the engine management module invokes default resource pattern module parses pattern file, and under the situation of utilizing expansion control style configuration control, load the expansion engine; And
Step S206, expansion engine parsing expansion control pattern and drafting are through the control of expansion.
Step S204 can also comprise: resolve expansion control pattern and generate pattern data; And according to the control of drawing by the pattern data of extended resources pattern module generation through expansion.
After resolving expansion control pattern, can also comprise: the acquiescence control pattern that preservation has been resolved, and the expansion control pattern of parsing is merged mutually with the acquiescence control pattern of having resolved generate pattern data.
If only utilize acquiescence control style configuration control, then come draw control by acquiescence Show Styles module.
Below will describe in more detail according to exemplary embodiment of the present invention.
Fig. 3 shows the Organization Chart according to the theme management system of the embodiment of the invention.
This Subject Manager software configuration provides pattern file, the resource pattern module of acquiescence, the Show Styles module of acquiescence.The user can use the pattern of the pattern syntax rule definition oneself of acquiescence.Control can call this pattern of default resource pattern module parses, calls acquiescence Show Styles module and draws pattern.
The developer can the style configuration file in add the own pattern that defines.The developer will provide the engine of resolving own pattern, the own pattern of drafting, and the syntax rule of configuration style is provided.The user can install the engine of resolving this pattern according to a certain pattern syntax rule configuration control pattern.Run into new pattern when resource pattern module parses pattern file, the engine management module can be sought the engine of this novel type, if find then load this engine.The new pattern of its resource pattern module parses of this engine calling merges new and old pattern.When showing control, control can call Show Styles module draw control by Subject Manager.
Below be the embodiment that realizes this Subject Manager software architecture, the concrete steps implementation step has:
(1) provides the pattern of acquiescence, such as foreground, background colour, font, icon etc.Allow the user know and to dispose which pattern.
(2) provide the pattern grammer of allocating default, such as bg[ACTIVE]=" #898886 ", the background color under its expression state of activation.How allow the user know configuration style.
(3) provide the resource pattern module of acquiescence, it is used for resolving the pattern of acquiescence.During the control initialization, can call resource pattern module parses pattern, initialization control pattern.
(4) provide the Show Styles module of acquiescence, it is used for drawing pattern.The pattern of control finally will show, and when the user will show control, control can call the Show Styles module and draw the pattern of oneself.
(5) provide the engine management module, be used for managing the pattern engine.When Subject Manager ran into the pattern of expansion, it must seek and load the engine that can resolve this pattern.
Below be the concrete implementation step that the developer expands pattern:
(1) if the developer needs, it can expand the pattern of oneself, defines new control pattern.Allowing the user know has the pattern of which expansion.
(2) regulation expands the pattern grammer.The developer stipulates out corresponding pattern grammer for the pattern of oneself, and the user can expand pattern according to the grammer configuration.
(3) developer provides the pattern engine.Engine provides the interface of resolving pattern, the interface that merges pattern.Subject Manager can call the parsing interface of engine and resolve the expansion pattern, and the parsing interface of engine can call this pattern of resource pattern module parses of expansion; The fusion interface that Subject Manager can call engine merges pattern, and the fusion interface of engine can call resource pattern module and merge this pattern and previous pattern of resolving.
(4) developer provides resource pattern module.The pattern of this module parses oneself definition, merge new and old pattern.
(5) developer provides the Show Styles module.This module is drawn the pattern of oneself.
Fig. 4 shows the flow chart according to the master map management method of the embodiment of the invention.
When the initialization control, call Subject Manager initialization control pattern.Subject Manager calls default resource pattern module parses pattern file, and when running into new pattern in parsing, the engine management module can be called corresponding engine, and its resource pattern module of this engine calling continues to resolve this document.This resource pattern module is wanted to keep the content of having resolved when resolution file, merges the pattern of having resolved, and generates new pattern.
After the pattern initialization was finished, if the user will show control, control can call the Show Styles module.The Show Styles module can be called the pattern data draw control pattern of resource pattern module parses.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. the theme management system of a portable terminal is characterized in that, comprising:
The pattern file is used to preserve the acquiescence control pattern and the expansion control pattern that are used for disposing control;
The engine management module is used to call the described acquiescence control of default resource pattern module parses pattern, and loads the expansion engine under the situation of utilizing the described control of described expansion control style configuration; And
Described expansion engine is used to resolve described expansion control pattern and the control of drafting through expanding.
2. theme management system according to claim 1 is characterized in that, described expansion engine comprises:
Extended resources pattern module is used to resolve described expansion control pattern and generates pattern data; And
Expansion Show Styles module is used for drawing described control through expansion according to the described pattern data that is generated by described extended resources pattern module.
3. theme management system according to claim 2, it is characterized in that, described extended resources pattern module also is used to preserve the described acquiescence control pattern of having resolved, and the described expansion control pattern of parsing is merged mutually with described acquiescence control pattern of having resolved generate described pattern data.
4. theme management system according to claim 3 is characterized in that, also comprises acquiescence Show Styles module, is used for drawing under the situation of only utilizing the described control of described acquiescence control style configuration described control.
5. the Subject Manager method of a portable terminal is characterized in that, may further comprise the steps:
Step S202 creates expansion control pattern in the pattern file of preserving acquiescence control pattern;
Step S204, the described acquiescence control pattern in the described pattern file of engine management module invokes default resource pattern module parses, and under the situation of utilizing the described control of described expansion control style configuration, load the expansion engine; And
Step S206, described expansion engine resolve described expansion control pattern and the control of drafting through expanding.
6. Subject Manager method according to claim 5 is characterized in that, described step S204 also comprises:
Resolve described expansion control pattern and generate pattern data; And
Draw described control according to the described pattern data that generates by described extended resources pattern module through expansion.
7. Subject Manager method according to claim 6 is characterized in that, also comprises after the described expansion control of described parsing pattern:
Preserve the described acquiescence control pattern resolved, and the described expansion control pattern of parsing is merged mutually with described acquiescence control pattern of having resolved generate described pattern data.
8. Subject Manager method according to claim 7 is characterized in that, if only utilize the described control of described acquiescence control style configuration, then draws described control by acquiescence Show Styles module.
CN2008101095215A 2008-05-28 2008-05-28 Subject management system and method for mobile terminal Expired - Fee Related CN101287220B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101095215A CN101287220B (en) 2008-05-28 2008-05-28 Subject management system and method for mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101095215A CN101287220B (en) 2008-05-28 2008-05-28 Subject management system and method for mobile terminal

Publications (2)

Publication Number Publication Date
CN101287220A true CN101287220A (en) 2008-10-15
CN101287220B CN101287220B (en) 2012-07-04

Family

ID=40059138

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101095215A Expired - Fee Related CN101287220B (en) 2008-05-28 2008-05-28 Subject management system and method for mobile terminal

Country Status (1)

Country Link
CN (1) CN101287220B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102207872A (en) * 2011-06-04 2011-10-05 中国移动通信集团内蒙古有限公司 Method and system for customizing Web UI (User Interface) control according to user requirements
WO2011153740A1 (en) * 2010-06-09 2011-12-15 中兴通讯股份有限公司 Method and device for processing widget system appearance
CN102646038A (en) * 2012-02-28 2012-08-22 广州市动景计算机科技有限公司 Control content display method, control content display device and mobile terminal
CN110110073A (en) * 2018-01-26 2019-08-09 北京高德云图科技有限公司 A kind of text methods of exhibiting and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1357820A (en) * 2000-12-15 2002-07-10 无敌科技(西安)有限公司 Program interface converting method
CN1758794A (en) * 2005-02-07 2006-04-12 中国联合通信有限公司 Method and system for generating interface of mobile terminal
CN100392639C (en) * 2005-04-22 2008-06-04 英华达(上海)电子有限公司 Mobile phone functional menu individual customization method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011153740A1 (en) * 2010-06-09 2011-12-15 中兴通讯股份有限公司 Method and device for processing widget system appearance
CN102207872A (en) * 2011-06-04 2011-10-05 中国移动通信集团内蒙古有限公司 Method and system for customizing Web UI (User Interface) control according to user requirements
CN102207872B (en) * 2011-06-04 2014-08-06 中国移动通信集团内蒙古有限公司 Method and system for customizing Web UI (User Interface) control according to user requirements
CN102646038A (en) * 2012-02-28 2012-08-22 广州市动景计算机科技有限公司 Control content display method, control content display device and mobile terminal
CN110110073A (en) * 2018-01-26 2019-08-09 北京高德云图科技有限公司 A kind of text methods of exhibiting and device

Also Published As

Publication number Publication date
CN101287220B (en) 2012-07-04

Similar Documents

Publication Publication Date Title
US20210216700A1 (en) Information Processing Method and System
CN109445784B (en) Method and device for processing structure data, storage medium and electronic equipment
CN102043618B (en) Method and device for controlling display style of window object
CN103237083B (en) A kind of mobile information service resource paradigmatic system and method
CN101477461A (en) Dynamic generation apparatus and method for application program interface
CN101287220B (en) Subject management system and method for mobile terminal
CN102830959B (en) A kind of built-in browser interface dynamic expansion method and system
CN101788906A (en) Resource management method and system thereof
CN106230977B (en) A kind of client functionality loading method, system, client and server-side
CN105700925A (en) APP interface implementation method and apparatus
CN107807821A (en) The implementation method and terminal of animation pop-up
CN115964131B (en) Simulation model management system supporting multiple simulation engines and simulation model scheduling method
CN106533926A (en) Webpage information dissemination method and device
CN107818588A (en) The apparatus and method that android system calls Qt drawing based on JNI multithreadings
CN104915188A (en) Method and system for theme change and mobile terminal
CN109933381A (en) A kind of loading method and device of kernel
CN114912897A (en) Workflow execution method, workflow arrangement method and electronic equipment
CN102999371B (en) Interface Development method and system based on Lua script
CN102193806A (en) Method and device for updating animation
CN114489614A (en) Customized UI solution method for SAAS platform
US20110270946A1 (en) Service providing apparatus, service providing system, service providing method, and storage medium
CN101986662B (en) Widget instance operation method and system
CN105354016A (en) Application topic management system and method
CN101276276A (en) Digital television applied development model apparatus
CN101345933A (en) Dynamic alternation and loading/unloading method for mobile phone display font style and font size

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

Granted publication date: 20120704

Termination date: 20130528