CN101295249B - Method and system for dynamic configuration management of software interface style - Google Patents

Method and system for dynamic configuration management of software interface style Download PDF

Info

Publication number
CN101295249B
CN101295249B CN2008101114771A CN200810111477A CN101295249B CN 101295249 B CN101295249 B CN 101295249B CN 2008101114771 A CN2008101114771 A CN 2008101114771A CN 200810111477 A CN200810111477 A CN 200810111477A CN 101295249 B CN101295249 B CN 101295249B
Authority
CN
China
Prior art keywords
style
attribute
configuration
interface element
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.)
Active
Application number
CN2008101114771A
Other languages
Chinese (zh)
Other versions
CN101295249A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN2008101114771A priority Critical patent/CN101295249B/en
Publication of CN101295249A publication Critical patent/CN101295249A/en
Application granted granted Critical
Publication of CN101295249B publication Critical patent/CN101295249B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method and a system used for carrying out the dynamic configuration and management for the software interface style, belonging to the technical field of computers. The method comprises the steps as follows: A. a style configuration center reads the style configuration files which are memorized in advance and obtains the element list of current styles and corresponding properties and property values; B. the style configuration center obtains the style configuration request according to the property setting of the user on the style execution of the interface elements; C. the style configuration center extracts the properties and the property values corresponding to the styles in the style configuration files and arranges the properties and the property values to corresponding interface elements. During the dynamic configuration and management process on the software interface style, the difference between the method of the invention and the prior art is that the method of the invention carries out the parameter setting for the style configuration files by the style configuration center and carries out uniform configuration and changes for all interface elements by the data interaction with all interface elements, thus improving the configuration efficiency; furthermore, the configuration method of the invention also improves the diversity of the interface style configuration.

Description

Software interface style is carried out the method and system of dynamic-configuration management
Technical field
The present invention relates to field of computer technology, more particularly, relate to a kind of method and system of software interface style being carried out the dynamic-configuration management.
Background technology
Along with the fast development of software industry, (Graphics User Interface GUI) has become the indispensable part of client software to beautiful graphic user interface.And same software is under different skin, and the style at its interface all can be different, extremely needs a kind of way to manage these different interfacial effects.Even if same under same skin, the scene that (comprise window with control etc.) uses because interface element and local different, corresponding style also can differences, and for example login button, transmission button, X button all have different styles.Under with a kind of skin, style needs certain unification and differentiation again conversely speaking,, and for the interface element that is used in similar place (such as general Button), style need keep unified as far as possible, and unifies to upgrade when needs change style.The style that this patent is alleged just is meant various GUI performances and effect, for example the innervation expression of the color of interface element, interface skin, control use, the fade effect of window etc.Control or window with certain style are exactly identical a kind of control or window aspect some attribute and some GUI performance and effect in fact, by disposing some attribute and the property value of certain interface element, have just formed a kind of style of fixedly performance.
Accompanying drawing 1 shows the method flow that a pair of software interface style of prior art carries out conversion, specifically may further comprise the steps: (1) carries out the background image sampling, and carries out signature analysis; (2) select the interface control style according to the result parameter of signature analysis; (3) carry out the conversion of interface control style.The defective that the prior art exists is, can't carry out unified setting and change to interface element, can only dispose one by one, and is therefore more consuming time.
Accompanying drawing 2 shows the method flow that two pairs of software interface styles of prior art carry out conversion, specifically may further comprise the steps: (1) server extracts program data from its memory module, and the scheme of colour data corresponding with this program, and with the data transmission extracted to client; (2) the scene process module of client judges whether the data of the current reception of client are the scheme of colour data; (3) if the data that receive are scheme of colour data, then the scene process module repaints the interface of client according to the scheme of colour data that receive; Otherwise, the data that receive are handled the data that allow client terminal playing receive as media data.The defective of the prior art is, can only dispose one by one window or control, and is more consuming time, and is simple color configuration, and attribute is too single, also can't satisfy user's demand.
Therefore need a kind of new method that software interface style is carried out the dynamic-configuration management, can improve the allocative efficiency of look ﹠ feel, can also improve the diversity of attribute.
Summary of the invention
One of purpose of the present invention is to provide a kind of method, system and equipment that software interface style is carried out the dynamic-configuration management, is intended to solve that the allocative efficiency that exists in the process that prior art is configured software interface style is low, the problem of configuration attribute lack of diversity.
In order to realize goal of the invention, the described system that software interface style is carried out the dynamic-configuration management, the software client that comprises described software interface place, described software interface comprises a plurality of interface elements, described system also comprise with software client in the interface element style configuration center that carries out data interaction;
Described style configuration center storage style configuration file, and enable application or user attribute changes demand to look ﹠ feel according to the style that interface element is initiated, from described style configuration file, extract the attribute and the property value of style correspondence, and it is set to described interface element.
Preferably, described style configuration center further comprises information interaction unit, data processing unit and storage unit;
Described information interaction unit and data processing unit carry out data interaction, be used for style that the reception interface element initiates and enable application or user attribute changes demand, and described style enabled application or the attribute changes request is forwarded to data processing unit look ﹠ feel;
Described data processing unit carries out data interaction with information interaction unit and storage unit respectively, extracts the attribute and the property value of style correspondence from described style configuration file, and it is set to described interface element;
Described storage unit and data processing unit carry out data interaction, are used to store described style configuration file.
Preferably, described style configuration center also comprises the dynamic monitoring unit;
Described dynamic monitoring unit and data processing unit carry out data interaction, are used for the attribute setting operation that real-time monitor user ' is carried out look ﹠ feel, and send the attribute changes demand to data processing unit according to monitoring result.
In order better to realize goal of the invention, a kind of method that software interface style is carried out the dynamic-configuration management also is provided, said method comprising the steps of:
A. the style configuration center reads the style configuration file of prior storage, obtains the element list and the corresponding attribute and the property value of recent style;
B. the style configuration center obtains the style configuring request according to the attribute setting that the user carries out the style of interface element;
C. the style configuration center extracts the attribute and the property value of style correspondence from described style configuration file, and it is set to corresponding interface element.
Preferably, also comprise before the described steps A: the style configuration file of typing acquiescence in the style configuration center.
Preferably, the interface element among the described step B comprises window, control.
Preferably, the style configuring request among the described step B comprise style enable the application and the attribute changes demand;
If the attribute of user's interface element is set to use a style, then described style configuring request is that a style is enabled application;
If the user carries out attribute changes to look ﹠ feel, then described style configuring request is an attribute changes demand.
Preferably, if the style configuring request is that style is enabled application, then described step C further comprises:
C01. the element list that this interface element is added this style correspondence;
C02. from the style configuration file, extract the attribute and the property value of this style correspondence, and it is set to described interface element.
Preferably, the mode of style configuration center getattr change demand comprises:
Receive the attribute changes demand of the look ﹠ feel of reporting of user; Or
Monitor user ' generates an attribute changes demand to the attribute changes operation of look ﹠ feel execution in real time.
Preferably, if the style configuring request is the attribute changes demand, then described step C further comprises:
C11. the style configuration center is judged the change type that this attribute changes demand is carried;
C12. according to the change type, extract the attribute and the property value of recent style correspondence, and it is set to corresponding interface element;
Described change type comprises: genre content changes, the style name of interface element changes.
Preferably, if the style name that described change type is an interface element changes, then step C2 further comprises:
C21. this interface element is deleted from the element list of former style correspondence, and it is added the element list of new style correspondence;
C22. extract the attribute and the property value of new style correspondence, and it is set to this interface element.
As from the foregoing, the present invention is in the process of software interface style being carried out the dynamic-configuration management, difference with the prior art is, utilize the style configuration center that the style configuration file is carried out the parameter setting, and carry out data interaction with each interface element, thereby all interface elements are carried out unified configuration and change, therefore improved allocative efficiency; In addition, the invention is not restricted to simple color configuration, all can be configured, therefore improved the diversity of look ﹠ feel configuration the innervation expression of interface skin, control use, the fade effect of window etc.
Description of drawings
Fig. 1 is the method flow diagram that in the prior art one software interface style is carried out conversion;
Fig. 2 is the method flow diagram that in the prior art two software interface style is carried out conversion;
Fig. 3 is the system construction drawing that in one embodiment of the present of invention software interface style is carried out the dynamic-configuration management;
Fig. 4 is the cut-away view of the style configuration center of first embodiment in the system shown in Figure 3;
Fig. 5 is the cut-away view of the style configuration center of second embodiment in the system shown in Figure 3;
Fig. 6 is the method flow diagram that in one embodiment of the present of invention software interface style is carried out the dynamic-configuration management;
Fig. 7 is the method flow diagram that in the another embodiment of the present invention software interface style is carried out the dynamic-configuration management;
Fig. 8 is the method flow diagram of in the first embodiment of the present invention software interface style being changed;
Fig. 9 is the method flow diagram of in the second embodiment of the present invention software interface style being changed.
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.
In the present invention, introduced the style configuration center that a style that is exclusively used in software interface is configured, utilize the style configuration center that the style configuration file is carried out the parameter setting, and carry out data interaction with each interface element, thereby all interface elements are carried out unified configuration and change, therefore improved allocative efficiency, convenient for users to use.
Fig. 3 shows the system architecture of in one embodiment of the present of invention software interface style being carried out the dynamic-configuration management, and this system comprises style configuration center 100 and software client 200.Should be noted that the annexation between each equipment is the needs of explaining its information interaction and control procedure for clear in all diagrams of the present invention, therefore should be considered as annexation in logic, and should not only limit to physical connection.Need to prove in addition; communication mode between each functional module can be taked multiple; for example can carry out data communication by wireless modes such as bluetooth, infrared rays; certainly can take wired connection modes such as ethernet line, optical fiber to realize the mutual of data, so protection scope of the present invention should not be defined as the communication mode of certain particular type yet.Wherein:
(1) style configuration center 100 storage style configuration files, and enable application or user attribute changes demand to look ﹠ feel according to the style that interface element is initiated, from the style configuration file, extract the attribute and the property value of style correspondence, and it is set to interface element.About the detailed content of style configuration center 100, will in Fig. 4 described later, Fig. 5, set forth.
(2) operation has software in the software client 200, and can comprise multiple interface element in software interface, for example window, control etc., interface element 201 as shown in Figure 3, interface element 202...... interface element N.Software client 200 among the present invention typically can be personal computer (Personal Computer; PC), personal digital assistant (Personal Digital Assistant; PDA), mobile phone (MobilePhone; MP) etc., thus protection scope of the present invention should not be defined as the client of certain particular type.
Fig. 4 shows the inner structure of the style configuration center 100 of first embodiment in the system shown in Figure 3, comprises information interaction unit 101, data processing unit 102 and storage unit 103.Wherein:
(1) information interaction unit 101 carries out data interaction with data processing unit 102, be used for style that the reception interface element initiates and enable application or user attribute changes demand look ﹠ feel, and described style enabled application or the attribute changes request is forwarded to data processing unit 102, and the attribute and the property value of the style correspondence that data processing unit 102 is extracted are sent to interface element.
(2) data processing unit 102 carries out data interaction with information interaction unit 101 and storage unit 103 respectively, extracts the attribute and the property value of style correspondence from the style configuration file that storage unit 103 is deposited, and it is set to corresponding interface element.Two kinds of situations of data processing unit 102 main processing of the present invention: the one, enable certain style, the 2nd, change certain style.
In one embodiment, enable certain style at a button control " AButton ":
AButton->put_Config(″ChatButton″);
This button control is automatically to style configuration center 100 application applies stylistic " ChatButton " then, style configuration center 100 joins this control AButton in the pairing element list of style " ChatButton " then, then according to the style of " ChatButton " that read before configuration, the attribute of button control " AButton " is provided with.
Continue to change style at this button control " AButton " in this embodiment, for example the size in the attribute changed to " 600,10 ":
Put_ConfigContent(″ChatButton″,_T(″Size″),″600,10″);
After the message of content changing of style " ChatButton " is received by style administrative center 100, at first according to the content that changes, revise the property value of this style correspondence earlier, then the element list of this style correspondence is all carried out an attribute setting according to new value, all use the size of the button control of this style all to become like this.
(3) storage unit 103 is carried out data interaction with data processing unit 102, is used to store the style configuration file.In the present invention, the style configuration file can exist in a variety of forms, for example can be a kind of XML (extensible Markup Language) (Extensible Markup Language, XML) file.This style configuration file can be generated by User Defined, button control for example, the user can manually write in the style configuration file of this control, dispose the button control of this style, comprise: the value that the font of the Background of the Background of state, the Background of highlighted state, normal state, the problem of demonstration, the color of font are corresponding respectively, or the like, the style that just forms a kind of button control of fixedly performance after these file maintenance has been disposed.
In one embodiment, layoutprocedure is as follows:
<ConfigAgent?Name=″ChatButton″Type=″Button″>
<Property?name=″HightICon″Value=″C:\1.bmp″/>
<Property?name=″Size″Value=″500,500″/>
</ConfigAgent>
In this embodiment, the title of a button control of user is set to " Chat button ", and has specified a width of cloth Background for it, and this Background is of a size of " 500,500 ".After configuration is finished, then it is kept in the storage unit 103.
Fig. 5 shows the inner structure of the style configuration center 100 of second embodiment in the system shown in Figure 3.Compare with embodiment illustrated in fig. 4,, also comprise dynamic monitoring unit 104 except comprising information interaction unit 101, data processing unit 102 and storage unit 103.Wherein:
(1) information interaction unit 101 carries out data interaction with data processing unit 102, be used for style that the reception interface element initiates and enable application or user attribute changes demand look ﹠ feel, and described style enabled application or the attribute changes request is forwarded to data processing unit 102, and the attribute and the property value of the style correspondence that data processing unit 102 is extracted are sent to interface element.The particular content of this information interaction unit 101 is consistent with information interaction unit 101 in the earlier figures 4, repeats no more herein.
(2) data processing unit 102 carries out data interaction with information interaction unit 101 and storage unit 103 respectively, extracts the attribute and the property value of style correspondence from described style configuration file, and it is set to described interface element.The particular content of this data processing unit 102 is consistent with data processing unit 102 in the earlier figures 4, repeats no more herein.
(3) storage unit 103 is carried out data interaction with data processing unit 102, is used to store this style configuration file.This style configuration file can be generated by User Defined, and particular content is consistent with storage unit 103 in the earlier figures 4, repeats no more herein.
(4) dynamic monitoring unit 104 carries out data interaction with data processing unit 102, is used for the attribute setting operation that real-time monitor user ' is carried out look ﹠ feel, and sends the attribute changes demand to data processing unit 102 according to monitoring result.Detection can initiatively be followed the tracks of to user's operation in this dynamic monitoring unit 104, so this style configuration center 100 can not changed style based on the attribute changes demand of reporting of user.
Fig. 6 shows the method flow that in one embodiment of the present of invention software interface style is carried out the dynamic-configuration management, and this method flow is based on Fig. 3, Fig. 4 or system architecture shown in Figure 5, and detailed process is as follows:
Carry out institute of the present invention in steps before, the style configuration file of typing acquiescence in style configuration center 100.This style configuration file can be generated by User Defined, button control for example, the user can manually write in the style configuration file of this control, dispose the button control of this style, comprise: the value that the font of the Background of the Background of state, the Background of highlighted state, normal state, the problem of demonstration, the color of font are corresponding respectively, or the like, the style that just forms a kind of button control of fixedly performance after these file maintenance has been disposed.
In one embodiment, layoutprocedure is as follows:
<ConfigAgent?Name=″ChatButton″Type=″Button″>
<Property?name=″HightICon″Value=″C:\1.bmp″/>
<Property?name=″Size″Value=″500,500″/>
</ConfigAgent>
In this embodiment, the title of a button control of user is set to " Chat button ", and has specified a width of cloth Background for it, and this Background is of a size of " 500,500 ".After configuration is finished, then it is kept in the storage unit 103.
In step S601, style configuration center 100 reads the style configuration file of prior storage, obtains the element list and the corresponding attribute and the property value of recent style, with the various interface elements of its default application to current correspondence, the line item of going forward side by side.In one embodiment, style configuration center 100 reads aforesaid style configuration file, can know the attribute and the property value of a plurality of interface elements, the name of one of them button control is called " Chat button ", it has a width of cloth Background, and this Background is of a size of " 500,500 ".
In step S602, style configuration center 100 obtains the style configuring request according to the attribute setting that the user carries out the style of interface element.Style configuring request among the present invention comprises that style enables application and attribute changes demand: be set to use a style as if the attribute of user's interface element, then this style configuring request is that a style is enabled application; If the user carries out attribute changes to look ﹠ feel, then this style configuring request is an attribute changes demand.With first kind of situation is example, and the detailed process of step S602 comprises: when (1) was set to " using certain style " when the attribute of the one or more interface elements of user, these interface elements were accepted the attribute setting of user to its execution; (2) interface element sends a style to style configuration center 100 and enables application, and style configuration center 100 utilizes its information interaction unit 101 to receive this style and enables application.
In step S603, style configuration center 100 extracts the attribute and the property value of style correspondence from described style configuration file, and it is set to corresponding interface element.Be enabled as example with style, the detailed process of this step comprises: the information interaction unit 101 of (1) style configuration center 100 is enabled application with this style and is forwarded to data processing unit 102; (2) data processing unit 102 is inquired about the style configuration file of this style correspondence from storage unit 103, and this interface element is added in the element list of this style correspondence; (3) data processing unit 102 extracts the attribute and the property value of this style correspondence from the style configuration file, and it is set in this interface element.With a button control is example, when this button control is arranged to use certain style, 100 of style configuration center read in the style configuration file corresponding property value, and I am with regard to the font of the problem of the Background of the Background of the Background of control down state, highlighted state, normal state, demonstration, the pairing value of font color or the like such as this.Then the value of the corresponding attribute that reads is set to this control and gets on, just make the control on our interface possess the performance of this style.
In one embodiment, enable certain style at a button control " AButton ":
AButton->put_Config(″ChatButton″);
This button control is automatically to style configuration center 100 application applies stylistic " ChatButton " then, style configuration center 100 joins this control AButton in the pairing element list of style " ChatButton " then, then according to the style of " ChatButton " that read before configuration, the attribute of button control " AButton " is provided with.
Fig. 7 shows the method flow that in the another embodiment of the present invention software interface style is carried out the dynamic-configuration management, and this method flow is based on Fig. 3, Fig. 4 or system architecture shown in Figure 5.In order more clearly to explain this invention, this embodiment shows order and carries out unified configuration, and carries out the once entire flow of unified change after unified configuration, and detailed process is as follows:
Carry out institute of the present invention in steps before, the style configuration file of typing acquiescence in style configuration center 100.This style configuration file can be generated by User Defined, button control for example, the user can manually write in the style configuration file of this control, dispose the button control of this style, comprise: the value that the font of the Background of the Background of state, the Background of highlighted state, normal state, the problem of demonstration, the color of font are corresponding respectively, or the like, the style that just forms a kind of button control of fixedly performance after these file maintenance has been disposed.
In one embodiment, layoutprocedure is as follows:
<ConfigAgent?Name=″ChatButton″Type=″Button″>
<Property?name=″HightICon″Value=″C:\1.bmp″/>
<Property?name=″Size″Value=″500,500″/>
</ConfigAgent>
In this embodiment, the title of a button control of user is set to " Chat button ", and has specified a width of cloth Background for it, and this Background is of a size of " 500,500 ".After configuration is finished, then it is kept in the storage unit 103.
In step S701, style configuration center 100 reads the style configuration file of prior storage, obtains the element list and the corresponding attribute and the property value of recent style.In one embodiment, style configuration center 100 reads aforesaid style configuration file, can know the attribute and the property value of a plurality of interface elements, the name of one of them button control is called " Chat button ", it has a width of cloth Background, and this Background is of a size of " 500,500 ".The detailed process of step S701 is consistent with the content of step S601 in the earlier figures 6.
In step S702, style configuration center 100 obtains the style configuring request according to the attribute setting that the user carries out the style of interface element.Style configuring request among the present invention comprises that style enables application and attribute changes demand: be set to use a style as if the attribute of user's interface element, then this style configuring request is that a style is enabled application; If the user carries out attribute changes to look ﹠ feel, then this style configuring request is an attribute changes demand.With first kind of situation is example, and the detailed process of step S602 comprises: when (1) was set to " using certain style " when the attribute of the one or more interface elements of user, these interface elements were accepted the attribute setting of user to its execution; (2) interface element sends a style to style configuration center 100 and enables application, and style configuration center 100 utilizes its information interaction unit 101 to receive this style and enables application.The detailed process of step S702 is consistent with the content of step S602 in the earlier figures 6.
In step S703, style configuration center 100 extracts the attribute and the property value of style correspondence from described style configuration file, and it is set to corresponding interface element.Be enabled as example with style, the detailed process of this step comprises: the information interaction unit 101 of (1) style configuration center 100 is enabled application with this style and is forwarded to data processing unit 102; (2) data processing unit 102 is inquired about the style configuration file of this style correspondence from storage unit 103, and this interface element is added in the element list of this style correspondence; (3) data processing unit 102 extracts the attribute and the property value of this style correspondence from the style configuration file, and it is set in this interface element.With a button control is example, when this button control is arranged to use certain style, 100 of style configuration center read in the style configuration file corresponding property value, and I am with regard to the font of the problem of the Background of the Background of the Background of control down state, highlighted state, normal state, demonstration, the pairing value of font color or the like such as this.Then the value of the corresponding attribute that reads is set to this control and gets on, just make the control on our interface possess the performance of this style.
In one embodiment, enable certain style at a button control " AButton ":
AButton->put_Config(″ChatButton″);
This button control is automatically to style configuration center 100 application applies stylistic " ChatButton " then, style configuration center 100 joins this control AButton in the pairing element list of style " ChatButton " then, then according to the style of " ChatButton " that read before configuration, the attribute of button control " AButton " is provided with.The detailed process of step S703 is consistent with the content of step S603 in the earlier figures 6.
In step S704,100 pairs of style configuration center adopt all interface elements of this style to carry out record.Specifically comprise: adopting the quantity of the interface element of certain style, be respectively what interface element, and each interface element is used the time of this style etc.
In step S705, obtain the attribute changes demand of user to look ﹠ feel.Continue to change style at this button control " AButton " in the foregoing embodiments, for example the size in the attribute is changed to " 600,10 ": Put_ConfigContent (" ChatButton ", _ T (" Size "), " 600,10 ").
In the present invention, style configuration center 100 can obtain the attribute changes demand in several ways.For example, the attribute changes demand of look ﹠ feel that can passive reception reporting of user, the attribute changes operation that also can utilize dynamic monitoring unit 104 active monitoring users that look ﹠ feel is carried out generates an attribute changes demand.Processing mode under the both of these case is distinguished to some extent, can be respectively with reference to aftermentioned Fig. 8 and embodiment shown in Figure 9.
In step S706, according to the change type, extract the attribute and the property value of recent style correspondence, and it is set to corresponding interface element.Continue in the aforementioned embodiment, style administrative center 100 is at first according to the content that changes, revise the property value of this style correspondence, then the element list of this style correspondence is all carried out an attribute setting according to new value, all use the button control of this style all will unify to change style like this.
Fig. 8 shows the method flow of in the first embodiment of the present invention software interface style being changed, and this method flow is mainly explained the process that style is changed based on method flow shown in Figure 7, and is specific as follows:
In step S801,100 pairs of style configuration center adopt all interface elements of certain style to carry out record.The detailed process of step S801 is consistent with the content of step S704 in the earlier figures 7.
In step S802, when the user carries out certain attribute changes in software interface, for example change the content of certain style, perhaps change the style name of certain interface element, or the like, then can report an attribute changes demand, style configuration center 100 utilizes its information interaction unit 101 to receive the attribute changes demand of the look ﹠ feel of reporting of user, and utilizes data processing unit 102 to judge its change type of carrying.
Whether in step S803, data processing unit 102 is judged: be that certain genre content changes: if, execution in step S804 then; If not, then get back to step S802.
In step S804, data processing unit 102 extracts the new attribute and the property value of this style correspondence from storage unit 103, be applied to all interface elements.
In step S805, data processing unit 102 is judged: the style name that whether is certain interface element changes: if, execution in step S806 then; If not, then get back to step S802.
In step S806, data processing unit 102 is deleted this interface element from the element list of former style correspondence, and it is added the element list of new style correspondence.
In step S807, data processing unit 102 extracts the attribute and the property value of new style correspondence, and it is set to this interface element.
Fig. 9 shows the method flow of in the second embodiment of the present invention software interface style being changed, and this method flow is mainly explained the process that style is changed based on method flow shown in Figure 7, and is specific as follows:
In step S901,100 pairs of style configuration center adopt all interface elements of certain style to carry out record.In the detailed process of step S901 and the earlier figures 7 among step S704 and Fig. 8 the content of step S801 consistent.
In step S902, the attribute changes operation that style configuration center 100 utilizes dynamic monitoring unit 104 real-time monitor user ' that look ﹠ feel is carried out, when the user carries out certain attribute changes in software interface, for example change the content of certain style, perhaps change the style name of certain interface element, or the like, this dynamic monitoring unit 104 promptly generates an attribute changes demand notification data processing unit 102, judges change type and handling it by the latter.The detailed process of step S902 then with Fig. 8 in the content of step S802 distinguish mutually, adopted the technological means of active monitoring in the present embodiment.Follow-up step S903-S907 is then consistent with the content of step S803-S807 in the earlier figures 8.
Whether in step S903, data processing unit 102 is judged: be that certain genre content changes: if, execution in step S904 then; If not, then get back to step S902.
In step S904, data processing unit 102 extracts the new attribute and the property value of this style correspondence from storage unit 103, be applied to all interface elements.
In step S905, data processing unit 102 is judged: the style name that whether is certain interface element changes: if, execution in step S906 then; If not, then get back to step S902.
In step S906, data processing unit 102 is deleted this interface element from the element list of former style correspondence, and it is added the element list of new style correspondence.
In step S907, data processing unit 102 extracts the attribute and the property value of new style correspondence, and it is set to this interface element.
So far then show the present invention carries out the dynamic-configuration management to software interface style full content.
Use the technical program, can carry out effective resource reuse, make interface development simpler configuration; And same style unified management, the synchronous and unified of software style is convenient in unified change; And the control of same style or window are convenient to change dynamically in the process of changing skin, and the different-style of same control also is convenient to manage and combing.Should be noted that in addition the present invention is applicable to all client softwares, so the present invention is not limited to certain specific application scenarios.
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. system that software interface style is carried out dynamic-configuration management comprises the software client and the style configuration center at described software interface place, and described software interface comprises a plurality of interface elements, it is characterized in that, described style configuration center comprises:
Read the style configuration file of prior storage, obtain element list and the attribute of correspondence and the device of property value of recent style;
According to the attribute setting of user to the style execution of interface element, obtain the device of style configuring request, wherein, if the attribute of user's interface element is set to use a style, then described style configuring request is that a style is enabled application, if the user carries out attribute changes to look ﹠ feel, then described style configuring request is an attribute changes demand;
From described style configuration file, extract the attribute and the property value of style correspondence, and it be set to the device of corresponding interface element,
Wherein, described attribute and the property value that from described style configuration file, extracts the style correspondence, and its device that is set to corresponding interface element further comprised:
In described style configuring request is that style is enabled when application, described interface element is added the device of the element list of this style correspondence;
From the style configuration file, extract the attribute and the property value of this style correspondence, and it is set to the device of described interface element.
2. the system that software interface style is carried out the dynamic-configuration management according to claim 1 is characterized in that described style configuration center further comprises the storage unit that is used to store described style configuration file.
3. the system that software interface style is carried out the dynamic-configuration management according to claim 2, it is characterized in that, described attribute and the property value that from described style configuration file, extracts the style correspondence, and its device that is set to corresponding interface element further comprised:
When described style configuring request is the attribute changes demand, judge the device of the change type that this attribute changes demand is carried;
According to the change type, extract the attribute and the property value of recent style correspondence, and it is set to the device of corresponding interface element,
Wherein, described change type comprises: genre content changes, the style name of interface element changes.
4. the method that software interface style is carried out the dynamic-configuration management is characterized in that, said method comprising the steps of:
A. the style configuration center reads the style configuration file of prior storage, obtains the element list and the corresponding attribute and the property value of recent style;
B. the style configuration center is according to the attribute setting of user to the style execution of interface element, obtain the style configuring request, wherein, if the attribute of user's interface element is set to use a style, then described style configuring request is that a style is enabled application, if the user carries out attribute changes to look ﹠ feel, then described style configuring request is an attribute changes demand;
C. the style configuration center extracts the attribute and the property value of style correspondence from described style configuration file, and it is set to corresponding interface element,
Wherein, if described style configuring request is that style is enabled application, then described step C further comprises:
C01. the element list that described interface element is added this style correspondence;
C02. from the style configuration file, extract the attribute and the property value of this style correspondence, and it is set to described interface element.
5. the method that software interface style is carried out the dynamic-configuration management according to claim 4 is characterized in that, also comprises before the described steps A: the style configuration file of typing acquiescence in the style configuration center.
6. the method that software interface style is carried out the dynamic-configuration management according to claim 4 is characterized in that the interface element among the described step B comprises window, control.
7. the method that software interface style is carried out the dynamic-configuration management according to claim 4 is characterized in that, the mode of style configuration center getattr change demand comprises:
Receive the attribute changes demand of the look ﹠ feel of reporting of user; Or
Monitor user ' is operated the attribute changes of look ﹠ feel execution in real time, and generates the attribute changes demand of a correspondence.
8. according to claim 4 or the 7 described methods that software interface style is carried out the dynamic-configuration management, it is characterized in that if the style configuring request is the attribute changes demand, then described step C further comprises:
C11. the style configuration center is judged the change type that this attribute changes demand is carried;
C12. according to the change type, extract the attribute and the property value of recent style correspondence, and it is set to corresponding interface element;
Described change type comprises: genre content changes, the style name of interface element changes.
CN2008101114771A 2008-06-26 2008-06-26 Method and system for dynamic configuration management of software interface style Active CN101295249B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101114771A CN101295249B (en) 2008-06-26 2008-06-26 Method and system for dynamic configuration management of software interface style

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101114771A CN101295249B (en) 2008-06-26 2008-06-26 Method and system for dynamic configuration management of software interface style

Publications (2)

Publication Number Publication Date
CN101295249A CN101295249A (en) 2008-10-29
CN101295249B true CN101295249B (en) 2010-12-15

Family

ID=40065550

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101114771A Active CN101295249B (en) 2008-06-26 2008-06-26 Method and system for dynamic configuration management of software interface style

Country Status (1)

Country Link
CN (1) CN101295249B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294719A (en) * 2012-03-01 2013-09-11 腾讯科技(深圳)有限公司 Method for displaying browser skins and browser
CN107992302A (en) * 2017-12-12 2018-05-04 深圳前海桔子信息技术有限公司 A kind of push button configuration method, device, storage medium and intelligent terminal

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770359A (en) * 2008-12-30 2010-07-07 华为技术有限公司 Method, device and system for generating interface and acquiring and storing data
CN101814021B (en) * 2009-02-24 2014-08-06 易保网络技术(上海)有限公司 Method and system for displaying user interface on remote equipment
CN101789986B (en) * 2010-01-05 2013-01-23 上海市共进通信技术有限公司 Device and method for realizing interface dynamic segmentation in wireless broadband client system
CN102130885A (en) * 2010-01-19 2011-07-20 腾讯数码(天津)有限公司 Method and device for decorating social network service (SNS) community
CN102253843A (en) * 2010-05-21 2011-11-23 腾讯科技(深圳)有限公司 Method and device for setting photo frame skin
CN103164210B (en) * 2011-12-13 2017-05-03 北京千橡网景科技发展有限公司 Method and device of changing surface of application program interface
CN102629208A (en) * 2012-03-06 2012-08-08 百度在线网络技术(北京)有限公司 Method, device and equipment for determining system interface
CN103324486A (en) * 2013-07-03 2013-09-25 中国船舶重工集团公司第七二四研究所 Method for realizing software version adaptive configuration by utilizing loose-coupling architecture
CN104199681B (en) * 2014-08-04 2017-10-27 惠州华阳通用电子有限公司 A kind of method that dynamic wallpaper is realized based on QNX platforms
CN104199660B (en) * 2014-08-29 2016-12-07 河海大学 Customized type output and the method for achievement Dynamic Announce in water conservancy software
CN106155659B (en) * 2015-04-14 2020-12-15 腾讯科技(深圳)有限公司 Font parameter configuration method and device
CN107344020A (en) * 2017-06-06 2017-11-14 深圳天珑无线科技有限公司 One kind game login interface method to set up, game terminal and game center server
CN107370794B (en) * 2017-06-28 2019-12-13 北京金山安全软件有限公司 Method and device for publishing theme data
CN109799994B (en) * 2019-01-14 2022-02-18 腾讯科技(武汉)有限公司 Terminal component generation method and device
CN110737708A (en) * 2019-09-17 2020-01-31 中电万维信息技术有限责任公司 pipelined efficient data conversion processing method
CN113312025B (en) * 2020-02-26 2024-04-05 北京同邦卓益科技有限公司 Component library generation method and device, storage medium and electronic equipment
CN111352569A (en) * 2020-03-17 2020-06-30 珠海趣印科技有限公司 Control method and system of keyboard interface
CN112486483A (en) * 2020-11-23 2021-03-12 广州经传多赢投资咨询有限公司 UI framework implementation method, system, device and storage medium based on XML
CN112559074A (en) * 2020-12-18 2021-03-26 昂纳工业技术(深圳)有限公司 Dynamic configuration method of machine vision software and computer
CN114296861A (en) * 2022-01-14 2022-04-08 平安普惠企业管理有限公司 Front-end application style switching method and device, electronic equipment and storage medium
CN114816625B (en) * 2022-04-08 2023-06-16 郑州铁路职业技术学院 Automatic interaction system interface design method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294719A (en) * 2012-03-01 2013-09-11 腾讯科技(深圳)有限公司 Method for displaying browser skins and browser
CN103294719B (en) * 2012-03-01 2015-09-30 腾讯科技(深圳)有限公司 The method of display navigation device skin and browser
CN107992302A (en) * 2017-12-12 2018-05-04 深圳前海桔子信息技术有限公司 A kind of push button configuration method, device, storage medium and intelligent terminal
CN107992302B (en) * 2017-12-12 2020-09-22 深圳前海桔子信息技术有限公司 Button configuration method and device, storage medium and intelligent terminal

Also Published As

Publication number Publication date
CN101295249A (en) 2008-10-29

Similar Documents

Publication Publication Date Title
CN101295249B (en) Method and system for dynamic configuration management of software interface style
KR102120604B1 (en) Recognizing cloud content
CN109844717B (en) System and method for real-time remote control of mobile applications
CN102860028B (en) Content reproduction apparatus, control information-providing server and content playback system
TWI584619B (en) Network aggregator
CN103430189B (en) Identification code processing system, identification code processing method thereof, and apparatus for supporting same
US7920528B2 (en) View sharing between in-range devices
EP3100437B1 (en) Actionable notifications
CN102089776A (en) Managing personal digital assets over multiple devices
US20080005238A1 (en) Roaming consistent user representation information across devices and applications
CN104461474A (en) Mobile terminal and screen-shooting method and device therefor
CN105897924A (en) Data transmission method and server
CN114286165B (en) Display equipment, mobile terminal, and screen-throwing data transmission method and system
CN105472426A (en) Method and system for controlling smart television set-top box/ smart television
CN102884497A (en) One step selection of disabled options
CN104508699A (en) Content transmission method and system, device and computer-readable recording medium that uses the same
CN104301384A (en) Data acquisition method, device and system
KR20130024266A (en) Creation system and method for multi code, and device supporting the same
US20100097639A1 (en) Space Context Copy/Paste Method and System, and Space Copier
US11016717B1 (en) Selective electronic content casting
KR101373835B1 (en) Method and apparatus for adaptively displaying play types of remote contents according to comuunication state of wireless networks
KR20200081163A (en) User emoticon offering method for social media services
CN110995875A (en) Address book operation method, electronic device and medium
CN112000411B (en) Mobile terminal and display method of recording channel occupation information thereof
WO2024087533A1 (en) Expression image sharing method and apparatus, computer device, and storage medium

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