CN105159673A - Method and device for setting control style - Google Patents
Method and device for setting control style Download PDFInfo
- Publication number
- CN105159673A CN105159673A CN201510547984.XA CN201510547984A CN105159673A CN 105159673 A CN105159673 A CN 105159673A CN 201510547984 A CN201510547984 A CN 201510547984A CN 105159673 A CN105159673 A CN 105159673A
- Authority
- CN
- China
- Prior art keywords
- control
- pattern
- installation kit
- input method
- pattern data
- 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
Abstract
The invention provides a method and a device for setting a control style. The following steps are executed in an installation process of a control installation package: determining a control identifier and corresponding style data contained in the control installation package; identifying the corresponding style data through the determined control identifier, and replacing the style data corresponding to the control identifier in a style file applied by the control installation package. By means of the manner provided by the invention, a user only needs to install the necessary control installation package to set a specific control style in an application interference without being limited to the style of the entire application interference. When the method provided by the invention is applied to an input method application, the user can set the styles of such specific controls in an input method panel as an enter key, a space key and the like, so that the flexibility of setting the style of the input method panel is improved.
Description
[technical field]
The present invention relates to Computer Applied Technology field, particularly a kind of method and apparatus that control pattern is set.
[background technology]
, there is the function much the input method panel pattern of the such as intelligent mobile terminal such as mobile phone, panel computer changed, thus met the different visual demand of user in the input method software market of current intelligent mobile terminal.Such as, but the replacing carried out input method panel pattern is at present presented as the replacement to input method panels en bloc pattern usually, changes the skin of whole input method panel.But might not be that user accepts completely to the replacing that whole input method panel pattern carries out, user may only need to change the pattern of buttons some in input method panel, but there is no the demand that method meets this kind of user at present, dirigibility is poor.
[summary of the invention]
In view of this, the invention provides a kind of method and apparatus that control pattern is set, so that improve the dirigibility of input method panel style setting.
Concrete technical scheme is as follows:
The invention provides a kind of method that control pattern is set, perform in the installation process of control installation kit:
Determine the control mark that described control installation kit comprises and corresponding pattern data;
Utilize the pattern data corresponding to control mark determined, in the pattern file applied corresponding to described control installation kit, replace the pattern data corresponding to described control mark.
According to the present invention one preferred implementation, described control comprises: the virtual key on application interface, display frames or edit box;
Described pattern data comprises: background picture, color or transparency.
According to the present invention one preferred implementation, the method also comprises:
Described be applied in restart after, utilize replace after pattern file carry out representing of application interface.
According to the present invention one preferred implementation, replace the pattern data corresponding to described control mark in the pattern file applied corresponding to described control installation kit after, the method also comprises:
Trigger described application to restart.
According to the present invention one preferred implementation, described application comprises input method.
Present invention also offers a kind of device arranging control pattern, this device comprises:
Control determining unit, in the installation process of control installation kit, determines the control mark that described control installation kit comprises and corresponding pattern data;
Pattern replacement unit, for utilize determine control mark corresponding to pattern data, replace in the pattern file applied corresponding to described control installation kit described control mark corresponding to pattern data.
According to the present invention one preferred implementation, described control comprises: the virtual key on application interface, display frames or edit box;
Described pattern data comprises: background picture, color or transparency.
According to the present invention one preferred implementation, described in be applied in and restart after, utilize the pattern file after replacing to carry out representing of application interface.
According to the present invention one preferred implementation, this device also comprises:
Restart trigger element, for after described pattern replacement unit performs described replacement operation, trigger described application and restart.
According to the present invention one preferred implementation, described application comprises input method.
As can be seen from the above technical solutions, by mode provided by the invention, user only needs to install required control installation kit, the setting to particular control pattern in application interface can be realized, and the pattern of whole application interface need not be limited to, when the present invention is applied to input method application, user to the style setting of the such as particular control such as enter key, space bar in input method panel, thus can improve the dirigibility of input method panel style setting.
[accompanying drawing explanation]
The method flow diagram that Fig. 1 provides for the embodiment of the present invention;
In the input method panel that Fig. 2 a and Fig. 2 b provides for the embodiment of the present invention space bar pattern change before and after instance graph;
The structure drawing of device that Fig. 3 provides for the embodiment of the present invention.
[embodiment]
In order to make the object, technical solutions and advantages of the present invention clearly, describe the present invention below in conjunction with the drawings and specific embodiments.
In embodiments of the present invention, can only provide control installation kit, carry out downloading and installing for Intelligent mobile equipment, such as, can provide control installation kit in application shop.When user has the demand changing particular control pattern in application interface, user need not download the installation kit of whole Apply Styles, only needs the installation kit finding the control pattern of demand from application shop.
The Intelligent mobile equipment that the present invention relates to can comprise smart mobile phone, panel computer, personal digital assistant (PDA) etc.Some basic modules are architecturally comprised, as bus, disposal system, storage system, one or more input/output and communication interface etc. at Intelligent mobile equipment.Bus can comprise one or more wire, is used for realizing the communication between each assembly of Intelligent mobile equipment.Disposal system comprises and all types of is used for performing instruction, the processor for the treatment of progress or thread or microprocessor.Storage system can comprise the dynamic storagies such as the random access storage device (RAM) storing multidate information, with the static memory such as ROM (read-only memory) (ROM) storing static information, and comprise the mass storage of magnetic or optical record medium and respective drive.Input system supplies user's input information to server or terminal device, as touch screen, writing pencil, sound recognition system or bioassay system etc.Output system comprises touch screen, loudspeaker etc. for output information.Communication interface is used for Intelligent mobile equipment is communicated with other system.Be connected in network by wired connection, wireless connections or light between communication interface.In addition, on Intelligent mobile equipment containing be used for management of system resource, control the operating system software that other program runs, and be used for realizing the application software of certain functional modules.
The method flow diagram that Fig. 1 provides for the embodiment of the present invention, after Intelligent mobile equipment downloads control installation kit, performs step as shown in fig. 1 in installation process:
In 101, determine the control mark that control installation kit comprises and corresponding pattern data.
In control installation kit, specific one or several control on application interface can be comprised and identify, that is, comprise the control mark of application interface upper part control.For input method, in input method control installation kit, specific one or several control on input method panel can be comprised and identify.
The control related in the embodiment of the present invention can include but not limited to virtual key, display frames or edit box.The pattern data related in the embodiment of the present invention can include but not limited to background picture, color, transparency.Give an example, suppose that user wishes only to change the skin of space bar in input method panel, then comprise the mark of space bar and background picture corresponding to this space bar in the input method control installation kit downloaded.In addition, other control property information such as control location information can also be comprised in input method control installation kit.
In 102, utilize the pattern data corresponding to control mark determined, in the pattern file applied corresponding to control installation kit, replace the pattern data corresponding to this control mark.
The application software of Intelligent mobile equipment, usually when representing application interface, can obtain control mark and the pattern data of each control on application interface, representing according to pattern data to the corresponding control on application interface from pattern file.Still for input method, the background picture information that each control mark is corresponding can be obtained from the skin file of input method, the background picture information of corresponding control is presented on the corresponding control of input method panel, thus realizes representing of input method panel skin.
In this step, the pattern data of the control mark correspondence determined from input method control installation kit can be utilized to replace the pattern data that in input method pattern file, same control mark is corresponding, after follow-up like this input method panel called (restarting), in the input method panel represented, this control identifies the pattern after just can adopting replacement.
Give an example, what suppose to comprise in input method control installation kit is the control mark of space bar and the background picture information of correspondence.In this input method control installation kit installation process, this background picture information comprised by installation kit replaces the background picture information that in the skin file of cellphone inputting method, space bar is corresponding.Like this, when input method panel in mobile phone called (namely restarting), read the background picture information that in skin file, each control is corresponding, because the background picture information of other controls does not change, the background picture information only having space bar corresponding is replaced, therefore when representing input method panel, the skin of other controls does not change, and only has the skin of space bar to be replaced by background picture in the installation kit of user installation.Effect schematic diagram can as Fig. 2 a and as shown in Figure 2 b, Fig. 2 a is the skin of original input method panel, when user installation after the installation kit of input method space bar skin, skin as shown in figure 2b can be obtained, in this input method panel, only have the skin of space bar to there occurs change.
It should be noted that, above-mentioned application is for input method, and the pattern namely arranging particular control in input method is example, but the said method that the embodiment of the present invention provides is not limited to input method, can also be used for such as search class application, the application of music class etc.Such as can change the pattern searching for button in search class application.
The structure drawing of device arranging control pattern that Fig. 3 provides for the embodiment of the present invention, this device can be arranged in control installation kit, executable operations in the installation process of control installation kit.As shown in Figure 3, this device can comprise: control determining unit 01 and pattern replacement unit 02, can also comprise and restart trigger element 03.The major function of each component units is as follows:
Control determining unit 01 is responsible in the installation process of control installation kit, determines the control mark that control installation kit comprises and corresponding pattern data.Such as, in input method control installation kit, specific one or several control on input method panel can be comprised and identify, that is, comprise the control mark of input method part control.
The control related in the embodiment of the present invention can include but not limited to: the virtual key on application interface, display frames or edit box.The pattern data related in the embodiment of the present invention can include but not limited to: background picture, color or transparency.
Pattern replacement unit 02 is responsible for utilizing the pattern data corresponding to control mark determined, replaces the pattern data corresponding to this control mark in the pattern file applied corresponding to control installation kit.Like this, application software is after restarting, and the Apply Styles file after just can utilizing replacement carries out representing of application interface.For input method, above-mentioned pattern file can be the skin file of input method, and the pattern after utilizing particular control in skin file to change carries out representing of input method panel.
In order to timely to user represent particular control pattern replace after represent effect, can after pattern replacement unit 02 performs replacement operation, such as can in the installation process rear end of input method control installation kit, or after the installation of input method control installation kit, restart trigger element 03 to trigger application and restart, thus represent particular control change pattern after application interface (such as input method panel).
Above-mentioned control installation kit can be published on application shop, carries out downloading and installing for Intelligent mobile equipment.
By mode provided by the invention, user need not be limited to the whole form design of the application interfaces such as such as input method panel, and the pattern of the particular control that can oneself is selected neatly to like, for input method panel, user can, as collocation clothes, select to arrange personalized keyboard.
In several embodiment provided by the present invention, should be understood that, disclosed apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, and such as, the division of described unit, is only a kind of logic function and divides, and actual can have other dividing mode when realizing.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that hardware also can be adopted to add SFU software functional unit realizes.
The above-mentioned integrated unit realized with the form of SFU software functional unit, can be stored in a computer read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) perform the part steps of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (Read-OnlyMemory, ROM), random access memory (RandomAccessMemory, RAM), magnetic disc or CD etc. various can be program code stored medium.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.
Claims (10)
1. a method for control pattern is set, it is characterized in that, perform in the installation process of control installation kit:
Determine the control mark that described control installation kit comprises and corresponding pattern data;
Utilize the pattern data corresponding to control mark determined, in the pattern file applied corresponding to described control installation kit, replace the pattern data corresponding to described control mark.
2. method according to claim 1, is characterized in that, described control comprises: the virtual key on application interface, display frames or edit box;
Described pattern data comprises: background picture, color or transparency.
3. method according to claim 1, is characterized in that, the method also comprises:
Described be applied in restart after, utilize replace after pattern file carry out representing of application interface.
4. method according to claim 3, is characterized in that, replace the pattern data corresponding to described control mark in the pattern file applied corresponding to described control installation kit after, the method also comprises:
Trigger described application to restart.
5. the method according to the arbitrary claim of Claims 1-4, is characterized in that, described application comprises input method.
6. arrange a device for control pattern, it is characterized in that, this device comprises:
Control determining unit, in the installation process of control installation kit, determines the control mark that described control installation kit comprises and corresponding pattern data;
Pattern replacement unit, for utilize determine control mark corresponding to pattern data, replace in the pattern file applied corresponding to described control installation kit described control mark corresponding to pattern data.
7. device according to claim 6, is characterized in that, described control comprises: the virtual key on application interface, display frames or edit box;
Described pattern data comprises: background picture, color or transparency.
8. device according to claim 6, is characterized in that, described in be applied in and restart after, utilize the pattern file after replacing to carry out representing of application interface.
9. device according to claim 8, is characterized in that, this device also comprises:
Restart trigger element, for after described pattern replacement unit performs described replacement operation, trigger described application and restart.
10. the device according to the arbitrary claim of claim 6 to 9, is characterized in that, described application comprises input method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510547984.XA CN105159673A (en) | 2015-08-31 | 2015-08-31 | Method and device for setting control style |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510547984.XA CN105159673A (en) | 2015-08-31 | 2015-08-31 | Method and device for setting control style |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105159673A true CN105159673A (en) | 2015-12-16 |
Family
ID=54800540
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510547984.XA Pending CN105159673A (en) | 2015-08-31 | 2015-08-31 | Method and device for setting control style |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105159673A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107678744A (en) * | 2017-09-12 | 2018-02-09 | 平安科技(深圳)有限公司 | Application controls pattern customizing method, device and computer-readable recording medium |
CN108399173A (en) * | 2017-02-07 | 2018-08-14 | 阿里巴巴集团控股有限公司 | A kind of style configuration of page assembly, page generation method and its device |
CN108804188A (en) * | 2018-05-30 | 2018-11-13 | 珠海市君天电子科技有限公司 | Changing an interface skin method and device |
CN110297678A (en) * | 2018-03-22 | 2019-10-01 | 北京搜狗科技发展有限公司 | A kind for the treatment of method and apparatus of interface of input method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1357820A (en) * | 2000-12-15 | 2002-07-10 | 无敌科技(西安)有限公司 | Program interface converting method |
CN102789357A (en) * | 2012-06-18 | 2012-11-21 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for setting subject resources based on Andriod application technology |
CN102981866A (en) * | 2012-10-25 | 2013-03-20 | 浪潮(山东)电子信息有限公司 | Method based on Android bank self-service system control configuration |
CN104007991A (en) * | 2014-06-06 | 2014-08-27 | 百度在线网络技术(北京)有限公司 | Method and device for adjusting application program interface layout |
CN104516728A (en) * | 2013-09-27 | 2015-04-15 | 北京新媒传信科技有限公司 | Method and device for setting default button |
-
2015
- 2015-08-31 CN CN201510547984.XA patent/CN105159673A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1357820A (en) * | 2000-12-15 | 2002-07-10 | 无敌科技(西安)有限公司 | Program interface converting method |
CN102789357A (en) * | 2012-06-18 | 2012-11-21 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for setting subject resources based on Andriod application technology |
CN102981866A (en) * | 2012-10-25 | 2013-03-20 | 浪潮(山东)电子信息有限公司 | Method based on Android bank self-service system control configuration |
CN104516728A (en) * | 2013-09-27 | 2015-04-15 | 北京新媒传信科技有限公司 | Method and device for setting default button |
CN104007991A (en) * | 2014-06-06 | 2014-08-27 | 百度在线网络技术(北京)有限公司 | Method and device for adjusting application program interface layout |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108399173A (en) * | 2017-02-07 | 2018-08-14 | 阿里巴巴集团控股有限公司 | A kind of style configuration of page assembly, page generation method and its device |
CN107678744A (en) * | 2017-09-12 | 2018-02-09 | 平安科技(深圳)有限公司 | Application controls pattern customizing method, device and computer-readable recording medium |
CN110297678A (en) * | 2018-03-22 | 2019-10-01 | 北京搜狗科技发展有限公司 | A kind for the treatment of method and apparatus of interface of input method |
CN110297678B (en) * | 2018-03-22 | 2024-02-06 | 北京搜狗科技发展有限公司 | Input method interface processing method and device |
CN108804188A (en) * | 2018-05-30 | 2018-11-13 | 珠海市君天电子科技有限公司 | Changing an interface skin method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3531257B1 (en) | Application interface management method and apparatus | |
CN107729083B (en) | Method for loading driver and embedded device | |
CN109446570B (en) | Business process display method, device, computer equipment and storage medium | |
CN102646038B (en) | Control content display method, control content display device and mobile terminal | |
CN109739600B (en) | Data processing method, medium, device and computing equipment | |
CN111796823A (en) | Method and device for updating page and displaying page and page maintenance system | |
CN106897081A (en) | The bootstrap technique and device of application, terminal | |
CN107085580B (en) | Method for displaying page by client and client | |
CN108804188A (en) | Changing an interface skin method and device | |
CN104267981A (en) | Method and device for loading application layout on desktop | |
CN105700925A (en) | APP interface implementation method and apparatus | |
CN108776587B (en) | Data acquisition method and device, computer equipment and storage medium | |
CN105159673A (en) | Method and device for setting control style | |
US20180046472A1 (en) | Method and system for customizing desktop launcher of mobile terminal | |
CN111796821A (en) | Page updating method and device | |
CN104679900A (en) | Application program searching method and device | |
CN103761110A (en) | Browser font displaying and processing method and device | |
CN107797996B (en) | Entry translation method and device | |
CN106293849A (en) | A kind of application update method and terminal | |
CN105205066B (en) | Picture searching method and device | |
CN110688115A (en) | Method and device for generating interface | |
CN104133706A (en) | Firmware modifying method and device | |
CN107957887A (en) | A kind of component loading method of equipment, device and Internet of things system | |
CN112486492A (en) | Page generation method and device, storage medium and electronic equipment | |
CN108052212A (en) | A kind of method, terminal and computer-readable medium for inputting word |
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: 20151216 |
|
RJ01 | Rejection of invention patent application after publication |