CN105224302A - The skin processing method of input method and input method system - Google Patents

The skin processing method of input method and input method system Download PDF

Info

Publication number
CN105224302A
CN105224302A CN201410302914.3A CN201410302914A CN105224302A CN 105224302 A CN105224302 A CN 105224302A CN 201410302914 A CN201410302914 A CN 201410302914A CN 105224302 A CN105224302 A CN 105224302A
Authority
CN
China
Prior art keywords
module
skin
picture
input method
configuration file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410302914.3A
Other languages
Chinese (zh)
Other versions
CN105224302B (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.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development 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 Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201410302914.3A priority Critical patent/CN105224302B/en
Publication of CN105224302A publication Critical patent/CN105224302A/en
Application granted granted Critical
Publication of CN105224302B publication Critical patent/CN105224302B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention provides a kind of skin processing method and input method device of input method, dull to solve input method skin pattern, configure inflexible problem.Described method comprises: obtain the module skin resource bag selected, wherein, described module skin resource bag comprises: module skin configuration file and module skin picture; From the module skin resource bag of described selection, obtain each module skin picture respectively, and pre-service is carried out to described module skin picture; According to described module skin configuration file, described each module skin picture and described module are carried out matching treatment, generate the individual skin of input method.Carried out modularization segmentation, configuration to input method skin, thus made each module in input method all configure corresponding skin effects, in skin, each pattern of modules is various, configures more flexible.

Description

The skin processing method of input method and input method system
Technical field
The present invention relates to input method technique field, particularly relate to a kind of skin processing method of input method and a kind of input method system.
Background technology
When user uses input method to input, for making input method more attractive in appearance, skin can be selected to arrange the outward appearance of input method.When configuring the skin of input method, normally decompression is carried out to skin bag and obtain corresponding skin resource, then in input method, the configuration of outward appearance has been loaded to skin resource.
Although user can select the skin configured to load according to the hobby of oneself on website.But the background scheme of the skin of input method normally complete set, usually only provide background picture, carry out attractive in appearance to the background of input method, it is only replace the entirety of skin picture when configuring skin.
Therefore, the configuration of input method coupling is more dull, lacks dirigibility.
Summary of the invention
Embodiment of the present invention technical matters to be solved is to provide a kind of skin processing method of input method, dull to solve input method skin pattern, configures inflexible problem.
Accordingly, the embodiment of the present invention additionally provides a kind of input method system, in order to ensure the implementation and application of said method.
In order to solve the problem, the invention discloses a kind of skin processing method of input method, comprising: obtain the module skin resource bag selected, wherein, described module skin resource bag comprises: module skin configuration file and module skin picture; From the module skin resource bag of described selection, obtain each module skin picture respectively, and pre-service is carried out to described module skin picture; According to described module skin configuration file, described each module skin picture and described module are carried out matching treatment, generate the individual skin of input method.
Optionally, after the step of the module skin resource bag that described acquisition is selected, also comprise: according to system platform, respectively format conversion processing is carried out to described each module skin picture.
Optionally, the described skin picture obtaining each module from the module skin resource bag of described selection respectively, and pretreated step is carried out to described module skin picture, comprise: read described module skin configuration file, and the skin picture that each module obtaining described module skin configuration file request from the module skin resource bag of described selection is successively corresponding; The skin picture corresponding to described each module carries out picture pre-service respectively, and wherein, described picture pre-service includes but not limited to following at least one item: size compression and stretch processing.
Optionally, after the step of the module skin resource bag that described acquisition is selected, also comprise the integrity detection step of described module skin resource bag: whether the key message detecting each module request in described module skin configuration file is complete, wherein, described key message comprises the control information of described module and corresponding module skin picture; After determining that the key message of each module request in described module skin configuration file is complete, perform and pretreated step is carried out to described module skin picture.
Optionally, according to described module skin configuration file, the skin picture of described each module is mated with described module, generate the step of the individual skin of input method, comprise: read the control information in described module skin configuration file successively, described module skin picture is mated with described module; Configure described module skin picture according to described control information, generate the animation effect of described module; The individual skin of described input method is generated after the animation effect of each module has all configured.
Optionally, after the individual skin of described generation input method, also comprising: when receiving the trigger request of described module, calling the animation effect of described module and showing described animation effect when starting described module.
Optionally, after receiving the trigger request of described module, also comprise: retrieve other modules adjacent with described module, and trigger the displaying of the animation effect of other modules adjacent with described module when described module starts.
Optionally, also comprise: divide the module in input method according to the instruction of user; The each module skin picture of selection Dynamic Acquisition according to described user, and the control information generation module skin configuration file configuring each module; Adopt described module skin configuration file and each module skin picture composition module skin resource bag.
Accordingly, this law is bought that embodiment and is also disclosed a kind of input method system, comprising: skin acquisition module, and for obtaining the module skin resource bag of selection, wherein, described module skin resource bag comprises: module skin configuration file and module skin picture; Picture pretreatment module, for obtaining each module skin picture respectively from the module skin resource bag of described selection, and carries out pre-service to described module skin picture; Skin generation module, for described each module skin picture and described module being carried out matching treatment according to described module skin configuration file, generates the individual skin of input method.
Optionally, also comprise: format converting module, for carrying out format conversion processing according to system platform respectively to described each module skin picture.
Optionally, described picture pretreatment module, comprise: read and obtain submodule, for reading described module skin configuration file, and the skin picture that each module obtaining described module skin configuration file request from the module skin resource bag of described selection is successively corresponding; Pre-service submodule, carries out picture pre-service respectively for the skin picture corresponding to described each module, and wherein, described picture pre-service includes but not limited to following at least one item: size compression and stretch processing.
Optionally, also comprise: detection module, whether complete for the key message detecting each module request in described module skin configuration file, wherein, described key message comprises the control information of described module and corresponding module skin picture; After determining that the key message of each module request in described module skin configuration file is complete, trigger described picture pretreatment module.
Optionally, described skin generation module, comprising: matched sub-block, for reading the control information in described module skin configuration file successively, is mated by described module skin picture with described module; Skin generates submodule, for configuring described module skin picture according to described control information, generates corresponding animation effect; The individual skin of described input method is generated after the animation effect of each module has all configured.
Optionally, also comprise: display module, for when receiving the trigger request of described module, calling the animation effect of described module and showing described animation effect when starting described module.
Optionally, described display module, also for retrieving other modules adjacent with described module, and triggers the displaying of the animation effect of other modules adjacent with described module when described module starts.
Optionally, also comprise: skin resource bag generation module, for dividing the module in input method according to the instruction of user; According to each module skin picture of selection Dynamic Acquisition of user, and configure the control information generation module skin configuration file of each module; Adopt described module skin configuration file and each module skin picture composition module skin resource bag.
Compared with prior art, the embodiment of the present invention comprises following advantage:
Obtain the module skin resource bag comprising module skin configuration file and module skin picture, module skin configuration file can answer block configuration animation effect for input method middle term.Therefore acquisition module skin picture carry out pre-service from the module skin resource bag selected, module skin picture and the module belonging to it are matched, according to module skin configuration file, each module skin picture and described module are carried out matching treatment again, generate the individual skin of input method.The embodiment of the present invention has carried out modularization segmentation, configuration to input method skin, thus makes each module in input method all configure corresponding skin effects, and in skin, each pattern of modules is various, configures more flexible.
Accompanying drawing explanation
Fig. 1 is the flow chart of steps of the skin processing method embodiment of a kind of input method of the present invention;
Fig. 2 is the configuration schematic diagram of module skin resource bag and keyboard in the embodiment of the present invention;
Fig. 3 is the flow chart of steps of the skin processing method embodiment of a kind of input method of the present invention;
Fig. 4 is the skin treatment schematic diagram of input method in embodiment of the present invention;
Fig. 5 is the structured flowchart of a kind of input method system embodiment of the present invention;
Fig. 6 is the structured flowchart of a kind of input method system embodiment of the present invention.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
One of core idea of the embodiment of the present invention is, provides a kind of skin processing method of input method, dull to solve input method skin pattern, configures inflexible problem.Can obtain the module skin resource bag comprising module skin configuration file and module skin picture, module skin configuration file can answer block configuration animation effect for input method middle term.Therefore acquisition module skin picture carry out pre-service from the module skin resource bag selected, module skin picture and the module belonging to it are matched, according to module skin configuration file, each module skin picture and described module are carried out matching treatment again, generate the individual skin of input method.The embodiment of the present invention has carried out modularization segmentation, configuration to input method skin, thus makes each module in input method all configure corresponding skin effects, and in skin, each pattern of modules is various, configures more flexible
With reference to Fig. 1, show the flow chart of steps of the skin processing method embodiment of a kind of input method of the present invention, specifically can comprise the steps:
Step 102, obtains the module skin resource bag selected.
After user determines the skin that will load, can obtain from the service end of input method the module skin resource bag selected, wherein, the module skin resource bag of this selection is for arranging the skin of input method, and it comprises the various information needed for this kind of skin.Wherein, the resource bag of described skin comprises: module skin configuration file and the module skin picture needed for described module skin configuration file.
In order to configure the skin of input method flexibly, press key modularized by input method, can be a module by the keyboard configuration of each kind, alphabetical module as corresponding in alphabetic keypad, the corresponding digital module of numeric keypad, the corresponding symbol module of keyboard symbol etc., also can be a module by a key configurations, or other information of showing in interface of input method also can be configured corresponding module, as the tool bar in interface of input method or candidate's bar, be configured to corresponding module, follow-up can the Pictures location of detailed configuration tool bar and candidate's bar, picture size, and different functional effects, the configuration of the embodiment of the present invention to module is not construed as limiting.
In input method client, adopt control information to configure the layout of dummy keyboard in input method, the information such as size, position, display effect of each button, therefore, when adopting module skin configuration file configuration control information, corresponding skin can be configured respectively to the module of keyboard each in input method, different modules can configure different skin information, realizes the flexible configuration of input method skin.Therefore, a module skin configuration file can be adopted to be configured with the control information of each module respectively, then now module skin configuration file comprises at least two kinds of dissimilar module informations; Also can for each block configuration module skin configuration file, the skin of disparate modules is configured by different module skin configuration files.One or more module skin configuration file can be comprised in the resource bag of skin.
Several module skin pictures can be comprised in the resource bag of skin, wherein, all configurable one or more module skin picture of each module.Wherein, module skin picture can be static images also can be dynamic picture, or flash animation etc., the embodiment of the present invention is not construed as limiting this.Therefore input method can configure dynamic skin, also can configuring static skin, even and if module skin picture be static images also can by corresponding animation effects of configuration such as timers.
Step 104, obtains each module skin picture respectively, and carries out pre-service to described module skin picture from the skin resource bag of described selection.
Due to display screen size, the resolution difference of different terminals, input method display size is also different, screen as some smart mobile phone is 5.5 cun, and the screen of some panel computer is 7.9 cun, when input method shows in these two kinds of screens, in each module and module, the size of button is different, therefore all will carry out corresponding pretreatment operation to the module skin picture of module each in input method.
Wherein, pretreatment operation refers to carries out image procossing with the specifications parameter making this module skin picture meet this module to module skin picture, as operated the stretch processing of module skin picture, the size of the size of this module skin picture and this module belonging to module skin picture is coincide, and for example convergent-divergent process is carried out to another module skin picture, this module skin picture is coincide with the size of corresponding button in this module skin picture said module.
Step 106, carries out matching treatment according to described module skin configuration file by described each module skin picture and described module, generates the individual skin of input method.
The module skin picture that each module is corresponding is determined according to module skin configuration file, the module skin picture of each module is mated with described module, be the corresponding module skin picture of each block configuration, and generate according to module skin configuration file animation effect that each module skin picture shows in this module thus generate the individual skin of whole input method.
In sum, obtain the module skin resource bag comprising module skin configuration file and module skin picture, module skin configuration file can answer block configuration animation effect for input method middle term.Therefore acquisition module skin picture carry out pre-service from the module skin resource bag selected, module skin picture and the module belonging to it are matched, according to module skin configuration file, each module skin picture and described module are carried out matching treatment again, generate the individual skin of input method.The embodiment of the present invention has carried out modularization segmentation, configuration to input method skin, thus makes each module in input method all configure corresponding skin effects, and in skin, each pattern of modules is various, configures more flexible.
Embodiment two
On the basis of above-described embodiment, the present embodiment discusses the skin processing method of input method further.
With reference to Fig. 2, show the configuration schematic diagram of module skin resource bag and keyboard in the embodiment of the present invention.
In the present invention's embodiment, before obtaining the module skin resource bag selected, also comprise: divide the module in input method according to the instruction of user; The each module skin picture of selection Dynamic Acquisition according to described user, and the control information generation module skin configuration file configuring each module; Adopt described module skin configuration file and each module skin picture composition module skin resource bag.
Module skin resource bag can be arranged by User Defined, namely user can select each module and skin allocation plan thereof voluntarily in network (official website as input method), as determined, every kind keyboard is a module, or to arrange each button be a module; After the module configuring dummy keyboard in input method, select further the module skin picture of each button in module, the animation effect of display, and the information such as the size of button, position, the skin allocation plan according to this module generates corresponding control information.Wherein, the control information of each module can select dynamic generation based on user, also can complete in advance.
Then according to the module skin picture of each module required in Dynamic Acquisition control information, and adopt the control information configuration also generation module skin configuration file of each module, wherein the control information of each module can be configured in a module skin configuration file, also a module skin configuration file can be configured respectively, then by the module skin picture composition module skin resource bag of one or more module skin configuration file and each module.Wherein, in module skin resource bag, all module skin pictures can store in a file, and with the reading of module skin picture.The descriptor of skin can also be comprised, as the author of skin or the author of each skin picture, the information such as title, creation-time of skin in this module skin resource bag.
Such as, adopt the control information configured, when making the skin of single module in advance, skin author needs the control information of this module of configuration separately, control information comprises button size, button foreground picture, and button presses figure below, keypress function exploded view, button interaction effect figure and required displaying animation code name etc.Wherein, also regard tool bar and candidate's bar as button, therefore tool bar and candidate's bar also configure control style information, as Pictures location, and picture size, and different functional effects etc.
Therefore, the pattern list of input method modules is additionally provided in the skin page of input method official website, and there is a region combining selected control, as shown in Figure 3, after user has selected the skin of module 1,2 and 3 respectively, can the effect of the overall customizing keyboard of preview, finally based on user selection control combing information structure module skin configuration file and obtain corresponding module skin picture generation module skin resource bag.Obtain the skin that can carry out each keyboard respective modules after input method obtains this module skin resource bag to arrange.
With reference to Fig. 3, show the flow chart of steps of the skin processing method embodiment of a kind of input method of the present invention, specifically can comprise the steps:
Step 302, obtains the module skin resource bag selected.
Wherein, the transmission for ease of module skin resource bag reduces data traffic simultaneously, can transmit after this module skin resource packet compression again.After the module skin resource bag obtaining compression, can by skin resources such as the module skin configuration file in this module skin resource bag of decompression acquisition and each module skin pictures.
Step 304, carries out format conversion processing according to system platform respectively to described each module skin picture.
What when making skin, module skin picture adopted usually is general format, and platform in fact due to input method place is different, has different requirements to the form of skin.Platform as mobile terminal mainly comprises Android (Android) platform and ios platform, Android platform is different with the call format of ios platform to picture, therefore to carry out format conversion according to system platform respectively to each module skin picture in module skin resource bag in advance, convert the picture format that described system platform is corresponding to.
Step 306, whether detection module skin resource bag is complete.
When the integrality of detection module skin resource bag, described module skin configuration file can be read to detect successively each module, namely read and in detection module skin configuration file the key message of each module request whether complete.
Wherein, key message comprises control information and the module skin picture of described module.Detect key message whether complete namely detect control information and module skin picture whether complete, as whether each module skin picture detected needed for control information all exists, if arbitrary module skin picture does not exist, module skin resource bag is imperfect, if each module skin picture all exists, module skin resource bag is complete.And for example, detect the size information whether control information has each button, if without, module skin resource bag is imperfect, if having, module skin resource bag is complete.
When determination module skin resource bag is complete, perform step 308; When determination module skin resource bag is imperfect, terminate above-mentioned flow process.
Wherein, whether the module skin picture format conversion step of above-mentioned steps 304 performs and can determine according to actual demand, if picture format itself meets Platform Requirements, also can not perform switch process.And the order of above-mentioned steps 304 and 306 is also unfixed, can after determination module skin resource bag be complete, then the step of execution module skin picture format conversion.
Step 308, obtains each module skin picture of asking in described module skin configuration file successively from the module skin resource bag of described selection.
Step 310, carries out picture pre-service respectively to described each module skin picture.
Before each module loading skin of input method, the size of the module corresponding due to module skin picture and its and described module button may be different, therefore also need to carry out pre-service to picture.I.e. read module skin configuration file, the control information of each module in detection module skin configuration file successively, carry out pretreatment operation according to this control information to module skin picture each in this module, wherein, described picture pre-service comprises following at least one item: size compression and stretch processing.
Wherein, size compression refers to the compression of picture quality, if some picture uses in the terminals such as computing machine, therefore picture quality is larger, and when applying it to the mobile terminals such as mobile phone, if directly load it, in loading procedure, too can consume internal memory, need suitably to carry out quality compression to picture.
Stretch processing refers to stretching or the convergent-divergent of dimension of picture, as the size of part picture and button may exist inconsistent situation, in order to be the size of picture match button, needs to carry out stretching in size or convergent-divergent process to picture.
Step 312, reads the control information in described module skin configuration file successively, is mated by described module skin picture with described module.
Step 314, the skin picture configuring described module according to described control information generates corresponding animation effect, generates the individual skin of described input method after the animation effect of each module has all configured.
The control information of each module in read module skin configuration file successively, according to the control information of each module, described module skin picture is mated with described module, if a certain module skin picture is the background picture of this module, is then mated the background for module; And for example a certain module skin picture be in this module a button by figure below, then mated for button is by figure below.
Again according to control information, described module skin picture is adopted to generate corresponding animation effect, as obtained each module skin picture needed for this module, directly generate animation effect according to dynamic module skin picture, or according to the order in control information and temporal information, each module skin picture is configured, generate corresponding animation effect, as when water wave fluctuates which position etc.And for example to the animation effect of a certain button, can arrange respectively by figure below according to this button foreground picture and button, animation effect as this case is that water wave upwards pushes away, then display button foreground picture before triggering (as pressing) this button, shows the animation effect that upwards pushes away of water wave on triggering and shows each button in order with temporal information successively and form dynamic water wave by figure below and upwards push away effect.
By selection and the configuration of above-mentioned skin, each module all has independently control information and module skin picture, thus complete the individual skin configuration of input method, the method, without the need to the single skin resource of United Dispatching, also avoid the collapse causing overall skin function when resource is lost or damages.
Step 316, when receiving the trigger request of described module, calling the animation effect of described module and showing the animation effect of described module when starting described module.
After the skin completing input method is arranged, when user uses input method to press the button of a certain module or module, the trigger request of this module can be sent to input method, request comprises the module of request triggering or the key information of module, then call the animation effect of this module, and show the animation effect of described module when starting described module.Wherein, the animation effect of module can specific to each button in module, if button each in a certain module is a kind of animal respectively, and be configured with the animation effect of often kind of animal display, then when asking to trigger a certain button in this module, while starting this button, show the animation effect of this button, as shown, in this button, rabbit is at bob, and for example shows that in a certain button, kitten is crying and playing corresponding mew.
In the present invention's embodiment, after receiving the trigger request of described module, also comprise: retrieve other modules adjacent with described module, and trigger the displaying of the animation effect of other modules adjacent with described module when described module starts.
The display interface of usual input method can show more than one module, and these modules can be complete keyboards, also can the information such as quick mark of only exposition button or module.Therefore when receiving the trigger request of a certain module, retrieve other modules adjacent with described module, and call the animation effect of other modules adjacent with described module, when triggering when described module starts, except showing the animation effect of this module itself, also show the animation effect of other modules adjacent with described module.
As shown the animation effect of water wave skin, each module comprises five animation effects, i.e. the animation effect pressed of button and the ripples effect of passing to four direction.When to install and after triggering the module arranging this water wave skin, the animation effect triggering this module is shown, other modules that retrieval is adjacent with this module simultaneously, and according to position relation, this ripples effect is passed to other modules adjacent with this module, trigger this animation effect of other modules exhibit, namely other adjacent with this module modules animation effect corresponding according to the position relation received is shown when asking, and shows corresponding animation effect.When and for example triggering the button of a certain module, focus display can be carried out to this button, as this button or this button corresponding informance are amplified, and other module non-focus display in other buttons of this module and input method display interface, as each module color is become ash etc.
To sum up, by the displaying interface module of input method, thus each module of self-defined configuration, get final product the position of user-defined press key, character position, key logic, by each button independent processing, and the picture that user oneself can like for each model choice combines, thus generation User Defined is truly dynamic and static skin, make integral keyboard pattern more personalized, more flexibly.
Secondly, when showing the animation effect of each module, other modules adjacent with described module can also be retrieved, and trigger the displaying of the animation effect of other modules adjacent with described module when described module starts, make effect plays more flexible.
Embodiment three
On the basis of above-described embodiment, the present embodiment skin scheme combined in concrete enforcement discusses the skin processing method of input method further.
With reference to Fig. 4, show the skin treatment schematic diagram of input method in embodiment of the present invention.
The module skin that user can select oneself to like in official website, and self-defined combination is carried out to the skin of each module, the effect of the overall button of preview and each module, if current selection can be cancelled to the skin of a certain module is dissatisfied, again select in official website, generate corresponding module skin resource bag after finally completing the configuration of all modules in input method and download.Then by the input method of terminal local, this module skin resource bag is configured, is loaded in the skin Resource TOC of terminal local input method by decompress(ion) after downloading.
Wherein, the integrity detection of module skin resource bag can detect by the server side directly in official website after generation module skin resource bag; Also after the input method decompression module skin resource bag of terminal local, the integrality of this resource bag can be detected again; Certainly, also may occur mistake owing to downloading in transmission, therefore the integrality of module skin resource bag also all can detect in the input method of the server of official website and terminal local.
After user selects the mark (as title) of this module skin resource bag in skin Resource TOC, trigger the configuration of this module skin resource bag.Namely by after the operation such as format conversion, pre-service of module skin picture, by mating of module skin picture and module, the operation stepss such as animation effect generation generate the skin of this interface of input method button, thus user when triggering the button of the module of input method or module in a certain application program, call corresponding animation effect.
Wherein, user selects water wave pattern as the skin of alphabetic keypad respective modules, selects stone pattern as the skin etc. of function button respective modules, selects generate corresponding module skin resource bag and be configured in input method this locality of terminal after preview.When using input method in a certain application program, as triggered a certain button of alphabetic keypad, the button of this letter gives water wave effect upwardly along with keyboard is upspring; And for example trigger the button of another letter, all the other buttons of position according to button give corresponding effect, and such as water wave produces water wave effect etc. to the opposite direction pressing key.
Further, when carrying out skin configuration, can also be configured information such as the size of the button of module, position and corresponding contents.As when options button disk module, a two phonetic alphabet keyboard be have selected for pinyin keyboard user, be about to each button of button as pinyin keyboard of only corresponding alphabetical ab, cd or ef, therefore this ab key can only export the alphabetical effect of a or b, this pattern keyboard can be described as 13 keys or double bond keyboard, this double bond keyboard is in use typewrited with 9 key boards and is as good as, other entering method keyboards can be substituted to a certain extent to the configuration of this kind of keyboard skin, also meet the demand of some individual consumer simultaneously.
In sum, input method is carried out independently modular design, is the parameter system of each block configuration of input method, namely configures control style information and skin picture, without the need to the skin resource that United Dispatching is single, avoid the collapse causing overall skin function when resource is lost or damages.
Secondly, the skin of input method can also carry out personalized skin editor according to the selection of user, more meets the demand of user.Simultaneously each module diversity dynamic effect add the interaction that improve keyboard and user.
It should be noted that, for embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the embodiment of the present invention is not by the restriction of described sequence of movement, because according to the embodiment of the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action might not be that the embodiment of the present invention is necessary.
Embodiment four
On the basis of above-described embodiment, the present embodiment discusses input method system further.
With reference to Fig. 5, show the structured flowchart of a kind of input method system embodiment of the present invention, specifically can comprise as lower module:
Input method system comprises: skin acquisition module 502, picture pretreatment module 504 and animation producing module 506.
Wherein, skin acquisition module 502, for obtaining the skin resource bag of selection, wherein, described module skin resource bag comprises: module skin configuration file and module skin picture; Picture pretreatment module 504, for obtaining the module skin picture of each module from the skin resource bag of described selection respectively, and carries out pre-service to described module skin picture; Skin generation module 506, for described each module skin picture and described module being carried out matching treatment according to described module skin configuration file, generates the individual skin of input method.
In sum, obtain the module skin resource bag comprising module skin configuration file and module skin picture, module skin configuration file can answer block configuration animation effect for input method middle term.Therefore acquisition module skin picture carry out pre-service from the module skin resource bag selected, module skin picture and the module belonging to it are matched, according to module skin configuration file, each module skin picture and described module are carried out matching treatment again, generate the individual skin of input method.The embodiment of the present invention has carried out modularization segmentation, configuration to input method skin, thus makes each module in input method all configure corresponding skin effects, and in skin, each pattern of modules is various, configures more flexible.
With reference to Fig. 6, show the structured flowchart of a kind of input method system embodiment of the present invention, specifically can comprise as lower module:
Format converting module 508, for carrying out format conversion processing according to system platform respectively to described each module skin picture.
Wherein, described picture pretreatment module 504, comprise: read and obtain submodule 5042, for reading described module skin configuration file, and the skin picture that each module obtaining described module skin configuration file request from the module skin resource bag of described selection is successively corresponding; Pre-service submodule 5044, carries out picture pre-service respectively for the skin picture corresponding to described each module, and wherein, described picture pre-service includes but not limited to following at least one item: size compression and stretch processing.
Whether input method system also comprises: detection module 510, complete for the key message detecting each module request in described module skin configuration file, and wherein, described key message comprises control information and the module skin picture of described module; After determining that the key message of each module request in described module skin configuration file is complete, trigger described picture pretreatment module 504.
Wherein, described skin generation module 506, comprising: matched sub-block 5062, for reading the control information of described module, is mated by described module skin picture with described module; Skin generates submodule 5064, for configuring described module skin picture according to described control information, generates corresponding animation effect; The individual skin of described input method is generated after the animation effect of each module has all configured.
Input method system also comprises: display module 512, for when receiving the trigger request of described module, calling the animation effect of described module and showing described animation effect when starting described module.
Described display module 512, also for retrieving other modules adjacent with described module, and triggers the displaying of the animation effect of other modules adjacent with described module when described module starts.
Input method system also comprises: skin resource bag generation module 514, for dividing the module in input method according to the instruction of user; The each module skin picture of selection Dynamic Acquisition according to described user, and the control information configuring each module generates; The individual skin configuration file of described input method is generated after the animation effect of each module has all configured; Adopt described module skin configuration file and each module skin picture composition module skin resource bag.
In sum, input method is carried out independently modular design, for the parameter system of each block configuration of input method, namely control style information and skin picture is configured, and the picture that user oneself can like for each model choice combines, thus generation User Defined is truly dynamic and static skin, without the need to the skin resource that United Dispatching is single, avoid the collapse causing overall skin function when resource is lost or damages.
Secondly, the skin of input method can also carry out personalized skin editor according to the selection of user, more meets the demand of user.Simultaneously each module diversity dynamic effect add the interaction that improve keyboard and user.
For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
Those skilled in the art should understand, the embodiment of the embodiment of the present invention can be provided as method, device or computer program.Therefore, the embodiment of the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the embodiment of the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The embodiment of the present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, terminal device (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminal equipment to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing terminal equipment produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing terminal equipment, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded on computing machine or other programmable data processing terminal equipment, make to perform sequence of operations step to produce computer implemented process on computing machine or other programmable terminal equipment, thus the instruction performed on computing machine or other programmable terminal equipment is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Although described the preferred embodiment of the embodiment of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of embodiment of the present invention scope.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or terminal device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or terminal device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the terminal device comprising described key element and also there is other identical element.
Above to skin processing method and a kind of input method system of a kind of input method provided by the present invention, be described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (16)

1. a skin processing method for input method, is characterized in that, comprising:
Obtain the module skin resource bag selected, wherein, described module skin resource bag comprises: module skin configuration file and module skin picture;
From the module skin resource bag of described selection, obtain each module skin picture respectively, and pre-service is carried out to described module skin picture;
According to described module skin configuration file, described each module skin picture and described module are carried out matching treatment, generate the individual skin of input method.
2. method according to claim 1, is characterized in that, after the step of the module skin resource bag that described acquisition is selected, also comprises:
According to system platform, respectively format conversion processing is carried out to described each module skin picture.
3. method according to claim 1 and 2, is characterized in that, the described skin picture obtaining each module from the module skin resource bag of described selection respectively, and carries out pretreated step to described module skin picture, comprising:
Read described module skin configuration file, and the skin picture that each module obtaining described module skin configuration file request from the module skin resource bag of described selection is successively corresponding;
The skin picture corresponding to described each module carries out picture pre-service respectively, and wherein, described picture pre-service includes but not limited to following at least one item: size compression and stretch processing.
4. method according to claim 3, is characterized in that, after the step of the module skin resource bag that described acquisition is selected, also comprises the integrity detection step of described module skin resource bag:
Whether the key message detecting each module request in described module skin configuration file is complete, and wherein, described key message comprises the control information of described module and corresponding module skin picture;
After determining that the key message of each module request in described module skin configuration file is complete, perform and pretreated step is carried out to described module skin picture.
5. method according to claim 4, is characterized in that, is mated by the skin picture of described each module according to described module skin configuration file with described module, generates the step of the individual skin of input method, comprising:
Read the control information in described module skin configuration file successively, described module skin picture is mated with described module;
Configure described module skin picture according to described control information, generate the animation effect of described module;
The individual skin of described input method is generated after the animation effect of each module has all configured.
6. method according to claim 1, is characterized in that, after the individual skin of described generation input method, also comprises:
When receiving the trigger request of described module, calling the animation effect of described module and showing described animation effect when starting described module.
7. method according to claim 6, is characterized in that, after receiving the trigger request of described module, also comprises:
Retrieve other modules adjacent with described module, and trigger the displaying of the animation effect of other modules adjacent with described module when described module starts.
8. method according to claim 1, is characterized in that, also comprises:
The module in input method is divided according to the instruction of user;
The each module skin picture of selection Dynamic Acquisition according to described user, and the control information generation module skin configuration file configuring each module;
Adopt described module skin configuration file and each module skin picture composition module skin resource bag.
9. an input method system, is characterized in that, comprising:
Skin acquisition module, for obtaining the module skin resource bag of selection, wherein, described module skin resource bag comprises: module skin configuration file and module skin picture;
Picture pretreatment module, for obtaining each module skin picture respectively from the module skin resource bag of described selection, and carries out pre-service to described module skin picture;
Skin generation module, for described each module skin picture and described module being carried out matching treatment according to described module skin configuration file, generates the individual skin of input method.
10. system according to claim 9, is characterized in that, also comprises:
Format converting module, for carrying out format conversion processing according to system platform respectively to described each module skin picture.
11. systems according to claim 9 or 10, it is characterized in that, described picture pretreatment module, comprising:
Read and obtain submodule, for reading described module skin configuration file, and the skin picture that each module obtaining described module skin configuration file request from the module skin resource bag of described selection is successively corresponding;
Pre-service submodule, carries out picture pre-service respectively for the skin picture corresponding to described each module, and wherein, described picture pre-service includes but not limited to following at least one item: size compression and stretch processing.
12. systems according to claim 11, is characterized in that, also comprise:
Detection module, whether complete for the key message detecting each module request in described module skin configuration file, wherein, described key message comprises the control information of described module and corresponding module skin picture; After determining that the key message of each module request in described module skin configuration file is complete, trigger described picture pretreatment module.
13. systems according to claim 12, is characterized in that, described skin generation module, comprising:
Matched sub-block, for reading the control information in described module skin configuration file successively, mates described module skin picture with described module;
Skin generates submodule, for configuring described module skin picture according to described control information, generates corresponding animation effect; The individual skin of described input method is generated after the animation effect of each module has all configured.
14. systems according to claim 9, is characterized in that, also comprise:
Display module, for when receiving the trigger request of described module, calling the animation effect of described module and showing described animation effect when starting described module.
15. systems according to claim 14, is characterized in that:
Described display module, also for retrieving other modules adjacent with described module, and triggers the displaying of the animation effect of other modules adjacent with described module when described module starts.
16. systems according to claim 9, is characterized in that, also comprise:
Skin resource bag generation module, for dividing the module in input method according to the instruction of user; According to each module skin picture of selection Dynamic Acquisition of user, and configure the control information generation module skin configuration file of each module; Adopt described module skin configuration file and each module skin picture composition module skin resource bag.
CN201410302914.3A 2014-06-27 2014-06-27 Skin processing method of input method and input method system Active CN105224302B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410302914.3A CN105224302B (en) 2014-06-27 2014-06-27 Skin processing method of input method and input method system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410302914.3A CN105224302B (en) 2014-06-27 2014-06-27 Skin processing method of input method and input method system

Publications (2)

Publication Number Publication Date
CN105224302A true CN105224302A (en) 2016-01-06
CN105224302B CN105224302B (en) 2020-01-31

Family

ID=54993300

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410302914.3A Active CN105224302B (en) 2014-06-27 2014-06-27 Skin processing method of input method and input method system

Country Status (1)

Country Link
CN (1) CN105224302B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227512A (en) * 2016-07-07 2016-12-14 网易(杭州)网络有限公司 The replacing skins method and device of application software display interface
CN106569658A (en) * 2016-10-19 2017-04-19 武汉悦然心动网络科技股份有限公司 Multimedia theme configuration method and multimedia theme configuration system of input method
CN106790369A (en) * 2016-11-09 2017-05-31 腾讯科技(深圳)有限公司 A kind of multimedia application interface is dressed up method and device
CN108874495A (en) * 2018-06-25 2018-11-23 北京金山安全软件有限公司 Theme resource conversion method and device and electronic equipment
CN108984237A (en) * 2017-05-31 2018-12-11 武汉斗鱼网络科技有限公司 A kind of control rendering method, storage medium, equipment and system
CN110297678A (en) * 2018-03-22 2019-10-01 北京搜狗科技发展有限公司 A kind for the treatment of method and apparatus of interface of input method
CN111352685A (en) * 2020-02-28 2020-06-30 北京百度网讯科技有限公司 Input method keyboard display method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070150617A1 (en) * 2005-12-22 2007-06-28 Innopath Software, Inc. Resource application program interface utility for changing user interface elements on wireless devices
CN101414258A (en) * 2008-12-03 2009-04-22 腾讯科技(深圳)有限公司 Method and apparatus for changing color of skin picture
CN102279745A (en) * 2011-08-25 2011-12-14 深圳市五巨科技有限公司 Method and system for setting appearance of mobile terminal browser
CN102929668A (en) * 2012-10-26 2013-02-13 北京奇虎科技有限公司 Method and device for loading skin in browser
CN102999340A (en) * 2012-11-28 2013-03-27 百度在线网络技术(北京)有限公司 Editing method and device of input method interface
CN103019781A (en) * 2012-12-04 2013-04-03 广东欧珀移动通信有限公司 Rapid skin changing method based on Android system
CN102446097B (en) * 2011-09-29 2015-02-04 奇智软件(北京)有限公司 Method for changing user interface skins

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070150617A1 (en) * 2005-12-22 2007-06-28 Innopath Software, Inc. Resource application program interface utility for changing user interface elements on wireless devices
CN101414258A (en) * 2008-12-03 2009-04-22 腾讯科技(深圳)有限公司 Method and apparatus for changing color of skin picture
CN102279745A (en) * 2011-08-25 2011-12-14 深圳市五巨科技有限公司 Method and system for setting appearance of mobile terminal browser
CN102446097B (en) * 2011-09-29 2015-02-04 奇智软件(北京)有限公司 Method for changing user interface skins
CN102929668A (en) * 2012-10-26 2013-02-13 北京奇虎科技有限公司 Method and device for loading skin in browser
CN102999340A (en) * 2012-11-28 2013-03-27 百度在线网络技术(北京)有限公司 Editing method and device of input method interface
CN103019781A (en) * 2012-12-04 2013-04-03 广东欧珀移动通信有限公司 Rapid skin changing method based on Android system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227512A (en) * 2016-07-07 2016-12-14 网易(杭州)网络有限公司 The replacing skins method and device of application software display interface
CN106569658A (en) * 2016-10-19 2017-04-19 武汉悦然心动网络科技股份有限公司 Multimedia theme configuration method and multimedia theme configuration system of input method
CN106569658B (en) * 2016-10-19 2020-04-14 武汉悦然心动网络科技有限公司 Input method multimedia theme configuration method and system
CN106790369A (en) * 2016-11-09 2017-05-31 腾讯科技(深圳)有限公司 A kind of multimedia application interface is dressed up method and device
CN108984237A (en) * 2017-05-31 2018-12-11 武汉斗鱼网络科技有限公司 A kind of control rendering method, storage medium, equipment and system
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
CN108874495A (en) * 2018-06-25 2018-11-23 北京金山安全软件有限公司 Theme resource conversion method and device and electronic equipment
CN108874495B (en) * 2018-06-25 2022-02-11 北京金山安全软件有限公司 Theme resource conversion method and device and electronic equipment
CN111352685A (en) * 2020-02-28 2020-06-30 北京百度网讯科技有限公司 Input method keyboard display method, device, equipment and storage medium
CN111352685B (en) * 2020-02-28 2024-04-09 北京百度网讯科技有限公司 Display method, device, equipment and storage medium of input method keyboard

Also Published As

Publication number Publication date
CN105224302B (en) 2020-01-31

Similar Documents

Publication Publication Date Title
CN105224302A (en) The skin processing method of input method and input method system
CN109344352B (en) Page loading method and device and electronic equipment
CN102099774B (en) Apparatus and method for providing user interface service in a multimedia system
US20150039996A1 (en) System and method for dynamically converting webpage, and computer-readable recording medium
CN104252359A (en) Systems and methods for presentations with live application integration
CN105335036A (en) Input interaction method and input method system
CN104252442A (en) Systems and methods for presentations with live application integration
US20150143210A1 (en) Content Stitching Templates
CN105005439A (en) Icon management method and device and mobile terminal
CN105022495A (en) Cloud service based keyboard system and method capable of implementing customization on key position combination and mapping relationship
CN106569658B (en) Input method multimedia theme configuration method and system
KR20140141046A (en) display apparatus and contol method thereof
CN101359274A (en) Method and apparatus for rapidly positioning objects
CN103365550A (en) User information setting method and device and client device
CN114185465A (en) Information processing method, information processing apparatus, storage medium, and electronic device
CN105426056A (en) Desktop launcher Launcher menu displaying method and apparatus
US10931610B2 (en) Method, device, user terminal and electronic device for sharing online image
CN113849092A (en) Content sharing method and device and electronic equipment
KR20200135535A (en) Display interface switching method, device and electronic device
CN104794632A (en) Advertisement loading method and device
CN104683483A (en) Information and Internet of things intercommunicating method and device
CN113190365B (en) Information processing method and device and electronic equipment
CN104125326B (en) Method and the terminal of message background are set
CN102402570B (en) Data management device and recording medium
KR100620008B1 (en) Hierarchical image searching method for mobile communication terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant