CN107491502A - A kind of method and terminal for selecting entry - Google Patents

A kind of method and terminal for selecting entry Download PDF

Info

Publication number
CN107491502A
CN107491502A CN201710638533.6A CN201710638533A CN107491502A CN 107491502 A CN107491502 A CN 107491502A CN 201710638533 A CN201710638533 A CN 201710638533A CN 107491502 A CN107491502 A CN 107491502A
Authority
CN
China
Prior art keywords
entry
default
selection instruction
candidate
instruction
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.)
Withdrawn
Application number
CN201710638533.6A
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.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201710638533.6A priority Critical patent/CN107491502A/en
Publication of CN107491502A publication Critical patent/CN107491502A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a kind of method and terminal for selecting entry, wherein method includes:If detecting user's targeting in default search box, the candidate entry to match with the target information is obtained and shown;The touch data that the user inputs in default control region is obtained, and determines touch operation corresponding to the touch data;If the touch operation corresponds to default entry selection instruction, entry is determined from the candidate entry according to the default entry selection instruction.The embodiment of the present invention can quickly determine entry by the default entry selection instruction of default control area triggering, it is possible to increase the operating efficiency and convenience of user's selection target entry.

Description

A kind of method and terminal for selecting entry
Technical field
The present invention relates to electronic technology field, more particularly to a kind of method and terminal for selecting entry.
Background technology
At present, big multiple utility program (Application) all has semantic association function, and user searches its interactive interface When rope inframe inputs word, terminal obtains and shows the entry with the characters matching.In order to improve search efficiency, some App are very Can extremely realize when user's input Pinyin in the search box of its interactive interface, obtain and show with input phonetic match Entry.For example, when user inputs " gugong " in the search box of map application, terminal is default aobvious below search box Show that region shows the match entry related to " the Forbidden City ".Default viewing area is that viewing area corresponding to search box and input method are soft Viewing area between viewing area corresponding to keyboard.
Because user's finger is in corresponding to the input method soft keyboard below display screen near viewing area, when user is from aobvious Selected in the match entry list shown during the entry of needs, it is necessary to which the finger below screen is gone a little across larger amplitude The entry hit above screen, operation is more difficult, is not easy to user and selects entry.
The content of the invention
The embodiment of the present invention provides a kind of method and terminal for selecting entry, it is possible to increase the behaviour of user's selection target entry Make efficiency and convenience.
In a first aspect, the embodiments of the invention provide a kind of method for selecting entry, this method includes:
If detecting user's targeting in default search box, obtain and show and the target information phase The candidate entry of matching;
The touch data that the user inputs in default control region is obtained, and determines to touch corresponding to the touch data Operation;
If the touch operation corresponds to default entry selection instruction, according to the default entry selection instruction from institute State and entry is determined in candidate entry.
Second aspect, the embodiments of the invention provide a kind of terminal, the terminal includes:
Acquiring unit, if for detecting user's targeting in default search box, obtain and show with The candidate entry that the target information matches;
Determining unit, the touch data inputted for obtaining the user in default control region, and determine the touch Touch operation corresponding to data;
Entry selecting unit, if corresponding to default entry selection instruction for the touch operation, according to described default Entry selection instruction determine entry from the candidate entry.
The third aspect, the embodiments of the invention provide another terminal, including processor, input equipment, output equipment and Memory, the processor, input equipment, output equipment and memory are connected with each other, wherein, the memory is used to store branch The computer program that terminal performs the above method is held, the computer program includes programmed instruction, and the processor is configured to use In calling described program instruction, the method for performing above-mentioned first aspect.
Fourth aspect, the embodiments of the invention provide a kind of computer-readable recording medium, the computer-readable storage medium Computer program is stored with, the computer program includes programmed instruction, and described program instruction makes institute when being executed by a processor The method for stating the above-mentioned first aspect of computing device.
If the embodiment of the present invention is obtained and shown by detecting user's targeting in default search box The candidate entry to match with the target information;The touch data that the user inputs in default control region is obtained, and really Touch operation corresponding to the fixed touch data;If the touch operation corresponds to default entry selection instruction, according to Default entry selection instruction determines entry from the candidate entry.It is default in the dummy keyboard of terminal-pair input method Control area newly imparts selection function, when detect user default control region input with default entry selection instruction pair During the touch operation answered, entry is determined from candidate entry according to the default entry selection instruction.User is it is determined that mesh When marking entry, it is not necessary to the entry for going the finger below screen above click screen across larger amplitude, can be direct By the default entry selection instruction of default control area triggering quickly to determine entry, it is possible to increase user's selection target The operating efficiency and convenience of entry.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it is required in being described below to embodiment to use Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow diagram of the method for selection entry provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow diagram of the method for selection entry that another embodiment of the present invention provides;
Fig. 3 is a kind of schematic diagram of search interface provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic block diagram for terminal that another embodiment of the present invention provides;
Fig. 6 is a kind of schematic block diagram for terminal that yet another embodiment of the invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but it is not precluded from one or more of the other feature, whole Body, step, operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and appended claims is Refer to any combinations of one or more of the associated item listed and be possible to combine, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface The mobile phone, laptop computer or tablet PC of (for example, touch-screen display and/or touch pad) etc it is other just Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but with tactile Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, the terminal including display and touch sensitive surface is described.It is, however, to be understood that It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application journey Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application Program, telephony application, videoconference application, email application, instant messaging applications, exercise Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can use at least one public of such as touch sensitive surface Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table The corresponding information shown in the one or more functions and terminal in face.So, the public physical structure of terminal is (for example, touch Sensing surface) the various application programs with user interface directly perceived and transparent for a user can be supported.
Fig. 1 is referred to, Fig. 1 is a kind of schematic flow diagram of the method for selection entry provided in an embodiment of the present invention.This reality The executive agent for applying the method that entry is selected in example is terminal, and terminal can be the mobile terminals such as mobile phone, tablet personal computer, but not It is limited to this, can also is other-end.The method of selection entry as shown in Figure 1 may include following steps:
S101:If detecting user's targeting in default search box, obtain and show and the target The candidate entry of information match.
When user needs to search for information by default application program, user can be in the search interface of default application program Targeting in default search box.Default application program is the application journey with function of search and word-meaning association function Sequence, default application program include but are not limited to instant messaging application (for example, wechat application or QQ applications etc.), are map application, clear Device of looking at application etc..Target information can be phonetic, word or foreign language word etc..Foreign language word is to point out other languages outside Chinese Say the word represented.
Terminal is detecting the default application of startup, and detects that user inputs mesh in the default search box of search interface When marking information, the candidate entry to match with target information is obtained by word-meaning association function.Wherein, entry can be word, word, It can also be made up of word, word etc..Entry also includes annotations therein.The number of the candidate entry got can be one, It can be at least two, not be limited herein.
S102:The touch data that the user inputs in default control region is obtained, and determines that the touch data is corresponding Touch operation.
Terminal obtains the touch data that user is inputted in default control region by touch-screen.
Default control region can be information input area corresponding to hand-writing input method or hand-writing input method or non- The viewing area corresponding to default virtual key in dummy keyboard corresponding to hand-writing input method.
Default virtual key in dummy keyboard including but not limited to " confirms " key or represents the function key of triggering search.Table The function key for showing triggering search can be " search " key, " going to " key or " search " key etc..
" confirmation " key in dummy keyboard refers to that terminal when waking up input method, is shown in dummy keyboard, for representing User confirms the instruction button of input." search " key refers to that terminal is detecting the word of the chosen complete generation of user, is used for Trigger the instruction button scanned for the word in search box." confirmation " key and " search " key are in same position, they it Between for the relation that mutually switches.
In nine grids input method, the lower right corner that " confirmation " key and " search " key are in dummy keyboard.
Terminal is when getting the touch data that user inputs in default control region, it is determined that the touch data pair got The touch operation answered.Wherein, touch operation includes but is not limited to clicking operation, slide, double click operation or zoom operations etc..
Terminal it is determined that during touch operation corresponding to touch data, detect touch operation corresponding to touch data with it is default Whether touch operation matches corresponding to entry selection instruction.Touch operation and default entry corresponding to terminal detection touch data The method whether touch operation corresponding to selection instruction matches can be:Detect touch data corresponding to touch track with it is default Whether the touch track of touch operation matches corresponding to entry selection instruction.Touch track corresponding to touch data is detected with presetting Entry selection instruction corresponding to the touch track of touch operation whether match and can be:Touch track corresponding to touch data with The touch track of touch operation is same or about corresponding to default entry selection instruction.It is roughly the same to refer to, both it Between error in acceptable error range.
Default entry selection instruction can be upward selection instruction, downward selection instruction, jump to head end instruction or jump Go to end instruction.Correspondingly, touch operation corresponding to default entry selection instruction be upward sliding, it is slide downward, quick Upward sliding or quick slide downward;Or touch operation corresponding to default entry selection instruction can be to the left slide, to It is right to slide, quickly slide or quickly slide to the right to the left.
In the present embodiment, touch operation corresponding to upward selection instruction is upward sliding or slided to the left, selection downwards Touch operation corresponding to instruction be slide downward or slide to the right, jump to head end instruction corresponding to touch operation be it is quick upwards Slide or quickly slide to the left, jump to touch operation corresponding to the instruction of end as quick slide downward or quickly slide to the right.
It is understood that in other embodiments, it can also be provided that touch operation corresponding to selection instruction is upwards Touch operation corresponding to slide downward or to the right slip, downward selection instruction is upward sliding or slides to the left, jumps to head end Touch operation corresponding to instruction be quick slide downward or quickly slide to the right, jump to end instruction corresponding to touch operation be Quick upward sliding quickly slides to the left.
Terminal is confirming that touch operation touch operation corresponding with default entry selection instruction is not corresponding to touch data During matching, it is identified as touch operation corresponding to touch data and does not correspond to default entry selection instruction, terminate this control flow.
Terminal is confirming touch operation touch operation corresponding with default entry selection instruction corresponding to touch data Timing, it is identified as touch operation corresponding to touch data and corresponds to default entry selection instruction, perform S103.
Wherein, touch operation corresponding to default entry selection instruction includes but is not limited to slide, specifically can basis Actual conditions are set.
S103:If the touch operation corresponds to default entry selection instruction, referred to according to the default entry selection Order determines entry from the candidate entry.
Terminal confirm the touch operation correspond to default entry selection instruction when, according to default entry selection instruction from Entry is determined in candidate entry.
Wherein, default entry selection instruction can be one, or at least two, it is not limited herein.It is default Entry selection instruction for upward selection instruction, downward selection instruction, jump to head end instruction or jump to end instruction.Upwards Selection instruction is used to represent to choose a upper candidate entry adjacent with current entry.Upward selection instruction be used for expression choose and The adjacent next candidate entry of current entry.Head end is jumped to instruct for representing to choose first in candidate entry list Candidate entry.End is jumped to instruct for representing to choose last candidate entry in candidate entry list.Current entry Referring to entry corresponding to the region that the entry that currently selects or choice box currently cover, choice box is used for the content for indicating selection, It is the entry currently selected to be chosen entry corresponding to the region of frame covering.Terminal is when getting candidate entry, acquiescence selection First candidate entry.
For example, candidate entry list includes 5 candidate entries, that currently select is second in candidate entry list Candidate entry, then when it is upward selection instruction that the touch operation, which corresponds to default entry selection instruction, terminal is by candidate word First candidate entry in bar list is identified as entry;When the touch operation correspond to default entry selection instruction be to During lower selection instruction, the 3rd candidate entry in candidate entry list is identified as entry by terminal;When the touch operation When corresponding default entry selection instruction is jumps to head end instruction, terminal is by first candidate entry in candidate entry list It is identified as entry;When the touch operation corresponds to default entry selection instruction to jump to end instruction, terminal will wait The in entry list the 5th candidate entry is selected to be identified as entry.
It is understood that work as the target word for detecting and being determined according to default entry selection instruction from candidate entry Bar, when identical with currently selected entry, then the default entry selection instruction is not responding to, the entry currently selected is identified For entry.
For example, the entry currently selected is first candidate entry in candidate entry list, touch operation is corresponding default Entry selection instruction for upward selection instruction or jump to head end instruction when, terminal can be not responding to the upward selection instruction or Head end instruction is jumped to, the first candidate entry is identified as entry.
The entry currently selected is last candidate entry in candidate entry list, and touch operation corresponds to default word When bar selection instruction is downward selection instruction or jumps to end instruction, terminal can be not responding to the downward selection instruction or redirect Instructed to end, last candidate entry is identified as entry.
Terminal when determining entry, can in default search box display target entry, and from current interface Jump to interactive interface corresponding to entry.
Such scheme, if terminal detects user's targeting in default search box, obtain and show with The candidate entry that the target information matches;The touch data that the user inputs in default control region is obtained, and is determined Touch operation corresponding to the touch data;If the touch operation corresponds to default entry selection instruction, according to described pre- If entry selection instruction determine entry from the candidate entry.Default control in the dummy keyboard of terminal-pair input method Region processed newly imparts selection function, when detect user default control region input it is corresponding with default entry selection instruction Touch operation when, entry is determined from candidate entry according to the default entry selection instruction.User is it is determined that target During entry, it is not necessary to the entry for going the finger below screen above click screen across larger amplitude, can directly lead to The default entry selection instruction of default control area triggering is crossed quickly to determine entry, it is possible to increase user's selection target word The operating efficiency and convenience of bar.
Fig. 2 is referred to, Fig. 2 is a kind of schematic flow diagram of the method for selection entry that another embodiment of the present invention provides. The executive agent that the method for entry is selected in the present embodiment is terminal, and terminal can be the mobile terminals such as mobile phone, tablet personal computer, but This is not limited to, can also be other-end.The method of selection entry as shown in Figure 2 may include following steps:
S201:If detecting user's targeting in default search box, obtain and show and the target The candidate entry of information match.
S201 is identical with the S101 in a upper embodiment in the present embodiment, referring specifically to the phase of S101 in a upper embodiment Description is closed, is not repeated herein.
Alternatively, S202 can be included by selecting the method for entry:Determined according to currently used input method type described pre- If control area, and determine the default maximal distance threshold corresponding to the default entry selection instruction of the input method type With default minimum threshold of distance.
Wherein, if current input method type is hand-writing input method, then, it is determined that default control region to be hand-written defeated Enter information input area corresponding to method.Maximal distance threshold is preset corresponding to default entry selection instruction to be inputted according to information The width in region is set, and presets the width value that maximal distance threshold is less than or equal to information input area.Default entry selection The length that minimum threshold of distance is more than touch track corresponding to clicking operation is preset corresponding to instruction.
Also referring to Fig. 3, Fig. 3 is a kind of schematic diagram of search interface provided in an embodiment of the present invention.Fig. 3 a are this hairs What bright embodiment provided passes through search interface corresponding to nine grids input method targeting.Fig. 3 b are that the embodiment of the present invention carries What is supplied passes through search interface corresponding to full keyboard input method targeting.As shown in figure 3, user is in default search box Targeting " gugong ", and when clicking on " confirmation " key, the time that terminal is obtained and matched with target information " gugong " Select entry:The candidate entries such as Palace Museum, the Forbidden City, the Forbidden City-bus station, Palace Museum-ticket office, and in default search Viewing area between frame and input method shows the candidate entry got.Wherein, user is when clicking on " confirmation " key, " confirmation " Key switches to " search " key.
If current input method type is nine grids input method, then it is determined that default control region be dummy keyboard in Default virtual key corresponding to viewing area.Default virtual key in dummy keyboard including but not limited to " confirm " key or Represent the function key of triggering search.The function key for representing triggering search can be " search " key (as shown in Figure 3 a) or " going to " key Deng.Now, the display that maximal distance threshold is less than or equal to default virtual key is preset corresponding to default entry selection instruction The width value in region.Because the width value of viewing area for presetting virtual key is usually 2cm, default maximal distance threshold can be with 2cm is set to, presetting minimum threshold of distance corresponding to default entry selection instruction could be arranged to 0.25cm, but be not limited to This, can specifically be configured according to actual conditions, not be limited herein.As long as can be pre- corresponding to default entry selection instruction If minimum threshold of distance is more than the length of touch track corresponding to clicking operation, can be distinguished with clicking operation.
" confirmation " key in dummy keyboard refers to that terminal when waking up input method, is shown in dummy keyboard, for representing User confirms the instruction button of input." search " key refers to that terminal is detecting the word of the chosen complete generation of user, is used for Trigger the instruction button scanned for the word in search box." confirmation " key and " search " key are in same position, they it Between for the relation that mutually switches.
In nine grids input method, the lower right corner that " confirmation " key and " search " key are in dummy keyboard.
If current input method type is full keyboard input method, then it is determined that default control region be dummy keyboard In default " search " key corresponding to viewing area.Now, preset corresponding to default entry selection instruction it is maximum away from From the length value for the viewing area that threshold value is less than or equal to default " search " key.Due to presetting the viewing area of virtual key Length value be usually 2cm, default maximal distance threshold can be set to 2cm, be preset most corresponding to default entry selection instruction Small distance threshold value could be arranged to 0.33cm, but be not limited to this, can be specifically configured according to actual conditions, not limited herein System.As long as minimum threshold of distance can be preset corresponding to default entry selection instruction is more than touch track corresponding to clicking operation Length, can be distinguished with clicking operation.
It is understood that if currently used input method type is other input methods, terminal can be according to actual virtual The viewing area corresponding to default virtual key in keyboard, set and ultimate range is preset corresponding to default entry selection instruction Threshold value.The length that minimum threshold of distance is more than touch track corresponding to clicking operation is preset corresponding to default entry selection instruction Degree.
S201 and S202 sequentially, can first carry out S201 and perform S202 again, can also first carry out S202 and hold again in no particular order Row S201, S201 and S202 can also be performed simultaneously.
S203:The touch data that the user inputs in default control region is obtained, and determines that the touch data is corresponding Touch operation.
Terminal obtains the touch data that user is inputted in default control region by touch-screen.
Default control region is corresponding to information input area corresponding to hand-writing input method or unscripted input method The viewing area corresponding to default virtual key in dummy keyboard.Default virtual key in dummy keyboard includes but is not limited to " confirmation " key or the function key for representing triggering search.Represent triggering search function key can be " search " key, " going to " key or " search " key etc..
Terminal is when getting the touch data that user inputs in default control region, it is determined that the touch data pair got The touch operation answered.Wherein, touch operation includes but is not limited to clicking operation, slide, double click operation or zoom operations etc..
Terminal it is determined that during touch operation corresponding to touch data, detect touch operation corresponding to touch data with it is default Whether touch operation matches corresponding to entry selection instruction.Touch operation and default entry corresponding to terminal detection touch data The method whether touch operation corresponding to selection instruction matches can be:Detect touch data corresponding to touch track with it is default Whether the touch track of touch operation matches corresponding to entry selection instruction.Touch track corresponding to touch data is detected with presetting Entry selection instruction corresponding to the touch track of touch operation whether match and can be:Touch track corresponding to touch data with The touch track of touch operation is same or about corresponding to default entry selection instruction.It is roughly the same to refer to, both it Between error in acceptable error range.
In the present embodiment, default entry selection instruction includes upward selection instruction, downward selection instruction, jumps to head End instruction jumps to end instruction.Correspondingly, touch operation corresponding to default entry selection instruction can include sliding up Dynamic, slide downward, quick upward sliding or quick slide downward;Or touch operation corresponding to default entry selection instruction can With including sliding to the left, to the right slide, quick slide or quickly slide to the right to the left.In other embodiments, default entry Selection instruction can increase and decrease according to being actually needed.
In the present embodiment, touch operation corresponding to upward selection instruction is upward sliding or slided to the left, selection downwards Touch operation corresponding to instruction be slide downward or slide to the right, jump to head end instruction corresponding to touch operation be it is quick upwards Slide or quickly slide to the left, jump to touch operation corresponding to the instruction of end as quick slide downward or quickly slide to the right.
It is understood that in other embodiments, it can also be provided that touch operation corresponding to selection instruction is upwards Touch operation corresponding to slide downward or to the right slip, downward selection instruction is upward sliding or or slides to the left, jumps to head Touch operation corresponding to the instruction of end is quick slide downward or quickly slides to the right, jumps to touch operation corresponding to the instruction of end For quick upward sliding or quickly slide to the left.
Terminal is confirming that touch operation touch operation corresponding with default entry selection instruction is not corresponding to touch data During matching, it is identified as touch operation corresponding to touch data and does not correspond to default entry selection instruction, terminate this control flow.
Terminal is confirming touch operation touch operation corresponding with default entry selection instruction corresponding to touch data Timing, it is identified as touch operation corresponding to touch data and corresponds to default entry selection instruction, perform S204.
Wherein, touch operation corresponding to default entry selection instruction includes but is not limited to slide, specifically can basis Actual conditions are set.
S204:If the touch operation corresponds to default entry selection instruction, referred to according to the default entry selection Order determines entry from the candidate entry.
Terminal confirm the touch operation correspond to default entry selection instruction when, according to default entry selection instruction from Entry is determined in candidate entry.
Wherein, default entry selection instruction can be one, or at least two, it is not limited herein.It is default Entry selection instruction for upward selection instruction, downward selection instruction, jump to head end instruction or jump to end instruction.Upwards Selection instruction is used to represent to choose a upper candidate entry adjacent with current entry.Upward selection instruction be used for expression choose and The adjacent next candidate entry of current entry.Head end is jumped to instruct for representing to choose first in candidate entry list Candidate entry.End is jumped to instruct for representing to choose last candidate entry in candidate entry list.Current entry Referring to entry corresponding to the region that the entry that currently selects or choice box currently cover, choice box is used for the content for indicating selection, It is the entry currently selected to be chosen entry corresponding to the region of frame covering.Terminal is when getting candidate entry, acquiescence selection First candidate entry.
For example, candidate entry list includes 5 candidate entries, that currently select is second in candidate entry list Candidate entry, then when it is upward selection instruction that the touch operation, which corresponds to default entry selection instruction, terminal is by candidate word First candidate entry in bar list is identified as entry;When the touch operation correspond to default entry selection instruction be to During lower selection instruction, the 3rd candidate entry in candidate entry list is identified as entry by terminal;When the touch operation When corresponding default entry selection instruction is jumps to head end instruction, terminal is by first candidate entry in candidate entry list It is identified as entry;When the touch operation corresponds to default entry selection instruction to jump to end instruction, terminal will wait The in entry list the 5th candidate entry is selected to be identified as entry.
It is understood that work as the target word for detecting and being determined according to default entry selection instruction from candidate entry Bar, when identical with currently selected entry, then the default entry selection instruction is not responding to, the entry currently selected is identified For entry.
For example, the entry currently selected is first candidate entry in candidate entry list, touch operation is corresponding default Entry selection instruction for upward selection instruction or jump to head end instruction when, terminal can be not responding to the upward selection instruction or Head end instruction is jumped to, the first candidate entry is identified as entry.
The entry currently selected is last candidate entry in candidate entry list, and touch operation corresponds to default word When bar selection instruction is downward selection instruction or jumps to end instruction, terminal can be not responding to the downward selection instruction or redirect Instructed to end, last candidate entry is identified as entry.
Terminal when determining entry, can in default search box display target entry, and from current interface Jump to interactive interface corresponding to entry.
Alternatively, S204 can include S2041~S2043.
S2041:If touch operation corresponding to the touch data is slide, obtain corresponding to the slide Sliding distance value and glide direction.
Sliding distance value is the distance between Origin And Destination in touch track corresponding to touch data.
S2042:If the glide direction is preset direction, the sliding distance value is more than or equal to default minimum range threshold Value and the sliding distance value are less than default maximal distance threshold, then determine that the slide is corresponding according to the glide direction Entry selection instruction;Wherein, the entry selection instruction includes upward selection instruction or downward selection instruction.
If current input method type is hand-writing input method, preset direction can be to the left, to the right, up or down. When glide direction is to the left or upwards, sliding distance value is more than or equal to default minimum threshold of distance, and sliding distance value is less than During default maximal distance threshold, it is determined that slide corresponding to entry selection instruction be upward selection instruction.Work as slip Direction is to the right or downwards, sliding distance value is more than or equal to default minimum threshold of distance and sliding distance value is less than default maximum During distance threshold, it is determined that slide corresponding to entry selection instruction be downward selection instruction.Wherein, hand-writing input method Corresponding default minimum threshold of distance and default maximal distance threshold are with presetting minimum threshold of distance and presetting most in S202 Big distance threshold is identical.
If current input method type is nine grids input method, preset direction can be up or down.When slip side To be upward, sliding distance value is more than or equal to default minimum threshold of distance and sliding distance value is less than default maximal distance threshold When, it is determined that slide corresponding to entry selection instruction be upward selection instruction.When glide direction is downward, slide away from Be more than or equal to default minimum threshold of distance from value and when sliding distance value is less than default maximal distance threshold, it is determined that slip behaviour Entry selection instruction corresponding to work is downward selection instruction.Wherein, minimum range threshold is preset corresponding to nine grids input method Value can be that 0.25cm, default maximal distance threshold can be 2cm, but be not limited to this, can also be carried out according to actual conditions Set, be not limited herein.
If current input method type is full keyboard input method, preset direction can be leftward or rightward.When slip side To for the left, sliding distance value is more than or equal to default minimum threshold of distance and sliding distance value is less than default maximal distance threshold When, it is determined that slide corresponding to entry selection instruction be upward selection instruction.When glide direction is to the right, slide away from Be more than or equal to default minimum threshold of distance from value and when sliding distance value is less than default maximal distance threshold, it is determined that slip behaviour Entry selection instruction corresponding to work is downward selection instruction.Wherein, minimum range threshold is preset corresponding to full keyboard input method Value can be that 0.33cm, default maximal distance threshold can be 2cm, but be not limited to this, can also be carried out according to actual conditions Set, be not limited herein.
Terminal could be arranged to often slide on preset direction once, and choice box moves up or moved down an entry;Can also Pre-set different distance values and correspond to different entries and redirect number, to cause choice box to redirect number from current according to entry Entry is redirected.For example, terminal can pre-set different distance values correspondingly redirect 1 entry, 2 entries, 3 entries or 4 entries.Entry corresponding to choice box institute overlay area is the entry currently chosen.
S2043:Determined according to the entry selection instruction and the sliding distance value from the candidate entry Entry.
Wherein, when terminal is arranged to slide on preset direction once, when choice box moves up or moved down an entry, terminal One entry is just selected according to entry selection instruction up or down on the basis of the entry currently chosen, so that it is determined that Entry.For example, the entry currently chosen is the first candidate entry in candidate entry list, entry selection instruction is During downward selection instruction, the second candidate entry in candidate entry list is identified as entry by terminal.
1 entry, 2 entries, 3 entries or 4 entries are correspondingly redirected when terminal can pre-set different distance values When, entry is determined from candidate entry according to entry selection instruction and sliding distance value.
Different distance values is set to correspond to different entry switching numbers when terminal is default, and entry selection instruction is Upward selection instruction, sliding distance value is when redirecting distance value corresponding to 2 entries, and terminal is by choice box from currently choosing 2 entries are redirected on the basis of entry upwards, the entry that now choice box is covered is entry.If the word currently chosen When bar is first entry or second entry in candidate entry list, most first entry is identified as target word to terminal at last Bar.
When sliding distance value to redirect distance value corresponding to 3 entries, or sliding distance value is redirects corresponding to 4 entries The method that entry is determined during distance value, target word is determined during distance value corresponding with redirecting 2 entries with sliding distance value The method of bar is the same, referring specifically to above-mentioned related content, does not repeat herein.
Further, S2043 can also comprise the following steps:
Determine the target range scope belonging to the sliding distance value;
The default corresponding relation of number is redirected according to default distance range and entry, determines the target range scope pair The entry answered redirects number;
Number is redirected according to the entry selection instruction and the entry, target is determined from the candidate entry Entry.
Terminal can pre-set multiple pre-determined distance scopes, and set entry corresponding to each pre-determined distance scope to redirect Number.Wherein, the unit of distance is centimetre (cm).
For example, nine grids input method is correspondingly arranged on the first pre-determined distance scope [0.25,0.5], the second pre-determined distance model Enclose (0.5,1], the 3rd pre-determined distance scope (1,1.5], the 4th pre-determined distance scope (1.5,2].First pre-determined distance scope pair 1 entry should be redirected, the second pre-determined distance scope correspondingly redirects 2 entries, and the 3rd pre-determined distance scope correspondingly redirects 3 words Bar, the 4th pre-determined distance scope correspondingly redirect 4 entries.
Full keyboard input method is correspondingly arranged on the first pre-determined distance scope [0.33,0.66], the second pre-determined distance scope (0.66,1.33], the 3rd pre-determined distance scope (1.33,2].First pre-determined distance scope correspondingly redirects 1 entry, and second is default Distance range correspondingly redirects 2 entries, and the 3rd pre-determined distance scope correspondingly redirects 3 entries.
Target range scope of the terminal according to belonging to sliding distance value and pre-determined distance scope determine the sliding distance value; The default corresponding relation of number is redirected according to default distance range and entry, determines that entry corresponding to target range scope redirects Number, so as to redirect number according to entry selection instruction and entry, entry is determined from candidate entry.
It is assumed that currently used input method type is nine grids input method, 5 candidate words are included in candidate entry list Bar, the entry currently selected are the second candidate entry, and entry selection instruction is downward selection instruction, and sliding distance value is 1.2cm, So the sliding distance value belongs to the 3rd pre-determined distance scope, because the 3rd pre-determined distance scope correspondingly redirects 3 entries, terminal 3 entries are redirected downwards from current entry, i.e., the 5th candidate entry in candidate entry list are identified as entry.
It is assumed that currently used input method type is full keyboard input method, 5 candidate words are included in candidate entry list Bar, the entry currently selected are the second candidate entry, and entry selection instruction is downward selection instruction, and sliding distance value is 1.2cm, So the sliding distance value belongs to the second pre-determined distance scope, because the second pre-determined distance scope correspondingly redirects 2 entries, terminal 2 entries are redirected downwards from current entry, i.e., the 4th candidate entry in candidate entry list are identified as entry.
Alternatively, S204 can include S2044~S2046.
S2044:If touch operation corresponding to the touch data is slide, obtain corresponding to the slide Sliding speed value.
Terminal can also be obtained corresponding to slide when it is slide to confirm touch operation corresponding to touch data Sliding speed value.
In the present embodiment, the change by obtaining the image of viewing area corresponding to " search " key or " search " key is fast Degree, obtains sliding speed corresponding to slide.Wherein, the pace of change threshold value of image can be that 400 pixels are per second, but not It is limited to this, specifically can stop pulling rate degree according to the notice of manufacturer terminal is configured.When " search " key got or The pace of change of the image of viewing area corresponding to " search " key is per second more than or equal to 400 pixels, then is identified as sliding speed Degree is more than or equal to default sliding speed threshold value.
In other embodiments, sliding speed corresponding to the slide got adjacent can also be slided twice by detecting The time interval of dynamic operation or the refreshing frequency of image are weighed, and relative set its corresponding threshold value.
S2044 and S2041 is step arranged side by side.
S2045:If the sliding speed is more than or equal to default sliding speed threshold value, the glide direction is default side To the sliding distance value is more than or equal to default minimum threshold of distance and the sliding distance value is less than default ultimate range threshold It is worth, then the entry selection instruction according to corresponding to the glide direction determines the slide;Wherein, the entry Selection instruction includes jumping to head end instruction or jumps to end instruction.
Head end is jumped to instruct for selecting first candidate entry in candidate entry list;Jump to end instruction forever Last candidate entry in candidate entry list is not selected.
Wherein, it is nine grids input method in currently used input method type, sliding speed is more than or equal to default slide Threshold speed, when sliding distance value is more than or equal to 0.25cm and is less than 2cm, if glide direction is upward, then according to cunning Dynamic direction determines entry selection instruction corresponding to slide to jump to head end instruction;If glide direction is downward, Entry selection instruction instructs to jump to end so according to corresponding to glide direction determines slide.
It is full keyboard input method in currently used input method type, sliding speed is more than or equal to default sliding speed threshold Value, when sliding distance value is more than 0.33cm and is less than 2cm, if glide direction is to the left, then determine to slide according to glide direction Entry selection instruction instructs to jump to head end corresponding to dynamic operation;If glide direction is to the right, then according to slip Direction determines entry selection instruction corresponding to slide to jump to end instruction.
S2046:Is determined from the candidate entry according to the glide direction and the entry selection instruction One candidate entry or last candidate entry are entry.
When entry selection instruction is jumps to head end instruction, determine that first candidate entry is from candidate entry Entry.When entry selection instruction is jumps to end instruction, last candidate word is determined from candidate entry Bar is entry.
Such scheme, if terminal detects user's targeting in default search box, obtain and show with The candidate entry that the target information matches;The touch data that the user inputs in default control region is obtained, and is determined Touch operation corresponding to the touch data;If the touch operation corresponds to default entry selection instruction, according to described pre- If entry selection instruction determine entry from the candidate entry.Default control in the dummy keyboard of terminal-pair input method Region processed newly imparts selection function, when detect user default control region input it is corresponding with default entry selection instruction Touch operation when, entry is determined from candidate entry according to the default entry selection instruction.User is it is determined that target During entry, it is not necessary to the entry for going the finger below screen above click screen across larger amplitude, can directly lead to The default entry selection instruction of default control area triggering is crossed quickly to determine entry, it is possible to increase user's selection target word The operating efficiency and convenience of bar.
Terminal redirects number by setting different distance ranges to correspond to different entries, can disposably redirect at least two Individual entry, improve entry efficiency of selection.
Terminal can be instructed by jumping to head end instruction or jumping to end, and first in quick selection candidate entry list Individual candidate entry or last candidate entry, further improve entry efficiency of selection.
Referring to Fig. 4, Fig. 4 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention.The terminal 4 of the present embodiment is wrapped The each unit included is used to perform each step in embodiment corresponding to Fig. 1, referring specifically to embodiment corresponding to Fig. 1 and Fig. 1 In associated description, do not repeat herein.The terminal of the present embodiment includes:Acquiring unit 410, determining unit 420 and entry choosing Select unit 430.
If acquiring unit 410 is used to detect user's targeting in default search box, obtains and show The candidate entry to match with the target information.
Determining unit 420 is used to obtain the touch data that the user inputs in default control region, and determines described touch Touch touch operation corresponding to data.
If entry selecting unit 430 corresponds to default entry selection instruction for the touch operation, according to described pre- If entry selection instruction determine entry from the candidate entry.
Such scheme, if terminal detects user's targeting in default search box, obtain and show with The candidate entry that the target information matches;The touch data that the user inputs in default control region is obtained, and is determined Touch operation corresponding to the touch data;If the touch operation corresponds to default entry selection instruction, according to described pre- If entry selection instruction determine entry from the candidate entry.Default control in the dummy keyboard of terminal-pair input method Region processed newly imparts selection function, when detect user default control region input it is corresponding with default entry selection instruction Touch operation when, entry is determined from candidate entry according to the default entry selection instruction.User is it is determined that target During entry, it is not necessary to the entry for going the finger below screen above click screen across larger amplitude, can directly lead to The default entry selection instruction of default control area triggering is crossed quickly to determine entry, it is possible to increase user's selection target word The operating efficiency and convenience of bar.
Referring to Fig. 5, Fig. 5 is a kind of schematic block diagram for terminal that another embodiment of the present invention provides.The end of the present embodiment The each unit that end 5 includes is used to perform each step in embodiment corresponding to Fig. 2, referring specifically to real corresponding to Fig. 2 and Fig. 2 The associated description in example is applied, is not repeated herein.The terminal of the present embodiment includes:Acquiring unit 510, determining unit 520 and word Bar selecting unit 530.Entry selecting unit 530 can include first acquisition unit 531, the first determining unit 532 and second Determining unit 533;Determining unit 530 can be with second acquisition unit 534, the 3rd determining unit 535 and the 4th determining unit 536。
If acquiring unit 510 is used to detect user's targeting in default search box, obtains and show The candidate entry to match with the target information.
Determining unit 520 is used to obtain the touch data that the user inputs in default control region, and determines described touch Touch touch operation corresponding to data.
Optionally it is determined that unit 520 is additionally operable to determine the default control region according to currently used input method type, And determine the default maximal distance threshold corresponding to the default entry selection instruction of the input method type and default minimum Distance threshold.
If entry selecting unit 530 corresponds to default entry selection instruction for the touch operation, according to described pre- If entry selection instruction determine entry from the candidate entry.
Alternatively, when entry selecting unit 530 is true including first acquisition unit 531, the first determining unit 532 and second During order member 533:
If first acquisition unit 531 is slide for touch operation corresponding to the touch data, described in acquisition Sliding distance value and glide direction corresponding to slide;
If the first determining unit 532 is preset direction for the glide direction, the sliding distance value is more than or equal to Default minimum threshold of distance and the sliding distance value are less than default maximal distance threshold, then determine institute according to the glide direction State entry selection instruction corresponding to slide;Wherein, the entry selection instruction include upward selection instruction or Downward selection instruction;
Second determining unit 533 is used for according to the entry selection instruction and the sliding distance value from the time Select and entry is determined in entry.
Further, the second determining unit 533 is specifically used for:Determine the target range model belonging to the sliding distance value Enclose;The default corresponding relation of number is redirected according to default distance range and entry, is determined corresponding to the target range scope Entry redirects number;Number is redirected according to the entry selection instruction and the entry, from the candidate entry really Set the goal entry.
Alternatively, when determining unit 530 can also include second acquisition unit 534, the 3rd determining unit 535 and the 4th During determining unit 536:
If second acquisition unit 534 is slide for touch operation corresponding to the touch data, described in acquisition Sliding speed value corresponding to slide;
If the 3rd determining unit 535 is used for the sliding speed value and is more than or equal to default sliding speed threshold value, the cunning Dynamic direction is preset direction, and the sliding distance value is more than or equal to default minimum threshold of distance and the sliding distance value is less than Maximal distance threshold is preset, then the entry selection instruction according to corresponding to the glide direction determines the slide;Its In, the entry selection instruction includes jumping to head end instruction or jumps to end instruction;
4th determining unit 536 is used for according to the glide direction and the entry selection instruction from the candidate Determine that first candidate entry or last candidate entry are entry in entry.
Such scheme, if terminal detects user's targeting in default search box, obtain and show with The candidate entry that the target information matches;The touch data that the user inputs in default control region is obtained, and is determined Touch operation corresponding to the touch data;If the touch operation corresponds to default entry selection instruction, according to described pre- If entry selection instruction determine entry from the candidate entry.Default control in the dummy keyboard of terminal-pair input method Region processed newly imparts selection function, when detect user default control region input it is corresponding with default entry selection instruction Touch operation when, entry is determined from candidate entry according to the default entry selection instruction.User is it is determined that target During entry, it is not necessary to the entry for going the finger below screen above click screen across larger amplitude, can directly lead to The default entry selection instruction of default control area triggering is crossed quickly to determine entry, it is possible to increase user's selection target word The operating efficiency and convenience of bar.
Terminal redirects number by setting different distance ranges to correspond to different entries, can disposably redirect at least two Individual entry, improve entry efficiency of selection.
Terminal can be instructed by jumping to head end instruction or jumping to end, and first in quick selection candidate entry list Individual candidate entry or last candidate entry, further improve entry efficiency of selection.
Referring to Fig. 6, Fig. 6 is a kind of terminal schematic block diagram that fourth embodiment of the invention provides.This implementation as depicted Terminal 6 in example can include:One or more processors 601;One or more input equipments 602, one or more output Equipment 603 and memory 604.Above-mentioned processor 601, input equipment 602, output equipment 603 and memory 604 pass through bus 605 connections.Memory 602 is used to store computer program, and the computer program includes programmed instruction, and processor 601 is used for Perform the programmed instruction that memory 602 stores.Wherein, processor 601 is arranged to call described program instruction to perform:
If detecting user's targeting in default search box, obtain and show and the target information phase The candidate entry of matching;
The touch data that the user inputs in default control region is obtained, and determines to touch corresponding to the touch data Operation;
If the touch operation corresponds to default entry selection instruction, according to the default entry selection instruction from institute State and entry is determined in candidate entry.
Alternatively, processor 601 is specific is arranged to call described program instruction to perform:
If touch operation corresponding to the touch data is slide, obtain slide corresponding to the slide away from From value and glide direction;
If the glide direction is preset direction, the sliding distance value is more than or equal to default minimum threshold of distance and institute State sliding distance value and be less than default maximal distance threshold, then the target according to corresponding to the glide direction determines the slide Entry selection instruction;Wherein, the entry selection instruction includes upward selection instruction or downward selection instruction;
Target word is determined from the candidate entry according to the entry selection instruction and the sliding distance value Bar.
Alternatively, processor 601 is specific is arranged to call described program instruction to perform:
Determine the target range scope belonging to the sliding distance value;
The default corresponding relation of number is redirected according to default distance range and entry, determines the target range scope pair The entry answered redirects number;
Number is redirected according to the entry selection instruction and the entry, target is determined from the candidate entry Entry.
Alternatively, processor 601 is also specifically arranged to call described program instruction to perform:
If touch operation corresponding to the touch data is slide, obtains and speed is slided corresponding to the slide Angle value;
If the sliding speed value is more than or equal to default sliding speed threshold value, the glide direction is preset direction, institute State sliding distance value and be less than default maximal distance threshold more than or equal to default minimum threshold of distance and the sliding distance value, then The entry selection instruction according to corresponding to the glide direction determines the slide;Wherein, the entry selection Instruction includes jumping to head end instruction or jumps to end instruction;
It is described to determine that entry includes from the candidate entry according to the entry selection instruction:
First time is determined from the candidate entry according to the glide direction and the entry selection instruction It is entry to select entry or last candidate entry.
Alternatively, processor 601 is additionally configured to call described program instruction to perform:
The default control region is determined according to currently used input method type, and determines the input method type Default maximal distance threshold and default minimum threshold of distance corresponding to default entry selection instruction.
It should be appreciated that in embodiments of the present invention, alleged processor 601 can be CPU (Central Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.
Input equipment 602 can include Trackpad, fingerprint adopt sensor (finger print information that is used to gathering user and fingerprint Directional information), microphone etc., output equipment 603 can include display (LCD etc.), loudspeaker etc..
The memory 604 can include read-only storage and random access memory, and to processor 601 provide instruction and Data.The a part of of memory 604 can also include nonvolatile RAM.For example, memory 604 can also be deposited Store up the information of device type.
In the specific implementation, processor 601, input equipment 602, the output equipment 603 described in the embodiment of the present invention can Perform the realization side described in the first embodiment and second embodiment of the method for selection entry provided in an embodiment of the present invention Formula, the implementation of the terminal described by the embodiment of the present invention is also can perform, will not be repeated here.
Further, a kind of computer-readable recording medium, the computer are provided in another embodiment of the invention Readable storage medium storing program for executing is stored with computer program, and the computer program includes programmed instruction, and described program is instructed by processor Realized during execution:
If detecting user's targeting in default search box, obtain and show and the target information phase The candidate entry of matching;
The touch data that the user inputs in default control region is obtained, and determines to touch corresponding to the touch data Operation;
If the touch operation corresponds to default entry selection instruction, according to the default entry selection instruction from institute State and entry is determined in candidate entry.
Alternatively, can specifically be realized when the computer program is executed by processor:
If touch operation corresponding to the touch data is slide, obtain slide corresponding to the slide away from From value and glide direction;
If the glide direction is preset direction, the sliding distance value is more than or equal to default minimum threshold of distance and institute State sliding distance value and be less than default maximal distance threshold, then the target according to corresponding to the glide direction determines the slide Entry selection instruction;Wherein, the entry selection instruction includes upward selection instruction or downward selection instruction;
Target word is determined from the candidate entry according to the entry selection instruction and the sliding distance value Bar.
Alternatively, can also specifically be realized when the computer program is executed by processor:
Determine the target range scope belonging to the sliding distance value;
The default corresponding relation of number is redirected according to default distance range and entry, determines the target range scope pair The entry answered redirects number;
Number is redirected according to the entry selection instruction and the entry, target is determined from the candidate entry Entry.
Alternatively, can also specifically be realized when the computer program is executed by processor:
If touch operation corresponding to the touch data is slide, obtains and speed is slided corresponding to the slide Angle value;
If the sliding speed value is more than or equal to default sliding speed threshold value, the glide direction is preset direction, institute State sliding distance value and be less than default maximal distance threshold more than or equal to default minimum threshold of distance and the sliding distance value, then The entry selection instruction according to corresponding to the glide direction determines the slide;Wherein, the entry selection Instruction includes jumping to head end instruction or jumps to end instruction;
It is described to determine that entry includes from the candidate entry according to the entry selection instruction:
First time is determined from the candidate entry according to the glide direction and the entry selection instruction It is entry to select entry or last candidate entry.
Alternatively, can also be implemented when the computer program is executed by processor:According to currently used input Method type determines the default control region, and determines corresponding to the default entry selection instruction of the input method type Default maximal distance threshold and default minimum threshold of distance.
The computer-readable recording medium can be the internal storage unit of the terminal described in foregoing any embodiment, example Such as the hard disk or internal memory of terminal.The computer-readable recording medium can also be the External memory equipment of the terminal, such as The plug-in type hard disk being equipped with the terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the computer-readable recording medium can also be wrapped both Including the internal storage unit of the terminal also includes External memory equipment.The computer-readable recording medium is described for storing Other programs and data needed for computer program and the terminal.The computer-readable recording medium can be also used for temporarily When store the data that has exported or will export.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This A little functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specially Industry technical staff can realize described function using distinct methods to each specific application, but this realization should not Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, the end of foregoing description End and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed terminal and method, it can be passed through Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only Only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed phase Coupling or direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit Connection or electricity, the connection of mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to be contributed in other words to prior art, or all or part of the technical scheme can be in the form of software product Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the present invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced Change, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection domain be defined.

Claims (10)

  1. A kind of 1. method for selecting entry, it is characterised in that including:
    If detecting user's targeting in default search box, obtain and show and match with the target information Candidate entry;
    The touch data that the user inputs in default control region is obtained, and determines to touch behaviour corresponding to the touch data Make;
    If the touch operation corresponds to default entry selection instruction, according to the default entry selection instruction from the time Select and entry is determined in entry.
  2. 2. according to the method for claim 1, it is characterised in that if the touch operation corresponds to default entry selection Instruction, then determine entry according to the default entry selection instruction from the candidate entry, including:
    If touch operation corresponding to the touch data is slide, sliding distance value corresponding to the slide is obtained And glide direction;
    If the glide direction is preset direction, the sliding distance value is more than or equal to default minimum threshold of distance and the cunning Dynamic distance value is less than default maximal distance threshold, then the entry according to corresponding to the glide direction determines the slide Selection instruction;Wherein, the entry selection instruction includes upward selection instruction or downward selection instruction;
    Entry is determined from the candidate entry according to the entry selection instruction and the sliding distance value.
  3. 3. according to the method for claim 2, it is characterised in that described according to the entry selection instruction and described Sliding distance value determines entry from the candidate entry, including:
    Determine the target range scope belonging to the sliding distance value;
    The default corresponding relation of number is redirected according to default distance range and entry, is determined corresponding to the target range scope Entry redirects number;
    Number is redirected according to the entry selection instruction and the entry, target word is determined from the candidate entry Bar.
  4. 4. according to the method for claim 2, it is characterised in that if the touch operation corresponds to default entry selection Instruction, then determine entry according to the default entry selection instruction from the candidate entry, in addition to:
    If touch operation corresponding to the touch data is slide, sliding speed corresponding to the slide is obtained Value;
    If the sliding speed value is more than or equal to default sliding speed threshold value, the glide direction is preset direction, the cunning Dynamic distance value is more than or equal to default minimum threshold of distance and the sliding distance value is less than default maximal distance threshold, then basis The glide direction determines entry selection instruction corresponding to the slide;Wherein, the entry selection instruction Including jumping to head end instruction or jumping to end instruction;
    It is described to determine that entry includes from the candidate entry according to the entry selection instruction:
    First candidate word is determined from the candidate entry according to the glide direction and the entry selection instruction Bar or last candidate entry are entry.
  5. 5. according to the method described in claim any one of 1-4, it is characterised in that methods described also includes:
    The default control region is determined according to currently used input method type, and determines the default of the input method type Entry selection instruction corresponding to default maximal distance threshold and default minimum threshold of distance.
  6. A kind of 6. terminal, it is characterised in that including:
    Acquiring unit, if for detecting user's targeting in default search box, obtain and show with it is described The candidate entry that target information matches;
    Determining unit, the touch data inputted for obtaining the user in default control region, and determine the touch data Corresponding touch operation;
    Entry selecting unit, if corresponding to default entry selection instruction for the touch operation, according to the default word Bar selection instruction determines entry from the candidate entry.
  7. 7. terminal according to claim 6, it is characterised in that the entry selecting unit includes:
    First acquisition unit, if being slide for touch operation corresponding to the touch data, obtain described slide and grasp Sliding distance value and glide direction corresponding to work;
    First determining unit, if being preset direction for the glide direction, the sliding distance value, which is more than or equal to, to be preset most Small distance threshold value and the sliding distance value are less than default maximal distance threshold, then determine the slip according to the glide direction Entry selection instruction corresponding to operation;Wherein, the entry selection instruction includes upward selection instruction or downwards choosing Select instruction;
    Second determining unit, for according to the entry selection instruction and the sliding distance value from the candidate entry Middle determination entry.
  8. 8. terminal according to claim 7, it is characterised in that the entry selecting unit also includes:
    Second acquisition unit, if being slide for touch operation corresponding to the touch data, obtain described slide and grasp Sliding speed value corresponding to work;
    3rd determining unit, if being more than or equal to default sliding speed threshold value, the glide direction for the sliding speed value For preset direction, the sliding distance value is more than or equal to default minimum threshold of distance and the sliding distance value be less than it is default most Big distance threshold, then the entry selection instruction according to corresponding to the glide direction determines the slide;Wherein, it is described Entry selection instruction includes jumping to head end instruction or jumps to end instruction;
    4th determining unit, for according to the glide direction and the entry selection instruction from the candidate entry Determine that first candidate entry or last candidate entry are entry.
  9. 9. a kind of terminal, it is characterised in that the processor, defeated including processor, input equipment, output equipment and memory Enter equipment, output equipment and memory to be connected with each other, wherein, the memory is used to store computer program, the computer Program includes programmed instruction, and the processor is arranged to call described program instruction, performed such as any one of claim 1-5 Methods described.
  10. A kind of 10. computer-readable recording medium, it is characterised in that the computer-readable storage medium is stored with computer program, The computer program includes programmed instruction, and described program instruction makes the computing device such as right when being executed by a processor It is required that any one of 1-5 methods described.
CN201710638533.6A 2017-07-31 2017-07-31 A kind of method and terminal for selecting entry Withdrawn CN107491502A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710638533.6A CN107491502A (en) 2017-07-31 2017-07-31 A kind of method and terminal for selecting entry

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710638533.6A CN107491502A (en) 2017-07-31 2017-07-31 A kind of method and terminal for selecting entry

Publications (1)

Publication Number Publication Date
CN107491502A true CN107491502A (en) 2017-12-19

Family

ID=60644276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710638533.6A Withdrawn CN107491502A (en) 2017-07-31 2017-07-31 A kind of method and terminal for selecting entry

Country Status (1)

Country Link
CN (1) CN107491502A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110083266A (en) * 2019-04-02 2019-08-02 上海墨案智能科技有限公司 Information processing method, device and storage medium
CN111311389A (en) * 2020-02-06 2020-06-19 支付宝(杭州)信息技术有限公司 Data processing method, data processing device, storage medium and electronic equipment
CN112269475A (en) * 2020-10-23 2021-01-26 维沃移动通信有限公司 Character display method and device and electronic equipment
CN113778237A (en) * 2021-08-27 2021-12-10 维沃移动通信有限公司 Character display method and device, electronic equipment and medium
WO2023231645A1 (en) * 2022-05-30 2023-12-07 荣耀终端有限公司 Search method and apparatus, electronic device, and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103645851A (en) * 2013-10-28 2014-03-19 北京三星通信技术研究有限公司 Method and system for inputting content in electronic equipment with touch screen
CN103713845A (en) * 2013-12-16 2014-04-09 北京搜狗科技发展有限公司 Method for screening candidate items and device thereof, text input method and input method system
CN104462496A (en) * 2014-12-19 2015-03-25 百度在线网络技术(北京)有限公司 Search method, device and mobile terminal
CN104699404A (en) * 2015-03-26 2015-06-10 努比亚技术有限公司 Soft keyboard display method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103645851A (en) * 2013-10-28 2014-03-19 北京三星通信技术研究有限公司 Method and system for inputting content in electronic equipment with touch screen
CN103713845A (en) * 2013-12-16 2014-04-09 北京搜狗科技发展有限公司 Method for screening candidate items and device thereof, text input method and input method system
CN104462496A (en) * 2014-12-19 2015-03-25 百度在线网络技术(北京)有限公司 Search method, device and mobile terminal
CN104699404A (en) * 2015-03-26 2015-06-10 努比亚技术有限公司 Soft keyboard display method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110083266A (en) * 2019-04-02 2019-08-02 上海墨案智能科技有限公司 Information processing method, device and storage medium
CN110083266B (en) * 2019-04-02 2022-05-13 上海墨案智能科技有限公司 Information processing method, device and storage medium
CN111311389A (en) * 2020-02-06 2020-06-19 支付宝(杭州)信息技术有限公司 Data processing method, data processing device, storage medium and electronic equipment
CN112269475A (en) * 2020-10-23 2021-01-26 维沃移动通信有限公司 Character display method and device and electronic equipment
WO2022083750A1 (en) * 2020-10-23 2022-04-28 维沃移动通信有限公司 Text display method and apparatus and electronic device
CN113778237A (en) * 2021-08-27 2021-12-10 维沃移动通信有限公司 Character display method and device, electronic equipment and medium
CN113778237B (en) * 2021-08-27 2024-07-30 维沃移动通信有限公司 Text display method, text display device, electronic equipment and medium
WO2023231645A1 (en) * 2022-05-30 2023-12-07 荣耀终端有限公司 Search method and apparatus, electronic device, and readable storage medium

Similar Documents

Publication Publication Date Title
US11429145B2 (en) Systems and methods for prompting a log-in to an electronic device based on biometric information received from a user
US11010027B2 (en) Device, method, and graphical user interface for manipulating framed graphical objects
US10503255B2 (en) Haptic feedback assisted text manipulation
KR102157759B1 (en) Devices, methods, and graphical user interfaces for wireless pairing with peripheral devices and displaying status information concerning the peripheral devices
US10754603B2 (en) Systems, devices, and methods for dynamically providing user interface controls at a touch-sensitive secondary display
US20190079648A1 (en) Method, device, and graphical user interface for tabbed and private browsing
KR101375166B1 (en) System and control method for character make-up
US20210049321A1 (en) Device, method, and graphical user interface for annotating text
CN107491502A (en) A kind of method and terminal for selecting entry
CN102999274B (en) Semantic zoom animation
AU2022202607A1 (en) Column interface for navigating in a user interface
CN101627360B (en) Method, system, and graphical user interface for viewing multiple application windows
US9612675B2 (en) Emulating pressure sensitivity on multi-touch devices
KR102028119B1 (en) Method for displaying for application an electronic device thereof
CN106874817A (en) Two-dimensional code identification method, equipment and mobile terminal
CN105659194B (en) Fast worktodo for on-screen keyboard
CN108064368A (en) The control method and device of flexible display device
US20140145945A1 (en) Touch-based input control method
MX2014002955A (en) Formula entry for limited display devices.
US20240143024A1 (en) Systems and Methods for Prompting a Log-In to an Electronic Device Based on Biometric Information Received from a User
US20150363095A1 (en) Method of arranging icon and electronic device supporting the same
CN107765969A (en) A kind of method, terminal and computer-readable recording medium for opening application program
US20220391456A1 (en) Devices, Methods, and Graphical User Interfaces for Interacting with a Web-Browser
CN113268182A (en) Application icon management method and electronic equipment
CN108052212A (en) A kind of method, terminal and computer-readable medium for inputting word

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20171219

WW01 Invention patent application withdrawn after publication