CN105446739A - UI interface setting method and apparatus - Google Patents
UI interface setting method and apparatus Download PDFInfo
- Publication number
- CN105446739A CN105446739A CN201510790149.9A CN201510790149A CN105446739A CN 105446739 A CN105446739 A CN 105446739A CN 201510790149 A CN201510790149 A CN 201510790149A CN 105446739 A CN105446739 A CN 105446739A
- Authority
- CN
- China
- Prior art keywords
- interface
- control
- configuration information
- configuration file
- terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention discloses a UI interface setting method. The UI interface setting method comprises the following steps: when a terminal is started up, reading a preset configuration file corresponding to a UI interface; analyzing the preset configuration file to obtain configuration information of each control of the UI interface; and according to the configuration information of each control, separately displaying or concealing each control on the UI interface. The present invention also discloses a UI interface setting apparatus. According to the UI interface setting method and apparatus disclosed by the present invention, the setting efficiency of the UI interface is improved.
Description
Technical field
The present invention relates to field of terminal technology, particularly relate to a kind of UI interface method to set up and device.
Background technology
Along with the development of science and technology, smart mobile phone, pad (panel computer), the terminals such as intelligent television are used widely, the requirement of user to terminal is more and more higher, carry out terminal customization and become a kind of trend, such as, user can customize according to the UI (UserInterface, user interface) of oneself demand to terminal.In prior art, slip-stick artist is normally according to the customization of user to UI interface in research and development, the operations such as the program code corresponding to terminal UI interface is modified, increase, deletion, realize by change program code the complex operation that UI interface arranges, it is low that UI interface arranges efficiency.
Summary of the invention
Fundamental purpose of the present invention is to propose a kind of UI interface method to set up and device, and the UI interface of being intended to solve existing terminal arranges inefficient technical matters.
For achieving the above object, a kind of UI interface provided by the invention method to set up, described UI interface method to set up comprises the following steps:
When starting up of terminal, read the preset configuration file that UI interface is corresponding;
Resolve described preset configuration file, obtain the configuration information of each control of UI interface;
According to the configuration information of each control described, each control described in the difference show or hide of described UI interface.
Preferably, the configuration information of each control described in described basis, at described UI interface, the step of each control described in show or hide comprises respectively:
If the configuration information of control is the first configuration information, described in described UI interface display, configuration information is the control of the first configuration information;
If the configuration information of control is the second configuration information, hide at described UI interface the control that described configuration information is the second configuration information.
Preferably, described when starting up of terminal, the step reading preset configuration file corresponding to UI interface comprises:
When starting up of terminal, detect whether there is preset configuration file corresponding to UI interface;
When detect there is preset configuration file corresponding to UI interface time, read described preset configuration file.
Preferably, the described preset configuration file of described parsing, the step obtaining the configuration information of each control of UI interface comprises:
Resolve described preset configuration file, the configuration information of each control of UI interface is saved in Installed System Memory;
When starting up of terminal completes, obtain the configuration information of each control described preserved in Installed System Memory.
Preferably, described when starting up of terminal, before reading the step of preset configuration file corresponding to UI interface, also comprise step:
When receiving configuration file write instruction, the preset configuration file that write UI interface is corresponding.
In addition, for achieving the above object, the present invention also proposes a kind of UI interface setting device, and described UI interface setting device comprises:
Read module, for when starting up of terminal, reads the preset configuration file that UI interface is corresponding;
Parsing module, for resolving described preset configuration file, obtains the configuration information of each control of UI interface;
Processing module, for the configuration information according to each control described, each control described in the difference show or hide of described UI interface.
Preferably, described processing module is used for:
If the configuration information of control is the first configuration information, described in described UI interface display, configuration information is the control of the first configuration information;
If the configuration information of control is the second configuration information, hide at described UI interface the control that described configuration information is the second configuration information.
Preferably, described read module comprises:
Detecting unit, for when starting up of terminal, detects whether there is preset configuration file corresponding to UI interface;
Reading unit, for when detect there is preset configuration file corresponding to UI interface time, read described preset configuration file.
Preferably, described parsing module comprises:
Storage unit, for resolving described preset configuration file, is saved in Installed System Memory by the configuration information of each control of UI interface;
Acquiring unit, for when starting up of terminal completes, obtains the configuration information of each control described preserved in Installed System Memory.
Preferably, described UI interface setting device also comprises:
Writing module, for when receiving configuration file write instruction, the preset configuration file that write UI interface is corresponding.
The UI interface method to set up that the present invention proposes and device, terminal is when starting shooting, read the preset configuration file that the UI interface of the current customization of user is corresponding, by carrying out preset configuration file resolving the configuration information obtaining each control in UI interface, then according to the configuration information of each control each control in UI interface shown or hide, therefore, be directed to the UI interface customizing that user is different, research and development slip-stick artist does not need to perform the program in machine code corresponding to UI interface and modifies, increase, the operations such as deletion, only need according to the configuration information of control in the corresponding configuration file of the custom-modification of user, simple to operate, what improve UI interface arranges efficiency.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of UI interface of the present invention method to set up first embodiment;
Fig. 2 is in method to set up second embodiment of UI interface of the present invention when starting up of terminal, reads the refinement schematic flow sheet of preset configuration file corresponding to UI interface;
Fig. 3 resolves described preset configuration file in method to set up the 3rd embodiment of UI interface of the present invention, obtains the refinement schematic flow sheet of the configuration information of each control of UI interface;
Fig. 4 is the high-level schematic functional block diagram of UI interface of the present invention setting device first embodiment;
Fig. 5 is the refinement high-level schematic functional block diagram of read module in setting device second embodiment of UI interface of the present invention;
Fig. 6 is the refinement high-level schematic functional block diagram of parsing module in setting device the 3rd embodiment of UI interface of the present invention.
The object of the invention realization, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The invention provides a kind of UI interface method to set up, is the schematic flow sheet of UI interface of the present invention method to set up first embodiment with reference to Fig. 1, Fig. 1.
In this embodiment, described UI interface method to set up comprises the following steps:
Step S10, when starting up of terminal, reads the preset configuration file that UI interface is corresponding;
Along with the development of science and technology, the generally application of such as Android Android system in the terminals such as smart mobile phone, pad (panel computer), intelligent television, the requirement of user to terminal also gets more and more, usually different users can have different customizations to the terminal of oneself, such as, different customizations is shown to the UI (UserInterface, user interface) of terminal.In prior art, according to the customization of user to UI interface, terminal UI interface research and development slip-stick artist needs the source code corresponding to terminal UI interface to design, and such as revise, increase, delete code, complex operation, efficiency is low.In order to address this problem, in the present embodiment, research and development slip-stick artist in terminal UI interface have developed for preset configuration file corresponding to the UI interface of customization.The configuration information that the display properties of each control and each control in UI interface is corresponding is included in described preset configuration file.Such as, contain wifi control in UI interface, bluetooth control, lightsensor control, sim control part, gps control, gsenso control, hdmi control and birghtness control etc., and the configuration information that the display properties of each control above-mentioned is corresponding.According to the customization of user to UI interface, the configuration information that the display properties of each control is corresponding is set respectively, such as, if wifi control display in customization UI interface, then configuration information corresponding for the display properties of wifi control in configuration file is set to mark 1, configuration information is the display properties of the corresponding control of mark 1 is display; If wifi control is hidden in customization UI interface, then configuration information corresponding for the display properties of wifi control in configuration file is set to mark 0, configuration information is the display properties of the corresponding control of mark 0 is hiding.
Slip-stick artist is according to the UI interface of customization in research and development, has designed the preset configuration file that this UI interface is corresponding, and afterwards, at startup user terminal, terminal is when starting shooting, and terminal reads preset configuration file corresponding to this UI interface.Such as, terminal, in starting up's process, by java language file reading manner, obtains the reading authority of configuration file, reads the preset configuration file that this UI interface is corresponding.
Step S20, resolves described preset configuration file, obtains the configuration information of each control of UI interface;
Terminal start shooting read preset configuration file corresponding to the UI interface of customization time, described preset configuration file is resolved, obtains the configuration information of each control in the UI interface of customization.Such as, when reading configuration file, obtain the configuration information that the display properties of each control in configuration file is corresponding successively, such as, read the configuration information that the display properties of wifi control, bluetooth control, lightsensor control, sim control part, gps control, gsenso control, hdmi control and birghtness control etc. in configuration file is corresponding one by one successively.
Step S30, according to the configuration information of each control described, each control described in the difference show or hide of described UI interface.
Reading the configuration information that in configuration file, the display properties of each control is corresponding, when starting up of terminal starts complete, the configuration information corresponding according to the display properties of each control in the configuration file read, judge that the display properties of each control on UI interface is display or hides respectively, at the UI interface of terminal each control of difference show or hide.Such as, when the configuration information that the display properties reading wifi control in configuration file is corresponding is mark 1, judge that wifi control shows on UI interface, then at the UI interface display wifi control of terminal; When the configuration information that the display properties reading bluetooth control in configuration file is corresponding is mark 0, judges that bluetooth control is hidden on UI interface, then hide bluetooth control at the UI interface of terminal.By the preset configuration file that the UI interface of reading customization is corresponding, achieve and show on terminal UI interface or each control hiding according to the customization of user, thus meet the demand of user.
The scheme that the present embodiment provides, terminal is when starting shooting, read the preset configuration file that UI interface is corresponding, by carrying out preset configuration file resolving the configuration information obtaining each control in UI interface, then according to the configuration information of each control each control in UI interface shown or hide, therefore, research and development slip-stick artist does not need to perform the program in machine code corresponding to UI interface and modifies, increase, the operations such as deletion, only need just can realize the display of each control in UI interface according to the configuration information of control in user's request amendment configuration file or hide, simple to operate, improve the efficiency that UI interface is arranged.
Further, as shown in Figure 2, propose UI interface of the present invention method to set up second embodiment based on the first embodiment, in the present embodiment, described step S10 comprises:
Step S11, when starting up of terminal, detects whether there is preset configuration file corresponding to UI interface;
Step S12, when detect there is preset configuration file corresponding to UI interface time, read described preset configuration file.
In the present embodiment, terminal is when starting shooting, and whether the preset configuration file first detecting UI interface corresponding exists.When detect there is preset configuration file corresponding to UI interface time, then read the preset configuration file that this UI interface is corresponding, the described preset configuration file read is resolved, obtain the configuration information of each control in UI interface, then according to the configuration information of each control, UI interface shows respectively or hides each control.When detect there is not preset configuration file corresponding to UI interface time, then do not carry out response process, or send information, prompting slip-stick artist arranges preset configuration file corresponding to UI interface.
Further, in the present embodiment, described step S30 comprises:
Step a, if the configuration information of control is the first configuration information, described in described UI interface display, configuration information is the control of the first configuration information
Step b, if the configuration information of control is the second configuration information, hides at described UI interface the control that described configuration information is the second configuration information.
In UI interface, the display properties of each control comprises display and hides, and the configuration information of each control corresponding comprises two types, the first configuration information and the second configuration information.When the configuration information of a certain control obtained is the first configuration information, then at described this control of UI interface display; When the configuration information of a certain control obtained is the second configuration information, then hide this control at described UI interface.Such as, described first configuration information is set to mark 1, described second configuration information is set to mark 0, when the configuration information getting wifi control is mark 1, then at described UI interface display wifi control.When the configuration information getting bluetooth control is mark 0, then hide bluetooth control at described UI interface.
The scheme that the present embodiment provides, terminal is when starting shooting, first detect and whether there is preset configuration file corresponding to UI interface, when detect there is preset configuration file corresponding to UI interface time, read described preset configuration file, according to configuration information display or each control hiding of each control in described preset configuration file, and when there is not preset configuration file corresponding to UI interface, do not carry out responding or sending information, remind slip-stick artist that preset configuration file corresponding to customization UI interface is set, thus realize the UI interface of customization, meet consumers' demand.
Further, as shown in Figure 3, propose UI interface of the present invention method to set up the 3rd embodiment based on the first embodiment or the second embodiment, in the present embodiment, described step S20 comprises:
Step S21, resolves described preset configuration file, is saved in Installed System Memory by the configuration information of each control of UI interface;
In the present embodiment, after terminal reads preset configuration file corresponding to UI interface, this preset configuration file is resolved, configuration information corresponding for the display properties of each control of UI interface comprised in this preset configuration file is saved in Installed System Memory.Such as, when terminal often gets configuration information corresponding to the display properties of a control, just configuration information corresponding for the display properties of this control is saved in Installed System Memory.Successively configuration information corresponding for the display properties of wifi control, bluetooth control, lightsensor control, sim control part, gps control, gsenso control, hdmi control and birghtness control etc. is saved in Installed System Memory.
Step S22, when starting up of terminal completes, obtains the configuration information of each control described preserved in Installed System Memory.
When starting up of terminal completes, terminal does not need to obtain configuration information corresponding to the display properties of each control by reading preset configuration file corresponding to UI interface, and only need inquiry system internal memory, just can obtain the configuration information that the display properties of each control preserved in Installed System Memory is corresponding.Then corresponding according to the display properties of each control obtained configuration information, UI interface shows respectively or hides each control.Such as, if configuration information corresponding to the display properties obtaining wifi control from Installed System Memory is mark 1, then at described UI interface display wifi control.If the configuration information obtaining bluetooth control from Installed System Memory is mark 0, then hide bluetooth control at described UI interface.To obtain the efficiency of the configuration information of each control high than reading configuration file for the efficiency obtaining the configuration information of each control due to inquiry system internal memory, therefore, can improve by the mode of the present embodiment the efficiency that UI interface arranges further.
Further, in the present embodiment, before described step S10, also step is comprised:
Step c, when receiving configuration file write instruction, the preset configuration file that write UI interface is corresponding.
In the present embodiment, terminal UI interface research and development slip-stick artist, according to the UI interface of customization, arranges the configuration information that the display properties of each control in this UI interface is corresponding.Such as, if wifi control display in customization UI interface, then configuration information corresponding for the display properties of wifi control in preset configuration file is set to mark 1 by slip-stick artist, and wherein, configuration information is the display properties of the corresponding control of mark 1 is display.If wifi control is hidden in customization UI interface, then configuration information corresponding for the display properties of wifi control in configuration file is set to mark 0 by slip-stick artist, and wherein, configuration information is the display properties of the corresponding control of mark 0 is hiding.After slip-stick artist to be provided with configuration information corresponding to the display properties of each control in UI interface according to the UI interface of customization, generate the preset configuration file that this UI interface is corresponding.Afterwards, preset configuration file corresponding for this UI interface, when receiving configuration file write instruction, is write terminal by terminal.Such as, when receiving adb instruction, by under the system/etc catalogue of preset configuration file corresponding for this UI interface write terminal.
The scheme that the present embodiment provides, after the preset configuration file that terminal is corresponding to UI interface is resolved, the configuration information of each control of UI interface is saved to the operation in Installed System Memory by execution, therefore, only need obtain in Installed System Memory the configuration information of each control described in preserving when starting up of terminal completes, just can show respectively on UI interface or hide each control.To obtain the efficiency of the configuration information of each control high than reading configuration file for the efficiency obtaining the configuration information of each control due to inquiry system internal memory, and therefore, the scheme of the present embodiment improves the efficiency that UI interface is arranged further.
The invention provides a kind of UI interface setting device, is the high-level schematic functional block diagram of UI interface of the present invention setting device first embodiment with reference to Fig. 4, Fig. 4.
In this embodiment, described UI interface setting device comprises:
Read module 10, for when starting up of terminal, reads the preset configuration file that UI interface is corresponding;
Along with the development of science and technology, the generally application of such as Android Android system in the terminals such as smart mobile phone, pad (panel computer), intelligent television, the requirement of user to terminal also gets more and more, usually different users can have different customizations to the terminal of oneself, such as, different customizations is shown to the UI (UserInterface, user interface) of terminal.In prior art, according to the customization of user to UI interface, terminal UI interface research and development slip-stick artist needs the source code corresponding to terminal UI interface to design, and such as revise, increase, delete code, complex operation, efficiency is low.In order to address this problem, in the present embodiment, research and development slip-stick artist in terminal UI interface have developed for preset configuration file corresponding to the UI interface of customization.The configuration information that the display properties of each control and each control in UI interface is corresponding is included in described preset configuration file.Such as, contain wifi control in UI interface, bluetooth control, lightsensor control, sim control part, gps control, gsenso control, hdmi control and birghtness control etc., and the configuration information that the display properties of each control above-mentioned is corresponding.According to the customization of user to UI interface, the configuration information that the display properties of each control is corresponding is set respectively, such as, if wifi control display in customization UI interface, then configuration information corresponding for the display properties of wifi control in configuration file is set to mark 1, configuration information is the display properties of the corresponding control of mark 1 is display; If wifi control is hidden in customization UI interface, then configuration information corresponding for the display properties of wifi control in configuration file is set to mark 0, configuration information is the display properties of the corresponding control of mark 0 is hiding.
Slip-stick artist is according to the UI interface of customization in research and development, has designed the preset configuration file that this UI interface is corresponding, and afterwards, at startup user terminal, terminal is when starting shooting, and read module 10 reads preset configuration file corresponding to this UI interface.Such as, terminal is in starting up's process, and read module 10, by java language file reading manner, obtains the reading authority of configuration file, reads the preset configuration file that this UI interface is corresponding.
Parsing module 20, for resolving described preset configuration file, obtains the configuration information of each control of UI interface;
When read module 10 reads preset configuration file corresponding to the UI interface of customization, parsing module 20 is resolved described preset configuration file, obtains the configuration information of each control in the UI interface of customization.Such as, parsing module 20 resolves configuration file, obtain the configuration information that the display properties of each control is corresponding, such as, obtain the configuration information that the display properties of wifi control, bluetooth control, lightsensor control, sim control part, gps control, gsenso control, hdmi control and birghtness control etc. in configuration file is corresponding one by one successively.
Processing module 30, for the configuration information according to each control described, each control described in the difference show or hide of described UI interface.
Getting the configuration information that in configuration file, the display properties of each control is corresponding, when starting up of terminal starts complete, the configuration information that processing module 30 is corresponding according to the display properties of each control in the configuration file read, judge that the display properties of each control on UI interface is display or hides respectively, at the UI interface of terminal each control of difference show or hide.Such as, when the configuration information that the display properties getting wifi control in configuration file is corresponding is mark 1, processing module 30 judges that wifi control shows on UI interface, then at the UI interface display wifi control of terminal; When the configuration information that the display properties getting bluetooth control in configuration file is corresponding is mark 0, processing module 30 judges that bluetooth control is hidden on UI interface, then hide bluetooth control at the UI interface of terminal.By the preset configuration file that the UI interface of reading customization is corresponding, achieve and show on terminal UI interface or each control hiding according to the customization of user, thus meet the demand of user.
The scheme that the present embodiment provides, terminal is when starting shooting, read module 10 reads preset configuration file corresponding to UI interface, undertaken by parsing module 20 pairs of preset configuration files resolving the configuration information obtaining each control in UI interface, then processing module 30 to show each control in UI interface according to the configuration information of each control or hides, therefore, research and development slip-stick artist does not need to perform the program in machine code corresponding to UI interface and modifies, increase, the operations such as deletion, only need just can realize the display of each control in UI interface according to the configuration information of control in user's request amendment configuration file or hide, simple to operate, improve the efficiency that UI interface is arranged.
Further, as shown in Figure 5, propose UI interface of the present invention setting device second embodiment based on the first embodiment, in the present embodiment, described read module 10 comprises:
Detecting unit 11, for when starting up of terminal, detects whether there is preset configuration file corresponding to UI interface;
Reading unit 12, for when detect there is preset configuration file corresponding to UI interface time, read described preset configuration file.
In the present embodiment, terminal is when starting shooting, and whether the preset configuration file that first detecting unit 11 detects UI interface corresponding exists.When detecting unit 11 detect there is preset configuration file corresponding to UI interface time, then reading unit 12 reads preset configuration file corresponding to this UI interface, parsing module 20 is resolved the described preset configuration file read, obtain the configuration information of each control in UI interface, then processing module 30 is according to the configuration information of each control, UI interface shows respectively or hides each control.When detecting unit 11 detect there is not preset configuration file corresponding to UI interface time, then processing module 30 does not carry out response process, or sends information, reminds slip-stick artist to arrange preset configuration file corresponding to UI interface.
Further, in the present embodiment, described processing module 30 for:
If the configuration information of control is the first configuration information, described in described UI interface display, configuration information is the control of the first configuration information;
If the configuration information of control is the second configuration information, hide at described UI interface the control that described configuration information is the second configuration information.
In UI interface, the display properties of each control comprises display and hides, and the configuration information of each control corresponding comprises two types, the first configuration information and the second configuration information.When the configuration information of a certain control obtained is the first configuration information, then processing module 30 is at described this control of UI interface display; When the configuration information of a certain control obtained is the second configuration information, then processing module 30 hides this control at described UI interface.Such as, described first configuration information is set to mark 1, described second configuration information is set to mark 0, and when the configuration information getting wifi control is mark 1, then processing module 30 is at described UI interface display wifi control.When the configuration information getting bluetooth control is mark 0, then processing module 30 hides bluetooth control at described UI interface.
The scheme that the present embodiment provides, terminal is when starting shooting, first detecting unit 11 detects whether there is preset configuration file corresponding to UI interface, when detecting unit 11 detect there is preset configuration file corresponding to UI interface time, reading unit 12 reads described preset configuration file, processing module 30 is according to the configuration information display of each control in described preset configuration file or hide each control, and when there is not preset configuration file corresponding to UI interface, processing module 30 does not carry out responding or sending information, remind slip-stick artist that preset configuration file corresponding to customization UI interface is set, thus realize the UI interface of customization, meet consumers' demand.
Further, as shown in Figure 6, propose UI interface of the present invention setting device the 3rd embodiment based on the first embodiment or the second embodiment, in the present embodiment, described parsing module 20 comprises:
Storage unit 21, for resolving described preset configuration file, is saved in Installed System Memory by the configuration information of each control of UI interface;
In the present embodiment, after the preset configuration file corresponding to the UI interface read is resolved, configuration information corresponding for the display properties of each control of UI interface comprised in this preset configuration file is saved in Installed System Memory by storage unit 21.Such as, when the configuration information that the display properties often getting a control is corresponding, configuration information corresponding for the display properties of this control is just saved in Installed System Memory by storage unit 21.Configuration information corresponding for the display properties of wifi control, bluetooth control, lightsensor control, sim control part, gps control, gsenso control, hdmi control and birghtness control etc. is saved in Installed System Memory by storage unit 21 successively.
Acquiring unit 22, for when starting up of terminal completes, obtains the configuration information of each control described preserved in Installed System Memory.
When starting up of terminal completes, terminal does not need to obtain configuration information corresponding to the display properties of each control by reading preset configuration file corresponding to UI interface, and only need acquiring unit 22 inquiry system internal memory, just can obtain the configuration information that the display properties of each control preserved in Installed System Memory is corresponding.Then the configuration information that processing module 30 is corresponding according to the display properties of each control obtained, UI interface shows respectively or hides each control.Such as, if configuration information corresponding to the display properties obtaining wifi control from Installed System Memory is mark 1, then processing module 30 is at described UI interface display wifi control.If the configuration information obtaining bluetooth control from Installed System Memory is mark 0, then processing module 30 hides bluetooth control at described UI interface.To obtain the efficiency of the configuration information of each control high than reading configuration file for the efficiency obtaining the configuration information of each control due to acquiring unit 22 inquiry system internal memory, therefore, can improve by the mode of the present embodiment the efficiency that UI interface arranges further.
Further, in the present embodiment, described UI interface setting device also comprises:
Writing module, for when receiving configuration file write instruction, the preset configuration file that write UI interface is corresponding.
In the present embodiment, terminal UI interface research and development slip-stick artist, according to the UI interface of customization, arranges the configuration information that the display properties of each control in this UI interface is corresponding.Such as, if wifi control display in customization UI interface, then configuration information corresponding for the display properties of wifi control in preset configuration file is set to mark 1 by slip-stick artist, and wherein, configuration information is the display properties of the corresponding control of mark 1 is display.If wifi control is hidden in customization UI interface, then configuration information corresponding for the display properties of wifi control in configuration file is set to mark 0 by slip-stick artist, and wherein, configuration information is the display properties of the corresponding control of mark 0 is hiding.After slip-stick artist to be provided with configuration information corresponding to the display properties of each control in UI interface according to the UI interface of customization, generate the preset configuration file that this UI interface is corresponding.Afterwards, terminal is when receiving configuration file write instruction, and writing module is by preset configuration file corresponding for this UI interface write terminal.Such as, when receiving adb instruction, writing module is by under the system/etc catalogue of preset configuration file corresponding for this UI interface write terminal.
The scheme that the present embodiment provides, after the preset configuration file corresponding to UI interface is resolved, the configuration information of each control of UI interface is saved in Installed System Memory by storage unit 21, therefore when starting up of terminal completes, the configuration information of each control described only needing acquiring unit 22 to obtain to preserve in Installed System Memory, processing module 30 just can display or hide each control respectively on UI interface.To obtain the efficiency of the configuration information of each control high than reading configuration file for the efficiency obtaining the configuration information of each control due to inquiry system internal memory, and therefore, the scheme of the present embodiment improves the efficiency that UI interface is arranged further.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical field, be all in like manner included in scope of patent protection of the present invention.
Claims (10)
1. a UI UI Preferences method, is characterized in that, described UI interface method to set up comprises the following steps:
When starting up of terminal, read the preset configuration file that UI interface is corresponding;
Resolve described preset configuration file, obtain the configuration information of each control of UI interface;
According to the configuration information of each control described, each control described in the difference show or hide of described UI interface.
2. UI interface as claimed in claim 1 method to set up, it is characterized in that, the configuration information of each control described in described basis, at described UI interface, the step of each control described in show or hide comprises respectively:
If the configuration information of control is the first configuration information, described in described UI interface display, configuration information is the control of the first configuration information;
If the configuration information of control is the second configuration information, hide at described UI interface the control that described configuration information is the second configuration information.
3. UI interface as claimed in claim 1 method to set up, is characterized in that, described when starting up of terminal, and the step reading preset configuration file corresponding to UI interface comprises:
When starting up of terminal, detect whether there is preset configuration file corresponding to UI interface;
When detect there is preset configuration file corresponding to UI interface time, read described preset configuration file.
4. UI interface as claimed in claim 1 method to set up, is characterized in that, the described preset configuration file of described parsing, and the step obtaining the configuration information of each control of UI interface comprises:
Resolve described preset configuration file, the configuration information of each control of UI interface is saved in Installed System Memory;
When starting up of terminal completes, obtain the configuration information of each control described preserved in Installed System Memory.
5. the UI interface method to set up as described in any one of claim 1-4, is characterized in that, described when starting up of terminal, before reading the step of preset configuration file corresponding to UI interface, also comprises step:
When receiving configuration file write instruction, the preset configuration file that write UI interface is corresponding.
6. a UI interface setting device, is characterized in that, described UI interface setting device comprises:
Read module, for when starting up of terminal, reads the preset configuration file that UI interface is corresponding;
Parsing module, for resolving described preset configuration file, obtains the configuration information of each control of UI interface;
Processing module, for the configuration information according to each control described, each control described in the difference show or hide of described UI interface.
7. UI interface as claimed in claim 6 setting device, it is characterized in that, described processing module is used for:
If the configuration information of control is the first configuration information, described in described UI interface display, configuration information is the control of the first configuration information;
If the configuration information of control is the second configuration information, hide at described UI interface the control that described configuration information is the second configuration information.
8. UI interface as claimed in claim 6 setting device, it is characterized in that, described read module comprises:
Detecting unit, for when starting up of terminal, detects whether there is preset configuration file corresponding to UI interface;
Reading unit, for when detect there is preset configuration file corresponding to UI interface time, read described preset configuration file.
9. UI interface as claimed in claim 6 setting device, it is characterized in that, described parsing module comprises:
Storage unit, for resolving described preset configuration file, is saved in Installed System Memory by the configuration information of each control of UI interface;
Acquiring unit, for when starting up of terminal completes, obtains the configuration information of each control described preserved in Installed System Memory.
10. the UI interface setting device as described in any one of claim 6-9, is characterized in that, described UI interface setting device also comprises:
Writing module, for when receiving configuration file write instruction, the preset configuration file that write UI interface is corresponding.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510790149.9A CN105446739A (en) | 2015-11-16 | 2015-11-16 | UI interface setting method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510790149.9A CN105446739A (en) | 2015-11-16 | 2015-11-16 | UI interface setting method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105446739A true CN105446739A (en) | 2016-03-30 |
Family
ID=55556986
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510790149.9A Pending CN105446739A (en) | 2015-11-16 | 2015-11-16 | UI interface setting method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105446739A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106055988A (en) * | 2016-05-25 | 2016-10-26 | 东方网力科技股份有限公司 | Permission control method and apparatus for control |
CN106201458A (en) * | 2016-06-27 | 2016-12-07 | 上海波汇科技股份有限公司 | A kind of interface creating method can joined flexibly and system |
CN106502702A (en) * | 2016-11-04 | 2017-03-15 | 重庆兆洲科技发展有限公司 | A kind of interface display method, system and industrial instruments |
CN107957870A (en) * | 2017-12-05 | 2018-04-24 | 浪潮金融信息技术有限公司 | User interface creating method and device, computer-readable recording medium, terminal |
CN109408136A (en) * | 2018-09-12 | 2019-03-01 | Oppo广东移动通信有限公司 | Information processing method, device, storage medium and electronic equipment |
CN109766097A (en) * | 2018-12-15 | 2019-05-17 | 中国平安人寿保险股份有限公司 | UI generation method, device, electronic equipment and computer readable storage medium |
CN109800040A (en) * | 2018-12-21 | 2019-05-24 | 深圳市元征科技股份有限公司 | A kind of diagnostic program interface display method, device and vehicle diagnostic equipment |
CN110841285A (en) * | 2019-11-12 | 2020-02-28 | 腾讯科技(深圳)有限公司 | Interface element display method and device, computer equipment and storage medium |
CN111061471A (en) * | 2018-10-17 | 2020-04-24 | 福建天泉教育科技有限公司 | Method and system for controlling display of interface control element |
CN114546514A (en) * | 2022-01-13 | 2022-05-27 | 宁波小匠物联网科技有限公司 | Zero code platform plug-in configuration method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101179673A (en) * | 2006-11-06 | 2008-05-14 | 深圳Tcl新技术有限公司 | Method of customizing common function interface of television |
CN101551746A (en) * | 2009-05-08 | 2009-10-07 | 上海华勤通讯技术有限公司 | UI interface configuration method of mobile communication terminal |
CN101859253A (en) * | 2010-03-08 | 2010-10-13 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for customizing applications and displaying application information |
CN102455905A (en) * | 2010-10-19 | 2012-05-16 | 腾讯科技(深圳)有限公司 | Method and system for establishing main panel interface, main panel and main panel interface system |
US20140137005A1 (en) * | 2012-11-15 | 2014-05-15 | Samsung Electronics Co., Ltd. | User function operation method and electronic device supporting the same |
-
2015
- 2015-11-16 CN CN201510790149.9A patent/CN105446739A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101179673A (en) * | 2006-11-06 | 2008-05-14 | 深圳Tcl新技术有限公司 | Method of customizing common function interface of television |
CN101551746A (en) * | 2009-05-08 | 2009-10-07 | 上海华勤通讯技术有限公司 | UI interface configuration method of mobile communication terminal |
CN101859253A (en) * | 2010-03-08 | 2010-10-13 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for customizing applications and displaying application information |
CN102455905A (en) * | 2010-10-19 | 2012-05-16 | 腾讯科技(深圳)有限公司 | Method and system for establishing main panel interface, main panel and main panel interface system |
US20140137005A1 (en) * | 2012-11-15 | 2014-05-15 | Samsung Electronics Co., Ltd. | User function operation method and electronic device supporting the same |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106055988A (en) * | 2016-05-25 | 2016-10-26 | 东方网力科技股份有限公司 | Permission control method and apparatus for control |
CN106055988B (en) * | 2016-05-25 | 2019-01-22 | 东方网力科技股份有限公司 | For the authority control method and device of control |
CN106201458A (en) * | 2016-06-27 | 2016-12-07 | 上海波汇科技股份有限公司 | A kind of interface creating method can joined flexibly and system |
CN106502702A (en) * | 2016-11-04 | 2017-03-15 | 重庆兆洲科技发展有限公司 | A kind of interface display method, system and industrial instruments |
CN107957870A (en) * | 2017-12-05 | 2018-04-24 | 浪潮金融信息技术有限公司 | User interface creating method and device, computer-readable recording medium, terminal |
CN109408136A (en) * | 2018-09-12 | 2019-03-01 | Oppo广东移动通信有限公司 | Information processing method, device, storage medium and electronic equipment |
US11706331B2 (en) | 2018-09-12 | 2023-07-18 | Guangdong Oppo Mobile | Information processing method and apparatus, storage medium, and electronic device |
CN111061471A (en) * | 2018-10-17 | 2020-04-24 | 福建天泉教育科技有限公司 | Method and system for controlling display of interface control element |
CN111061471B (en) * | 2018-10-17 | 2023-05-23 | 福建天泉教育科技有限公司 | Method and system for controlling display of interface control element |
CN109766097A (en) * | 2018-12-15 | 2019-05-17 | 中国平安人寿保险股份有限公司 | UI generation method, device, electronic equipment and computer readable storage medium |
CN109800040A (en) * | 2018-12-21 | 2019-05-24 | 深圳市元征科技股份有限公司 | A kind of diagnostic program interface display method, device and vehicle diagnostic equipment |
CN110841285A (en) * | 2019-11-12 | 2020-02-28 | 腾讯科技(深圳)有限公司 | Interface element display method and device, computer equipment and storage medium |
CN114546514A (en) * | 2022-01-13 | 2022-05-27 | 宁波小匠物联网科技有限公司 | Zero code platform plug-in configuration method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105446739A (en) | UI interface setting method and apparatus | |
CN110020292B (en) | Webpage content extraction method and terminal equipment | |
CN103092665B (en) | Immediate updating device and immediate updating method | |
US9367403B2 (en) | Terminal and application restoring method | |
CN106933593B (en) | System switching method and device based on mobile terminal | |
CN106648685B (en) | Intelligent terminal system application processing method and device and intelligent terminal | |
WO2016177341A1 (en) | Interface calling method and device, and terminal | |
EP2825956B1 (en) | Method, apparatus and system of recovering an operating system on a portable communication device | |
CN114879878A (en) | Application control method, graphical user interface and terminal | |
CN104615463B (en) | A kind of system property setting method and terminal | |
CN103365644A (en) | Method and device for expanding software functions | |
CN109522500B (en) | Webpage display method, device, terminal and storage medium | |
KR102693699B1 (en) | Apparatus and method for improving runtime performance after application update in electronic device | |
CN111694585A (en) | Method, system, terminal and storage medium for replacing system partition file | |
CN107908679B (en) | Script statement conversion method and device and computer readable storage medium | |
WO2015117356A1 (en) | Start-up method and communication terminal | |
CN103309741A (en) | Method and device for calling plug-in function | |
KR20120049087A (en) | Method for updating media database in a portable terminal | |
KR101996586B1 (en) | Information display method, terminal and server | |
CN104391619A (en) | Function presentation method and device of application program | |
CN104035655A (en) | Method and device for controlling displaying of input method | |
KR101675420B1 (en) | Method for automatically transforming android os based application package to tizen os based application package for appliances | |
CN103455351A (en) | Method and device for quickly installing application | |
US9189633B2 (en) | Download management method and device based on android browser | |
CN112214404A (en) | Mobile application testing method and device, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160330 |
|
RJ01 | Rejection of invention patent application after publication |