CN106201010A - Method for adding word bank and device - Google Patents

Method for adding word bank and device Download PDF

Info

Publication number
CN106201010A
CN106201010A CN201610500060.9A CN201610500060A CN106201010A CN 106201010 A CN106201010 A CN 106201010A CN 201610500060 A CN201610500060 A CN 201610500060A CN 106201010 A CN106201010 A CN 106201010A
Authority
CN
China
Prior art keywords
application
dictionary
input method
configuration data
user terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610500060.9A
Other languages
Chinese (zh)
Other versions
CN106201010B (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 CN201610500060.9A priority Critical patent/CN106201010B/en
Publication of CN106201010A publication Critical patent/CN106201010A/en
Application granted granted Critical
Publication of CN106201010B publication Critical patent/CN106201010B/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • G06F16/374Thesaurus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Stored Programmes (AREA)

Abstract

This application discloses method for adding word bank and device.One detailed description of the invention of described method includes: add order in response to the dictionary applying the input method on user terminal, configuration data are obtained from server, wherein said configuration data, for for each application in default set of applications, associate the application identification information storing this application and the dictionary mark of the input method dictionary being the theme with this application;Application identification information in described configuration data is mated with the application installed in described user terminal;Input method dictionary corresponding for dictionary mark associated by the application identification information that the match is successful is set to the candidate's input method dictionary applied to be added to described input method.This embodiment saves user and selects the time of dictionary to be added.

Description

Method for adding word bank and device
Technical field
The application relates to field of computer technology, is specifically related to Internet technical field, particularly relates to method for adding word bank And device.
Background technology
The coded method that input method refers to that word is inputted the electronic equipment such as computer or mobile phone and uses.Computer In the input method procedure installed, in addition it is also necessary to add corresponding basic vocabulary storehouse, in order to by this input method procedure from being stored Basic vocabulary storehouse in call inputted instruction or text.Basic vocabulary storehouse includes the language model of word, word and statement, The training of large-scale training language material is used to come out.Computer is when installing input method procedure, it is also possible to install classificating word Storehouse, to provide the deficiency of word, word and statement in basic vocabulary storehouse.The dictionary in corresponding different majors field is different, classificating word Storehouse is towards specific area, specific region and the set of words of application-specific sight.
In prior art, when user installation dictionary, it is difficult to specific aim recommends input method dictionary to user, user is adding During input method dictionary, user usually needs to browse more dictionary and just can find the dictionary wanted, and accordingly, there are inefficient Problem.
Summary of the invention
The purpose of the application is to propose method for adding word bank and the device of a kind of improvement, solves background above technology department Divide the technical problem mentioned.
First aspect, this application provides a kind of method for adding word bank, and described method includes: in response to on user terminal Input method application dictionary add order, from server obtain configuration data, wherein said configuration data for for preset Set of applications in each application, association stores the application identification information of this application and the input method being the theme with this application The dictionary mark of dictionary;The application installed in application identification information in described configuration data and described user terminal is carried out Join;Input method dictionary corresponding for dictionary mark associated by the application identification information that the match is successful is set to be added to described Candidate's input method dictionary of input method application.
In certain embodiments, add order described in response to the dictionary that the input method on user terminal is applied, from Before server obtains configuration data, described method includes: when installing the application of described input method on described user terminal, generate Described dictionary adds order.
In certain embodiments, described acquisition from server configures data, including: obtain from described server and be used for recording The configuration file of described configuration data;Resolve described configuration file to obtain described configuration data.
In certain embodiments, described application identification information is write when being and install application in terminal in the registration table of terminal The registry entry entered.
In certain embodiments, described will the application identification information in described configuration data and described user terminal be installed Application mate, including: by the registration in the registration table of the registry entry in described configuration data and described user terminal List item mates;Determine the registry entry that in described configuration data, the match is successful.
In certain embodiments, described set of applications includes that download time is more than the application of predetermined threshold value, or described should Include that the predetermined number selected according to download time order from more to less from each is applied is applied with set.
In certain embodiments, the application in described set of applications is game class application.
Second aspect, this application provides another method for adding word bank, and described method includes: receives from user terminal and joins Putting data acquisition request, wherein, described configuration data acquisition request is that described user terminal is in response to the word applying input method Storehouse is sent when adding order;Described configuration data are sent to described user terminal, so that described user terminal is by described Application identification information in configuration data carries out mating with the application of installation in described user terminal and by the application that the match is successful The candidate that the input method dictionary of the dictionary mark correspondence associated by identification information is set to apply to be added to described input method is defeated Entering method dictionary, wherein said configuration data are for for each application in default set of applications, and association stores this application Application identification information and the dictionary mark of input method dictionary being the theme with this application.
In certain embodiments, described set of applications includes that download time is more than the application of predetermined threshold value, or described should Include that the predetermined number selected according to download time order from more to less from each is applied is applied with set.
In certain embodiments, described method also includes: according to the application download time described set of applications of renewal, and according to Described configuration data are updated by the set of applications after renewal.
The third aspect, this application provides a kind of dictionary adding set, and described device includes: acquiring unit, is used for responding Add order in the dictionary that the input method on user terminal is applied, obtain configuration data, wherein said configuration number from server According to for for each application in default set of applications, association stores the application identification information of this application and with this application The dictionary mark of the input method dictionary being the theme;Matching unit, for by the application identification information in described configuration data and institute State the application installed in user terminal to mate;Unit is set, for by associated by the application identification information that the match is successful The input method dictionary of dictionary mark correspondence is set to the candidate's input method dictionary applied to be added to described input method.
In certain embodiments, described device also includes: signal generating unit, in response to the input on user terminal The dictionary of method application adds order, and installing described input method on described user terminal before server obtains configuration data should Used time, generate described dictionary and add order.
In certain embodiments, described acquiring unit is further used for: obtains from described server and joins described in being used for recording Put the configuration file of data;Resolve described configuration file to obtain described configuration data.
In certain embodiments, described application identification information is write when being and install application in terminal in the registration table of terminal The registry entry entered.
In certain embodiments, described matching unit is further used for: by the registry entry in described configuration data and institute The registry entry stated in the registration table of user terminal mates;Determine the registry entry that in described configuration data, the match is successful.
In certain embodiments, described set of applications includes that download time is more than the application of predetermined threshold value, or described should Include that the predetermined number selected according to download time order from more to less from each is applied is applied with set.
In certain embodiments, the application in described set of applications is game class application.
Fourth aspect, this application provides another dictionary adding set, and described device includes: receive unit, for from User terminal receives configuration data acquisition request, and wherein, described configuration data acquisition request is that described user terminal is in response to right The dictionary of input method application is sent when adding order;Transmitting element, for sending described configuration data to described user Terminal, so that described user terminal is by the application identification information in described configuration data and the application of installation in described user terminal Carry out mating and be set to wait to add by input method dictionary corresponding for the dictionary mark associated by the application identification information that the match is successful Adding to candidate's input method dictionary of described input method application, wherein said configuration data are for in default set of applications Each application, associates the application identification information storing this application and the dictionary mark of the input method dictionary being the theme with this application Know.
In certain embodiments, described set of applications includes that download time is more than the application of predetermined threshold value, or described should Include that the predetermined number selected according to download time order from more to less from each is applied is applied with set.
In certain embodiments, described device also includes: updating block, for updating described answering according to application download time With set, and according to the set of applications after updating, described configuration data are updated.
Method for adding word bank that the application provides and device, by input method dictionary that will apply to be added to input method and The application program association that user terminal is installed so that user recommended automatically in the input method dictionary using probability higher, reduces Time of user operation.
Accompanying drawing explanation
By the detailed description that non-limiting example is made made with reference to the following drawings of reading, other of the application Feature, 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 the flow chart of an embodiment of the method for adding word bank according to the application;
Fig. 3 is the data interaction schematic diagram of the method for adding word bank according to the application;
Fig. 4 is the flow chart of another embodiment of the method for adding word bank according to the application;
Fig. 5 is the structural representation of an embodiment of the dictionary adding set according to the application;
Fig. 6 is the structural representation of another embodiment of the dictionary adding set according to the application;
Fig. 7 is adapted for the structural representation of the computer system for the user terminal or server realizing the embodiment of the present application Figure.
Detailed description of the invention
With embodiment, the application is described in further detail below in conjunction with the accompanying drawings.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to this invention.It also should be noted that, in order to It is easy to describe, accompanying drawing illustrate only the part relevant to about invention.
It should be noted that in the case of not conflicting, the embodiment in the application and the feature in embodiment can phases Combination mutually.Describe the application below with reference to the accompanying drawings and in conjunction with the embodiments in detail.
Fig. 1 shows the exemplary system of the embodiment that can apply the method for adding word bank of the application or dictionary adding set System framework 100.
As it is shown in figure 1, system architecture 100 can include user terminal 101,102,103, network 104 and server 105. Network 104 is in order to provide the medium of communication link between user terminal 101,102,103 and server 105.Network 104 is permissible Including various connection types, the most wired, wireless communication link or fiber optic cables etc..
User can use user terminal 101,102,103 mutual with server 105 by network 104, to receive or to send out Send message etc..The application of various telecommunication customer end, such as input method application, net can be installed on user terminal 101,102,103 Page browsing device application etc..
User terminal 101,102,103 can be to have display screen and support to install or run the various of input method application Electronic equipment, includes but not limited to smart mobile phone, panel computer, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio frequency aspect 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio frequency aspect 4) player, knee joint Mo(u)ld top half pocket computer and desk computer etc..
Server 105 can be to provide the server of various service, such as, installed on user terminal 101,102,103 Input method application provide support background server.Server 105 can obtain request to the input method application received, join Put the process such as the data such as data acquisition request or input method dictionary acquisition request are analyzed, and result (is such as inputted Method application, configuration data or input method dictionary) feed back to user terminal 101,102,103.
It should be noted that the method for adding word bank that the application Fig. 2 correspondence embodiment is provided is typically by user terminal 101,102,103 performing, accordingly, dictionary adding set corresponding for Fig. 5 is generally positioned in user terminal 101,102,103; The method for adding word bank that the application Fig. 4 correspondence embodiment is provided typically is performed by server 105, correspondingly, and the word that Fig. 6 provides Storehouse adding set is generally positioned in server 105.
It should be understood that the number of user terminal, network and the server in Fig. 1 is only schematically.According to realizing need Want, can have any number of user terminal, network and server.
With continued reference to Fig. 2, it is shown that according to the flow process 200 of an embodiment of the method for adding word bank of the application.Described Method for adding word bank, comprise the following steps:
Step 201, adds order in response to the dictionary applying the input method on user terminal, obtains configuration from server Data.
In the present embodiment, method for adding word bank runs on electronic equipment thereon (the such as user terminal shown in Fig. 1) The dictionary that the input method on this electronic equipment is applied can be detected and add order.Wherein, this dictionary adds order can be to use Family is triggered by the operation in terminal, it is also possible to be that terminal triggers when performing other operations.In practice, Yong Huke To carry out being manually operated triggering dictionary interpolation order when dictionary expands to input method application at needs, it is also possible to by advance Configuration make input method application automatically generate dictionary add order.Electronic equipment can add order according to this dictionary and perform step 201 and subsequent step.
After detecting that above-mentioned dictionary adds order, electronic equipment can be by wired connection mode or wireless connections side Formula obtains configuration data from server.In practice, user terminal can be set up with this server in advance and be connected, thus in step Utilize the connection set up to send configuration data acquisition request in 201 and reception server returns based on configuration data acquisition request The configuration data returned.Wherein, these configuration data could be for for each application in default set of applications, association storage The application identification information of this application and the dictionary mark of input method dictionary being the theme with this application.It is pointed out that State radio connection and can include but not limited to that 3G/4G connects, WiFi connects, bluetooth connects, WiMAX connects, Zigbee connects Connect, UWB (ultra wideband) connects and other currently known or exploitation in the future radio connection.
Step 202, mates the application identification information in configuration data with the application installed in user terminal.
In the present embodiment, based on the configuration data obtained in step 201, above-mentioned electronic equipment (the such as use shown in Fig. 1 Family terminal) application identification information in configuration data can be mated with the application installed in electronic equipment.When electronics sets Standby for mobile terminals such as mobile phones time, electronic equipment can each by recorded in the application list on inquiry electronic equipment Individual application, and these application are mated with above-mentioned application identification information.
In the matching process, the application identification information that the match is successful can be recorded.Wherein, the application that the match is successful Identification information refers to that application corresponding to this application identification information has been installed on the electronic equipment.
Step 203, is arranged input method dictionary corresponding for the dictionary mark associated by the application identification information that the match is successful For the candidate's input method dictionary applied to be added to input method.
In the present embodiment, for the application identification information that in step 202, the match is successful, electronic equipment can be according to configuration In data, application identification information and the incidence relation of dictionary mark, determine the dictionary mark associated by this application identification information, and Input method dictionary corresponding to being identified by this dictionary determines the candidate's input method dictionary to be added to input method application.Determined by Candidate's input method dictionary, can be that certain way recommends user to treat that user adds the input method dictionary to input method application. Such as, candidate's input method dictionary can be the dictionary that electronic equipment is chosen automatically, and when user the most actively cancels and choosing, these are waited Select the input method dictionary that input method dictionary will be applied as follow-up interpolation to this input method.
In some optional implementations of the present embodiment, before step 201, above-mentioned method for adding word bank also perform with Lower step: when installing input method application on the subscriber terminal, generates dictionary and adds order.In this implementation, dictionary adds Order triggers when being and install input method application on the subscriber terminal.In this way, user terminal can install input Recommended suitable input method dictionary can be got final product immediately during method application, trigger input method word without extra user operation The renewal in storehouse, saves user time further.
In some optional implementations of the present embodiment, above-mentioned steps 201 obtains configuration data from server permissible Specifically include: obtain the configuration file for recording configuration data from server;Resolve configuration file to obtain configuration data.? In this implementation, configuration data can be carried in configuration file, and server is at the configuration file by carrying configuration data When sending to electronic equipment, electronic equipment can resolve configuration file, thus get carried configuration data.
In some optional implementations of the present embodiment, above-mentioned application identification information can be to install to answer in terminal The registry entry that used time writes in the registration table of terminal.When electronic equipment is personal computer, above-mentioned application identification information The registry entry of the registration table of write terminal when can be to install application in terminal.
In some optional implementations of a upper implementation, step 202 can the most specifically perform: will join The registry entry put in data mates with the registry entry in the registration table of user terminal;Determine in configuration data and mate into The registry entry of merit.In this implementation, electronic equipment can travel through registration table, by read during traversal registration table Each registry entry mates with the registry entry in configuration data respectively, so that it is determined that the registry entry that the match is successful.Its In, registry entry can serve to indicate that different application, is somebody's turn to do the registry entry that the match is successful and can be used as the application that the match is successful Identification information.
In some optional implementations of the present embodiment, above-mentioned set of applications includes that download time is more than predetermined threshold value Application, or above-mentioned set of applications includes the predetermined number that selects from each is applied according to download time order from more to less Mesh is applied.Concrete, the download time of each application can obtain from an application download platform, it is also possible to from multiple Application download platform obtains and carries out adding up, it is also possible to obtain by other means.Then, download time is more than presetting threshold Value refers to that download time reaches a certain amount of application.Such as, predetermined threshold value is 100,000, then the application of set of applications refers to download time The number application more than 100,000.Optionally, download time can be the download time in preset time period, the most nearest one month In.Select predetermined number to apply according to download time order from more to less from each is applied, then be first statistics is had under Carry the application of number of times according to download time from being ranked up less, and select pre-in the application of sort forward (quantity is more) Fixed number purpose quantity forms above-mentioned set of applications.For example, it is possible to choose previous hundred most application of download time as above-mentioned Application in set of applications.In this implementation, above-mentioned set of applications be according to download time on the basis of, from various application Carry out selecting to be determined.Due to selected be the more application of download time so that corresponding in set of applications is the hottest The application of door, so that the probability that final set candidate's input method dictionary is used to improves further.
It is the data interaction schematic diagram of the method for adding word bank according to the present embodiment with continued reference to Fig. 3, Fig. 3.In this enforcement In example, profile service device 302 may be used for storage record the configuration file of configuration data, input method dictionary server 303 may be used for storing the input method dictionary for input method application.
As it is shown on figure 3, install input method application as user by user terminal 301 and input method added in input method application During dictionary, terminal 301 can be initiated configuration file to profile service device 302 and obtain request 310, profile service device 302 after receiving configuration file and obtaining request 310, can feed back, to user terminal 301, the configuration file 320 asked. Subsequently, user terminal 301 can resolve the configuration data in configuration file, and uses according to the registry entry traversal in configuration data Registration table in family terminal 301, to determine the registry entry that the match is successful, and by the word associated by the registry entry that the match is successful Input method dictionary corresponding to the mark of storehouse is set to candidate's input method dictionary.Wait when user sends interpolation by user terminal 301 After selecting the order of input method dictionary, user terminal 301 can send input method dictionary request 330 to input method dictionary server, Input method dictionary server 303 can feed back, to user terminal 301, the input method dictionary 340 asked, will for user terminal 301 Input method dictionary adds to input method application.In practice, profile service device 302 and input method dictionary server 303 are permissible It is different servers, it is also possible to be same server.
The method that above-described embodiment of the application provides is by by the input method dictionary applied to be added to input method and use The application program association that family terminal is installed, compared to uninstalled application program, the input that mounted application program is corresponding The probability that word in method dictionary is used is higher, so that use the input method dictionary that probability is higher automatically to recommend use Family, decreases user and searches the time required for dictionary voluntarily.
With further reference to Fig. 4, it illustrates the flow process 400 of another embodiment of method for adding word bank.This dictionary adds The flow process 400 of method, comprises the following steps:
Step 401, receives configuration data acquisition request from user terminal.
In the present embodiment, method for adding word bank run on electronic equipment thereon (the such as server shown in Fig. 1) can To receive configuration data acquisition request by wired connection mode or radio connection from user terminal, wherein, configure number Sent when to be user terminal add order in response to dictionary apply input method according to the request that obtains.
Configuration data are sent to user terminal, so that user terminal is by the application identities letter in configuration data by step 402 Breath carry out mating with the application installed in user terminal and the dictionary associated by the application identification information that the match is successful is identified right The input method dictionary answered is set to the candidate's input method dictionary to be added to input method application.
In the present embodiment, based on the configuration data acquisition request received by step 401, electronic equipment can will be asked The configuration data feedback asked is to user terminal.So, user terminal can be by the application identification information in configuration data and user The application installed in terminal is mated, it is possible to by corresponding for the dictionary mark associated by the application identification information that the match is successful Input method dictionary is set to the candidate's input method dictionary to be added to input method application.Wherein configuration data are for for default Each application in set of applications, associates the application identification information storing this application and the input method word being the theme with this application The dictionary mark in storehouse.
Optionally, above-mentioned method for adding word bank is further comprising the steps of: receive that user is sent by user terminal, by time Input method dictionary is selected to add the operation requests to input method application;The candidate's input method dictionary asked is pushed to user eventually End, so that the candidate's input method dictionary received is added to input method application by user terminal.In this implementation, Yong Huke To operate at user terminal, so that user terminal sends to electronic equipment, the interpolation of candidate's input method dictionary is answered to input method Operation requests, the particular content of the candidate's input method dictionary asked can be pushed to user terminal by electronic equipment, with User terminal is made to be added to input method application by candidate's input method dictionary.
In some optional implementations of the present embodiment, above-mentioned set of applications includes that download time is more than predetermined threshold value Application, or above-mentioned set of applications includes the predetermined number that selects from each is applied according to download time order from more to less Individual application.
In some optional implementations of the present embodiment, above-mentioned Word library updating method also includes: download secondary according to application Number updates above-mentioned set of applications, and is updated above-mentioned configuration data according to the set of applications after updating.In this implementation In, the application in set of applications can be updated, and chooses the application that current time download time is higher, deletes download time relatively Low application, thus ensure that the application corresponding to candidate's input method dictionary the most to be added is the most popular, have relatively High-timeliness.
The method that above-described embodiment of the application provides is by by the input method dictionary applied to be added to input method and use The application program association that family terminal is installed so that user recommended automatically in the input method dictionary using probability higher, decreases The time of user operation.
With further reference to Fig. 5, as the realization to method shown in Fig. 2, this application provides a kind of dictionary adding set One embodiment, this device embodiment is corresponding with the embodiment of the method shown in Fig. 2, and this device specifically can apply to various use In the terminal of family.
As it is shown in figure 5, the dictionary adding set 500 described in the present embodiment includes: acquiring unit 501, matching unit 502, Unit 503 is set.Wherein, acquiring unit 501 is ordered for adding in response to the dictionary applying the input method on user terminal, Obtaining configuration data from server, wherein configuration data are for for each application in default set of applications, association storage The application identification information of this application and the dictionary mark of input method dictionary being the theme with this application;Matching unit 502 is used for Application identification information in configuration data is mated with the application installed in user terminal;Unit 503 is set for general Join input method dictionary corresponding to the mark of the dictionary associated by successful application identification information to be set to apply to be added to input method Candidate's input method dictionary.
In the present embodiment, the acquiring unit 501 of dictionary adding set 500, matching unit 502, the tool of unit 503 is set Body processes step 201, step 202 and the step 203 being referred to Fig. 2 correspondence embodiment, repeats no more here
In some optional implementations of the present embodiment, dictionary adding set 500 also includes: signal generating unit (is not shown Go out), in response to on user terminal input method apply dictionary add order, from server obtain configuration data it Before install on the subscriber terminal input method application time, generate dictionary add order.The concrete process of this implementation is referred to The corresponding implementation of Fig. 2 correspondence embodiment, repeats no more here.
In some optional implementations of the present embodiment, acquiring unit 501 is further used for: obtains from server and is used for Record the configuration file of configuration data;Resolve configuration file to obtain configuration data.The concrete process of this implementation can be joined Examine the corresponding implementation of Fig. 2 correspondence embodiment, repeat no more here.
In some optional implementations of the present embodiment, above-mentioned application identification information be in terminal install application time to The registry entry of write in the registration table of terminal.The concrete process of this implementation is referred to the corresponding of Fig. 2 correspondence embodiment Implementation, repeats no more here.
In some optional implementations of the present embodiment, matching unit 502 is further used for: by the note in configuration data Volume list item mates with the registry entry in the registration table of user terminal;Determine the registration table that in configuration data, the match is successful ?.The concrete of this implementation processes the corresponding implementation being referred to Fig. 2 correspondence embodiment, repeats no more here.
In some optional implementations of the present embodiment, above-mentioned set of applications includes that download time is more than predetermined threshold value Application, or above-mentioned set of applications includes the predetermined number that selects from each is applied according to download time order from more to less Individual application.The concrete of this implementation processes the corresponding implementation being referred to Fig. 2 correspondence embodiment, repeats no more here.
In some optional implementations of the present embodiment, the application in above-mentioned set of applications is game class application.This is real The concrete of existing mode processes the corresponding implementation being referred to Fig. 2 correspondence embodiment, repeats no more here.
With further reference to Fig. 6, as the realization to method shown in Fig. 4, this application provides a kind of dictionary adding set One embodiment, this device embodiment is corresponding with the embodiment of the method shown in Fig. 4, and this device specifically can apply to server In.
As shown in Figure 6, the dictionary adding set 600 described in the present embodiment includes: receive unit 601, transmitting element 602. Wherein, receiving unit 601, for receiving configuration data acquisition request from user terminal, wherein, configuration data acquisition request is to use Family terminal response was sent when the dictionary applying input method adds order;Transmitting element 602, for sending out configuration data Deliver to user terminal, so that the application identification information in configuration data is carried out by user terminal with the application of installation in user terminal Coupling and input method dictionary corresponding for the dictionary mark associated by the application identification information that the match is successful is set to be added to Candidate's input method dictionary of input method application, wherein configuration data are for for each application in default set of applications, close Join the application identification information storing this application and the dictionary mark of the input method dictionary being the theme with this application.
In the present embodiment, receive unit 601, the concrete process of transmitting element 602 is referred to Fig. 4 correspondence embodiment Step 401, step 402, repeat no more here.
In some optional implementations of the present embodiment, above-mentioned set of applications includes that download time is more than predetermined threshold value Application, or above-mentioned set of applications includes the predetermined number that selects from each is applied according to download time order from more to less Individual application.The concrete of this implementation processes the corresponding implementation being referred to Fig. 4 correspondence embodiment, repeats no more here.
In some optional implementations of the present embodiment, dictionary adding set 600 also includes: updating block (does not shows Go out), for updating set of applications according to application download time, and according to the set of applications after updating, configuration data are carried out more Newly.The concrete of this implementation processes the corresponding implementation being referred to Fig. 4 correspondence embodiment, repeats no more here.
Below with reference to Fig. 7, it illustrates the calculating be suitable to for the user terminal or server realizing the embodiment of the present application The structural representation of machine system 700.
As it is shown in fig. 7, computer system 700 includes CPU (CPU) 701, it can be read-only according to being stored in Program in memorizer (ROM) 702 or be loaded into the program random access storage device (RAM) 703 from storage part 708 and Perform various suitable action and process.In RAM 703, also storage has system 700 to operate required various programs and data. CPU 701, ROM 702 and RAM 703 are connected with each other by bus 704.Input/output (I/O) interface 705 is also connected to always Line 704.
It is connected to I/O interface 705: include the importation 706 of keyboard, mouse etc. with lower component;Penetrate including such as negative electrode The output part 707 of spool (CRT), liquid crystal display (LCD) etc. and speaker etc.;Storage part 708 including hard disk etc.; And include the communications portion 709 of the NIC of such as LAN card, modem etc..Communications portion 709 via such as because of The network of special net performs communication process.Driver 710 is connected to I/O interface 705 also according to needs.Detachable media 711, such as Disk, CD, magneto-optic disk, semiconductor memory etc., be arranged in driver 710, in order to read from it as required Computer program as required be mounted into storage part 708.
Especially, according to embodiment of the disclosure, the process described above with reference to flow chart may be implemented as computer Software program.Such as, embodiment of the disclosure and include a kind of computer program, it includes being tangibly embodied in machine readable Computer program on medium, described computer program comprises the program code for performing the method shown in flow chart.At this In the embodiment of sample, this computer program can be downloaded and installed from network by communications portion 709, and/or from removable Unload medium 711 to be mounted.
Flow chart in accompanying drawing and block diagram, it is illustrated that according to system, method and the computer journey of the various embodiment of the application Architectural framework in the cards, function and the operation of sequence product.In this, each square frame in flow chart or block diagram can generation One module of table, program segment or a part for code, a part for described module, program segment or code comprises one or more For realizing the executable instruction of the logic function of regulation.It should also be noted that some as replace realization in, institute in square frame The function of mark can also occur to be different from the order marked in accompanying drawing.Such as, the square frame that two succeedingly represent is actual On can perform substantially in parallel, they can also perform sometimes in the opposite order, and this is depending on involved function.Also want It is noted that the combination of the square frame in each square frame in block diagram and/or flow chart and block diagram and/or flow chart, Ke Yiyong The special hardware based system of the function or operation that perform regulation realizes, or can refer to computer with specialized hardware The combination of order realizes.
It is described in the embodiment of the present application involved unit to realize by the way of software, it is also possible to by firmly The mode of part realizes.Described unit can also be arranged within a processor, for example, it is possible to be described as: a kind of processor bag Include acquiring unit, matching unit and unit is set.Wherein, the title of these unit is not intended that under certain conditions to this unit The restriction of itself, such as, matching unit is also described as " by the application identification information in described configuration data and described use The application installed in the terminal of family carries out the unit mated ".
As on the other hand, present invention also provides a kind of nonvolatile computer storage media, this non-volatile calculating Machine storage medium can be the nonvolatile computer storage media described in above-described embodiment included in device;Can also be Individualism, is unkitted the nonvolatile computer storage media allocating in terminal.Above-mentioned nonvolatile computer storage media is deposited Contain one or more program, when one or more program is performed by an equipment so that described equipment: response Add order in the dictionary that the input method on user terminal is applied, obtain configuration data, wherein said configuration number from server According to for for each application in default set of applications, association stores the application identification information of this application and with this application The dictionary mark of the input method dictionary being the theme;Application identification information in described configuration data is pacified in described user terminal The application of dress is mated;Input method dictionary corresponding for dictionary mark associated by the application identification information that the match is successful is arranged For the candidate's input method dictionary applied to be added to described input method.Or, above-mentioned nonvolatile computer storage media stores There is one or more program, when one or more program is performed by an equipment so that described equipment: from user Terminal receives configuration data acquisition request, and wherein, described configuration data acquisition request is that described user terminal is in response to input The dictionary of method application is sent when adding order, each for in default set of applications of wherein said configuration data Application, associates the application identification information storing this application and the dictionary mark of the input method dictionary being the theme with this application;Will Described configuration data send to described user terminal, so that described user terminal is by the application identification information in described configuration data Carry out mating with the application installed in described user terminal and by the dictionary mark associated by the application identification information that the match is successful Corresponding input method dictionary is set to the candidate's input method dictionary applied to be added to described input method.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.People in the art Member should be appreciated that invention scope involved in the application, however it is not limited to the technology of the particular combination of above-mentioned technical characteristic Scheme, also should contain in the case of without departing from described inventive concept simultaneously, above-mentioned technical characteristic or its equivalent feature carry out Combination in any and other technical scheme of being formed.Such as features described above has similar merit with (but not limited to) disclosed herein The technical scheme that the technical characteristic of energy is replaced mutually and formed.

Claims (20)

1. a method for adding word bank, it is characterised in that described method includes:
Add order in response to the dictionary that the input method on user terminal is applied, obtain configuration data, Qi Zhongsuo from server State configuration data for for each application in default set of applications, association store this application application identification information and Dictionary mark with the input method dictionary that this application is the theme;
Application identification information in described configuration data is mated with the application installed in described user terminal;
Input method dictionary corresponding for dictionary mark associated by the application identification information that the match is successful is set to be added to institute State candidate's input method dictionary of input method application.
Method the most according to claim 1, it is characterised in that apply in response to the input method on user terminal described Dictionary add order, from server obtain configuration data before, described method includes:
When described user terminal is installed the application of described input method, generate described dictionary and add order.
Method the most according to claim 1, it is characterised in that described acquisition from server configures data, including:
The configuration file for recording described configuration data is obtained from described server;
Resolve described configuration file to obtain described configuration data.
Method the most according to claim 1, it is characterised in that when described application identification information is to install application in terminal The registry entry of write in the registration table of terminal.
Method the most according to claim 4, it is characterised in that described by the application identification information in described configuration data with The application installed in described user terminal is mated, including:
Registry entry in described configuration data is mated with the registry entry in the registration table of described user terminal;
Determine the registry entry that in described configuration data, the match is successful.
Method the most according to claim 1, it is characterised in that described set of applications includes that download time is more than predetermined threshold value Application, or described set of applications includes the predetermined number that selects from each is applied according to download time order from more to less Mesh is applied.
Method the most according to claim 1, it is characterised in that the application in described set of applications is game class application.
8. a method for adding word bank, it is characterised in that described method includes:
Receiving configuration data acquisition request from user terminal, wherein, described configuration data acquisition request is that described user terminal rings The dictionary that input method is applied by Ying Yu is sent when adding order;
Described configuration data are sent to described user terminal, so that described user terminal is by the application mark in described configuration data Knowledge information carries out mating with the application installed in described user terminal and by the word associated by the application identification information that the match is successful Input method dictionary corresponding to storehouse mark is set to the candidate's input method dictionary applied to be added to described input method, wherein said joins Putting data for for each application in default set of applications, association stores the application identification information of this application and with this The dictionary mark of the input method dictionary that application is the theme.
Method the most according to claim 8, it is characterised in that described set of applications includes that download time is more than predetermined threshold value Application, or described set of applications includes the predetermined number that selects from each is applied according to download time order from more to less Mesh is applied.
Method the most according to claim 9, it is characterised in that described method also includes:
Update described set of applications according to application download time, and according to the set of applications after updating, described configuration data are carried out Update.
11. 1 kinds of dictionary adding sets, it is characterised in that described device includes:
Acquiring unit, for adding order in response to the dictionary applying the input method on user terminal, obtains from server and joins Putting data, wherein said configuration data are for for each application in default set of applications, and association stores answering of this application By identification information and the dictionary mark of input method dictionary that is the theme with this application;
Matching unit, for carrying out the application identification information in described configuration data with the application of installation in described user terminal Coupling;
Unit is set, for being arranged by input method dictionary corresponding for the dictionary mark associated by the application identification information that the match is successful For the candidate's input method dictionary applied to be added to described input method.
12. devices according to claim 11, it is characterised in that described device also includes:
Signal generating unit, for adding order in response to the dictionary applying the input method on user terminal, obtains from server When the application of described input method is installed before configuration data on described user terminal, generates described dictionary and add order.
13. devices according to claim 11, it is characterised in that described acquiring unit is further used for:
The configuration file for recording described configuration data is obtained from described server;
Resolve described configuration file to obtain described configuration data.
14. devices according to claim 11, it is characterised in that described application identification information is to install application in terminal Time in the registration table of terminal write registry entry.
15. devices according to claim 14, it is characterised in that described matching unit is further used for:
Registry entry in described configuration data is mated with the registry entry in the registration table of described user terminal;
Determine the registry entry that in described configuration data, the match is successful.
16. devices according to claim 11, it is characterised in that described set of applications includes that download time is more than default threshold The application of value, or described set of applications include from each is applied according to download time order from more to less select predetermined Number is applied.
17. devices according to claim 11, it is characterised in that the application in described set of applications is game class application.
18. 1 kinds of dictionary adding sets, it is characterised in that described device includes:
Receiving unit, for receiving configuration data acquisition request from user terminal, wherein, described configuration data acquisition request is institute Sent when stating user terminal in response to the dictionary interpolation order that input method is applied;
Transmitting element, for sending described configuration data to described user terminal, so that described user terminal is by described configuration Application identification information in data carries out mating with the application installed in described user terminal and by the application identities that the match is successful The input method dictionary of the dictionary mark correspondence associated by information is set to the candidate's input method applied to be added to described input method Dictionary, wherein said configuration data are for for each application in default set of applications, and association stores the application of this application Identification information and the dictionary mark of input method dictionary being the theme with this application.
19. devices according to claim 18, it is characterised in that described set of applications includes that download time is more than default threshold The application of value, or described set of applications include from each is applied according to download time order from more to less select predetermined Number is applied.
20. devices according to claim 19, it is characterised in that described device also includes:
Updating block, for updating described set of applications according to application download time, and according to the set of applications after updating to institute State configuration data to be updated.
CN201610500060.9A 2016-06-29 2016-06-29 Method for adding word bank and device Active CN106201010B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610500060.9A CN106201010B (en) 2016-06-29 2016-06-29 Method for adding word bank and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610500060.9A CN106201010B (en) 2016-06-29 2016-06-29 Method for adding word bank and device

Publications (2)

Publication Number Publication Date
CN106201010A true CN106201010A (en) 2016-12-07
CN106201010B CN106201010B (en) 2019-03-08

Family

ID=57463083

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610500060.9A Active CN106201010B (en) 2016-06-29 2016-06-29 Method for adding word bank and device

Country Status (1)

Country Link
CN (1) CN106201010B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933801A (en) * 2017-02-13 2017-07-07 北京奇虎科技有限公司 The update method and device of a kind of dictionary
CN109543177A (en) * 2018-10-19 2019-03-29 中国平安人寿保险股份有限公司 Message data processing method, device, computer equipment and storage medium
CN113010665A (en) * 2019-12-20 2021-06-22 北京搜狗科技发展有限公司 Word processing method and related device
CN113761170A (en) * 2020-09-15 2021-12-07 北京沃东天骏信息技术有限公司 Method and device for updating corpus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101149757A (en) * 2007-11-09 2008-03-26 腾讯科技(深圳)有限公司 Method for accomplishing scene style word input
CN101373468A (en) * 2007-08-20 2009-02-25 北京搜狗科技发展有限公司 Method for loading word stock, method for inputting character and input method system
CN101571758A (en) * 2009-06-04 2009-11-04 腾讯科技(深圳)有限公司 Input method system, method and device thereof
CN101710325A (en) * 2009-12-03 2010-05-19 腾讯科技(深圳)有限公司 Method for loading input method word bank, method for inputting characters and input method system
CN102346743A (en) * 2010-08-02 2012-02-08 腾讯科技(深圳)有限公司 Method and device for generating candidate words
CN102375746A (en) * 2010-08-11 2012-03-14 腾讯科技(深圳)有限公司 Method and device for enabling input method to self-adapt to application program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101373468A (en) * 2007-08-20 2009-02-25 北京搜狗科技发展有限公司 Method for loading word stock, method for inputting character and input method system
CN101149757A (en) * 2007-11-09 2008-03-26 腾讯科技(深圳)有限公司 Method for accomplishing scene style word input
CN101571758A (en) * 2009-06-04 2009-11-04 腾讯科技(深圳)有限公司 Input method system, method and device thereof
CN101710325A (en) * 2009-12-03 2010-05-19 腾讯科技(深圳)有限公司 Method for loading input method word bank, method for inputting characters and input method system
CN102346743A (en) * 2010-08-02 2012-02-08 腾讯科技(深圳)有限公司 Method and device for generating candidate words
CN102375746A (en) * 2010-08-11 2012-03-14 腾讯科技(深圳)有限公司 Method and device for enabling input method to self-adapt to application program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933801A (en) * 2017-02-13 2017-07-07 北京奇虎科技有限公司 The update method and device of a kind of dictionary
CN106933801B (en) * 2017-02-13 2021-02-05 北京安云世纪科技有限公司 Word stock updating method and device
CN109543177A (en) * 2018-10-19 2019-03-29 中国平安人寿保险股份有限公司 Message data processing method, device, computer equipment and storage medium
CN109543177B (en) * 2018-10-19 2022-04-12 中国平安人寿保险股份有限公司 Message data processing method and device, computer equipment and storage medium
CN113010665A (en) * 2019-12-20 2021-06-22 北京搜狗科技发展有限公司 Word processing method and related device
CN113761170A (en) * 2020-09-15 2021-12-07 北京沃东天骏信息技术有限公司 Method and device for updating corpus

Also Published As

Publication number Publication date
CN106201010B (en) 2019-03-08

Similar Documents

Publication Publication Date Title
CN106372059A (en) Information input method and information input device
CN106201010A (en) Method for adding word bank and device
CN105701122A (en) Log collection method, apparatus and system
CN104866522A (en) Method and device for providing answer information for questioner
CN106227786A (en) Method and apparatus for pushed information
CN106407381B (en) A kind of method and apparatus of the pushed information based on artificial intelligence
CN106031127A (en) Method and device for the management of applications
CN108229704A (en) For the method and apparatus of pushed information
CN107731229A (en) Method and apparatus for identifying voice
CN105573587B (en) A kind of method and device of management of icons
CN105867714A (en) Application downloading method, apparatus and system
CN105302925A (en) Method and device for pushing voice search data
CN106909447B (en) Background application processing method and device and terminal
US9451423B2 (en) Method and apparatus for recording information during a call
CN108804433A (en) Information-pushing method and device
CN109542551A (en) Application icon display methods, device, equipment and medium
CN106067897A (en) Information-pushing method based on user terminal location and device
CN105677697A (en) Method for providing point of interest and electronic device thereof
CN107391277A (en) Information processing method and device
CN105095370A (en) Information push method, device and system for expansion application
CN106326486A (en) Method of information push based on artificial intelligence and device thereof
CN114244896A (en) Message pushing method and device, electronic equipment and storage medium
CN106372158A (en) Method and device for processing user behavior data
CN105224870A (en) Suspected virus applies the method and apparatus uploaded
CN105373310B (en) Method and apparatus based on the user's operation real-time update page

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