CN104407798A - Virtual key control method and device as well as terminal - Google Patents

Virtual key control method and device as well as terminal Download PDF

Info

Publication number
CN104407798A
CN104407798A CN201410597195.2A CN201410597195A CN104407798A CN 104407798 A CN104407798 A CN 104407798A CN 201410597195 A CN201410597195 A CN 201410597195A CN 104407798 A CN104407798 A CN 104407798A
Authority
CN
China
Prior art keywords
button
target area
target
projection point
touch
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
CN201410597195.2A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410597195.2A priority Critical patent/CN104407798A/en
Publication of CN104407798A publication Critical patent/CN104407798A/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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas

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)
  • Input From Keyboards Or The Like (AREA)

Abstract

The embodiment of the invention discloses a virtual key control method, which comprises the following steps that the vertical distance between a touch control end and a display screen is detected; whether the vertical distance is smaller than the preset first distance threshold or not is judged; if the vertical distance is smaller than the first distance threshold, a vertical projection point of the touch control end on the display screen is determined; a corresponding target region of the vertical projection point in a soft keyboard is determined; a target key in the target region is subjected to special effect processing for displaying the target key in a highlighted way. The embodiment of the invention also discloses the virtual key control device and the terminal. When the virtual key control method, the virtual key control device and the terminal are adopted, virtual keys in the target region can be displayed in the highlighted way through carrying out special effect processing on the corresponding target region of the touch control end in the terminal soft keyboard, so input errors are reduced.

Description

A kind of control method of virtual key, device and terminal
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of control method of virtual key, device and terminal.
Background technology
Nowadays, the mobile device such as smart mobile phone, panel computer is used widely.When inputting information on the mobile apparatus, normally realized the input of information by the virtual key clicked on the soft keyboard of display screen.After user clicks a certain virtual key, the top of this virtual key can eject an output window usually, and this output window shows character corresponding to this virtual key.
But, due to the restriction of size, the width that its virtual key occupies when showing of the soft keyboard on mobile device is general less, makes user when clicking a certain virtual key, usually there is the overdue adjacent virtual button hitting this virtual key, thus occur the situation of character input error.And once there is character input error, user just need delete the character of erroneous input when correcting, and attempt again pressing this virtual key and re-entering, until the character that correct input is correct, waste user time, causes the input efficiency of character lower.
Summary of the invention
Embodiment of the present invention technical matters to be solved is, a kind of control method of virtual key, device and terminal are provided, special effect processing is carried out, to highlight the virtual key in this target area by the target area corresponding in terminal soft keyboard to touch-control end.
In order to solve the problems of the technologies described above, embodiments provide a kind of control method of virtual key, comprising:
Detect the vertical range between touch-control end and display screen;
Judge that whether described vertical range is lower than the first distance threshold preset;
If lower than described first distance threshold, determine the vertical projection point of described touch-control end on described display screen;
Determine the target area that described vertical projection point is corresponding in the soft keyboard at place;
Special effect processing is carried out to the target button in described target area, to highlight described target button.
Correspondingly, the embodiment of the present invention additionally provides a kind of control device of virtual key, comprising:
First detection module, for detecting the vertical range between touch-control end and display screen;
Judge module, for judging that whether vertical range that described first detection module detects is lower than the first distance threshold preset;
First determination module, for when the judged result of described judge module is lower than described first distance threshold, determines the vertical projection point of described touch-control end on described display screen;
Second determination module, for determining the target area that described vertical projection point is corresponding in the soft keyboard at place;
Control module, carries out special effect processing, to highlight described target button for the target button in the target area determined described second determination module.
Correspondingly, the embodiment of the present invention additionally provides a kind of terminal, comprises the control device of above-mentioned virtual key.
Implement the embodiment of the present invention, there is following beneficial effect:
The embodiment of the present invention can when detecting the close together before touch-control end and display screen, by determining target area corresponding in the vertical projection point place soft keyboard of this touch-control end on this display screen, and special effect processing is carried out to the virtual key in this target area, to highlight this virtual key, thus reminding user, the need of the content of this target button of input, decreases input error effectively.
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 some embodiments of the present 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 these accompanying drawings.
Fig. 1 is the schematic flow sheet of the control method of a kind of virtual key that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the control method of the another kind of virtual key that the embodiment of the present invention provides;
Fig. 3 is the structural representation of the control device of a kind of virtual key that the embodiment of the present invention provides;
Fig. 4 is the structural representation of the control device of the another kind of virtual key that the embodiment of the present invention provides;
Fig. 5 is the structural representation of a kind of terminal that the embodiment of the present invention provides.
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.
Refer to Fig. 1, it is the schematic flow sheet of the control method of a kind of virtual key that the embodiment of the present invention provides, the described method of the embodiment of the present invention can be applied particularly to mobile phone, panel computer, personal digital assistant (Personal Digital Assistant, etc. PDA) in terminal, concrete, described method comprises:
S101: detect the vertical range between touch-control end and display screen.
It should be noted that, described touch-control end can be the touch control devices such as user's finger or terminal pointer, and the embodiment of the present invention does not limit.
S102: judge that whether described vertical range is lower than the first distance threshold preset, if lower than described first distance threshold, determines the vertical projection point of described touch-control end on described display screen.
In specific embodiment, user as the virtual key in the soft keyboard of finger click terminal display, carries out the input of information by touch-control end.Concrete, when detecting that touch-control end is above terminal display, the vertical range between this touch-control end and display screen can be obtained, and whether detect this vertical range lower than the first distance threshold preset, as 2cm.When the vertical range between this touch-control end and display screen being detected lower than 2cm, when namely terminal induction is to this touch-control end, triggers and determining this touch-control end vertical projection point on the display screen.
S103: determine the target area that described vertical projection point is corresponding in the soft keyboard at place.
Further, after determining touch-control end vertical projection point on the display screen, the target area that described vertical projection point is corresponding in the soft keyboard at place can be determined.Concrete, in the soft keyboard at described vertical projection point place, with this vertical projection point for the center of circle, and according to the display radius preset, as 0.5cm, target area can be determined.
S104: carry out special effect processing to the target button in described target area, to highlight described target button.
Concrete, described special effect processing can comprise amplifies process, color more changed handling or layout more changed handling etc.For example, after determining target area corresponding in the soft keyboard of this vertical projection point at place, amplification process can be carried out to this target area, and change virtual key and the layout of target button in soft keyboard in this target area, the adjacent virtual button of target button and described target button carries out single file display as will be described, with the content of reminding user the need of this target button of input.
Implementing the embodiment of the present invention can when detecting the close together before touch-control end and display screen, by determining target area corresponding in the vertical projection point place soft keyboard of this touch-control end on this display screen, and special effect processing is carried out to the virtual key in this target area, to highlight this virtual key, thus reminding user, the need of the content of this target button of input, decreases input error effectively.
Further, referring to Fig. 2, is the schematic flow sheet of the control method of the another kind of virtual key that the embodiment of the present invention provides, and concrete, the described method of the embodiment of the present invention comprises:
S201: detect the vertical range between touch-control end and display screen.
S202: judge that whether described vertical range is lower than the first distance threshold preset.
In specific embodiment, user as the virtual key in the soft keyboard of finger click terminal display, carries out the input of information by touch-control end.Concrete, when detecting that touch-control end is above terminal display, the vertical range between this touch-control end and display screen can be obtained, and whether detect this vertical range lower than the first distance threshold preset, as 2cm.When the vertical range between this touch-control end and display screen being detected lower than 2cm, step S203 can be performed; If this vertical range is not less than 2cm, then repeated execution of steps S201, proceed the detection of the vertical range between this touch-control end and display screen, until testing result is that vertical range between this touch-control end and display screen is lower than 2cm.
S203: determine the vertical projection point of described touch-control end on described display screen.
S204: detect described touch-control end in preset time range relative to the horizontal range of described display screen movement whether lower than the second distance threshold value preset.
Further, after determining the vertical projection point of described touch-control end on described display screen, and before determining target area corresponding in the soft keyboard of described vertical projection point at place, also can detect this touch-control end in preset time range as in 0.5s relative to as described in display screen movement horizontal range whether lower than the second distance threshold value preset as 1cm, whether namely detect this touch-control end has " hovering " action.If detect, touch-control end is not less than 1cm relative to the horizontal range of display screen movement in 0.5s, then continue to detect touch-control end and whether be less than 1cm relative to the horizontal range of display screen movement in 0.5s, until detect and be less than 1cm; When detecting that touch-control end is less than 1cm relative to the horizontal range of display screen movement in 0.5s, namely " hovering " on the display screen side time, can step S205 be performed.Concrete, can using this vertical projection point in the distance of preset time range movement as this touch-control end in the horizontal range of preset time range relative to display screen movement.
S205: determine the target area that described vertical projection point is corresponding in the soft keyboard at place.
Further, detect touch-control end in preset time range relative to the horizontal range of described display screen movement lower than preset second distance threshold value after, touch-control end vertical projection point on the display screen can be determined, and determine the target area that described vertical projection point is corresponding in the soft keyboard at place.
Concrete, in the soft keyboard at described vertical projection point place, with this vertical projection point for the center of circle, and target area can be determined according to the display radius preset.Such as, this display radius preset is 0.5cm, then can be defined as this target area by with the border circular areas that this vertical projection point is the center of circle, take 0.5cm as radius.
S206: carry out special effect processing to the target button in described target area, to highlight described target button.
In an alternate embodiment of the invention, described special effect processing can comprise amplifies process, color more changed handling or layout more changed handling etc., make it possible to highlight the virtual key in this target area and target button, with the content of reminding user the need of this target button of input.
As the optional embodiment of one, described to carry out special effect processing to the target button in described target area can be enlargement factor according to presetting, carries out amplifications process the adjacent virtual button of the target button in described target area and described target button.
Further, after the adjacent virtual button of the target button in described target area and described target button being carried out to amplification process, also can according to described enlargement factor and described soft keyboard the display area in described display screen, process is reduced to all the other virtual keys in described soft keyboard except described target button and adjacent virtual button thereof.Concrete, carry out amplifying the first display width of the rear described target button of process and described adjacent virtual button to described target button and described adjacent virtual button by obtaining; Determine described target button place button capable in residue except described first display width take width; Described residue is taken the display width of width as all the other virtual keys during described button is capable except described target button and described adjacent virtual button, process is reduced to all the other virtual keys described.
For example, according to the enlargement factor preset as 2 times, the adjacent virtual button of the target button in described target area and described target button can be amplified 2 times, to highlight target button in this target area and adjacent virtual button thereof.Further, this target button and adjacent virtual button thereof are amplified after 2 times, the display width i.e. first display width b1 of this target button and adjacent virtual button thereof can be obtained, suppose that the display width that the button at this target button place in this soft keyboard is capable is b, then all the other virtual keys in capable for this button except described target button and adjacent virtual button thereof can be carried out reducing process, i.e. display width a=(the b-b1)/m of these all the other virtual keys wherein each virtual key after reducing, to highlight target button in this target area and adjacent virtual button thereof.Wherein, m be this button capable in the number of all the other virtual keys.
As the optional embodiment of one, described to the target button in described target area carry out special effect processing can also be according to preset Show Color, the color of the target button in described target area is set to described Show Color.For example, this Show Color preset is red, when carrying out special effect processing to the target button in described target area, then the color of the target button of this target area can be set to this redness, to highlight the virtual key in this target area.
Further, when special effect processing is carried out to the virtual key in this target area, can in conjunction with amplification process and color more changed handling.Such as, at the adjacent virtual button by the target button in target area and preset number thereof, after such as adjacent with this target button left and right virtual key amplifies, obtain three virtual keys amplified, along with the fine setting of touch-control end position, the virtual key that this touch-control end correspondence indicates is shown in red (this redness is the Show Color preset) then, thus reminding user is the need of the content of this red button of input, avoids input error.
As the optional embodiment of one, described to the target button in described target area carry out special effect processing can also be according to preset single-row layout mode, the layout type of target button in described soft keyboard in described target area is set to described single-row layout mode, and described single-row layout mode is the layout type adjacent virtual button of described target button and described target button being carried out single file display.For example, after determining target area corresponding in the soft keyboard of this vertical projection point at place, amplification process can be carried out to this target area, and change virtual key and the layout of target button in soft keyboard in this target area, as will be described the adjacent virtual button of target button and described target button carry out single file display (this target button place button capable in all the other virtual keys except this target button and adjacent virtual button thereof can reduce after be shown in the capable lastrow of this button or next line, or control these all the other virtual keys not show), with the content of reminding user the need of this target button of input, avoid input error.
S207: the vertical projection point of described touch-control end on described display screen is in beyond described target area if detect, or detects that described touch-control end points hits described target button, then remove the special effect processing to described target button.
In specific embodiment, when detecting that described touch-control end points hits described target button, then can remove the special effect processing of the target button to this target area.Or when detecting that the vertical projection point of touch-control end on described display screen is in beyond this target area, namely when there is change in " hovering " position of this touch-control end, the special effect processing of the target button to this target area can be removed, and special effect processing is carried out to the determined target area of touch-control end of dirty bit postpone, to highlight the virtual key in the determined target area of touch-control end of this dirty bit postpone.
Implementing the embodiment of the present invention can when detecting the close together before touch-control end and display screen, whether this touch-control end of further detection is in " hovering " state, and can when confirming to be in " hovering " state by determining target area corresponding in the vertical projection point place soft keyboard of this touch-control end on this display screen, control to carry out special effect processing to the virtual key in this target area, to highlight this virtual key, thus effectively reminding user the need of input this target button content, reduce input error, improve the accuracy of information input.
Refer to Fig. 3, it is the structural representation of the control device of a kind of virtual key that the embodiment of the present invention provides, the described device of the embodiment of the present invention can specifically be arranged in the terminals such as mobile phone, panel computer, PDA, concrete, described device comprises first detection module 11, judge module 12, first determination module 13, second determination module 14 and control module 15.Wherein,
Described first detection module 11, for detecting the vertical range between touch-control end and display screen.
It should be noted that, described touch-control end can be the touch control devices such as user's finger or terminal pointer, and the embodiment of the present invention does not limit.
Judge module 12, for judging that whether vertical range that described first detection module 11 detects is lower than the first distance threshold preset.
First determination module 13, for when the judged result of described judge module 12 is lower than described first distance threshold, determines the vertical projection point of described touch-control end on described display screen.
In specific embodiment, first detection module 11 when detecting that touch-control end is above terminal display, can obtain the vertical range between this touch-control end and display screen, and judge module 12 judges that whether this vertical range is lower than the first distance threshold preset, as 2cm.When judge module 12 detects that vertical range between this touch-control end and display screen is lower than 2cm, then determine this touch-control end vertical projection point on the display screen by the first determination module 13.
Second determination module 14, for determining the target area that described vertical projection point is corresponding in the soft keyboard at place.
Further, after the first determination module 13 determines touch-control end vertical projection point on the display screen, also determine by the second determination module 14 target area that described vertical projection point is corresponding in the soft keyboard at place.Concrete, the second determination module 14 in the soft keyboard at described vertical projection point place, with this vertical projection point for the center of circle, and according to the display radius preset, as 0.5cm, can determine target area.
Control module 15, carries out special effect processing, to highlight described target button for the target button in the target area determined described second determination module 14.
Concrete, described special effect processing can comprise amplifies process, color more changed handling or layout more changed handling etc.For example, after the second determination module 14 determines target area corresponding in the soft keyboard of this vertical projection point at place, control module 15 can carry out amplification process to this target area, and change virtual key and the layout of target button in soft keyboard in this target area, the adjacent virtual button of target button and described target button carries out single file display as will be described, with the content of reminding user the need of this target button of input.
Implementing the embodiment of the present invention can when detecting the close together before touch-control end and display screen, by determining target area corresponding in the vertical projection point place soft keyboard of this touch-control end on this display screen, and special effect processing is carried out to the virtual key in this target area, to highlight this virtual key, thus reminding user, the need of the content of this target button of input, decreases input error effectively.
Refer to Fig. 4, be the structural representation of the control device of the another kind of virtual key that the embodiment of the present invention provides, the described device of the embodiment of the present invention comprises first detection module 11, judge module 12, first determination module 13, second determination module 14 and control module 15.Wherein,
Described first detection module 11, for detecting the vertical range between touch-control end and display screen.
It should be noted that, described touch-control end can be the touch control devices such as user's finger or terminal pointer, and the embodiment of the present invention does not limit.
Judge module 12, for judging that whether vertical range that described first detection module 11 detects is lower than the first distance threshold preset.
First determination module 13, for when the judged result of described judge module 12 is lower than described first distance threshold, determines the vertical projection point of described touch-control end on described display screen.
In specific embodiment, first detection module 11 when detecting that touch-control end is above terminal display, can obtain the vertical range between this touch-control end and display screen, and judge module 12 judges that whether this vertical range is lower than the first distance threshold preset, as 2cm.When judge module 12 detects that vertical range between this touch-control end and display screen is lower than 2cm, then determine this touch-control end vertical projection point on the display screen by the first determination module 13.
Second determination module 14, for determining the target area that described vertical projection point is corresponding in the soft keyboard at place.
Further, after the first determination module 13 determines touch-control end vertical projection point on the display screen, also determine by the second determination module 14 target area that described vertical projection point is corresponding in the soft keyboard at place.Concrete, the second determination module 14 in the soft keyboard at described vertical projection point place, with this vertical projection point for the center of circle, and according to the display radius preset, as 0.5cm, can determine target area.
Control module 15, carries out special effect processing, to highlight described target button for the target button in the target area determined described second determination module 14.
Concrete, described special effect processing can comprise amplifies process, color more changed handling or layout more changed handling etc.For example, after the second determination module 14 determines target area corresponding in the soft keyboard of this vertical projection point at place, control module 15 can carry out amplification process to this target area, and change virtual key and the layout of target button in soft keyboard in this target area, the adjacent virtual button of target button and described target button carries out single file display as will be described, with the content of reminding user the need of this target button of input.
Further, in embodiments of the present invention, described device also comprises:
Second detection module 16, for detect described touch-control end in preset time range relative to the horizontal range of described display screen movement whether lower than the second distance threshold value preset;
Notification module 17, for when described second detection module inspection 16 measures lower than described second distance threshold value, notifies that described second determination module 14 determines the target area that described vertical projection point is corresponding in the soft keyboard at place.
Further, after the first determination module 13 determines the vertical projection point of described touch-control end on described display screen, and before the second determination module 14 determines target area corresponding in the soft keyboard of described vertical projection point at place, also by the second detection module 16 detect this touch-control end in preset time range as in 0.5s relative to as described in display screen movement horizontal range whether lower than the second distance threshold value preset as 1cm, whether namely detect this touch-control end has " hovering " action.When the second detection module 16 detects that touch-control end is less than 1cm relative to the horizontal range of display screen movement in 0.5s, namely " hovering " on the display screen side time, namely notify that the second determination module 14 determines the target area that described vertical projection point is corresponding in the soft keyboard at place by notification module 17.Concrete, this second detection module 16 can using this vertical projection point in the distance of preset time range movement as this touch-control end in the horizontal range of preset time range relative to display screen movement.
Alternatively, in embodiments of the present invention, described control module 15 can be specifically for:
According to the enlargement factor preset, amplification process is carried out to the adjacent virtual button of the target button in described target area and described target button.
Further, in embodiments of the present invention, described device also can comprise:
Acquisition module 18, carries out amplifying the first display width of the rear described target button of process and described adjacent virtual button to described target button and described adjacent virtual button for obtaining;
3rd determination module 19, for determine described target button place button capable in residue except described first display width take width;
Reduce processing module 20, residue for being determined by described 3rd determination module 19 takies the display width of width as all the other virtual keys during described button is capable except described target button and adjacent virtual button thereof, reduces process to all the other virtual keys described.
For example, the adjacent virtual button of the target button in described target area and described target button according to the enlargement factor preset as 2 times, can be amplified 2 times, to highlight target button in this target area and adjacent virtual button thereof by control module 15.Further, this target button and adjacent virtual button thereof amplify after 2 times by control module 15, the display width i.e. first display width b1 of this target button and adjacent virtual button thereof is obtained by acquisition module 18, suppose that the display width that the button at this target button place in this soft keyboard is capable is b, then the 3rd determination module 19 can determine this target button place button capable in residue except described first display width take width for (b-b1), reduce processing module 20 all the other virtual keys in capable for this button except described target button and adjacent virtual button thereof to be carried out reducing process, i.e. display width a=(the b-b1)/m of these all the other virtual keys wherein each virtual key after reducing, to highlight target button in this target area and adjacent virtual button thereof.Wherein, m be this button capable in the number of all the other virtual keys.
Alternatively, in embodiments of the present invention, described control module 15 can be specifically for:
According to the Show Color preset, the color of the target button in described target area is set to described Show Color.
For example, this Show Color preset is red, when the target button in control module 15 pairs of target areas carries out special effect processing, the color of the target button of this target area can be set to this redness, to highlight the virtual key in this target area.
Further, when control module 15 carries out special effect processing to the virtual key in this target area, can in conjunction with amplification process and color more changed handling.Such as, control module 15 is at the adjacent virtual button by the target button in target area and preset number thereof, after such as adjacent with this target button left and right virtual key amplifies, obtain three virtual keys amplified, along with the fine setting of touch-control end position, the virtual key that this touch-control end correspondence indicates is shown in red (this redness is the Show Color preset) then, thus reminding user is the need of the content of this red button of input, avoids input error.
Alternatively, in embodiments of the present invention, described control module 15 can be specifically for:
According to the single-row layout mode preset, the layout type of target button in described soft keyboard in described target area is set to described single-row layout mode, and described single-row layout mode is the layout type adjacent virtual button of described target button and described target button being carried out single file display.
For example, after the second determination module 14 determines target area corresponding in the soft keyboard of this vertical projection point at place, control module 15 can carry out amplification process to this target area, and change virtual key and the layout of target button in soft keyboard in this target area, as will be described the adjacent virtual button of target button and described target button carry out single file display (this target button place button capable in all the other virtual keys except this target button and adjacent virtual button thereof can reduce after be shown in the capable lastrow of this button or next line, or control these all the other virtual keys not show), with the content of reminding user the need of this target button of input, avoid input error.
Alternatively, in embodiments of the present invention, described second determination module 14 can be specifically for:
In the soft keyboard at described vertical projection point place with described vertical projection point for the center of circle, and according to preset display radius determine target area.
Concrete, the second determination module 14 in the soft keyboard at described vertical projection point place, with this vertical projection point for the center of circle, and can determine target area according to the display radius preset.Such as, this display radius preset is 0.5cm, then the second determination module 14 can be defined as this target area by with the border circular areas that this vertical projection point is the center of circle, take 0.5cm as radius.
Further alternatively, in embodiments of the present invention, described device also can comprise:
Special efficacy removes module 21, for detecting that the vertical projection point of described touch-control end on described display screen is in beyond described target area, or when detecting that described touch-control end points hits described target button, removes the special effect processing to described target button.
In specific embodiment, when detecting that described touch-control end points hits described target button, then special efficacy removes the special effect processing that module 21 can remove the target button to this target area.Or when detecting that the vertical projection point of touch-control end on described display screen is in beyond this target area, when namely change occurs in " hovering " position of this touch-control end, special efficacy removes the special effect processing that module 21 can remove the target button to this target area.
Implementing the embodiment of the present invention can when detecting the close together before touch-control end and display screen, whether this touch-control end of further detection is in " hovering " state, and can when confirming to be in " hovering " state by determining target area corresponding in the vertical projection point place soft keyboard of this touch-control end on this display screen, control to carry out special effect processing to the virtual key in this target area, to highlight this virtual key, thus effectively reminding user the need of input this target button content, reduce input error, improve the accuracy of information input.
Fig. 5 is the structural representation of a kind of terminal provided in the embodiment of the present invention.As shown in Figure 5, described terminal comprises: at least one processor 100, such as CPU, at least one user interface 300, storer 400, at least one communication bus 200.Wherein, communication bus 200 is for realizing the connection communication between these assemblies.Wherein, user interface 300 can comprise display screen (Display), and optional user interface 300 can also comprise wireline interface, the wave point of standard.Storer 400 can be high-speed RAM storer, also can be non-labile storer (non-volatile memory), such as at least one magnetic disk memory.Storer 400 can also be optionally that at least one is positioned at the memory storage away from aforementioned processor 100.Wherein store batch processing code in storer 400, and processor 100 calls the program code stored in storer 400, for performing following operation:
Detect the vertical range between touch-control end and display screen;
Judge that whether described vertical range is lower than the first distance threshold preset;
If lower than described first distance threshold, determine the vertical projection point of described touch-control end on described display screen;
Determine the target area that described vertical projection point is corresponding in the soft keyboard at place;
Special effect processing is carried out to the target button in described target area, to highlight described target button.
In an alternative embodiment, processor 100 call in storer 400 store program code determine the vertical projection point of described touch-control end on described display screen after, and before determining target area corresponding in the soft keyboard of described vertical projection point at place, following operation can also be performed:
Detect described touch-control end in preset time range relative to the horizontal range of described display screen movement whether lower than the second distance threshold value preset;
If lower than described second distance threshold value, then perform the step of the vertical projection point of touch-control end described in described determination on described display screen.
Processor 100 calls the program code stored in storer 400 and carries out special effect processing to the target button in described target area, for performing following operation:
According to the enlargement factor preset, amplification process is carried out to the adjacent virtual button of the target button in described target area and described target button.
In an alternative embodiment, processor 100 calls the program code stored in storer 400, can also perform following operation:
Obtain the first display width carrying out amplifying the rear described target button of process and described adjacent virtual button to described target button and described adjacent virtual button;
Determine described target button place button capable in residue except described first display width take width;
Described residue is taken the display width of width as all the other virtual keys during described button is capable except described target button and described adjacent virtual button, process is reduced to all the other virtual keys described.
In an alternative embodiment, processor 100 call in storer 400 store program code special effect processing is carried out to the target button in described target area, for performing following operation:
According to the Show Color preset, the color of the target button in described target area is set to described Show Color.
In an alternative embodiment, processor 100 call in storer 400 store program code special effect processing is carried out to the target button in described target area, for performing following operation:
According to the single-row layout mode preset, the layout type of target button in described soft keyboard in described target area is set to described single-row layout mode, and described single-row layout mode is the layout type adjacent virtual button of described target button and described target button being carried out single file display.
In an alternative embodiment, processor 100 calls the target area that the program code stored in storer 400 determines described vertical projection point correspondence in the soft keyboard at place, for performing following operation:
In the soft keyboard at described vertical projection point place with described vertical projection point for the center of circle, and according to preset display radius determine target area.
In an alternative embodiment, processor 100 call in storer 400 store program code special effect processing is carried out to the target button in described target area after, following operation can also be performed:
If detect, the vertical projection point of described touch-control end on described display screen is in beyond described target area, or detects that described touch-control end points hits described target button, then remove the special effect processing to described target button.
Concrete, the described terminal of the embodiment of the present invention can refer to the associated description of the control device of virtual key in the corresponding embodiment of Fig. 3 to Fig. 4.
Implementing the embodiment of the present invention can when detecting the close together before touch-control end and display screen, by determining target area corresponding in the vertical projection point place soft keyboard of this touch-control end on this display screen, and special effect processing is carried out to the virtual key in this target area, to highlight this virtual key, thus reminding user, the need of the content of this target button of input, decreases input error effectively.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (17)

1. a control method for virtual key, is characterized in that, comprising:
Detect the vertical range between touch-control end and display screen;
Judge that whether described vertical range is lower than the first distance threshold preset;
If lower than described first distance threshold, determine the vertical projection point of described touch-control end on described display screen;
Determine the target area that described vertical projection point is corresponding in the soft keyboard at place;
Special effect processing is carried out to the target button in described target area, to highlight described target button.
2. method according to claim 1, it is characterized in that, described determine the vertical projection point of described touch-control end on described display screen after, and described to determine in the soft keyboard of described vertical projection point at place corresponding target area before, described method also comprises:
Detect described touch-control end in preset time range relative to the horizontal range of described display screen movement whether lower than the second distance threshold value preset;
If lower than described second distance threshold value, then perform the step of the target area corresponding in the soft keyboard at place of vertical projection point described in described determination.
3. method according to claim 1, is characterized in that, describedly carries out special effect processing to the target button in described target area, comprising:
According to the enlargement factor preset, amplification process is carried out to the adjacent virtual button of the target button in described target area and described target button.
4. method according to claim 3, is characterized in that, described method also comprises:
Obtain the first display width carrying out amplifying the rear described target button of process and described adjacent virtual button to described target button and described adjacent virtual button;
Determine described target button place button capable in residue except described first display width take width;
Described residue is taken the display width of width as all the other virtual keys during described button is capable except described target button and described adjacent virtual button, process is reduced to all the other virtual keys described.
5. method according to claim 1, is characterized in that, describedly carries out special effect processing to the target button in described target area, comprising:
According to the Show Color preset, the color of the target button in described target area is set to described Show Color.
6. method according to claim 1, is characterized in that, describedly carries out special effect processing to the target button in described target area, comprising:
According to the single-row layout mode preset, the layout type of target button in described soft keyboard in described target area is set to described single-row layout mode, and described single-row layout mode is the layout type adjacent virtual button of described target button and described target button being carried out single file display.
7. method according to claim 1, is characterized in that, the described target area determining described vertical projection point correspondence in the soft keyboard at place, comprising:
In the soft keyboard at described vertical projection point place with described vertical projection point for the center of circle, and according to preset display radius determine target area.
8. the method according to any one of claim 1-7, is characterized in that, described special effect processing is carried out to the target button in described target area after, described method also comprises:
If detect, the vertical projection point of described touch-control end on described display screen is in beyond described target area, or detects that described touch-control end points hits described target button, then remove the special effect processing to described target button.
9. a control device for virtual key, is characterized in that, comprising:
First detection module, for detecting the vertical range between touch-control end and display screen;
Judge module, for judging that whether vertical range that described first detection module detects is lower than the first distance threshold preset;
First determination module, for when the judged result of described judge module is lower than described first distance threshold, determines the vertical projection point of described touch-control end on described display screen;
Second determination module, for determining the target area that described vertical projection point is corresponding in the soft keyboard at place;
Control module, carries out special effect processing, to highlight described target button for the target button in the target area determined described second determination module.
10. device according to claim 9, is characterized in that, described device also comprises:
Second detection module, for detect described touch-control end in preset time range relative to the horizontal range of described display screen movement whether lower than the second distance threshold value preset;
Notification module, for when described second detection module detects lower than described second distance threshold value, notifies that described second determination module determines the target area that described vertical projection point is corresponding in the soft keyboard at place.
11. devices according to claim 9, is characterized in that, described control module specifically for:
According to the enlargement factor preset, amplification process is carried out to the adjacent virtual button of the target button in described target area and described target button.
12. devices according to claim 11, is characterized in that, described device also comprises:
Acquisition module, carries out amplifying the first display width of the rear described target button of process and described adjacent virtual button to described target button and described adjacent virtual button for obtaining;
3rd determination module, for determine described target button place button capable in residue except described first display width take width;
Reduce processing module, residue for being determined by described 3rd determination module takies the display width of width as all the other virtual keys during described button is capable except described target button and described adjacent virtual button, reduces process to all the other virtual keys described.
13. devices according to claim 9, is characterized in that, described control module specifically for:
According to the Show Color preset, the color of the target button in described target area is set to described Show Color.
14. devices according to claim 9, is characterized in that, described control module specifically for:
According to the single-row layout mode preset, the layout type of target button in described soft keyboard in described target area is set to described single-row layout mode, and described single-row layout mode is the layout type adjacent virtual button of described target button and described target button being carried out single file display.
15. devices according to claim 9, is characterized in that, described second determination module specifically for:
In the soft keyboard at described vertical projection point place with described vertical projection point for the center of circle, and according to preset display radius determine target area.
16. devices according to any one of claim 9-15, it is characterized in that, described device also comprises:
Special efficacy removes module, for detecting that the vertical projection point of described touch-control end on described display screen is in beyond described target area, or when detecting that described touch-control end points hits described target button, removes the special effect processing to described target button.
17. 1 kinds of terminals, is characterized in that, comprise the control device of the virtual key as described in any one of claim 9-16.
CN201410597195.2A 2014-10-30 2014-10-30 Virtual key control method and device as well as terminal Pending CN104407798A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410597195.2A CN104407798A (en) 2014-10-30 2014-10-30 Virtual key control method and device as well as terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410597195.2A CN104407798A (en) 2014-10-30 2014-10-30 Virtual key control method and device as well as terminal

Publications (1)

Publication Number Publication Date
CN104407798A true CN104407798A (en) 2015-03-11

Family

ID=52645431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410597195.2A Pending CN104407798A (en) 2014-10-30 2014-10-30 Virtual key control method and device as well as terminal

Country Status (1)

Country Link
CN (1) CN104407798A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104834402A (en) * 2015-05-11 2015-08-12 上海交通大学 Implementation method of self-adaption Chinese input method touch screen keyboard based on predication
CN105260054A (en) * 2015-09-25 2016-01-20 京东方科技集团股份有限公司 Method and apparatus for realizing touch feedback
CN105653185A (en) * 2015-12-23 2016-06-08 深圳市金立通信设备有限公司 Keyboard control method and mobile terminal
CN106227432A (en) * 2016-09-29 2016-12-14 宇龙计算机通信科技(深圳)有限公司 A kind of terminal demonstration interface local amplification method, system and touch terminal
CN106484280A (en) * 2016-09-13 2017-03-08 百度在线网络技术(北京)有限公司 The method and device of adjustment entering method keyboard response region layout
CN107168541A (en) * 2017-04-07 2017-09-15 北京小鸟看看科技有限公司 The implementation method and device of a kind of input
CN107995973A (en) * 2016-12-28 2018-05-04 深圳市柔宇科技有限公司 A kind of information processing method and device
CN108646957A (en) * 2018-03-20 2018-10-12 上海车音智能科技有限公司 A kind of dynamic input method and device
CN109375834A (en) * 2018-09-27 2019-02-22 东莞华贝电子科技有限公司 The feedback method and projected keyboard of projected keyboard

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006031499A (en) * 2004-07-20 2006-02-02 Denso Corp Information input/display device
CN102365610A (en) * 2009-03-31 2012-02-29 三菱电机株式会社 Display input device
CN102541401A (en) * 2010-12-21 2012-07-04 联想(北京)有限公司 Information processing equipment and method for processing information
CN104035713A (en) * 2014-06-17 2014-09-10 Tcl集团股份有限公司 Soft keyboard operating method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006031499A (en) * 2004-07-20 2006-02-02 Denso Corp Information input/display device
CN102365610A (en) * 2009-03-31 2012-02-29 三菱电机株式会社 Display input device
CN102541401A (en) * 2010-12-21 2012-07-04 联想(北京)有限公司 Information processing equipment and method for processing information
CN104035713A (en) * 2014-06-17 2014-09-10 Tcl集团股份有限公司 Soft keyboard operating method and device

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104834402B (en) * 2015-05-11 2018-01-02 上海交通大学 The implementation method of adaptive Chinese character coding input method keyboard with touch screen based on prediction
CN104834402A (en) * 2015-05-11 2015-08-12 上海交通大学 Implementation method of self-adaption Chinese input method touch screen keyboard based on predication
US10198112B2 (en) 2015-09-25 2019-02-05 Boe Technology Group Co., Ltd. Apparatus and method for implementing touch feedback
CN105260054A (en) * 2015-09-25 2016-01-20 京东方科技集团股份有限公司 Method and apparatus for realizing touch feedback
CN105653185A (en) * 2015-12-23 2016-06-08 深圳市金立通信设备有限公司 Keyboard control method and mobile terminal
CN106484280A (en) * 2016-09-13 2017-03-08 百度在线网络技术(北京)有限公司 The method and device of adjustment entering method keyboard response region layout
CN106484280B (en) * 2016-09-13 2019-09-03 百度在线网络技术(北京)有限公司 Adjust the method and device of entering method keyboard response region layout
CN106227432A (en) * 2016-09-29 2016-12-14 宇龙计算机通信科技(深圳)有限公司 A kind of terminal demonstration interface local amplification method, system and touch terminal
CN107995973A (en) * 2016-12-28 2018-05-04 深圳市柔宇科技有限公司 A kind of information processing method and device
CN107995973B (en) * 2016-12-28 2022-03-29 深圳市柔宇科技股份有限公司 Information processing method and device
CN107168541A (en) * 2017-04-07 2017-09-15 北京小鸟看看科技有限公司 The implementation method and device of a kind of input
CN108646957A (en) * 2018-03-20 2018-10-12 上海车音智能科技有限公司 A kind of dynamic input method and device
CN108646957B (en) * 2018-03-20 2020-12-01 上海车音智能科技有限公司 Dynamic input method and device
CN109375834A (en) * 2018-09-27 2019-02-22 东莞华贝电子科技有限公司 The feedback method and projected keyboard of projected keyboard

Similar Documents

Publication Publication Date Title
CN104407798A (en) Virtual key control method and device as well as terminal
CN102375597B (en) Signal conditioning package and information processing method
CN102262497B (en) Method and device for amplifying touch button in touch screen
US7742038B2 (en) Method for detecting overlapped function area on a touchpad
CN103488419A (en) Operating method of communication terminal and communication terminal
US20120212438A1 (en) Methods and apparatuses for facilitating interaction with touch screen apparatuses
CN102981711A (en) Method and system for moving application icons on touch screen
CN104285202A (en) Touch screen hover input handling
CN102004575A (en) Information processing apparatus, information processing method, and program
CN105159530A (en) Application display object switching method and apparatus
CN105589637A (en) Gesture-based scaling method and device
CN104808930A (en) Operating element control method
CN103718149A (en) Processing method of text and touch panel equipment
EP2894553A2 (en) Text processing method and device
EP3605305B1 (en) Character input method of mobile terminal and mobile terminal
CN107087075B (en) Prompting method based on screen fingerprint identification and mobile terminal
CN104536643A (en) Icon dragging method and terminal
CN105404457A (en) Method and device for display content selection
CN103793164A (en) Touch screen display processing method and device and browser
CN104657077A (en) Cursor positioning method
US9524568B2 (en) Movement of position indicator on touchscreen
CN104360810A (en) Display method of virtual keys and electronic equipment
US9753638B2 (en) Method and apparatus for entering symbols from a touch-sensitive screen
US20160070467A1 (en) Electronic device and method for displaying virtual keyboard
CN105426049A (en) Deletion method and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150311