CN110399046A - The processing method of candidate item, device, equipment and storage medium in input method - Google Patents
The processing method of candidate item, device, equipment and storage medium in input method Download PDFInfo
- Publication number
- CN110399046A CN110399046A CN201910471289.8A CN201910471289A CN110399046A CN 110399046 A CN110399046 A CN 110399046A CN 201910471289 A CN201910471289 A CN 201910471289A CN 110399046 A CN110399046 A CN 110399046A
- Authority
- CN
- China
- Prior art keywords
- candidate item
- input
- information
- user
- dictionary
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements 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/0233—Character input methods
- G06F3/0236—Character input methods using selection techniques to select from displayed items
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements 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/0233—Character input methods
- G06F3/0237—Character input methods using prediction or retrieval techniques
Abstract
Whether the application belongs to field of information security technology, is related to the processing method of candidate item, device, equipment and storage medium in input method, including judging user in public environment when receiving the instruction for opening input method input interface;If not carrying out authentication to active user in public environment;If being verified, when receiving the input information of user in input interface, according to the input information of the user with retrieved in the associated local dictionary of current input method and public dictionary, it obtains and shows that the related information with the candidate item of input information matches and candidate item, local dictionary carry the sensitive information of user;If not passing through in public environment or verifying, when receiving the input information of user in input interface, according to input information with retrieved in the associated public dictionary of current input method, obtain and show with input information matches candidate item and candidate item related information.The leakage of individual privacy information caused by the application can be avoided because of input method.
Description
Technical field
This application involves the processing method of candidate item in field of information security technology more particularly to a kind of input method, device,
Computer equipment and storage medium.
Background technique
Input method is the higher application of frequency of use in intelligent terminal, and nearly all application for needing character input will make
Use input method.In order to facilitate user's input, input method application software would generally provide following association's recommendation function:
1, in the input information for receiving user, reading terminals phone directory contact information, to input certain as user
When a surname, auto-associating and it can show and take the information of this surname in phone directory out of;
2, the use habit of user is recorded, such as certain characters are users from making, then can automatically record, and quick for user
It calls;
3, the common word of user is ranked up, candidate word is successively sorted according to the height of user's frequency of use and is shown
Show.
In practical application, although above-mentioned function facilitates user to input, but since user often refers in use
Input of some individual privacy informations, such as name, the address of input etc., if user mobile phone lent other people in use,
When other people, which start input method application software, carries out input operation, input method application software can also be carried out according to the input of user
The association of word is easy for together recalling the individual privacy information of terminal user at this time, causes the leakage of individual subscriber privacy.
Summary of the invention
The purpose of the embodiment of the present application is to propose in a kind of input method that the processing method of candidate item, device, computer are set
Standby and storage medium is easy to believe the individual privacy of terminal user to solve prior art input method when carrying out word association
The problem of breath recalls together, causes the leakage of individual subscriber privacy.
In order to solve the above-mentioned technical problem, the embodiment of the present application provides the processing method of candidate item in input method, including such as
Lower step:
When receiving the instruction for opening input method input interface, judge user whether in public environment;
If not carrying out authentication to active user in public environment;
If being verified, when receiving the input information of user in input interface, existed according to the input information of the user
It is retrieved with the associated local dictionary of current input method and public dictionary, obtained and shows the candidate with input information matches
The related information of item and candidate item, the local dictionary carry the sensitive information of user;
If public environment or verifying do not pass through, when receiving the input information of user in input interface, according to input
Information with retrieved in the associated public dictionary of current input method, obtain and show with input information matches candidate item and
The related information of candidate item.
Further, whether the step judges user in public affairs when receiving the instruction for opening input method input interface
Altogether before environment, further includes:
The dictionary of input method is classified as local dictionary and public dictionary;
The incidence relation of identity information and local dictionary is established, the identity information is used to carry out authentication to user.
Further, when the step receives the input information of user in input interface, according to the input of the user
Information with retrieved, obtained and shown and input information matches in the associated local dictionary of current input method and public dictionary
Candidate item and candidate item related information, after the local dictionary carries the sensitive information of user, the method also includes:
Judge whether to store candidate item selected by user in local dictionary or word that related information is constituted, short sentence or
Other information;
If so, the access times of the candidate item or related information are added 1;
It otherwise, will be in the word, short sentence or other information the deposit local dictionary.
Further, the input information according to the user with the associated local dictionary of current input method and public
After the step of being retrieved in dictionary, obtaining and show the related information with the candidate item of input information matches and candidate item,
The method also includes:
Judge whether user is moved to public environment;
If being moved to the public environment, when receiving the input information of user in input interface, existed according to input information
It is retrieved with the associated public dictionary of current input method, obtained and shows the candidate item and candidate item with input information matches
Related information.
Further, when the step receives the input information of user in input interface, according to input information with work as
It is retrieved in the preceding associated public dictionary of input method, obtained and shows the pass with the candidate item of input information matches and candidate item
After joining information, the method also includes:
Judge whether to store candidate item selected by user in public dictionary or word that related information is constituted, short sentence or
Other information;
If so, the access times of the candidate item or related information are added 1;
Otherwise, the word, short sentence or other information are stored in the public dictionary.
Further, when the step receives the input information of user in input interface, according to the input of the user
Information with retrieved, obtained and shown and input information matches in the associated local dictionary of current input method and public dictionary
Candidate item and candidate item related information, the local dictionary carries the sensitive information of user and step connects in input interface
Receive user input information when, according to input information with retrieved in the associated public dictionary of current input method, obtain simultaneously
Display obtains with the candidate item of input information matches and the related information of candidate item and shows the candidate with input information matches
The related information of item and candidate item, comprising:
The candidate item of input information matches and the related information of candidate item are obtained, and reads the candidate item and the association
The access times of information;
Show the related information of candidate item and candidate item in order according to the height of the access times.
Further, whether the step judges user in public affairs when receiving the instruction for opening input method input interface
Altogether in environment, judge user whether in public environment, comprising:
Obtain the environmental sound signal of external environment;
The environmental sound signal is compared with preset threshold values;
If the value of the environmental sound signal is greater than the threshold value, determine user in public environment.
In order to solve the above-mentioned technical problem, the embodiment of the present application also provides a kind of processing unit of candidate item in input method,
Using technical solution as described below:
Whether environment judgment module judges user public when for receiving the instruction for opening input method input interface
Environment;
Authentication module, for the judging result in the judgment module be it is no when, to active user carry out identity test
Card;
Retrieval module, for when being verified, according to the input information of the user associated with current input method
It is retrieved in all dictionaries, obtains the related information with the candidate item of the input information matches and candidate item, or also use
Be to be or when authentication does not pass through in the judging result in the environment judgment module, according to input information with it is current defeated
Enter and retrieved in the associated public dictionary for not being related to individual privacy of method, is obtained and the candidate item of input information matches and candidate
The related information of item;
Display module, the pass with the candidate item and candidate item that input information matches obtained for showing the retrieval module
Join information.
In order to solve the above-mentioned technical problem, the embodiment of the present application also provides a kind of computer equipment, including memory and place
Device is managed, computer program is stored in the memory, the processor is realized as described above when executing the computer program
Input method in candidate item processing method the step of.
In order to solve the above-mentioned technical problem, the embodiment of the present application also provides a kind of computer readable storage medium, uses
Technical solution as described below:
Computer program is stored on the computer readable storage medium, when the computer program is executed by processor
The step of realizing the processing method of candidate item in foregoing input method.
Compared with prior art, the embodiment of the present application mainly have it is following the utility model has the advantages that
First environment is judged when user opens input interface equipped with multiple dictionaries, then identity is carried out to user and is tested
Card, can just be associated with according to the input information of user from current input method only in not common environment and when passing through authentication
Local dictionary and public dictionary in retrieved, otherwise can only with examined in the associated public dictionary of current input method
Rope avoids the leakage of individual privacy information in the case where guaranteeing normal use input method.
Detailed description of the invention
It, below will be to needed in the embodiment of the present application description in order to illustrate more clearly of the scheme in the application
Attached drawing makees a simple introduction, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present application, for this field
For those of ordinary skill, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is that this application can be applied to exemplary system architecture figures therein;
The flow chart of the one embodiment for the method that Fig. 2 is protected according to the individual privacy information of the application;
Fig. 3 is a kind of flow chart of specific embodiment of step S203 in Fig. 2;
Fig. 4 is a kind of flow chart of specific embodiment of step S204 in Fig. 2;
Fig. 5 is the structural schematic diagram of one embodiment of the processing unit of candidate item in the input method according to the application;
Fig. 6 is the structural schematic diagram according to one embodiment of the computer equipment of the application.
Specific embodiment
Unless otherwise defined, all technical and scientific terms used herein and the technical field for belonging to the application
The normally understood meaning of technical staff is identical;It is specific that description is intended merely in the term used in the description of application herein
Embodiment purpose, it is not intended that in limitation the application;The description and claims of this application and above-mentioned Detailed description of the invention
In term " includes " and " having " and their any deformation, it is intended that cover and non-exclusive include.The application's says
Bright book and claims or term " first " in above-mentioned attached drawing, " second " etc. rather than are used for distinguishing different objects
In description particular order.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
In order to make those skilled in the art more fully understand application scheme, below in conjunction with attached drawing, to the application reality
The technical solution applied in example is clearly and completely described.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104 and server 105.
Network 104 between terminal device 101,102,103 and server 105 to provide the medium of communication link.Network 104 can be with
Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 101,102,103 and be interacted by network 104 with server 105, to receive or send out
Send message etc..Various telecommunication customer end applications can be installed, such as web browser is answered on terminal device 101,102,103
With, shopping class application, searching class application, instant messaging tools, mailbox client, social platform software etc..
Terminal device 101,102,103 can be the various electronic equipments with display screen and supported web page browsing, packet
Include but be not limited to smart phone, tablet computer, E-book reader, MP3 player (Moving Picture Experts
Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture
Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) it is player, on knee portable
Computer and desktop computer etc..
Server 105 can be to provide the server of various services, such as to showing on terminal device 101,102,103
The page provides the background server supported.
It should be noted that the processing method of candidate item is generally set by terminal in input method provided by the embodiment of the present application
Standby to execute, correspondingly, the processing unit of candidate item is generally positioned in terminal device in input method.
It should be understood that the number of terminal device, network and server in Fig. 1 is only schematical.According to realization need
It wants, can have any number of terminal device, network and server.
With continued reference to Fig. 2, the stream of one embodiment of the method according to the protection of the individual privacy information of the application is shown
Cheng Tu.The processing method of candidate item in the input method, comprising the following steps:
Step 201, when receive open input method input interface instruction when, judge user whether in public environment, if
It is to execute step 204, otherwise, executes step 202.
In the present embodiment, judge that user, can be with the following method whether in public environment:
Obtain the environmental sound signal of external environment;
The environmental sound signal is compared with preset threshold values;
If the value of the environmental sound signal is greater than the threshold value, determine user in public environment.
For example, a sound transducer can be set at the terminal, for acquiring environmental sound signal (such as noise signal),
When the value of environmental sound signal is greater than preset threshold value, it can be assumed that user is in public environment.
Step 202 carries out authentication to active user, executes step 203 if being verified, otherwise, executes step
204。
In practical application, timer can be opened, in preset duration, again after this authentication passes through
When receiving unlatching interface of input method, it can not have to carry out authentication and directly execute step 203, and when being more than default
It is long, when receiving unlatching interface of input method again, needs to carry out authentication again, can be tested in this way to avoid frequent identity
The excessive problem of system-computed amount caused by demonstrate,proving.
It is of course also possible to all carry out one-time authentication when user opens interface of input method each time.
In the present embodiment, can in several ways to user carry out authentication, as face verification, password authentification,
Fingerprint authentication, voice authentication, graphic verification etc..
When face recognition is used for authentication, verification method includes:
It opens front camera and obtains the face-image of active user;
The face-image of acquisition is handled, facial characteristics is extracted.
Extracting facial characteristics can be using geometrical measurers (such as Euclidean distance, curve, angle), algebraic characteristic method (such as
Matrix character vector), fixed character template, eigenfaces, moire pattern etc..
In practical application, due to the influence of the factors such as extraneous illumination condition, there may be fuzzy, right for the face-image of acquisition
Or area grayscale lower than degree is uneven etc., in order to improve picture quality, guarantees the validity of special zone feature, can extract face
(such as noise reduction process, image normalization are handled) is pre-processed to the image of acquisition before feature, with improving image quality.
The facial characteristics of acquisition and pre-stored facial characteristics are subjected to similarity-rough set.
If similarity is greater than or equal to preset value, it is determined that be verified.
When using password authentification, verification method includes:
User is prompted to input password.
The password for receiving user's input, the password of input is compared with the password prestored, if the two is identical,
Determination is verified.
When using fingerprint authentication, verification method includes:
User is prompted to input fingerprint.
Obtain the finger print information of fingerprint sensor acquisition.
Obtain fingerprint characteristic in finger print information.
The fingerprint characteristic that will acquire is compared with the fingerprint characteristic prestored, if two kinds of similarities are more than preset value, really
Surely it is verified.
When using voice authentication, verification method includes:
Microphone is opened, and user is prompted to carry out voice authentication.
Obtain the voice messaging of microphone acquisition.
In the corresponding sound waveform of voice messaging, vocal print feature is extracted.
Sound waveform and the sound waveform prestored are subjected to Waveform Matching, by vocal print feature and the standard vocal print feature prestored
Carry out characteristic matching;
If Waveform Matching and characteristic matching all successful match, are verified.
Step 203, in input interface receive user input information when, according to the input information of the user with work as
Retrieved in the associated local dictionary of preceding input method and public dictionary, obtain and show with the candidate item of input information matches and
The related information of candidate item, the local dictionary carry the sensitive information of user.
Referring to Fig. 3, step 203 may include following process in the present embodiment:
S301, the input information for receiving user.
In practical application, input information can include but is not limited to following several characters:
1, phonetic or first letter of pinyin, such as input " jiating " or " JT ";
2, stroke, symbol;
3, English word.
Wherein, the character types for inputting information can be determined according to the input method application that user selects.
S302, according to input information with retrieved in the associated all dictionaries of current input method, obtain with the input
The candidate item of information matches and the related information of candidate item.
In the present embodiment, all dictionaries include local dictionary and public dictionary.
Public dictionary is the initial word repertorie of current input method, which always can download to end from server in advance
End, and can periodically be updated, common network neologisms are added.
In the present embodiment, terminal device can be received by wired connection mode or radio connection to server
Request updates public dictionary.It should be pointed out that above-mentioned radio connection can include but is not limited to 3G/4G connection, WiFi
Connection, bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection and other it is currently known or
The radio connection of exploitation in the future.
Local dictionary includes personal dictionary and/or terminal local information, and personal dictionary is used to store word of the user from wound,
Terminal local information includes the information of the application program storage of terminal.
In practical application, input method successfully install after can request reading terminals local information, as in address list name,
Telephone number etc. can be with searching terminal local information if the request is licensed.
In practical application, the application program for allowing local dictionary to read information can also be preset, such as QQ, wechat, postal
Part etc..It is also required to carry out authentication to user at this time, and just user is allowed to carry out relevant operation when being verified.
Either local dictionary or public dictionary are all stored with the corresponding relationship of input information and candidate item.Such as phonetic
" ren " corresponding candidate item is " people, appoint, bear ... ", the corresponding candidate item of phonetic " renmin " be " people, people, appoint,
It is quick ... ".
The related information of candidate item may include with the associated word of candidate item, short sentence etc. and other with candidate to relevant
Information, these related informations inquire acquisition according to candidate item from local dictionary and public dictionary.
For example, related information includes " people, people " etc. if candidate item is " people ".
Another example is: related information includes personal information relevant to " Zhang San ", such as phone if candidate item is " Zhang San "
Number, address, company etc., these related informations are generally stored inside in address list.
In the present embodiment, if the verification passes, candidate item and related information can be from public dictionaries and local dictionary
Inquiry obtains;If verifying does not pass through, candidate item and its related information are just merely able to inquire from public dictionary and obtain.
The related information of S303, display candidate item and candidate item.
In practical application, which may include:
The candidate item of input information matches and the related information of candidate item are obtained, and reads the candidate item and the association
The access times of information;
Show the related information of candidate item and candidate item in order according to the height of the access times.
At this point, if input " zhangsan ", due to that can be inquired from local dictionary, if stored in address list
The phone of Zhang San and address, then the candidate item and related information that show at this time just include the " phone number of " Zhang San ", Zhang San
At least one of in code ", " address " of Zhang San.
S304, it receives the selection instruction for candidate item and determines the candidate item or association of user's selection according to selection instruction
Information.
S305, the input position for indicating determining candidate item or related information write cursor.
S306, judge whether to store candidate item selected by user in personal dictionary or word that related information is constituted,
Otherwise short sentence or other information, execute step S308 if so, executing step S307.
The access times of the candidate item or related information are added 1 by S307.
The word, short sentence or other information are stored in personal dictionary by S308.
In the present solution, the purpose that the access times of the candidate item of user's selection or related information are added 1 is to count this
The frequency of use of candidate item or related information, arrangement when determining that it occurs next time in other candidate items and related information
Sequentially.
Step 204 when the input information of reception user, is closed according to input information with current input method in input interface
It is retrieved in the public dictionary of connection, obtained and shows the related information with the candidate item of input information matches and candidate item.
Referring to Fig. 4, step 204 may include following process in the present embodiment:
S401, the input information for receiving user.
S402, according to input information with retrieved in the associated specified dictionary of current input method, obtain with input believe
Cease the related information of matched candidate item and candidate item.
Specifically, the specified dictionary can be defaulted as being public dictionary, it is preassigned to be also possible to Terminal owner
Other dictionaries.
The related information of S403, display candidate item and candidate item.
At this point, the word in local dictionary does not appear in candidate item due to only being inquired in public dictionary
And in relation information.
Still for inputting information and be " zhangsan ", if not including name in public dictionary, and do not have
" zhangsan " corresponding word, the candidate item and related information of display are only " grow, rise, chapter ... " etc., are selected in user
After the corresponding word of first phonetic " zhang ", the corresponding candidate item of phonetic " san " is then shown.
It can be seen that the name and its personal information of " Zhang San " that stores in phone directory will not all be associated display.
Likewise, the word of wound certainly of user will not be associated with display in personal dictionary.
The problem of can effectively preventing individual privacy caused by association's recommendation function of input method from revealing in this way.
S404, it receives the selection instruction for candidate item and determines the candidate item or association of user's selection according to selection instruction
Information.
S405, the input position for indicating determining candidate item or related information write cursor.
S406, judge whether to store candidate item selected by user in public dictionary or word that related information is constituted,
Otherwise short sentence or other information, execute step S408 if so, executing step S407.
S407, the access times of the candidate item or related information are added 1.
S408, the word, short sentence or other information are stored in public dictionary.
In the present embodiment, before step S201, this method can also include the following steps:
Receive privacy settings instruction.
Display setting window, instructs unlatching/closing input method privacy according to the unlatching of user's input/closing secret protection
Defencive function, and step S201 is executed after the privacy protection function for opening input method.
Specifically, can also provide priority assignation option in setting window, it is defeated that operation can be arranged by the option in user
Enter the application program that method reads information.
In the present embodiment, before step S201, this method can also include the following steps:
The dictionary of input method is classified as local dictionary and public dictionary;
The incidence relation of identity information and local dictionary is established, the identity information is used to carry out authentication to user.
In practical application, identity information may include that face information, numerical ciphers, finger print information, acoustic information, figure are close
Code etc..
The processing method of candidate item in the input method of the present embodiment is equipped with multiple dictionaries, when user opens input interface,
First environment is judged, then authentication is carried out to user, only in not common environment and passes through authentication Shi Caihui
It is retrieved from the associated local dictionary of current input method and public dictionary according to the input information of user, it otherwise can only be
It is retrieved, is avoided in the case where guaranteeing normal use input method personal hidden with the associated public dictionary of current input method
The leakage of personal letter breath.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, which can be stored in a computer-readable storage and be situated between
In matter, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, storage medium above-mentioned can be
The non-volatile memory mediums such as magnetic disk, CD, read-only memory (Read-Only Memory, ROM) or random storage note
Recall body (Random Access Memory, RAM) etc..
It should be understood that although each step in the flow chart of attached drawing is successively shown according to the instruction of arrow,
These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
Execution there is no stringent sequences to limit, can execute in the other order.Moreover, at least one in the flow chart of attached drawing
Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps
Completion is executed, but can be executed at different times, execution sequence, which is also not necessarily, successively to be carried out, but can be with other
At least part of the sub-step or stage of step or other steps executes in turn or alternately.
With further reference to Fig. 5, as the realization to method shown in above-mentioned Fig. 2, this application provides wait in a kind of input method
One embodiment of the processing unit of option, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, and the device is specific
It can be applied in various electronic equipments.
As shown in figure 5, the processing unit 500 of candidate item includes: in input method described in the present embodiment
Whether environment judgment module 501 judges user in public affairs when for receiving the instruction for opening input method input interface
Environment altogether;
Authentication module 502, for the judging result in the judgment module be it is no when, to active user carry out identity
Verifying;
Retrieval module 503, for being associated with current input method according to the input information of the user when being verified
All dictionaries in retrieved, obtain with it is described input information matches candidate item and candidate item related information, or also
Be to be or when authentication does not pass through for the judging result in the environment judgment module, according to input information with it is current
Input method is associated not to be related to being retrieved in the public dictionary of individual privacy, obtains candidate item and time with input information matches
The related information of option;
Display module 504, the candidate item and candidate item with input information matches obtained for showing the retrieval module
Related information.
In the present embodiment, all dictionaries include local dictionary and public dictionary is the initial word of current input method
Library, which always can download to terminal from server in advance, and can periodically be updated, common network is added
Neologisms.
Environment judgment module 501 includes voice signal acquisition submodule, judging submodule, in which:
Voice signal acquisition submodule, for obtaining the environmental sound signal of external environment;
Judging submodule, for the environmental sound signal to be compared with preset threshold values, and in the ambient sound
When the value of sound signal is greater than the threshold value, determine user in public environment.
In the present embodiment, terminal device can be received by wired connection mode or radio connection to server
Request updates public dictionary.It should be pointed out that above-mentioned radio connection can include but is not limited to 3G/4G connection, WiFi
Connection, bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection and other it is currently known or
The radio connection of exploitation in the future.
Local dictionary includes personal dictionary and/or terminal local information, and personal dictionary is used to store word of the user from wound,
Terminal local information includes the information of the application program storage of terminal.
In practical application, input method successfully install after can request reading terminals local information, as in address list name,
Telephone number etc. can be with searching terminal local information if the request is licensed.
In the present embodiment, the retrieval module 500 further includes input module:
The receiving module is also used to receive the selection instruction of user's input;
The input module, for determining the candidate item or related information of user's selection according to the selection instruction, and will
The input position of candidate item or related information the write cursor instruction of the determination.
In the present embodiment, in the input method candidate item processing unit 500 further include:
Word judgment module, for being shown and the time of the input information matches in the display module after being verified
After option and the related information of candidate item, candidate item or related information that user's selection whether is stored in local dictionary are judged
Word, short sentence or the other information of composition;
Counting module, for when the judgment result is yes adding the access times of the word, short sentence or other information
1;
Memory module, for when the judgment result is No, the word, short sentence or other information being stored in the local word
In library.
Alternatively, the word judgment module, is also used to show and the input when verifying does not pass through in the display module
After the candidate item of information matches and the related information of candidate item, the candidate that user's selection whether is stored in public dictionary is judged
Word, short sentence or the other information that item or related information are constituted;
Counting module, for when the judgment result is yes adding the access times of the word, short sentence or other information
1;
Memory module, for when the judgment result is No, the word, short sentence or other information being stored in the public word
In library.
In the present embodiment, the authentication module is also used to through face verification, password authentification, fingerprint authentication, sound
One of sound verifying or graphic verification carry out authentication to the active user.
The processing unit of candidate item in the input method of the present embodiment is equipped with multiple dictionaries, when user opens input interface,
First environment is judged, then authentication is carried out to user, only in not common environment and passes through authentication Shi Caihui
It is retrieved from the associated local dictionary of current input method and public dictionary according to the input information of user, it otherwise can only be
It is retrieved, is avoided in the case where guaranteeing normal use input method personal hidden with the associated public dictionary of current input method
The leakage of personal letter breath.
In order to solve the above technical problems, the embodiment of the present application also provides computer equipment.It is this referring specifically to Fig. 6, Fig. 6
Embodiment computer equipment basic structure block diagram.
The computer equipment 6 includes that connection memory 61, processor 62, network interface are in communication with each other by system bus
63.It should be pointed out that the computer equipment 6 with component 61-63 is illustrated only in figure, it should be understood that simultaneously should not
Realistic to apply all components shown, the implementation that can be substituted is more or less component.Wherein, those skilled in the art of the present technique
It is appreciated that computer equipment here is that one kind can be automatic to carry out numerical value calculating according to the instruction for being previously set or storing
And/or the equipment of information processing, hardware include but is not limited to microprocessor, specific integrated circuit (Application
Specific Integrated Circuit, ASIC), programmable gate array (Field-Programmable Gate
Array, FPGA), digital processing unit (Digital Signal Processor, DSP), embedded device etc..
The computer equipment can be the calculating such as desktop PC, notebook, palm PC and cloud server and set
It is standby.The computer equipment can carry out people by modes such as keyboard, mouse, remote controler, touch tablet or voice-operated devices with user
Machine interaction.
The memory 61 include at least a type of readable storage medium storing program for executing, the readable storage medium storing program for executing include flash memory,
Hard disk, multimedia card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random are visited
It asks memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), may be programmed read-only deposit
Reservoir (PROM), magnetic storage, disk, CD etc..In some embodiments, the memory 61 can be the computer
The internal storage unit of equipment 6, such as the hard disk or memory of the computer equipment 6.In further embodiments, the memory
61 are also possible to the plug-in type hard disk being equipped on the External memory equipment of the computer equipment 6, such as the computer equipment 6,
Intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash
Card) etc..Certainly, the memory 61 can also both including the computer equipment 6 internal storage unit and also including outside it
Portion stores equipment.In the present embodiment, the memory 61 is installed on the operating system of the computer equipment 6 commonly used in storage
With types of applications software, such as in input method the processing method of candidate item program code etc..In addition, the memory 61 may be used also
For temporarily storing the Various types of data that has exported or will export.
The processor 62 can be in some embodiments central processing unit (Central Processing Unit,
CPU), controller, microcontroller, microprocessor or other data processing chips.The processor 62 is commonly used in the control meter
Calculate the overall operation of machine equipment 6.In the present embodiment, the processor 62 is for running the program generation stored in the memory 61
Code or processing data, such as run the program code of the processing method of candidate item in the input method.
The network interface 63 may include radio network interface or wired network interface, which is commonly used in
Communication connection is established between the computer equipment 6 and other electronic equipments.
Present invention also provides another embodiments, that is, provide a kind of computer readable storage medium, the computer
Readable storage medium storing program for executing is stored with the processing routine of candidate item in input method, and the processing routine of candidate item can be by extremely in the input method
A few processor executes, so that at least one described processor is executed such as the processing method of candidate item in above-mentioned input method
Step.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, the technical solution of the application substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes
Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the application.
Obviously, embodiments described above is merely a part but not all of the embodiments of the present application, attached
The preferred embodiment of the application is given in figure, but is not intended to limit the scope of the patents of the application.The application can be with many differences
Form realize, on the contrary, purpose of providing these embodiments is keeps the understanding to disclosure of this application more thorough
Comprehensively.Although the application is described in detail with reference to the foregoing embodiments, for coming for those skilled in the art,
Can still modify to technical solution documented by aforementioned each specific embodiment, or to part of technical characteristic into
Row equivalence replacement.All equivalent structures done using present specification and accompanying drawing content, are directly or indirectly used in other
Relevant technical field, similarly within the application scope of patent protection.
Claims (10)
1. the processing method of candidate item in a kind of input method, which is characterized in that include the following steps:
When receiving the instruction for opening input method input interface, judge user whether in public environment;
If not carrying out authentication to active user in public environment;
If being verified, in input interface receive user input information when, according to the input information of the user with work as
Retrieved in the associated local dictionary of preceding input method and public dictionary, obtain and show with the candidate item of input information matches and
The related information of candidate item, the local dictionary carry the sensitive information of user;
If public environment or verifying do not pass through, when receiving the input information of user in input interface, according to input information
With retrieved in the associated public dictionary of current input method, obtain and show with input information matches candidate item and candidate
The related information of item.
2. the processing method of candidate item in input method according to claim 1, which is characterized in that described to receive unlatching
When the instruction of input method input interface, before judging user whether the public environment the step of, further includes:
The dictionary of input method is classified as local dictionary and public dictionary;
The incidence relation of identity information and local dictionary is established, the identity information is used to carry out authentication to user.
3. the processing method of candidate item in input method according to claim 1, which is characterized in that described according to the user
Input information with retrieved in the associated local dictionary of current input method and public dictionary, obtain and show and believe with input
After the step of ceasing the related information of matched candidate item and candidate item, the method also includes:
Judge whether to store candidate item selected by user in local dictionary or word that related information is constituted, short sentence or other
Information;
If so, the access times of the candidate item or related information are added 1;
It otherwise, will be in the word, short sentence or other information the deposit local dictionary.
4. the processing method of candidate item in input method according to claim 1, which is characterized in that described according to the user
Input information with retrieved in the associated local dictionary of current input method and public dictionary, obtain and show and believe with input
After the step of ceasing the related information of matched candidate item and candidate item, the method also includes:
Judge whether user is moved to public environment;
If being moved to the public environment, in input interface receive user input information when, according to input information with work as
It is retrieved in the preceding associated public dictionary of input method, obtained and shows the pass with the candidate item of input information matches and candidate item
Join information.
5. the processing method of candidate item in input method according to claim 1, which is characterized in that described according to input information
With retrieved in the associated public dictionary of current input method, obtain and show with input information matches candidate item and candidate
After the step of related information of item, the method also includes:
Judge whether to store candidate item selected by user in public dictionary or word that related information is constituted, short sentence or other
Information;
If so, the access times of the candidate item or related information are added 1;
Otherwise, the word, short sentence or other information are stored in the public dictionary.
6. the processing method of candidate item in input method according to claim 1, which is characterized in that described according to the user
Input information with retrieved in the associated local dictionary of current input method and public dictionary, obtain and show and believe with input
It described is associated in the step of ceasing the related information of matched candidate item and candidate item or according to input information with current input method
Public dictionary in retrieved, obtain and show with input information matches candidate item and candidate item related information the step of
In, it obtains and shows the related information with the candidate item of input information matches and candidate item, comprising:
The candidate item of input information matches and the related information of candidate item are obtained, and reads the candidate item and the related information
Access times;
Show the related information of candidate item and candidate item in order according to the height of the access times.
7. the processing method of candidate item in input method according to claim 1, which is characterized in that described whether to judge user
Include: in the step of public environment
Obtain the environmental sound signal of external environment;
The environmental sound signal is compared with preset threshold values;
If the value of the environmental sound signal is greater than the threshold value, determine user in public environment.
8. the processing unit of candidate item in a kind of input method characterized by comprising
Whether environment judgment module judges user in public environment when for receiving the instruction for opening input method input interface;
Authentication module, for the judging result in the environment judgment module be it is no when, to active user carry out identity test
Card;
Retrieval module, for when being verified, according to the input information of the user associated all with current input method
It is retrieved in dictionary, obtains the related information with the candidate item of the input information matches and candidate item, or be also used to
The judging result of the environment judgment module is to be or when authentication does not pass through, according to input information with current input method
It is associated be not related to being retrieved in the public dictionary of individual privacy, obtain candidate item and candidate item with input information matches
Related information;
Display module is associated with letter with the candidate item of input information matches and candidate item for showing that the retrieval module obtains
Breath.
9. a kind of computer equipment, including memory and processor, computer program, the processing are stored in the memory
Device realizes the processing side of candidate item in the input method as described in any one of claims 1 to 7 when executing the computer program
The step of method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program is realized candidate in the input method as described in any one of claims 1 to 7 when the computer program is executed by processor
The step of processing method of item.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910471289.8A CN110399046A (en) | 2019-05-31 | 2019-05-31 | The processing method of candidate item, device, equipment and storage medium in input method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910471289.8A CN110399046A (en) | 2019-05-31 | 2019-05-31 | The processing method of candidate item, device, equipment and storage medium in input method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110399046A true CN110399046A (en) | 2019-11-01 |
Family
ID=68323621
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910471289.8A Pending CN110399046A (en) | 2019-05-31 | 2019-05-31 | The processing method of candidate item, device, equipment and storage medium in input method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110399046A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021092848A1 (en) * | 2019-11-14 | 2021-05-20 | Citrix Systems, Inc. | Text classification for input method editor |
WO2023236866A1 (en) * | 2022-06-09 | 2023-12-14 | 维沃移动通信有限公司 | Input method and apparatus, electronic device, and readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106445189A (en) * | 2016-12-16 | 2017-02-22 | 北京小米移动软件有限公司 | Candidate word display method and device |
CN107885346A (en) * | 2017-10-25 | 2018-04-06 | 努比亚技术有限公司 | A kind of candidate's words recommending method, terminal and computer-readable recording medium |
CN108563965A (en) * | 2018-03-29 | 2018-09-21 | 广东欧珀移动通信有限公司 | Character input method and device, computer readable storage medium, terminal |
-
2019
- 2019-05-31 CN CN201910471289.8A patent/CN110399046A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106445189A (en) * | 2016-12-16 | 2017-02-22 | 北京小米移动软件有限公司 | Candidate word display method and device |
CN107885346A (en) * | 2017-10-25 | 2018-04-06 | 努比亚技术有限公司 | A kind of candidate's words recommending method, terminal and computer-readable recording medium |
CN108563965A (en) * | 2018-03-29 | 2018-09-21 | 广东欧珀移动通信有限公司 | Character input method and device, computer readable storage medium, terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021092848A1 (en) * | 2019-11-14 | 2021-05-20 | Citrix Systems, Inc. | Text classification for input method editor |
WO2023236866A1 (en) * | 2022-06-09 | 2023-12-14 | 维沃移动通信有限公司 | Input method and apparatus, electronic device, and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2005222536B2 (en) | User authentication by combining speaker verification and reverse turing test | |
CN106534572B (en) | Information display method, device and terminal | |
CN107800672B (en) | Information verification method, electronic equipment, server and information verification system | |
US8887232B2 (en) | Central biometric verification service | |
US20190236249A1 (en) | Systems and methods for authenticating device users through behavioral analysis | |
CN106716436A (en) | Information display method and system | |
JP2007087081A (en) | Financial transaction system | |
CN106341313A (en) | Method and apparatus for obtaining billing information | |
CN105701420B (en) | A kind of management method and terminal of user data | |
CN109194689B (en) | Abnormal behavior recognition method, device, server and storage medium | |
CN109085975A (en) | Screenshotss method, apparatus, storage medium and electronic device | |
CN103366745A (en) | Method for protecting terminal equipment based on speech recognition and terminal equipment | |
CN106778523A (en) | Fingerprint input method and device | |
CN105989485A (en) | Business management method and device | |
CN110399046A (en) | The processing method of candidate item, device, equipment and storage medium in input method | |
AU2018201573B2 (en) | Methods and Systems for Determining User Liveness | |
CN111641718B (en) | Mobile phone terminal APP identity authentication method | |
CN110546638A (en) | Improvements in biometric authentication | |
CN107066864A (en) | A kind of application icon display methods and its equipment | |
CN106161365B (en) | Data processing method and device and terminal | |
CN109104759B (en) | Interaction method of electronic equipment, electronic equipment and computer readable medium | |
KR20150114358A (en) | User authentication system by contacting card and operating method thereof | |
CN105550543B (en) | A kind of iris information processing method and user terminal | |
WO2019095449A1 (en) | Method and apparatus for preventing personal information leakage | |
JP2001290778A (en) | Fingerprint certification system and recording medium with fingerprint certification program recorded thereon |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |