CN105094367A - Phrase input method and terminal equipment - Google Patents

Phrase input method and terminal equipment Download PDF

Info

Publication number
CN105094367A
CN105094367A CN201510433900.XA CN201510433900A CN105094367A CN 105094367 A CN105094367 A CN 105094367A CN 201510433900 A CN201510433900 A CN 201510433900A CN 105094367 A CN105094367 A CN 105094367A
Authority
CN
China
Prior art keywords
phrase
library
user
character editing
setting
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
Application number
CN201510433900.XA
Other languages
Chinese (zh)
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 ByteDance Network Technology Co Ltd
Original Assignee
Beijing Hammer Numeral 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 Hammer Numeral Science And Technology Co Ltd filed Critical Beijing Hammer Numeral Science And Technology Co Ltd
Priority to CN201510433900.XA priority Critical patent/CN105094367A/en
Publication of CN105094367A publication Critical patent/CN105094367A/en
Priority to PCT/CN2016/091007 priority patent/WO2017012585A1/en
Pending legal-status Critical Current

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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a phrase input method and terminal equipment. The method comprises following steps: displaying a character editing area; detecting whether user operation corresponds to a set calling pre-set phrase library or not, wherein at least one pre-set phrase is stored in the phrase library; linking the character editing area and the phrase library if user operation corresponds to a set calling pre-set phrase library; displaying pre-set phrases in the phrase library in a window-popup mode; determining target phrases selected from displayed pre-set phrases; and inputting the target phrases into the character editing area by linking the phrase library to the character editing area. The embodiment of the phrase input method and terminal equipment has following beneficial effects: rapid input of phrases can be achieved; and by reducing phrase editing operation of a user, working load for input of phrases of the user is decreased.

Description

A kind of phrase input method and terminal device
Technical field
The present invention relates to technical field of information processing, be specifically related to a kind of phrase input method and terminal device.
Background technology
Phrase is the linguistic unit that user commonly uses in daily communication, writing editor, along with popularizing of the terminal devices such as mobile phone, panel computer, notebook computer, user is when using terminal device to carry out linking up, writing, and in terminal device, input phrase becomes normality; As user go to work to unit every day time, for home, often can when to unit, the short message of editor as " I arrives unit " sends to household.
The mode that current user inputs phrase in terminal device is mainly: user calls input method, inputs the characters such as Chinese, English by input method in terminal device, thus forms phrase by the character of input, realizes the input of phrase in terminal device.
The present inventor finds in research process, and existing user inputs the mode of phrase in terminal device, and there are the following problems: because user is when using phrase, often can there is use common phrases comparatively frequently; If with existing by input method input character, realize the mode of phrase input, there is the situation repeating to edit common phrases by making user, if things go on like this, the workload that user inputs phrase will be very large.
Therefore, how in terminal device, realize the quick input of common phrases, to alleviate the workload that user inputs phrase, become the problem that those skilled in the art need to consider.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of phrase input method and terminal device, to realize the quick input of common phrases in terminal device, alleviates the workload that user inputs phrase.
For achieving the above object, the embodiment of the present invention provides following technical scheme:
A kind of phrase input method, comprising:
Display character editing region;
Whether correspondingly to the operation of calling preset phrase library of setting detect user operation, wherein, described phrase library stores at least one default phrase;
If user operation is corresponding to the operation of calling preset phrase library of setting, link described character editing region and described phrase library;
By the default phrase in described phrase library to play the display of window shape formula;
Determine the object phrase that user is selected from shown default phrase;
By described object phrase linking by described phrase library and described character editing region, input in described character editing region.
Wherein, described character editing region is called editor's function by editable text control and is realized character editing, and described editable text control is built-in with the link interface with described phrase library;
Whether described detection user operation is corresponding to the operation of calling preset phrase library of setting comprises:
Whether correspondingly with the operation of the described link interface of activation of setting detect user operation;
Described link described character editing region and described phrase library comprise:
Call described link interface, link described character editing region and described phrase library.
Wherein, whether described detection user operation is corresponding with the operation of the described link interface of activation of setting comprises:
Whether correspondingly to the prompt operation of setting detect user operation, described prompt operation is configured to activate described link interface;
Or whether correspondingly to the operation transferring the first icon of setting detect user operation, described first icon is configured to the described link interface that triggers the activation; If detect, user operation is corresponding to the described operation transferring the first icon, transfers described first icon of display; Whether correspondingly to the operation clicking described first icon detect user operation, when described first icon is clicked, described link interface is activated.
Wherein, the process that phrase is preset in described phrase library storage comprises:
Determine that user is by input method, input the history character of described terminal device;
According to setting Phrase extraction rule, from each history character, extract at least one phrase;
Judge whether there is the phrase that the frequency of occurrences reaches threshold value in the phrase extracted;
If exist, phrase library described in the phrase typing described frequency of occurrences being reached threshold value.
Wherein, described by the default phrase in described phrase library with play window shape formula display comprise:
Determine the frequency of utilization of each default phrase in described phrase library;
According to frequency of utilization order from high to low, sequentially in bullet window, show each default phrase.
Wherein, the object phrase that the described user of determination is selected from shown default phrase comprises:
The phrase that user selectes is marked, obtains at least one candidate phrase be labeled;
When user determines that terminating phrase selects, the candidate phrase be labeled is defined as object phrase.
Wherein, the restricted number of phrase is preset in described phrase library for setting limit value; Described method also comprises:
If when the quantity presetting phrase in described phrase library reaches setting limit value, there is the phrase newly adding described phrase library;
By phrase library described in the phrase typing that newly adds, and the phrase to be deleted user selected is deleted from described phrase library, or, phrase minimum for frequency of utilization in described phrase library is deleted from described phrase library.
The embodiment of the present invention also provides a kind of terminal device, comprising:
Region display module, for showing character editing region;
Operation detection module, whether corresponding to the operation of calling preset phrase library of setting for detecting user operation, wherein, described phrase library stores at least one default phrase;
Link module, if corresponding to the operation of calling preset phrase library of setting for user operation, links described character editing region and described phrase library;
Play window module, for being shown to play window shape formula by the default phrase in described phrase library;
Object phrase determination module, for determining the object phrase that user is selected from shown default phrase;
Phrase load module, for by described object phrase linking by described phrase library and described character editing region, inputs in described character editing region.
Wherein, described character editing region is called editor's function by editable text control and is realized character editing, and described editable text control is built-in with the link interface with described phrase library;
Described operation detection module comprises:
Whether activation manipulation detecting unit is corresponding with the operation of the described link interface of activation of setting for detecting user operation;
Described link module comprises:
Call unit, if corresponding with the operation of the described link interface of the activation of setting for user operation, then calls described link interface, links described character editing region and described phrase library.
Wherein, described activation manipulation detecting unit comprises:
Prompt operation detection sub-unit, whether corresponding to the prompt operation of setting for detecting user operation, described prompt operation is configured to activate described link interface;
Or, icon operation detection subelement, whether corresponding to the operation transferring the first icon of setting for detecting user operation, described first icon is configured to the described link interface that triggers the activation; If detect, user operation is corresponding to the described operation transferring the first icon, transfers described first icon of display; Whether correspondingly to the operation clicking described first icon detect user operation, when described first icon is clicked, described link interface is activated.
Based on technique scheme, the embodiment of the present invention stores at least one default phrase by preset, and the phrase library that can be linked with character editing region, can after terminal device shows character editing region, detect user operation meet setting call the operation of preset phrase library time, link described character editing region and described phrase library; Make user in the default phrase playing window display after selected target phrase, terminal device links by described phrase library and described character editing region, object phrase being inputted in described character editing region, realizing user when not adopting input method, the quick input of phrase.The embodiment of the present invention can realize the quick input of phrase, reduces user by the operation of input method editor phrase, alleviates the workload that user inputs phrase.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
The process flow diagram of the phrase input method that Fig. 1 provides for the embodiment of the present invention;
Another process flow diagram of the phrase input method that Fig. 2 provides for the embodiment of the present invention;
The method flow diagram whether the detection user operation that Fig. 3 provides for the embodiment of the present invention is corresponding with the operation of setting;
Fig. 4 for the embodiment of the present invention provide under character input boxes scene, transfer the schematic diagram of display first icon;
The phrase library that Fig. 5 provides for the embodiment of the present invention stores the method flow diagram presetting phrase;
The method flow diagram that default phrase is shown to play window shape formula that Fig. 6 provides for the embodiment of the present invention;
The P-marker schematic diagram that Fig. 7 provides for the embodiment of the present invention;
The structured flowchart of the terminal device that Fig. 8 provides for the embodiment of the present invention;
The structured flowchart of the operation detection module that Fig. 9 provides for the embodiment of the present invention;
The structured flowchart of the link module that Figure 10 provides for the embodiment of the present invention;
The structured flowchart of the activation manipulation detecting unit that Figure 11 provides for the embodiment of the present invention;
Another structured flowchart of the activation manipulation detecting unit that Figure 12 provides for the embodiment of the present invention;
Another structured flowchart of the terminal device that Figure 13 provides for the embodiment of the present invention;
A structured flowchart again of the terminal device that Figure 14 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The process flow diagram of the phrase input method that Fig. 1 provides for the embodiment of the present invention, the method can be applicable to terminal device, and with reference to Fig. 1, the method can comprise:
Step S100, display character editing region;
Character editing region can think that a certain application of loading opened by terminal device, after entering the Edition Contains interface of this application, and the region for user's editing character shown in Edition Contains interface;
Character editing region can be character input boxes; Character input boxes as note, instant messaging application the input frame of confession user inputs character that provides, and for example the search box etc. of browser can supply the input frame of user inputs character;
Character editing region also can be the body matter editing area of the editable texts such as word, text.
Whether step S110, to detect user operation corresponding to the operation of calling preset phrase library of setting, and wherein, described phrase library stores at least one default phrase;
Phrase library is preset in terminal device this locality, and this phrase library is previously provided with at least one common phrases;
Optionally, the default phrase in phrase library can for terminal device dispatch from the factory time, the phrase of the phrase library of manufacturer's typing in advance; Default phrase in phrase library also can be user in the process using terminal device, enrolls the common phrases of phrase library;
Optionally, the embodiment of the present invention also can the phrase commonly used of support terminal equipment automatic learning user, then by study to phrase typing phrase library in; As terminal device can analyze the character of user's history input, from the character of history input, analyze the higher phrase of user's frequency of utilization, by phrase typing phrase library higher for this user's frequency of utilization;
When behind terminal device display character editing region, terminal device can monitoring user operation (user operation can be carried out in character editing region, also can carry out in other regions at interface, place, character editing region, concrete visual actual conditions setting), and judge that whether the user operation monitored is corresponding to the operation of calling preset phrase library of setting;
Optionally, the concrete form calling the operation of preset phrase library of setting, can set according to actual conditions.
If step S120 user operation is corresponding to the operation of calling preset phrase library of setting, link described character editing region and described phrase library;
Link described character editing region and described phrase library represents, character editing region is used for the interface of typing character can receive phrase in phrase library, thus make the linking, in input character editing area by phrase library and character editing region of the phrase in phrase library.
Step S130, by the default phrase in described phrase library with play window shape formula display;
By playing the default phrase in window shape formula display phrase library, user can be facilitated to select the current phrase needing input character editing area.
Step S140, determine the object phrase that user is selected from shown default phrase;
The quantity of object phrase can be 1, also can be multiple.
Step S150, by described object phrase linking by described phrase library and described character editing region, to input in described character editing region.
Can find out, the embodiment of the present invention stores at least one default phrase by preset, and the phrase library that can be linked with character editing region, can after terminal device shows character editing region, detect user operation meet setting call the operation of preset phrase library time, link described character editing region and described phrase library; Make user in the default phrase playing window display after selected target phrase, terminal device links by described phrase library and described character editing region, object phrase being inputted in described character editing region, realizing user when not adopting input method, the quick input of phrase.The embodiment of the present invention can realize the quick input of phrase, reduces user by the operation of input method editor phrase, alleviates the workload that user inputs phrase.
Optionally, character editing region generally corresponds to the application that terminal device is opened, and therefore in the embodiment of the present invention, phrase library also can be corresponding with application; Concrete, the embodiment of the present invention applies corresponding phrase library by arranging with a certain, thus enable in this application, when showing the character editing region of this application, by the operation of calling preset phrase library of setting, link the character editing region of this application and the phrase library of this application, to realize in the character editing region of this application the phrase in typing phrase library efficiently;
But, the present inventor employing phrase library with apply corresponding, carry out in the implementation procedure that phrase fast inputs, there are the following problems to find mode that this phrase fast inputs:
Multiple application is often mounted with in terminal device, corresponding with application with phrase library, realizing the mode that phrase fast inputs, all needing to arrange respectively the phrase library of correspondence by making to need in terminal device to carry out application that phrase fast inputs; Namely the application having how many need to realize phrase fast to input, just need arrange how many phrase libraries, a corresponding phrase library of application; There is a large amount of phrase libraries by causing in this, the data increasing terminal device store burden in terminal device.
Based on this, the embodiment of the present invention provides a kind of preferred version, makes multiple application of loading in terminal device can share a phrase library; The core of this preferred version is, adds the link interface with phrase library in the editable text control that system provides; The system that editable text control is terminal device provide by calling editor's function, in character editing region, realize the control of character editing; As adopted editable text control, calling of editor's functions such as can realizing copying, paste, input method is arranged, thus in character editing region, realize character editing;
Corresponding, Fig. 2 shows another process flow diagram of the phrase input method that the embodiment of the present invention provides, and with reference to Fig. 2, the method can comprise:
Step S200, display character editing region, described character editing region is called editor's function by editable text control and is realized character editing, and described editable text control is built-in with the link interface with described phrase library;
Optionally, when can be provided with character editing in editable text control, the list of editor's function that can call; During as may correspond to character editing in list, copy function, paste etc. edits function; This list can add the link interface with described phrase library in embodiments of the present invention;
Optionally, for Android system, editable text control can be EditText control;
Obviously, in different operating system, the form of editable text control may be different, and if editable text control in IOS system may not be show in the mode of EditText control, but this does not hinder the embodiment of the present invention for the identification of editable text control.
Whether step S210, to detect user operation corresponding with the operation of the described link interface of activation of setting, and wherein, described phrase library stores at least one default phrase;
If step S220 user operation is corresponding with the operation of the described link interface of the activation of setting, call described link interface, link described character editing region and described phrase library;
Step S230, by the default phrase in described phrase library with play window shape formula display;
Step S240, determine the object phrase that user is selected from shown default phrase;
Step S250, by described object phrase linking by described phrase library and described character editing region, to input in described character editing region.
Adopt method shown in Fig. 2, the embodiment of the present invention can realize many application calling for same phrase storehouse, when user carries out character editing in the character editing region of arbitrary application, all by user operation, the character editing region of link application and this same phrase storehouse, realize fast inputting phrase in character editing region; Terminal device only needs a preset phrase library, and can realize the quick input of phrase in the character editing region of many application, the data significantly alleviating terminal device store burden.
Optionally, user can adopt prompt operation in character editing region, activates described link interface, to link described character editing region and described phrase library;
The embodiment of the present invention can monitoring user operation, and whether detect user operation corresponding to the prompt operation of setting, and described prompt operation is configured to activate described link interface; Thus when user operation is corresponding to the prompt operation of described setting, activate described link interface, to link described character editing region and described phrase library;
Optionally, prompt operation can be the operation of double-clicking character editing region, as double-clicked character input boxes; Also can be other self-defining prompt operations.
Optionally, due to application and development complete time, the display framework in character editing region is shaped; For the display framework in the existing character editing region of compatibility, the embodiment of the present invention by transferring first icon of display for the described link interface that triggers the activation in character editing region, then clicked the mode of the first icon by user, realize the activation of described link interface;
Corresponding, Fig. 3 shows whether corresponding with the operation of the described link interface of activation of the setting method flow diagram of detection user operation that the embodiment of the present invention provides, and with reference to Fig. 3, the method can comprise:
Whether step S300, to detect user operation corresponding to the operation transferring the first icon of setting, and described first icon is configured to the described link interface that triggers the activation;
The operation transferring the first icon of setting is as long by screen, and screen slides desired trajectory etc., also can be self-defined setting.
If step S310 detects that user operation is corresponding to the described operation transferring the first icon, transfer described first icon of display;
Whether step S320, to detect user operation corresponding to the operation clicking described first icon, and when described first icon is clicked, described link interface is activated.
Fig. 4 shows under character input boxes scene, transfers the schematic diagram of display first icon; With reference to Fig. 4, after display character input boxes, if user is long in the display interface of character input boxes press screen, then terminal device will transfer the first icon (as shown in Figure 4 " shortcut phrase " icon), and the first icon is presented in character input boxes, as Fig. 4 left half; When user clicks the first icon, described link interface is activated, and described character editing region and described phrase library are linked, and meanwhile, the default phrase in described phrase library is presented at display interface, as Fig. 4 right half to play window shape formula.
Optionally, the embodiment of the present invention can provide terminal device automatic learning user the mechanism of common phrases; The phrase library that Fig. 5 shows the embodiment of the present invention to be provided stores the method flow diagram presetting phrase, and with reference to Fig. 5, the method can comprise:
Step S400, determine that user is by input method, input the history character of described terminal device;
Optionally, terminal device regularly can learn the phrase that user commonly uses, and terminal device in the time range of a upper timing to current timing, can be determined that user is by input method, input the history character of described terminal device; Timing can be 1 day, 7 days etc., specifically can customize setting;
Optionally, also the phrase can commonly used by user operation triggering terminal learning equipment user, when the phrase that user's triggering terminal learning equipment user commonly uses, terminal device can be determined in predetermined amount of time, user, by input method, inputs the history character of described terminal device;
Determined history character may have many, and the embodiment of the present invention can gather this many history characters.
Step S410, according to setting Phrase extraction rule, from each history character, extract at least one phrase;
There is multiple Phrase extraction rule in prior art, specifically select which kind of Phrase extraction rule, the embodiment of the present invention can be selected according to actual conditions.
The phrase that the frequency of occurrences reaches threshold value whether is there is in the phrase that step S420, judgement extract;
If step S430 exists, phrase library described in the phrase typing described frequency of occurrences being reached threshold value.
By method shown in Fig. 5, the embodiment of the present invention by phrase automatic input phrase library higher for user's frequency of utilization, can realize the automatic learning of terminal device for user's common phrases.
Optionally, due to many default phrases may be had in phrase library, for making user can hit phrase from phrase library faster; Phrase priority ordering high for frequency of utilization when to play window shape formula display each default phrase, can be shown, thus improves the possibility of user's hit phrase from the default phrase that front row is shown, reduce the time that user browses default phrase by the embodiment of the present invention;
Corresponding, Fig. 6 shows the method flow diagram shown to play window shape formula by default phrase that the embodiment of the present invention provides, and with reference to Fig. 6, the method can comprise:
Step S500, determine the frequency of utilization of each default phrase in described phrase library;
Optionally, the embodiment of the present invention can be set using frequency record table, for recording the frequency of utilization of each default phrase; When the default phrase in phrase library is imported in character editing region one time, the frequency of utilization that the embodiment of the present invention can record this default phrase in frequency of utilization record sheet adds one, thus realizes the record of the frequency of utilization of each default phrase;
When need with play window shape formula display phrase library in each default phrase time, the embodiment of the present invention can transfer this frequency of utilization record sheet, determines the frequency of utilization of each default phrase.
Step S510, foundation frequency of utilization order from high to low, sequentially show each default phrase in bullet window.
Optionally, because single page bullet window may cannot show each default phrase in phrase library completely, the embodiment of the present invention can the default phrase of one page display predetermined quantity, adopts the mode of multipage bullet window to show each default phrase in phrase library; Play in window and can arrange page turning option, the number of pages playing the current display of window can be triggered by the page turn over operation of user.
Optionally, the embodiment of the present invention can once select at least one object phrase; The embodiment of the present invention can mark the phrase that user tentatively selectes, and when user terminates phrase selection, the phrase being in flag state is defined as object phrase;
Concrete, when determining object phrase, terminal device can mark the phrase that user selectes, and obtains at least one candidate phrase be labeled; Thus when user determines that terminating phrase selects, the candidate phrase be labeled is defined as object phrase;
Fig. 7 shows P-marker schematic diagram, and play in window and can arrange multiselect option, when user triggers this multiselect option, the embodiment of the present invention can mark the phrase that user selectes; Also can be play window directly with the phrase that mark pattern mark user selectes, not need to arrange multiselect option; When user clicks " interpolation " shown in Fig. 7 option, determine that terminating phrase selects, by be labeled phrase ", busyly look for you ", " usual place is shown in " be defined as object phrase, and be input in character editing region.
Optionally, the embodiment of the present invention also can limit the quantity presetting phrase in phrase library; When presetting the quantity of phrase in phrase library and reaching setting limit value, there is again the phrase (can be the phrase that need that user edits add phrase library, also can be the new phrase of terminal device automatic learning) newly adding phrase library; The embodiment of the present invention can by phrase library described in the phrase typing that newly adds, and meanwhile, the phrase to be deleted user selected is deleted from described phrase library; Optionally, phrase minimum for frequency of utilization in described phrase library also described in the phrase typing that will newly add during phrase library, can be deleted by the embodiment of the present invention from described phrase library.
Below an application examples of phrase input method provided by the invention is introduced:
User can the phrase of typing in the phrase library of mobile phone in advance " I arrives unit ";
When after user to unit, mobile phone open short message editing interface can be used, and the take over party arranging note is the household needing to have no mishap;
Behind mobile phone display short message editing interface, user can grow by mobile phone screen, and mobile phone is at the icon of note input frame display " shortcut phrase ";
User clicks the icon of " shortcut phrase ", and note input frame and phrase library are linked; Meanwhile, the phrase in phrase library shows to play window shape formula by mobile phone;
After the phrase that user chooses from shown phrase " I to unit ", the phrase of " I arrives unit " in phrase library imports in note input frame by mobile phone;
User clicks the delivery option of note, and the short message comprising " I arrives unit " is sent to the household of user by mobile phone.
The present invention when user does not adopt input method, can realize the quick input of phrase, decreases the operation of user by input method editor phrase, alleviate the workload that user inputs phrase.
Be introduced the terminal device that the embodiment of the present invention provides below, hereafter main description is the functional module framework realizing phrase input method be arranged in terminal device, and hereafter describing content can corresponding reference mutual to above-described phrase input method.
The structured flowchart of the terminal device that Fig. 8 provides for the embodiment of the present invention, shown in Fig. 8 can be the structure of the phrase input media for realizing phrase input method be arranged in terminal device, and with reference to Fig. 8, this terminal device can comprise:
Region display module 100, for showing character editing region;
Operation detection module 200, whether corresponding to the operation of calling preset phrase library of setting for detecting user operation, wherein, described phrase library stores at least one default phrase;
Link module 300, if corresponding to the operation of calling preset phrase library of setting for user operation, links described character editing region and described phrase library;
Play window module 400, for being shown to play window shape formula by the default phrase in described phrase library;
Object phrase determination module 500, for determining the object phrase that user is selected from shown default phrase;
Phrase load module 600, for by described object phrase linking by described phrase library and described character editing region, inputs in described character editing region.
Optionally, described character editing region is called editor's function by editable text control and is realized character editing, and described editable text control is built-in with the link interface with described phrase library; Based on this, Fig. 9 shows a kind of alternate configurations of the operation detection module 200 that the embodiment of the present invention provides, and with reference to Fig. 9, operation detection module 200 can comprise:
Whether activation manipulation detecting unit 210 is corresponding with the operation of the described link interface of activation of setting for detecting user operation.
Corresponding, Figure 10 shows a kind of alternate configurations of the link module 300 that the embodiment of the present invention provides, and with reference to Figure 10, link module 300 can comprise:
Call unit 310, if corresponding with the operation of the described link interface of the activation of setting for user operation, then calls described link interface, links described character editing region and described phrase library.
Optionally, Figure 11 shows a kind of alternate configurations of the activation manipulation detecting unit 210 that the embodiment of the present invention provides, and with reference to Figure 11, activation manipulation detecting unit 210 can comprise:
Prompt operation detection sub-unit 2101, whether corresponding to the prompt operation of setting for detecting user operation, described prompt operation is configured to activate described link interface.
Optionally, Figure 12 shows the another kind of alternate configurations of the activation manipulation detecting unit 210 that the embodiment of the present invention provides, and with reference to Figure 12, activation manipulation detecting unit 210 can comprise:
Icon operation detection subelement 2111, whether corresponding to the operation transferring the first icon of setting for detecting user operation, described first icon is configured to the described link interface that triggers the activation; If detect, user operation is corresponding to the described operation transferring the first icon, transfers described first icon of display; Whether correspondingly to the operation clicking described first icon detect user operation, when described first icon is clicked, described link interface is activated.
Optionally, Figure 13 shows another structured flowchart of the terminal device that the embodiment of the present invention provides, and shown in composition graphs 8 and Figure 13, this terminal device can comprise:
History character determination module 700, for determining that user is by input method, inputs the history character of described terminal device;
Extraction module 800, for according to setting Phrase extraction rule, extracts at least one phrase from each history character;
Frequency judge module 900, for judging whether there is the phrase that the frequency of occurrences reaches threshold value in the phrase that extracts;
Typing module 1000, if for existing, phrase library described in the phrase typing described frequency of occurrences being reached threshold value.
Optionally, play window module 400 and can sequentially show each default phrase according to the frequency of utilization of phrase in bullet window; Concrete, play window module 400 and specifically can be used for, determine the frequency of utilization of each default phrase in described phrase library; According to frequency of utilization order from high to low, sequentially in bullet window, show each default phrase.
Optionally, object phrase determination module 500 can mark the phrase that user selectes, and realizes the determination of at least one object phrase; Concrete, object phrase determination module 500 specifically can be used for, and marks the phrase that user selectes, and obtains at least one candidate phrase be labeled; When user determines that terminating phrase selects, the candidate phrase be labeled is defined as object phrase.
Optionally, the embodiment of the present invention can will preset the restricted number of phrase for setting limit value in phrase library; Corresponding, Figure 14 shows a structured flowchart again of the terminal device that the embodiment of the present invention provides, and shown in composition graphs 8 and Figure 14, this terminal device can comprise:
New phrase adds module 1100, if when the quantity for presetting phrase in described phrase library reaches setting limit value, there is the phrase newly adding described phrase library;
Phrase removing module 1200, for phrase library described in the phrase typing that will newly add, and the phrase to be deleted user selected is deleted from described phrase library, or, phrase minimum for frequency of utilization in described phrase library is deleted from described phrase library.
The terminal device adopting the embodiment of the present invention to provide, when user does not adopt input method, can realize the quick input of phrase, decreases the operation of user by input method editor phrase, alleviate the workload that user inputs phrase.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.For device disclosed in embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part illustrates see method part.
Professional can also recognize further, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with electronic hardware, computer software or the combination of the two, in order to the interchangeability of hardware and software is clearly described, generally describe composition and the step of each example in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
The software module that the method described in conjunction with embodiment disclosed herein or the step of algorithm can directly use hardware, processor to perform, or the combination of the two is implemented.Software module can be placed in the storage medium of other form any known in random access memory (RAM), internal memory, ROM (read-only memory) (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. a phrase input method, is characterized in that, comprising:
Display character editing region;
Whether correspondingly to the operation of calling preset phrase library of setting detect user operation, wherein, described phrase library stores at least one default phrase;
If user operation is corresponding to the operation of calling preset phrase library of setting, link described character editing region and described phrase library;
By the default phrase in described phrase library to play the display of window shape formula;
Determine the object phrase that user is selected from shown default phrase;
By described object phrase linking by described phrase library and described character editing region, input in described character editing region.
2. phrase input method according to claim 1, is characterized in that, described character editing region is called editor's function by editable text control and realized character editing, and described editable text control is built-in with the link interface with described phrase library;
Whether described detection user operation is corresponding to the operation of calling preset phrase library of setting comprises:
Whether correspondingly with the operation of the described link interface of activation of setting detect user operation;
Described link described character editing region and described phrase library comprise:
Call described link interface, link described character editing region and described phrase library.
3. phrase input method according to claim 2, is characterized in that, whether described detection user operation is corresponding with the operation of the described link interface of activation of setting comprises:
Whether correspondingly to the prompt operation of setting detect user operation, described prompt operation is configured to activate described link interface;
Or whether correspondingly to the operation transferring the first icon of setting detect user operation, described first icon is configured to the described link interface that triggers the activation; If detect, user operation is corresponding to the described operation transferring the first icon, transfers described first icon of display; Whether correspondingly to the operation clicking described first icon detect user operation, when described first icon is clicked, described link interface is activated.
4. the phrase input method according to any one of claim 1-3, is characterized in that, described phrase library stores the process presetting phrase and comprises:
Determine that user is by input method, input the history character of described terminal device;
According to setting Phrase extraction rule, from each history character, extract at least one phrase;
Judge whether there is the phrase that the frequency of occurrences reaches threshold value in the phrase extracted;
If exist, phrase library described in the phrase typing described frequency of occurrences being reached threshold value.
5. the phrase input method according to any one of claim 1-3, is characterized in that, described by the default phrase in described phrase library with play window shape formula display comprise:
Determine the frequency of utilization of each default phrase in described phrase library;
According to frequency of utilization order from high to low, sequentially in bullet window, show each default phrase.
6. the phrase input method according to any one of claim 1-3, is characterized in that, the object phrase that the described user of determination selectes from shown default phrase comprises:
The phrase that user selectes is marked, obtains at least one candidate phrase be labeled;
When user determines that terminating phrase selects, the candidate phrase be labeled is defined as object phrase.
7. the phrase input method according to any one of claim 1-3, is characterized in that, presets the restricted number of phrase for setting limit value in described phrase library; Described method also comprises:
If when the quantity presetting phrase in described phrase library reaches setting limit value, there is the phrase newly adding described phrase library;
By phrase library described in the phrase typing that newly adds, and the phrase to be deleted user selected is deleted from described phrase library, or, phrase minimum for frequency of utilization in described phrase library is deleted from described phrase library.
8. a terminal device, is characterized in that, comprising:
Region display module, for showing character editing region;
Operation detection module, whether corresponding to the operation of calling preset phrase library of setting for detecting user operation, wherein, described phrase library stores at least one default phrase;
Link module, if corresponding to the operation of calling preset phrase library of setting for user operation, links described character editing region and described phrase library;
Play window module, for being shown to play window shape formula by the default phrase in described phrase library;
Object phrase determination module, for determining the object phrase that user is selected from shown default phrase;
Phrase load module, for by described object phrase linking by described phrase library and described character editing region, inputs in described character editing region.
9. terminal device according to claim 8, is characterized in that, described character editing region is called editor's function by editable text control and realized character editing, and described editable text control is built-in with the link interface with described phrase library;
Described operation detection module comprises:
Whether activation manipulation detecting unit is corresponding with the operation of the described link interface of activation of setting for detecting user operation;
Described link module comprises:
Call unit, if corresponding with the operation of the described link interface of the activation of setting for user operation, then calls described link interface, links described character editing region and described phrase library.
10. terminal device according to claim 8, is characterized in that, described activation manipulation detecting unit comprises:
Prompt operation detection sub-unit, whether corresponding to the prompt operation of setting for detecting user operation, described prompt operation is configured to activate described link interface;
Or, icon operation detection subelement, whether corresponding to the operation transferring the first icon of setting for detecting user operation, described first icon is configured to the described link interface that triggers the activation; If detect, user operation is corresponding to the described operation transferring the first icon, transfers described first icon of display; Whether correspondingly to the operation clicking described first icon detect user operation, when described first icon is clicked, described link interface is activated.
CN201510433900.XA 2015-07-22 2015-07-22 Phrase input method and terminal equipment Pending CN105094367A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510433900.XA CN105094367A (en) 2015-07-22 2015-07-22 Phrase input method and terminal equipment
PCT/CN2016/091007 WO2017012585A1 (en) 2015-07-22 2016-07-22 Phrase input method and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510433900.XA CN105094367A (en) 2015-07-22 2015-07-22 Phrase input method and terminal equipment

Publications (1)

Publication Number Publication Date
CN105094367A true CN105094367A (en) 2015-11-25

Family

ID=54575000

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510433900.XA Pending CN105094367A (en) 2015-07-22 2015-07-22 Phrase input method and terminal equipment

Country Status (2)

Country Link
CN (1) CN105094367A (en)
WO (1) WO2017012585A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105892908A (en) * 2016-03-25 2016-08-24 乐视控股(北京)有限公司 Text input method and terminal
CN106249912A (en) * 2016-07-27 2016-12-21 维沃移动通信有限公司 A kind of information of mobile terminal input method and mobile terminal
WO2017012585A1 (en) * 2015-07-22 2017-01-26 北京锤子数码科技有限公司 Phrase input method and terminal device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6393416B1 (en) * 1998-12-16 2002-05-21 International Business Machines Corporation Method for entering bidirectional and DBCS languages in tier-0 devices
CN101470732A (en) * 2007-12-26 2009-07-01 北京搜狗科技发展有限公司 Auxiliary word stock generation method and apparatus
CN101833547A (en) * 2009-03-09 2010-09-15 三星电子(中国)研发中心 Phase level forecast inputting method based on personal corpus
CN102789317A (en) * 2011-05-20 2012-11-21 腾讯科技(深圳)有限公司 Method and device for accelerating text input
CN104020950A (en) * 2013-03-01 2014-09-03 腾讯科技(深圳)有限公司 Input method based on touch screen and input device with touch screen

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060034559A (en) * 2004-10-19 2006-04-24 엘지전자 주식회사 Common use phrases input apparatus for mobile communication terminal
CN103034407B (en) * 2012-12-07 2016-08-03 东莞宇龙通信科技有限公司 Terminal and the method rapidly inputting common phrases
CN105094367A (en) * 2015-07-22 2015-11-25 北京锤子数码科技有限公司 Phrase input method and terminal equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6393416B1 (en) * 1998-12-16 2002-05-21 International Business Machines Corporation Method for entering bidirectional and DBCS languages in tier-0 devices
CN101470732A (en) * 2007-12-26 2009-07-01 北京搜狗科技发展有限公司 Auxiliary word stock generation method and apparatus
CN101833547A (en) * 2009-03-09 2010-09-15 三星电子(中国)研发中心 Phase level forecast inputting method based on personal corpus
CN102789317A (en) * 2011-05-20 2012-11-21 腾讯科技(深圳)有限公司 Method and device for accelerating text input
CN104020950A (en) * 2013-03-01 2014-09-03 腾讯科技(深圳)有限公司 Input method based on touch screen and input device with touch screen

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017012585A1 (en) * 2015-07-22 2017-01-26 北京锤子数码科技有限公司 Phrase input method and terminal device
CN105892908A (en) * 2016-03-25 2016-08-24 乐视控股(北京)有限公司 Text input method and terminal
CN106249912A (en) * 2016-07-27 2016-12-21 维沃移动通信有限公司 A kind of information of mobile terminal input method and mobile terminal
CN106249912B (en) * 2016-07-27 2020-06-02 维沃移动通信有限公司 Mobile terminal information input method and mobile terminal

Also Published As

Publication number Publication date
WO2017012585A1 (en) 2017-01-26

Similar Documents

Publication Publication Date Title
US20120289290A1 (en) Transferring objects between application windows displayed on mobile terminal
US10810698B2 (en) Information processing method and client
CN110119515B (en) Translation method, translation device, terminal and readable storage medium
CN106293359A (en) A kind of method of caller and terminal
CN107608585A (en) The operating method and equipment and mobile terminal of a kind of application program
CN104090713B (en) The method of automatically operating and automatic operation system of mobile terminal
CN107765966A (en) Event triggering method, device, intelligent terminal and storage medium based on picture
CN105094367A (en) Phrase input method and terminal equipment
CN105260433A (en) Webpage content collecting method and electronic device
CN108052212A (en) A kind of method, terminal and computer-readable medium for inputting word
CN114415847A (en) Text information deleting method and device and electronic equipment
CN103941957A (en) Method and device for deleting content of user equipment and user equipment
CN106559550A (en) SIM management method and electronic installation
WO2023093809A1 (en) File editing processing method and apparatus, and electronic device
CN104182479A (en) Method and device for processing information
CN104391622A (en) Input method rapid-setting method for input box
CN106528063A (en) Web data acquiring method and device
CN101950199A (en) Method, device and system for word processing
CN104252285B (en) A kind of information processing method and electronic equipment
WO2022127423A1 (en) Webpage display method and apparatus, and storage medium and electronic device
CN113485616B (en) Editing system suitable for blind person to operate mobile phone editing
CN104598117B (en) A kind of word editing method, device and mobile terminal
CN204904255U (en) Visual multi -lingual intercom system
CN107301161A (en) A kind of reading model switching position localization method and device
CN110083293B (en) Method for automatically marking page content

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20190121

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant after: BEIJING ZIJIE TIAODONG NETWORK TECHNOLOGY CO., LTD.

Address before: Room 309 and 310, Building 3, 33 D, 99 Kechuang 14th Street, Beijing Economic and Technological Development Zone, 100176

Applicant before: Beijing hammer numeral science and technology company limited

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20151125

RJ01 Rejection of invention patent application after publication