CN105867652A - Strategy generation method and device based on input method - Google Patents

Strategy generation method and device based on input method Download PDF

Info

Publication number
CN105867652A
CN105867652A CN201610285291.2A CN201610285291A CN105867652A CN 105867652 A CN105867652 A CN 105867652A CN 201610285291 A CN201610285291 A CN 201610285291A CN 105867652 A CN105867652 A CN 105867652A
Authority
CN
China
Prior art keywords
input method
strategy
skin
factor
information
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
CN201610285291.2A
Other languages
Chinese (zh)
Other versions
CN105867652B (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 Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201610285291.2A priority Critical patent/CN105867652B/en
Publication of CN105867652A publication Critical patent/CN105867652A/en
Application granted granted Critical
Publication of CN105867652B publication Critical patent/CN105867652B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a strategy generation method and device based on an input method. The method specifically comprises the steps as follows: receiving a request of a user for acquiring input method skin; analyzing input method skin information, and extracting a factor set matched with the input method skin information; selecting at least one input method strategy based on the matching relation between the factor set and input method strategies preset in an input method application to generate an input method strategy set; generating a new input method strategy based on the strategy set. With the adoption of the implementation method, the strategy content of the input method is enriched.

Description

A kind of strategy-generating method based on input method and device
Technical field
The application relates to field of computer technology, is specifically related to Internet technical field, especially relates to And the strategy-generating method of input method and device.
Background technology
Input method strategy is input method application for the individual character of user and demand, formulation with The hobby at family and the various input patterns that change and input method dictionary, such as with spelling, simplicity, Hand-written relevant sequencing model, input error correction mode, user individual character dictionary relevant with dialect Dictionary and the dictionary etc. relevant with industry, user can be according to the hobby of oneself in input method These strategies are configured by application, meet the individual character input demand of oneself.
But, existing strategy is typically the fancy setting according to most of users, needs simultaneously Wanting user to be set by the way of oneself is manual, the content of strategy is more single, it is impossible to full The foot omnibearing hobby of user.
Summary of the invention
The purpose of the application is to propose a kind of strategy-generating method based on input method and device, Solve the technical problem that background section above is mentioned.
First aspect, this application provides the strategy-generating method of a kind of input method, described method Including: receive user and obtain the request of input method skin;Input method skin information is resolved, Extract the factor set mated with described input method skin information;Based on described factor set with pre- Put the matching relationship between each bar input method strategy in input method is applied, choose at least one Input method strategy generates the strategy set of input method;Based on described strategy set, generate new defeated Enter method strategy.
In certain embodiments, described input method skin information is resolved, extract with described The factor set of input method skin information coupling, including: described input method skin information is carried out Content analysis, extracts at least one factor, wherein, described strategy include following at least one: Input method skin background color, input method skin theme word, input method skin picture;Based on At least one factor described, generator subset closes.
In certain embodiments, described described input method skin information is carried out content analysis, carry Take at least one factor, including: based on described input method skin information, and it is preset at input method The information of at least one the second input method skin in skin information storehouse carries out Similarity Measure, its In, described second input method skin has the matched factor;Based on Similarity Measure result, Determine similarity threshold, and extract the described second input method skin of more than described similarity threshold The factor, as the factor of described input method skin.
In certain embodiments, described input method skin information is resolved, extract with described The factor set of input method skin information coupling, including: obtain the user of input method application record Input information;Described user's input information is analyzed, extracts keyword, and and input method Preset label word coupling, generates the label information list of user;From described label information list In choose at least one label information and mate with described input method skin information, generate and input method The factor set of skin information coupling.
In certain embodiments, described based on described factor set be preset at input method application in Each bar input method strategy between matching relationship, choose at least one input method strategy generate defeated Enter the strategy set of method, including: each factor in described factor set is mated at least one Bar strategy, wherein said strategy obtains from the input method strategy storehouse being preset at input method application; Based on described at least one strategy, generate the strategy set of input method.
In certain embodiments, described generate new input method strategy based on described strategy set, Including: the factor based on described input method skin and every tactful mating in described strategy set Relation, for every strategy setting weighted value;According to every tactful weight in described strategy set Value, is ranked up described every tactful content, generates new input method strategy.
In certain embodiments, described input method strategy includes: the sequence relevant with input mode The dictionary strategy that the tactful dictionary strategy relevant with territorial dialect is relevant with input error correction, special Determine dictionary strategy.
Second aspect, this application provides the strategy generating device of a kind of input method, described device Including: receive unit, be configured to receive user and obtain the request of input method skin;Resolve single Unit, is configured to resolve input method skin information, extracts and believes with described input method skin The factor set of breath coupling;Strategy chooses unit, is configured to based on described factor set with pre- Put the matching relationship between each bar input method strategy in input method is applied, choose at least one Input method strategy generates the strategy set of input method;Signal generating unit, is configured to based on described plan Slightly gather, generate new input method strategy.
In certain embodiments, described resolution unit, including: analyzing module, it is right to be configured to Described input method skin information carries out content analysis, extracts at least one factor, wherein, described Strategy include following at least one: input method skin background color, input method skin theme word, Input method skin picture;Generation module, is configured to, based at least one factor described, generate Factor set.
In certain embodiments, the configuration of described analysis module is further used for: based on described input Method skin information, with at least one the second input method skin being preset in input method skin information storehouse The information of skin carries out Similarity Measure, and wherein, described second input method skin has matched The factor;Based on Similarity Measure result, determine similarity threshold, and extract described similarity The factor of described second input method skin more than threshold value, as the factor of described input method skin.
In certain embodiments, described resolution unit, including: data obtaining module, configuration is used In the user's input information obtaining input method application record;Extraction module, is configured to described User's input information is analyzed, and extracts keyword, and the label word preset with input method mates, Generate the label information list of user;Choose module, be configured to from described label information list In choose at least one label information and mate with described input method skin information, generate and input method The factor set of skin information coupling.
In certain embodiments, described strategy is chosen unit and is configured to further: to described because of Each factor coupling at least one strategy in subclass, wherein said strategy is defeated from being preset at Enter in the input method strategy storehouse in method application and obtain;Based on described at least one strategy, generate defeated Enter the strategy set of method.
In certain embodiments, described signal generating unit is configured to further: based on described input The factor of method skin and every tactful matching relationship in described strategy set, set for every strategy Put weighted value;According to every tactful weighted value in described strategy set, to described every strategy Content be ranked up, generate new input method strategy.
In certain embodiments, described input method strategy includes: the sequence relevant with input mode The dictionary strategy that the tactful dictionary strategy relevant with territorial dialect is relevant with input error correction, special Determine dictionary strategy.
The strategy-generating method based on input method of the application offer and device, by asking user The information seeking the skin of acquisition carries out resolving so that extraction factor set, is then based on factor set And the matching relationship between each bar input method strategy being preset in input method application chooses at least one Bar strategy, is finally based in strategy set every tactful weighted value and determines the new plan of input method Slightly, thus efficiently utilize the data of input method, enrich the content of input method.
Accompanying drawing explanation
By reading retouching in detail with reference to made non-limiting example is made of the following drawings Stating, other features, purpose and advantage will become more apparent upon:
Fig. 1 is that the application can apply to exemplary system architecture figure therein;
Fig. 2 is an embodiment of the strategy-generating method based on input method according to the application Flow chart;
Fig. 3 is an application scenarios of the strategy-generating method based on input method according to the application Schematic diagram;
Fig. 4 is another embodiment of the strategy-generating method based on input method according to the application Flow chart;
Fig. 5 is an embodiment of the strategy generating device based on input method according to the application Structural representation;
Fig. 6 is adapted for the computer for the terminal device or server realizing the embodiment of the present application The structural representation of system.
Detailed description of the invention
With embodiment, the application is described in further detail below in conjunction with the accompanying drawings.It is appreciated that , specific embodiment described herein is used only for explaining related invention, rather than to this Bright restriction.It also should be noted that, for the ease of describe, accompanying drawing illustrate only with About the part that invention is relevant.
It should be noted that in the case of not conflicting, the embodiment in the application and embodiment In feature can be mutually combined.Describe this below with reference to the accompanying drawings and in conjunction with the embodiments in detail Application.
Fig. 1 shows strategy-generating method based on input method or the strategy that can apply the application The exemplary system architecture 100 of the embodiment of generating means.
As it is shown in figure 1, system architecture 100 can include terminal device 101,102,103, Network 104 and server 105.Network 104 is in order at terminal device 101,102,103 and The medium of communication link is provided between server 105.Network 104 can include various connection class Type, the most wired, wireless communication link or fiber optic cables etc..
User can use terminal device 101,102,103 by network 104 and server 105 Alternately, to receive or to send message etc..Can be provided with on terminal device 101,102,103 Various telecommunication customer ends are applied, and such as input method application, the application of document management class, searching class are answered With, JICQ, mailbox client, social platform software etc., by means of input method should With, user can carry out strategy input to the various application on terminal device.
Terminal device 101,102,103 can be the various electronics having and supporting input method application Equipment, includes but not limited to that smart mobile phone, panel computer, E-book reader, MP3 play (Moving Picture Experts Group Audio Layer III, dynamic image expert compresses mark to device Quasi-audio frequency aspect 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic State image expert's compression standard audio frequency aspect 4) player, pocket computer on knee and desk-top meter Calculation machine etc..
Server 105 can be to provide the server of various service, such as to terminal device 101, 102, the input method application on 103, file management class application etc. provide the database service supported Device or Cloud Server.The data received can be stored by server, analysis etc. processes, And result is fed back to terminal device.
It should be noted that the strategy generating side based on input method that the embodiment of the present application is provided Method is typically performed by server 105, and correspondingly, strategy generating device based on input method is general It is arranged in server 105.
It should be understood that the number of terminal device, network and the server in Fig. 1 is only signal Property.According to realizing needs, can have any number of terminal device, network and server.
With continued reference to Fig. 2, it is shown that according to the strategy-generating method based on input method of the application The flow process 200 of an embodiment.Described strategy-generating method based on input method, including Following steps:
Step 201, receives user and obtains the request of input method skin.
In the present embodiment, strategy-generating method based on input method runs on electronics thereon and sets Standby (the such as server shown in Fig. 1) can be by wired connection mode or wireless connection side Formula receives and obtains input method skin from user utilizes it carry out the input method terminal of information input Request, wherein, above-mentioned input method skin is user according to settings such as oneself hobby, styles Background patterns based on information input.It is pointed out that above-mentioned radio connection can wrap Include but be not limited to 3G/4G connection, WiFi connection, bluetooth connection, WiMAX connection, Zigbee Connect, UWB (ultra wideband) connects and other are currently known or exploitation in the future Radio connection.
Generally, user utilize in terminal install input method should be for obtaining input method skin, this Time, user can utilize input method skin preset in input method application to come to input method application clothes Business device initiates to obtain the request of input method skin, and user can also utilize local device to collect simultaneously Picture, animation etc. initiates to obtain input to input method application server as input method skin The request of method skin.The picture of above-mentioned local device collection can include bmp form, jpg Form, tiff form, gif form, pcx form, tga form, exif form, fpx form, The picture of svg form, animation or other futures by the picture of form of exploitation, animation etc., As long as the file of this form obtains propping up of the server of input method application as input method skin Hold.
Step 202, resolves input method skin information, extracts and input method skin information The factor set of coupling.
In the present embodiment, based on the input method skin obtained in step 201, above-mentioned electronics sets First standby (the such as server shown in Fig. 1) can obtain the letter that above-mentioned input method skin is corresponding Breath content;Recycle various analysis means afterwards above-mentioned input method skin information content to be carried out point Analysis, thus extract one or more factor, wherein, the above-mentioned factor is for affect input method skin Each element relevant with individual subscriber attribute information of information, the interest of such as user, the age, The elements such as occupation.
In some optional implementations of the present embodiment, input method skin information include but not It is limited to the background color of input method, theme word, picture, animation, to above-mentioned input method skin The analysis mode of information can also is that the mode of content analysis, by content analysis by above-mentioned input The information such as color that method skin comprises, theme word, picture extract, and defeated with being preset at The skin entered in method skin information storehouse carries out Similarity Measure, based on Similarity Measure result, from And the factor of the skin being preset in input method skin information storehouse is extracted and is placed in above-mentioned input method In skin, as the factor of above-mentioned input method skin, wherein, input method application prestores Multiple skins, and each skin is mated at least one factor.As example, user issues Obtain the request of an input method skin with pink cartoon pattern, based on this input method skin The information of skin, carries out similarity meter with the multiple input method skins being preset in input method skin storehouse Calculate, extract the factor of the similarity all of input method skin more than 80%, such as, extract The factor be " women ", " after 90s ", " lovely ", so that it is determined that this has pink cartoon figure The factor of the input method skin of case is " women ", " after 90s ", " lovely ".
It should be noted that the various methods of foregoing analysis mode be the most widely studied and The known technology of application, does not repeats them here.
Step 203, based on factor set and each bar input method plan being preset in input method application Matching relationship between Lve, chooses at least one input method strategy and generates the strategy set of input method.
In the present embodiment, strategy-generating method based on input method runs on electronics thereon and sets Can prestore a plurality of strategy on Bei, these strategies may be used for and above-mentioned input method skin The factor matches, and generates the strategy set of above-mentioned input method application.
In some optional implementations of the present embodiment, above-mentioned electronic equipment can be by above-mentioned Factor set is mated the most one by one with each input policing, and according to the strategy of every input method The number of the factor included by content determines the matching relationship of this input method strategy and the factor. Such as, if the content of certain input method strategy includes in above-mentioned factor set all because of Son, then may determine that this input method strategy exists, with factor set, the relation mated completely;And If the part included in the content of certain input method strategy in above-mentioned input method factor set because of Son, then may determine that this input method strategy and factor set exist part matching relationship;If The content of certain input method strategy does not include any factor in above-mentioned factor set, then can be true Not matching relationship is there is in this input method strategy fixed with factor set.
Step 204, based on strategy set, generates new input method strategy.
In the present embodiment, above-mentioned electronic equipment can be by bar strategy each in above-mentioned strategy set Content is combined, and generates new input method strategy.
In some optional implementations of the present embodiment, above-mentioned electronic equipment can be by upper State the matching relationship of each strategy and the factor in strategy set and carry out weight setting, and generate new plan Slightly content.As example, the strategy setting comprising all factors in above-mentioned factor set is weighed Weight values is 10, and participates in generating new input method strategy content by all of content in this strategy; It is 6 for comprising the strategy setting weighted value of the factor of more than half in above-mentioned factor set, and Participate in generating new input method strategy content by all of content in this strategy;Above-mentioned for comprising In factor set, the strategy setting weighted value of the less than half of factor is 3, and will have with this factor The content closed participates in generating new input method strategy content.Then, according to weighted value to above-mentioned plan Content slightly is ranked up, and generates a new input method strategy.
It is the strategy generating side based on input method according to the present embodiment with continued reference to Fig. 3, Fig. 3 One schematic diagram of the application scenarios of method.As shown in the label 301 in Fig. 3, first user sends out Acting the request obtaining an input method skin, such as, this input method skin is one and has pink colour The skin of cartoon pattern background, supports that the server of input method application accepts this request.Then, As shown in label 302, above-mentioned skin information is resolved by server, extracts above-mentioned skin letter Breath is " pink " and " cartoon pattern ".To be preset in input method skin storehouse and there is similar " powder Red " and the skin of " cartoon pattern " information choose, and with the input method obtained before Skin carries out Similarity Measure, and arranging similarity threshold is 80%, and extracts similarity 80% The factor of above preset skin, the such as factor is defined as " women " and " after 90s ", from defeated Enter the strategy that in the preset policy library of method, extraction matches with it, as shown in label 303, such as, The factor " women " coupling spelling input policing, the factor " after 90s " mates individual character dictionary after 90s Strategy.Finally, as shown in label 304, based on above-mentioned spelling input policing and individual character after 90s The content of dictionary strategy, generates a new input method strategy, simultaneously by new input method strategy User is sent jointly to above-mentioned input method skin.
The method that above-described embodiment of the application provides is by by the content of input method skin and input method Apply preset strategy to be associated, effectively make use of the data of input method, enrich input method Content.
With further reference to Fig. 4, it illustrates another of strategy-generating method based on input method The flow process 400 of embodiment.The flow process 400 of this strategy-generating method, comprises the following steps:
Step 401 receives user and obtains the request of input method skin.
In the present embodiment, strategy-generating method based on input method runs on electronics thereon and sets Standby (the such as server shown in Fig. 1) can be by wired connection mode or wireless connection side Formula receives and obtains input method skin from user utilizes it carry out the input method terminal of information input Request.
Step 402, obtains the user's input information of input method application record.
In the present embodiment, (the such as terminal shown in Fig. 1 sets the electronic equipment that user is used Standby or server) can be from locally or remotely obtaining the input method application note that user is used The user's input information of record.Specifically, when above-mentioned electronic equipment be exactly input method application install During terminal device thereon, it directly can obtain above-mentioned user's input information from this locality;And When above-mentioned electronic equipment is server, it can be by wired connection mode or wireless connection Mode is from being mounted with that the terminal device that input method is applied obtains above-mentioned user's input information.Above-mentioned nothing Line connected mode includes but not limited to that 3G/4G connects, WiFi connects, bluetooth connects, WiMAX Connect, Zigbee connects, UWB (ultra wideband) connects and other are currently known Or the radio connection of exploitation in the future.
Here, above-mentioned user's input information can include but not limited to, below at least one: Word message, such as user use how the word content of input method application input " goes KTV?”;Pictorial information, such as, can include but not limited to, user uses input method application defeated The various icons (such as smiling face's icon, icon etc. of shaking hands) entered, various image (such as personage, Picture with scenes etc.);With voice/sound that voice strategy, such as user use input method application input Frequently fragment etc..
Step 403, is analyzed user's input information, extracts keyword, and and input method Preset label word coupling, generates the label information list of user;
In the present embodiment, the information inputting above-mentioned user carries out semantic analysis, extracts key Word, the text strategy such as inputted is " how going happy paddy ", and the keyword of extraction is " happy Paddy ";If input for language message, then language message is carried out semantic analysis, converts written This information, and extract keyword;If input for pictorial information, then pictorial information is carried out Analyzing, extract the keyword relevant with picture, the picture such as inputted is the figure of a pet dog Sheet, then extracting the keyword relevant with pictorial information is " pet dog ".Based on the key extracted Word, contrasts with the label word being preset in input method application, and gives keyword with label Attribute, such as the tag attributes of " happy paddy " is " after 80s ", the tag attributes of " pet dog " For " pet fan ".The label word with tag attributes is generated the label information list of user.
Step 404, chooses at least one label information and input method skin from label information list Skin information matches, generates the factor set mated with input method skin information.
In the present embodiment, based on step 403, to above-mentioned input method skin extraction label word, And mate with the label information in above-mentioned label information list.As example, user initiates to obtain One the input method skin azury with pet dog, the label word of this skin is " pet dog " " light blue ", based on this label word, mates with the label information in label information list, its In " pet dog " coupling label information " pet fan ", " light blue " coupling label information " women ", by " pet fan " with " " two label words are as this input method skin for women The factor, generate input method skin factor set.
Step 405, based on factor set and each bar input method plan being preset in input method application Matching relationship between Lve, chooses at least one input method strategy and generates the strategy set of input method.
In the present embodiment, the concrete process of step 405 is referred in Fig. 2 correspondence embodiment Step 203, repeats no more here.
Step 406, based on strategy set, generates new input method strategy..
In the present embodiment, above-mentioned electronic equipment can be by bar strategy each in above-mentioned strategy set Content is combined, and generates new input method strategy..
Figure 4, it is seen that the plan compared with the embodiment that Fig. 2 is corresponding, in the present embodiment Slightly generate after the flow process 400 of method highlights the input information analysis to user, set up user's mark Sign information list, and extract, by the way of searching list, the factor mated with input method skin The step of set.Thus, the scheme that the present embodiment describes can be more accurately for user's Hobby determines the strategy of corresponding input method.
With further reference to Fig. 5, as to the realization of method shown in above-mentioned each figure, the application provides A kind of embodiment of strategy generating device based on input method, this device embodiment and figure Embodiment of the method shown in 2 is corresponding, and this device specifically can apply in various electronic equipment.
As it is shown in figure 5, the strategy generating device 500 based on input method described in the present embodiment wraps Include: reception unit 501, resolution unit 502, strategy choose unit 503 and signal generating unit 504. Wherein, reception unit 501 is configured to receive user and obtains the request of input method skin;Resolve Unit 502 is configured to resolve input method skin information, extracts and believes with input method skin The factor set of breath coupling;Strategy is chosen unit 503 and is configured to based on factor set with preset The matching relationship between each bar input method strategy in input method is applied, chooses at least one defeated Enter the strategy set of method strategy generating input method;Signal generating unit 504 is configured to based on input method Skin information and strategy set, generate new input method strategy.
In the present embodiment, the reception unit 501 of strategy generating device 500 can be by wired Connected mode or radio connection are from user utilizes it carry out the input method of information input eventually Termination results take the request of input method skin.
In the present embodiment, based on receiving the input method skin information that unit 501 obtains, above-mentioned First resolution unit 502 can obtain the information content of above-mentioned input method skin;Recycle afterwards The content of above-mentioned input method skin is analyzed by various analysis means, thus extract one or Multiple factors.
In the present embodiment, strategy generating device 500 can prestore a plurality of strategy, this A little strategies may be used for matching with the factor of above-mentioned input method skin, and generating above-mentioned input method should Strategy set.Thus, the strategy of strategy generating device 500 choose unit 503 can be by Above-mentioned factor set is mated the most one by one with each input policing, and according to every input method What the number of the factor included by policy content determined this input method strategy and the factor mates pass System.According to matching relationship, above-mentioned strategy chooses unit 503 can be from a plurality of input method strategy Choose at least one input method strategy, and thus generate the strategy set of input method application.
In the present embodiment, above-mentioned signal generating unit 504 can be by every in above-mentioned strategy set Strategy is combined, and generates new input method strategy.
In some optional implementations of the present embodiment, above-mentioned strategy generating device 500 Resolution unit 502 farther includes to analyze module (not shown), is configured to input method skin Background color, theme word, skin picture etc. be analyzed, extract input method skin because of Son, it is also possible to for above-mentioned input method skin and the input method skin in input method skin information storehouse Skin carries out Similarity Measure, based on result of calculation, extracts the factor in input method skin information storehouse The factor as above-mentioned input method skin;Generation module (not shown), is configured to for extraction The factor of input method skin, generator subset closes.
In some optional implementations of the present embodiment, above-mentioned strategy generating device 500 Strategy is chosen 502 configurations of unit and is further used for each factor in above-mentioned factor set Coupling at least one strategy, the most above-mentioned strategy is from the input method plan being preset at input method application Slightly storehouse obtains;Based on above-mentioned at least one strategy, generate the strategy set of input method.Wherein Strategy include following at least one: the ordering strategy relevant with input mode has with territorial dialect The dictionary strategy that the dictionary strategy closed is relevant with input error correction, specific dictionary strategy.
Below with reference to Fig. 6, it illustrates the terminal device be suitable to for realizing the embodiment of the present application Or the structural representation of the computer system 600 of server.
As shown in Figure 6, computer system 600 includes CPU (CPU) 601, its Can be according to the program being stored in read-only storage (ROM) 602 or from storage part 608 It is loaded into the program in random access storage device (RAM) 603 and performs various suitable action And process.In RAM 603, also storage has system 600 to operate required various program sums According to.CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input / output (I/O) interface 605 is also connected to bus 604.
It is connected to I/O interface 605: include the importation 606 of keyboard, mouse etc. with lower component; Including such as cathode-ray tube (CRT), liquid crystal display (LCD) etc. and loudspeaker etc. Output part 606;Storage part 608 including hard disk etc.;And include such as LAN card, The communications portion 609 of the NIC of modem etc..Communications portion 609 is via such as The network of internet performs communication process.Driver 610 is connected to I/O interface also according to needs 605.Detachable media 611, such as disk, CD, magneto-optic disk, semiconductor memory etc., Be arranged on as required on driver 610, in order to the computer program read from it according to Needs are mounted into storage part 608.
Especially, according to embodiment of the disclosure, the process described above with reference to flow chart is permissible It is implemented as computer software programs.Such as, embodiment of the disclosure and include a kind of computer journey Sequence product, it includes the computer program being tangibly embodied on machine readable media, described meter Calculation machine program comprises the program code for performing the method shown in flow chart.In such enforcement In example, this computer program can be downloaded and installed from network by communications portion 609, And/or be mounted from detachable media 611.
Flow chart in accompanying drawing and block diagram, it is illustrated that according to the various embodiment of the application system, Architectural framework in the cards, function and the operation of method and computer program product.This point On, each square frame in flow chart or block diagram can represent a module, program segment or code A part, a part for described module, program segment or code comprise one or more for Realize the executable instruction of the logic function of regulation.It should also be noted that at some as replacement In realization, the function marked in square frame can also be sent out to be different from the order marked in accompanying drawing Raw.Such as, two square frames succeedingly represented can essentially perform substantially in parallel, they Sometimes can also perform in the opposite order, this is depending on involved function.It is also noted that It is, the square frame in each square frame in block diagram and/or flow chart and block diagram and/or flow chart Combination, can realize by the special hardware based system of the function or operation that perform regulation, Or can realize with the combination of specialized hardware with computer instruction.
Being described in the embodiment of the present application involved unit can be real by the way of software Existing, it is also possible to realize by the way of hardware.Described unit can also be arranged on process In device, for example, it is possible to be described as: a kind of processor includes receiving unit, resolution unit, plan Slightly choose unit and signal generating unit.Wherein, the title of these unit the most not structure The restriction of this unit itself in pairs, such as, receives unit and is also described as " receiving user Obtain the unit of the request of input method skin ".
As on the other hand, present invention also provides a kind of nonvolatile computer storage media, This nonvolatile computer storage media can be described in above-described embodiment included in device Nonvolatile computer storage media;Can also be individualism, be unkitted allocate in terminal non- Volatile computer storage medium.Above-mentioned nonvolatile computer storage media storage have one or The multiple program of person, when one or more program is performed by an equipment so that described Equipment: receive user and obtain the request of input method skin;Input method skin information is resolved, Extract the factor set mated with described input method skin information;Based on described factor set with pre- Put the matching relationship between each bar input method strategy in input method is applied, choose at least one Input method strategy generates the strategy set of input method;Based on described strategy set, generate new defeated Enter method strategy.
Above description is only the preferred embodiment of the application and saying institute's application technology principle Bright.It will be appreciated by those skilled in the art that invention scope involved in the application, do not limit In the technical scheme of the particular combination of above-mentioned technical characteristic, also should contain simultaneously without departing from In the case of described inventive concept, above-mentioned technical characteristic or its equivalent feature are combined And other technical scheme formed.Such as features described above and (but not limited to) disclosed herein The technical characteristic with similar functions is replaced mutually and the technical scheme that formed.

Claims (14)

1. a strategy-generating method based on input method, it is characterised in that described method includes:
Receive user and obtain the request of input method skin;
Resolving input method skin information, extraction is mated with described input method skin information Factor set;
Based between described factor set and each bar input method strategy being preset in input method application Matching relationship, choose at least one input method strategy generate input method strategy set;
Based on described strategy set, generate new input method strategy.
Method the most according to claim 1, it is characterised in that described to input method skin Information resolves, and extracts the factor set mated with described input method skin information, including:
Described input method skin information is carried out content analysis, extracts at least one factor, wherein, Described strategy include following at least one: input method skin background color, input method skin theme Word, input method skin picture;
Based at least one factor described, generator subset closes.
Method the most according to claim 2, it is characterised in that described to described input method Skin information carries out content analysis, extracts at least one factor, including:
Based on described input method skin information, and it is preset in input method skin information storehouse at least The information of one the second input method skin carries out Similarity Measure, wherein, described second input method Skin has the matched factor;
Based on Similarity Measure result, determine similarity threshold, and extract described similarity threshold The factor of above described second input method skin, as the factor of described input method skin.
Method the most according to claim 1 and 2, it is characterised in that described to input method Skin information resolves, and extracts the factor set mated with described input method skin information, bag Include:
Obtain the user's input information of input method application record;
Described user's input information is analyzed, extracts keyword, and the mark preset with input method Label word mates, and generates the label information list of user;
At least one label information and described input method skin is chosen from described label information list Information matches, generates the factor set mated with input method skin information.
Method the most according to claim 1, it is characterised in that described based on the described factor Matching relationship between set and each bar input method strategy being preset in input method application, chooses At least one input method strategy generates the strategy set of input method, including:
Each factor in described factor set is mated at least one strategy, wherein said plan Slightly obtain from the input method strategy storehouse being preset at input method application;
Based on described at least one strategy, generate the strategy set of input method.
Method the most according to claim 1, it is characterised in that described based on described strategy Set, generates new input method strategy, including:
What the factor based on described input method skin was tactful with in described strategy set every mates pass System, for every strategy setting weighted value;
According to every tactful weighted value in described strategy set, to described every tactful content It is ranked up, generates new input method strategy.
Method the most according to claim 5, it is characterised in that described input method strategy bag Include:
The ordering strategy relevant with the input mode dictionary strategy relevant with territorial dialect is with defeated Enter the dictionary strategy that error correction is relevant, specific dictionary strategy.
8. a strategy generating device based on input method, it is characterised in that described device includes:
Receive unit, be configured to receive user and obtain the request of input method skin;
Resolution unit, is configured to resolve input method skin information, extracts defeated with described Enter the factor set of method skin information coupling;
Strategy chooses unit, is configured to apply with being preset at input method based on described factor set In each bar input method strategy between matching relationship, choose at least one input method strategy generate The strategy set of input method;
Signal generating unit, is configured to, based on described strategy set, generate new input method strategy.
Device the most according to claim 8, it is characterised in that described resolution unit, bag Include:
Analyze module, be configured to described input method skin information is carried out content analysis, extract At least one factor, wherein, described strategy include following at least one: input method skin background Color, input method skin theme word, input method skin picture;
Generation module, is configured to based at least one factor described, and generator subset closes.
Device the most according to claim 9, it is characterised in that described analysis module is joined Put and be further used for:
Based on described input method skin information, and it is preset in input method skin information storehouse at least The information of one the second input method skin carries out Similarity Measure, wherein, described second input method Skin has the matched factor;
Based on Similarity Measure result, determine similarity threshold, and extract described similarity threshold The factor of above described second input method skin, as the factor of described input method skin.
11. devices according to claim 8 or claim 9, it is characterised in that described parsing list Unit, including:
Data obtaining module, is configured to obtain the user's input information of input method application record;
Extraction module, is configured to be analyzed described user's input information, extracts keyword, And the label word preset with input method mates, generate the label information list of user;
Choose module, be configured to from described label information list, choose at least one label letter Breath mates with described input method skin information, generates the factor set mated with input method skin information Close.
12. devices according to claim 8, it is characterised in that described strategy chooses list Unit is configured to further:
Each factor in described factor set is mated at least one strategy, wherein said plan Slightly obtain from the input method strategy storehouse being preset at input method application;
Based on described at least one strategy, generate the strategy set of input method.
13. devices according to claim 8, it is characterised in that described signal generating unit is entered One step is configured to:
What the factor based on described input method skin was tactful with in described strategy set every mates pass System, for every strategy setting weighted value;
According to every tactful weighted value in described strategy set, to described every tactful content It is ranked up, generates new input method strategy.
14. devices according to claim 12, it is characterised in that described input method strategy Including:
The ordering strategy relevant with the input mode dictionary strategy relevant with territorial dialect is with defeated Enter the dictionary strategy that error correction is relevant, specific dictionary strategy.
CN201610285291.2A 2016-04-29 2016-04-29 A kind of strategy-generating method and device based on input method Active CN105867652B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610285291.2A CN105867652B (en) 2016-04-29 2016-04-29 A kind of strategy-generating method and device based on input method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610285291.2A CN105867652B (en) 2016-04-29 2016-04-29 A kind of strategy-generating method and device based on input method

Publications (2)

Publication Number Publication Date
CN105867652A true CN105867652A (en) 2016-08-17
CN105867652B CN105867652B (en) 2018-10-19

Family

ID=56628991

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610285291.2A Active CN105867652B (en) 2016-04-29 2016-04-29 A kind of strategy-generating method and device based on input method

Country Status (1)

Country Link
CN (1) CN105867652B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112243144A (en) * 2020-10-15 2021-01-19 科大讯飞股份有限公司 Input method barrage display method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101866282A (en) * 2009-04-20 2010-10-20 北京搜狗科技发展有限公司 Method and device for realizing dynamic skin of input method
CN102375746A (en) * 2010-08-11 2012-03-14 腾讯科技(深圳)有限公司 Method and device for enabling input method to self-adapt to application program
CN103473036A (en) * 2012-06-08 2013-12-25 深圳市世纪光速信息技术有限公司 Input method skin push method and system
CN103870553A (en) * 2014-03-03 2014-06-18 百度在线网络技术(北京)有限公司 Input resource pushing method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101866282A (en) * 2009-04-20 2010-10-20 北京搜狗科技发展有限公司 Method and device for realizing dynamic skin of input method
CN102375746A (en) * 2010-08-11 2012-03-14 腾讯科技(深圳)有限公司 Method and device for enabling input method to self-adapt to application program
CN103473036A (en) * 2012-06-08 2013-12-25 深圳市世纪光速信息技术有限公司 Input method skin push method and system
CN103870553A (en) * 2014-03-03 2014-06-18 百度在线网络技术(北京)有限公司 Input resource pushing method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112243144A (en) * 2020-10-15 2021-01-19 科大讯飞股份有限公司 Input method barrage display method, device, equipment and storage medium
CN112243144B (en) * 2020-10-15 2023-02-17 科大讯飞股份有限公司 Input method barrage display method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN105867652B (en) 2018-10-19

Similar Documents

Publication Publication Date Title
CN105117491B (en) Page push method and apparatus
CN106845999A (en) Risk subscribers recognition methods, device and server
CN106777177A (en) Search method and device
CN105654950A (en) Self-adaptive voice feedback method and device
CN106227786A (en) Method and apparatus for pushed information
CN105306495B (en) user identification method and device
CN106874467A (en) Method and apparatus for providing Search Results
CN108228906B (en) Method and apparatus for generating information
CN107169002A (en) A kind of personalized interface method for pushing and device recognized based on face
CN110162599A (en) Personnel recruitment and interview method, apparatus and computer readable storage medium
CN106919711A (en) The method and apparatus of the markup information based on artificial intelligence
CN106776716B (en) A kind of method and apparatus of intelligent Matching marketing consultant and user
CN109189544A (en) Method and apparatus for generating dial plate
CN107910060A (en) Method and apparatus for generating information
CN109919641A (en) A kind of advertisement placement method and platform
CN106447295A (en) Sign-off file template generation method and apparatus thereof
CN108334489A (en) Text core word recognition method and device
CN106020504A (en) Information output method and device
CN106354856A (en) Enhanced deep neural network search method and device based on artificial intelligence
CN110046571A (en) The method and apparatus at age for identification
CN107729573A (en) Information-pushing method and device
CN109389660A (en) Image generating method and device
KR102149035B1 (en) Advertising page creation and management system for performance marketing
CN107609487B (en) User head portrait generation method and device
CN107291774A (en) Error sample recognition methods and device

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