CN105653185A - Keyboard control method and mobile terminal - Google Patents

Keyboard control method and mobile terminal Download PDF

Info

Publication number
CN105653185A
CN105653185A CN201510976279.1A CN201510976279A CN105653185A CN 105653185 A CN105653185 A CN 105653185A CN 201510976279 A CN201510976279 A CN 201510976279A CN 105653185 A CN105653185 A CN 105653185A
Authority
CN
China
Prior art keywords
keyboard
coordinate
touch region
sliding trace
major axis
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
CN201510976279.1A
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 CN201510976279.1A priority Critical patent/CN105653185A/en
Publication of CN105653185A publication Critical patent/CN105653185A/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

Landscapes

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

Abstract

The embodiment of the invention discloses a keyboard control method and a mobile terminal. The method comprises the following steps: receiving a sliding track which is input by aiming at a display interface and used for starting a preset shape keyboard, and determining a touch position area formed by the sliding track; detecting whether the sliding track and the touch position area meet preset startup information; and when the sliding track and the touch position area meet the preset startup information, correspondingly displaying the preset shape keyboard in the touch position area. The embodiment of the invention can flexibly control the display position of the shape keyboard, so that the displayed shape keyboard conforms to the ergonomics so as to improve the adaptation and the intelligence of the mobile terminal.

Description

A kind of control method of keyboard and mobile terminal
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of control method of keyboard and mobile terminal.
Background technology
Along with the fast development of mobile terminal, touch screen mobile terminal instead of physical button mobile terminal gradually, both user-friendly, again for user provides large-size screen monitors vision to enjoy. In order to realize the input of information, touch screen mobile terminal adopts dummy keyboard, and dummy keyboard is virtual in the button dummy keyboard of screen, and user directly can work as essence keyboard dummy keyboard and use.
At present, while inputting in the information that realizes, not affecting the display of other contents of interface, the dummy keyboard of touch screen mobile terminal adopts the nine grids keyboard of proper alignment, and nine grids keyboard is fixed on the bottom of screen. But, in the process of actual information input operation, the touch area of user's finger or other touch control devices and screen contact is irregular, with the nine grids keyboard of proper alignment and misfit, some button that user cannot touch in nine grids keyboard may be caused, it is also possible to cause some button of user's false touch, thus affect the input operation of user, these shortcomings are when being hold by one hand operation large-size screen monitors mobile terminal, particularly common. Therefore, nine grids keyboard does not also meet human engineering, and adaptability is weak.
Summary of the invention
The embodiment of the present invention provides a kind of control method of keyboard and mobile terminal, it is possible to control the display position of shape keyboard flexibly so that the shape keyboard conforms human engineering of display, and then improves the adaptability, intelligent of mobile terminal.
Embodiment of the present invention first aspect provides a kind of control method of keyboard, can comprise:
Receive the sliding trace for starting preset shape keyboard inputted for display interface, and determine the position of touch region that described sliding trace is formed;
Detect the whether satisfied default startup information of described sliding trace and described position of touch region;
When described sliding trace and described position of touch region meet default startup information, at the described position of touch region correspondence described preset shape keyboard of display.
Embodiment of the present invention second aspect provides a kind of mobile terminal, can comprise:
Receive unit, for receiving for the sliding trace for starting preset shape keyboard that display interface inputs, and determine the position of touch region that described sliding trace is formed;
Detecting unit, for detecting whether described sliding trace and described position of touch region meet default startup information;
Display unit, for when described sliding trace and described position of touch region meet default startup information, at the described position of touch region correspondence described preset shape keyboard of display.
In embodiments of the present invention, by receive for display interface input for starting the sliding trace of preset shape keyboard time, determine the position of touch region that sliding trace is formed, and detect the whether satisfied default startup information of sliding trace and position of touch region, and when sliding trace and position of touch region meet default startup information, at position of touch region correspondence display preset shape keyboard, thus realize the control to shape keyboard & display position flexibly, make the shape keyboard conforms human engineering of display, and then improve the adaptability of mobile terminal, intelligent.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below the accompanying drawing used required in embodiment being described is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of control method of keyboard that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of another kind of control method of keyboard that the embodiment of the present invention provides;
Fig. 3 is the schematic flow sheet of another control method of keyboard that the embodiment of the present invention provides;
Fig. 4 is the schematic diagram of a kind of oblique oval keyboard that the embodiment of the present invention provides;
Fig. 5 is the display schematic diagram of the oblique oval keyboard that the embodiment of the present invention provides;
Fig. 6 is the display schematic diagram of the oblique oval keyboard of the mirror image that provides of the embodiment of the present invention;
The structural representation of a kind of mobile terminal that Fig. 7 provides for the embodiment of the present invention;
Fig. 8 is the structural representation of the display unit of offer embodiment illustrated in fig. 7;
The structural representation of another kind of mobile terminal that Fig. 9 provides for the embodiment of the present invention.
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 clearly and completely described, it is clear that described embodiment is 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 other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of control method of keyboard and mobile terminal, the scene inputting information on mobile terminals can be applied to, such as, mobile terminal receives the sliding trace for starting preset shape keyboard inputted for display interface, and determine the position of touch region that described sliding trace is formed, then described mobile terminal detects the whether satisfied default startup information of described sliding trace and described position of touch region, and when described sliding trace and described position of touch region meet default startup information, at the described position of touch region correspondence described preset shape keyboard of display, thus control the display position of shape keyboard flexibly, make the shape keyboard conforms human engineering of display, and then improve the adaptability of mobile terminal, intelligent, due to shape keyboard conforms human engineering, and then the probability of user's false touch can be reduced.Shape keyboard in the embodiment of the present invention is not the nine grids keyboard of proper alignment in prior art, and its concrete shape is pointed by user or the touch area shape of other touch control devices and screen contact is determined, it is preferable that, the shape of shape keyboard is tiltedly oval.
Mobile terminal in the embodiment of the present invention can include but not limited to that mobile phone, PAD (panel computer), intelligence wearable device etc. have the electronics of display screen. The control method of keyboard that the embodiment of the present invention provides can be applied in multiple terminal operating system, it is possible to includes but not limited to: android system, Saipan system, Windows system, IOS (Mobile operating system of Apple's exploitation) system etc. It should be noted that, the mobile terminal mentioned in embodiments of the present invention is touch screen mobile terminal.
Below in conjunction with accompanying drawing 1-accompanying drawing 3, the control method of keyboard that the embodiment of the present invention provides is carried out detail.
Referring to Fig. 1, be the schematic flow sheet of a kind of control method of keyboard that the embodiment of the present invention provides, the method can comprise step S101-step S103.
S101, receives the sliding trace for starting preset shape keyboard inputted for display interface, and determines the position of touch region that described sliding trace is formed.
When user's finger or other touch control devices are to when being arranged on the touch-screen process touch control operation of mobile terminal display front end, the icon that described mobile terminal touches according to finger or other touch control devices or menu position carry out the input of regioselective information. The touch-screen of described mobile terminal is by touching detection part and touch-screen controller forms, touch detection part and it is arranged on indicating meter screen front, for receiving the touch control operation of user, the position of touch of detection touch control operation, and the touch information such as touch control operation, position of touch is sent to touch-screen controller; And the main effect of touch-screen controller receives touch information from touching detection part, and convert it to contact coordinate, giving central processing unit (CentralProcessingUnit, CPU) again, simultaneously it can also receive order that CPU sends and be performed.
Concrete, described mobile terminal detect in real time and receive user finger or other touch control devices to the touch control operation of described mobile terminal touch screen, described touch control operation comprises slide, clicking operation etc., described slide may be from a point to the slide of another point, also may being the slide from a point to this point, the sliding trace of described slide may be curve, circle, ellipse, straight line etc. User can arrange the various sliding traces opening the functions such as application program, fast dialing, transmission information for convenient realization on the mobile terminal, facilitates user's fast operating. In embodiments of the present invention, user is provided with a kind of sliding trace for starting preset shape keyboard on the mobile terminal, preferably, the shape of this sliding trace is tiltedly oval, the shapes such as the cloth that the shape of described preset shape keyboard can be irregular ellipse bag-shaped, oblique, circle, but it is not 26 keyboards under the nine grids keyboard of proper alignment or IOS system, it is preferable that, the shape of described preset shape keyboard is tiltedly oval. When the display interface of described mobile terminal is inputted slide or the initiation gesture for starting described preset shape keyboard by user, described mobile terminal receives the sliding trace of described slide, and determines the position of touch region that described sliding trace is formed. ?kirt > mould ? ? disagreement �� Contraband extensive ? leech ? ? dirty ? ? streamer T call on the poor ? of ? flounder and cut south and permit the first width figure in the ? Wei ? ? of that ? Ying ? whence of the fine ? ? y of the embarrassed Gou concubine of an emperor, grey dotted line is described sliding trace, and the region that grey dotted line surrounds is described position of touch region. Optionally, described position of touch region is the rectangular area that the region surrounded according to described sliding trace is determined, refer to the first width figure in Fig. 5, grey dotted line is described sliding trace, it is described position of touch region according to the determined rectangular area of grey dotted line, namely comprises the rectangular area of M1, M2.
It should be noted that, the sliding trace shown in the first width figure in Fig. 5 is desirable sliding trace, in user's actual mechanical process, described sliding trace may not be the oblique ellipse of rule, may there are some depressions or protruding, but irregular oblique ellipse can process according to the method that the embodiment of the present invention provides equally. When described mobile terminal receives described sliding trace, described sliding trace can be shown, it is possible to do not show described sliding trace.
S102, detects described sliding trace and whether described position of touch region meets default startup information.
Concrete, described mobile terminal detects described sliding trace and whether described position of touch region meets default startup information. wherein, described default startup information presets sliding trace and preset touch region. described default sliding trace is trigger the standard sliding trace that described mobile terminal opens described preset shape keyboard, the sliding trace for opening described preset shape keyboard that namely user pre-sets. described preset touch region is trigger the display area that described mobile terminal opens described preset shape keyboard, described preset touch region is that user's one hand can touch the display area controlled and arrive easily, the concrete size and shape in described preset touch region is by the touch-screen size of described mobile terminal, the finger of position and touch display area that user is hold by one hand described mobile terminal is determined, such as, the bottom of mobile terminal described in the single left-handed of user, described preset touch region is that oblique cloth is bag-shaped, touch, with described mobile terminal, the contacted region controlling screen with user's finger to match, now user's finger can touch the displaying contents in the described preset touch region of control easily. when described sliding trace mates with described default sliding trace, and described position of touch region in described preset touch region time, it is determined that described sliding trace and described position of touch region meet described default startup information.
Optionally, described mobile terminal detects described position of touch region whether in described preset touch region, and when described position of touch region is in described preset touch region, calculate described sliding trace and the similarity of described default sliding trace, if described similarity is greater than predetermined threshold value, then determine that described sliding trace and described position of touch region meet described default startup information. Wherein, described predetermined threshold value is set by the manufacturer of described mobile terminal, such as, 75 percent, the concrete value of described predetermined threshold value does not limit at this.
Optionally, described mobile terminal calculates described sliding trace and the similarity of described default sliding trace, when described similarity is greater than described predetermined threshold value, detect described position of touch region whether in described preset touch region, if described position of touch region is in described preset touch region, then determine that described sliding trace and described position of touch region meet described default startup information.
S103, when described sliding trace and described position of touch region meet default startup information, at the described position of touch region correspondence described preset shape keyboard of display.
Concrete, when described sliding trace and described position of touch region meet described default startup information, described mobile terminal starts described preset shape keyboard, and at the described position of touch region correspondence described preset shape keyboard of display, by described preset shape keyboard & display in described position of touch region. No matter whether described mobile terminal shows described sliding trace, as long as described sliding trace and described position of touch region meet described default startup information, described mobile terminal all can at the described position of touch region correspondence described preset shape keyboard of display, make the described preset shape keyboard conforms human engineering of display, facilitate user according to described preset shape keyboard input information, it is to increase Consumer's Experience. If the region of described preset shape keyboard is bigger than described position of touch region, then described preset shape keyboard is reduced process by described mobile terminal, so that described preset shape keyboard can be displayed in described position of touch region. If the region of described preset shape keyboard is less than described position of touch region, then described preset shape keyboard is carried out amplification process by described mobile terminal, so that described preset shape keyboard can be displayed in described position of touch region. If described sliding trace has been shown by described mobile terminal when receiving described sliding trace, so described mobile terminal by described preset shape keyboard & display on described sliding trace, or by the top layer of described preset shape keyboard & display at display interface, so that the described sliding trace that described preset shape keyboard shows before covering, current display interface only shows described preset shape keyboard.
In embodiments of the present invention, by receive for display interface input for starting the sliding trace of preset shape keyboard time, determine the position of touch region that sliding trace is formed, and detect the whether satisfied default startup information of sliding trace and position of touch region, and when sliding trace and position of touch region meet default startup information, at position of touch region correspondence display preset shape keyboard, thus realize the control to shape keyboard & display position flexibly, make the shape keyboard conforms human engineering of display, and then improve the adaptability of mobile terminal, intelligent.
Referring to Fig. 2, be the schematic flow sheet of another kind of control method of keyboard that the embodiment of the present invention provides, the method can comprise step S201-step S209.
S201, receives for the sliding trace for starting tiltedly oval keyboard that display interface inputs, and determines the position of touch region that described sliding trace is formed.
Concrete, described mobile terminal receives for the sliding trace for starting tiltedly oval keyboard that display interface inputs, and determines the position of touch region that described sliding trace is formed. In embodiments of the present invention, the shape of described sliding trace is rule or irregular oblique ellipse. Referring to Fig. 4, be the schematic diagram of a kind of oblique oval keyboard that the embodiment of the present invention provides, comprise the oblique oval keyboard under four kinds of states, be respectively general state, input in Chinese state, English input state, numeral input state, four kinds of states can switch mutually. It should be noted that, the key value that each button in the oblique oval keyboard shown in Fig. 4 is corresponding or function are a kind of citing of the embodiment of the present invention, and specifically the key value of each button or function are set by the manufacturer of described mobile terminal, do not limit at this.The shape of the oblique oval keyboard shown in Fig. 4 is the oblique ellipse of standard, has the major axis determined, can determine the angle between this major axis and sea line of mobile terminal according to major axis, and usually, the span of this angle is 15 degree to 60 degree, and the angle shown in Fig. 4 is 45 degree. Oblique oval keyboard shown in Fig. 4 is the QWERTY keyboard preset in the embodiment of the present invention, and as seen from the figure, the vergence direction of described oblique oval keyboard, for user, is be tilted to the right.
Optionally, described position of touch region is the region that described sliding trace surrounds on the display interface of described mobile terminal, asking for an interview see the first width figure in Fig. 5, grey dotted line is described sliding trace, and the region that grey dotted line surrounds is described position of touch region. Optionally, described position of touch region is the rectangular area that the region surrounded according to described sliding trace is determined, refer to the first width figure in Fig. 5, grey dotted line is described sliding trace, it is described position of touch region according to the determined rectangular area of grey dotted line, namely comprises the rectangular area of M1, M2.
S202, detects described position of touch region whether in the preset touch region of default startup information.
Concrete, described default startup information preset touch region, described preset touch region is trigger the display area that described mobile terminal opens described preset shape keyboard, described preset touch region is that user's one hand can touch the display area controlled and arrive easily, the concrete size and shape in described preset touch region is by the touch-screen size of described mobile terminal, the finger of position and touch display area that user is hold by one hand described mobile terminal is determined, such as, the bottom of mobile terminal described in the single left-handed of user, described preset touch region is that oblique cloth is bag-shaped, touch, with described mobile terminal, the contacted region controlling screen with user's finger to match, now user's finger can touch the displaying contents in the described preset touch region of control easily. described mobile terminal detects described position of touch region whether in described preset touch region, if then performing step S203, if not, then continue to perform step S201.
S203, when described position of touch region is in described preset touch region, calculates the similarity of the default sliding trace of described sliding trace and described default startup information.
Concrete, described default startup information also comprises default sliding trace, and described default sliding trace is trigger the standard sliding trace that described mobile terminal opens described preset shape keyboard, the sliding trace for opening described oblique ellipse that namely user pre-sets. In embodiments of the present invention, described default sliding trace is rule or irregular oblique ellipse. When described position of touch region is in described preset touch region, it is understandable that described position of touch region meets a part for described default startup information, but whether unclear described sliding trace meets another part of described default startup information, according to the similarity of described sliding trace and described default sliding trace, the embodiment of the present invention judges whether described sliding trace meets another part of described default startup information. Described mobile terminal in described position of touch region in described preset touch region time, calculate described sliding trace and the similarity of described default sliding trace. Optionally, described mobile terminal calculates described similarity according to general figures characteristics algorithm.Optionally, described mobile terminal calculates described similarity by built-in image similarity inspection software. The method of calculation of concrete similarity do not limit in embodiments of the present invention.
S204, judges whether described similarity is greater than predetermined threshold value.
Concrete, according to the described similarity calculated, described mobile terminal judges whether described similarity is greater than predetermined threshold value, wherein, described predetermined threshold value is the Similarity value of manufacturer's setting of described mobile terminal, or the Similarity value given tacit consent to by described mobile terminal system, or the Similarity value arranged for user, such as, 75 percent, concrete Similarity value does not limit at this. When the result judged is as being, perform step S205; When the result judged is no, continue to perform step S201.
S205, when described similarity is greater than described predetermined threshold value, it is determined that described sliding trace and described position of touch region meet described default startup information.
Concrete, when described similarity is greater than described predetermined threshold value, namely when the judged result of step S204 is for being, described mobile terminal determines that described sliding trace and described position of touch region meet described default startup information, it should be appreciated that now described sliding trace and described position of touch region meet the condition starting described oblique oval keyboard.
S206, determines the first coordinate and the 2nd coordinate in described position of touch region according to the shape of described sliding trace.
Concrete, when described sliding trace and described position of touch region meet described default startup information, described mobile terminal starts described oblique oval keyboard, and determines the first coordinate and the 2nd coordinate in described position of touch region according to the shape of described sliding trace. The shape of the described sliding trace in the embodiment of the present invention is rule or irregular oblique ellipse. Wherein, first coordinate in described position of touch region and the 2nd coordinate are the major axis of described sliding trace two intersecting point coordinates crossing with described position of touch region, and the longitudinal direction value of described first coordinate is greater than the longitudinal direction value of described 2nd coordinate, the transverse direction value of described first coordinate is not equal to the transverse direction value of described 2nd coordinate. Refer to the first width figure in Fig. 5, when described position of touch region is the rectangular area that the region that described sliding trace surrounds is determined, the M1 that described first coordinate is in Fig. 5, the M2 that described 2nd coordinate is in Fig. 5, if taking the summit, the lower left corner of described mobile terminal display interface as true origin O (0,0), the ray being parallel to sea line is x-axis, the ray being perpendicular to sea line is y-axis, and so the coordinate of M1 is (x1, y1), the coordinate of M2 is (x2, y2), and x1 is greater than x2, and y1 is greater than y2.
S207, when the vergence direction of described sliding trace is identical with the vergence direction of described oblique oval keyboard, judge the first major axis apex coordinate of described oblique oval keyboard and the 2nd major axis apex coordinate whether respectively the first coordinate and the 2nd coordinate with described position of touch region overlap.
Concrete, when the vergence direction of described sliding trace is identical with the vergence direction of described oblique oval keyboard, namely the vergence direction of described sliding trace is for user, also be tilted to the right, now described mobile terminal judge the first major axis apex coordinate of described oblique oval keyboard and the 2nd major axis apex coordinate whether respectively the first coordinate and the 2nd coordinate with described position of touch region overlap. Wherein, described first major axis apex coordinate and the 2nd major axis apex coordinate are the edge curve of described oblique oval keyboard and the intersection point of the major axis of described oblique oval keyboard, i.e. two summits on oval major axis, the longitudinal direction value of described first major axis apex coordinate is greater than the longitudinal direction value of described 2nd major axis apex coordinate, and the transverse direction value of described first major axis apex coordinate is not equal to the transverse direction value of described 2nd major axis apex coordinate.
S208, when the result judged is as being, at the described oblique oval keyboard of described position of touch region correspondence display.
Concrete, when the result that step S207 judges is as being, show the first major axis apex coordinate of described oblique oval keyboard and the 2nd major axis apex coordinate respectively the first coordinate and the 2nd coordinate with described position of touch region overlap, namely the described oblique oval area size of keyboard is consistent with the size in described position of touch region, and therefore described mobile terminal is at the described oblique oval keyboard of described position of touch region correspondence display.
S209, when the result of judgement is no, carries out contracting to described default tiltedly oval keyboard and puts process, and show, in described position of touch region correspondence, the described oblique oval keyboard after putting process that contracts.
Concrete, when the result that step S207 judges is no, the the first major axis apex coordinate showing described oblique oval keyboard not the first coordinate with described position of touch region overlap, and/or the 2nd major axis apex coordinate of described oblique oval keyboard does not overlap with the 2nd coordinate with described position of touch region, namely the described oblique oval area size of keyboard is not consistent with the size in described position of touch region, therefore described mobile terminal is preset oblique ellipse and is carried out contracting to described and put process, so that contracting put process after the first major axis apex coordinate of described oblique oval keyboard and the 2nd major axis apex coordinate respectively the first coordinate and the 2nd coordinate with described position of touch region overlap, and then the described oblique oval area size of keyboard after putting process that makes to contract is consistent with the size in described position of touch region, the described oblique oval keyboard of described mobile terminal after process is put in the correspondence display contracting of described position of touch region.
Refer to the 2nd width figure in Fig. 5, first major axis apex coordinate of the described oblique oval keyboard that described mobile terminal finally shows overlaps with M1,2nd major axis apex coordinate of described oblique oval keyboard overlaps with M2, and the described oblique oval keyboard shown in Fig. 5 is the keyboard under numeral input state. It should be noted that, in actual displayed, the described sliding trace of grey dotted line can't show, and display interface only shows described oblique oval keyboard. As seen from the figure, the demand of described oblique oval keyboard conforms active user, the display position of oblique oval keyboard described in the described sliding trace dynamic conditioning that described mobile terminal inputs according to user, change proper alignment in prior art and the nine grids keyboard of fixing display, the oblique oval keyboard that the embodiment of the present invention provides can facilitate user's input information, reduces the false touch probability of user.
In embodiments of the present invention, by receive for display interface input for starting the sliding trace of tiltedly oval keyboard time, determine the position of touch region that sliding trace is formed, and detect the whether satisfied default startup information of sliding trace and position of touch region, and when the vergence direction that sliding trace and position of touch region meet default startup information and sliding trace is identical with the vergence direction of tiltedly oval keyboard, the first coordinate and the 2nd coordinate according to position of touch region show tiltedly oval keyboard in position of touch region correspondence, thus realize the control to tiltedly oval keyboard & display position flexibly, the oblique oval keyboard of display is made not only to meet position of touch region, also meet human engineering, and then improve the adaptability of mobile terminal, intelligent, it is user-friendly to tiltedly oval keyboard input information simultaneously, reduce the false touch probability of user.
Referring to Fig. 3, be the schematic flow sheet of another control method of keyboard that the embodiment of the present invention provides, the method can comprise step S201-step S209.
S301, receives for the sliding trace for starting tiltedly oval keyboard that display interface inputs, and determines the position of touch region that described sliding trace is formed.
S302, detects described position of touch region whether in the preset touch region of default startup information.
S303, when described position of touch region is in described preset touch region, calculates the similarity of the default sliding trace of described sliding trace and described default startup information.
S304, judges whether described similarity is greater than predetermined threshold value.
S305, when described similarity is greater than described predetermined threshold value, it is determined that described sliding trace and described position of touch region meet described default startup information.
S306, determines the first coordinate and the 2nd coordinate in described position of touch region according to the shape of described sliding trace.
The specific implementation process of the step S301-step S306 in the embodiment of the present invention can the specific descriptions of step S201-step S206 of embodiment shown in Figure 2, do not repeat them here.
S307, when the vergence direction of described sliding trace is contrary with the vergence direction of described oblique oval keyboard, carries out mirror image processing to described oblique ellipse.
Concrete, when the vergence direction of described sliding trace is contrary with the vergence direction of described oblique oval keyboard, namely the vergence direction of described sliding trace is for user, it is be tilted to the left, contrary with being tilted to the right of described oblique oval keyboard, therefore now described oblique oval keyboard is carried out mirror image processing by described mobile terminal, refers to Fig. 6, for the described oblique oval keyboard after mirror image processing, the keyboard shown in Fig. 6 is the described oblique oval keyboard under input in Chinese state. The vergence direction of the described oblique oval keyboard after mirror image processing is identical with the vergence direction of described sliding trace.
S308, judge the first major axis apex coordinate of the described oblique oval keyboard after mirror image processing and the 2nd major axis apex coordinate whether respectively the first coordinate and the 2nd coordinate with described position of touch region overlap.
Concrete, described mobile terminal judge mirror image processing after the first major axis apex coordinate of described oblique ellipse keyboard and the 2nd major axis apex coordinate whether respectively the first coordinate and the 2nd coordinate with described position of touch region overlap. Wherein, first major axis apex coordinate of the described oblique oval keyboard after mirror image processing and the 2nd major axis apex coordinate are the edge curve of described oblique oval keyboard and the intersection point of the major axis of described oblique oval keyboard, i.e. two summits on oval major axis, the longitudinal direction value of described first major axis apex coordinate is greater than the longitudinal direction value of described 2nd major axis apex coordinate, and the transverse direction value of described first major axis apex coordinate is not equal to the transverse direction value of described 2nd major axis apex coordinate.
S309, the described oblique oval keyboard when the result judged is as being, after the correspondence display mirror image processing of described position of touch region.
Concrete, when the result that step S308 judges is as being, show the first major axis apex coordinate of the described oblique oval keyboard after mirror image processing and the 2nd major axis apex coordinate respectively the first coordinate and the 2nd coordinate with described position of touch region overlap, namely the described oblique oval area size of keyboard after mirror image processing is consistent with the size in described position of touch region, therefore the described oblique ellipse keyboard of described mobile terminal after the correspondence display mirror image processing of described position of touch region.
S310, when the result of judgement is no, carries out contracting to the described default tiltedly oval keyboard after mirror image processing and puts process, and show, in described position of touch region correspondence, the described oblique oval keyboard after putting process that contracts.
Concrete, when the result that step S308 judges is no, the the first major axis apex coordinate showing the described oblique oval keyboard after mirror image processing not the first coordinate with described position of touch region overlap, and/or the 2nd major axis apex coordinate of the described oblique oval keyboard after mirror image processing does not overlap with the 2nd coordinate with described position of touch region, namely the described oblique oval area size of keyboard after mirror image processing is not consistent with the size in described position of touch region, therefore described after mirror image processing is preset oblique ellipse and carries out contracting and put process by described mobile terminal, so that contracting put process after the first major axis apex coordinate of described oblique oval keyboard and the 2nd major axis apex coordinate respectively the first coordinate and the 2nd coordinate with described position of touch region overlap, and then the described oblique oval area size of keyboard after putting process that makes to contract is consistent with the size in described position of touch region, the described oblique oval keyboard of described mobile terminal after process is put in the correspondence display contracting of described position of touch region.
The vergence direction of the described oblique oval keyboard of embodiment of the present invention display is contrary with the vergence direction of described oblique ellipse keyboard shown by the 2nd width figure in Fig. 5, and namely in the embodiment of the present invention, x1 is less than x2, and y1 is greater than y2.
In embodiments of the present invention, by receive for display interface input for starting the sliding trace of tiltedly oval keyboard time, determine the position of touch region that sliding trace is formed, and detect the whether satisfied default startup information of sliding trace and position of touch region, and when the vergence direction that sliding trace and position of touch region meet default startup information and sliding trace is contrary with the vergence direction of tiltedly oval keyboard, oblique ellipse is carried out mirror image processing, and according to oblique oval keyboard after the correspondence display mirror image processing of position of touch region of first coordinate in position of touch region and the 2nd coordinate, thus realize the control to tiltedly oval keyboard & display position flexibly, the oblique oval keyboard of display is made not only to meet position of touch region, also meet human engineering, and then improve the adaptability of mobile terminal, intelligent, it is user-friendly to tiltedly oval keyboard input information simultaneously, reduce the false touch probability of user.
Below in conjunction with accompanying drawing 7 and accompanying drawing 8, the mobile terminal that the embodiment of the present invention provides is carried out detail. It should be noted that, the mobile terminal shown in accompanying drawing 7, for performing the method for Fig. 1 of the present invention-embodiment illustrated in fig. 3, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete technology details does not disclose, and please refer to the embodiment shown in Fig. 1-Fig. 3 of the present invention.
Referring to Fig. 7, be the structural representation of a kind of mobile terminal that the embodiment of the present invention provides, described mobile terminal 1 can comprise reception unit 11, detecting unit 12 and display unit 13.
Receive unit 11, for receiving for the sliding trace for starting preset shape keyboard that display interface inputs, and determine the position of touch region that described sliding trace is formed.
In specific implementation, described mobile terminal 1 detect in real time and receive user finger or other touch control devices to the touch control operation of described mobile terminal touch screen, described touch control operation comprises slide, clicking operation etc., described slide may be from a point to the slide of another point, also may being the slide from a point to this point, the sliding trace of described slide may be curve, circle, ellipse, straight line etc.User can arrange on described mobile terminal 1 and be used for the various sliding traces that the functions such as application program, fast dialing, transmission information are opened in convenient realization, facilitates user's fast operating. In embodiments of the present invention, user is provided with a kind of sliding trace for starting preset shape keyboard on described mobile terminal 1, preferably, the shape of this sliding trace is tiltedly oval, the shapes such as the cloth that the shape of described preset shape keyboard can be irregular ellipse bag-shaped, oblique, circle, but it is not 26 keyboards under the nine grids keyboard of proper alignment or IOS system, it is preferable that, the shape of described preset shape keyboard is tiltedly oval. When the display interface of described mobile terminal 1 is inputted slide or the initiation gesture for starting described preset shape keyboard by user, described reception unit 11 receives the sliding trace of described slide, and determines the position of touch region that described sliding trace is formed. Optionally, described position of touch region is the region that described sliding trace surrounds on the display interface of described mobile terminal 1, asking for an interview see the first width figure in Fig. 5, grey dotted line is described sliding trace, and the region that grey dotted line surrounds is described position of touch region. Optionally, described position of touch region is the rectangular area that the region surrounded according to described sliding trace is determined, refer to the first width figure in Fig. 5, grey dotted line is described sliding trace, it is described position of touch region according to the determined rectangular area of grey dotted line, namely comprises the rectangular area of M1, M2.
It should be noted that, the sliding trace shown in the first width figure in Fig. 5 is desirable sliding trace, in user's actual mechanical process, described sliding trace may not be the oblique ellipse of rule, may there are some depressions or protruding, but the embodiment of the present invention is not affected by irregular oblique ellipse. When described reception unit 11 receives described sliding trace, described sliding trace can be shown by described mobile terminal 1, it is possible to does not show described sliding trace.
Detecting unit 12, for detecting whether described sliding trace and described position of touch region meet default startup information.
In specific implementation, described detecting unit 12 detects described sliding trace and whether described position of touch region meets default startup information. wherein, described default startup information presets sliding trace and preset touch region. described default sliding trace is trigger the standard sliding trace that described mobile terminal 1 opens described preset shape keyboard, the sliding trace for opening described preset shape keyboard that namely user pre-sets. described preset touch region is trigger the display area that described mobile terminal 1 opens described preset shape keyboard, described preset touch region is that user's one hand can touch the display area controlled and arrive easily, the concrete size and shape in described preset touch region is by the touch-screen size of described mobile terminal 1, user is hold by one hand the described position of mobile terminal 1 and the finger of touch display area is determined, such as, the bottom of mobile terminal 1 described in the single left-handed of user, described preset touch region is that oblique cloth is bag-shaped, the contacted region touching control screen with user's finger and described mobile terminal 1 matches, now user's finger can touch the displaying contents in the described preset touch region of control easily. when described sliding trace mates with described default sliding trace, and described position of touch region in described preset touch region time, it is determined that described sliding trace and described position of touch region meet described default startup information.Concrete, described detecting unit 12 comprises region detection unit 121, similarity calculated 122 and information determination unit 123.
Region detection unit 121, for detecting described position of touch region whether in described preset touch region.
In specific implementation, described region detection unit 121 detects described position of touch region whether in described preset touch region, namely detects described position of touch region and whether can trigger described mobile terminal 1 and start described preset shape keyboard.
Similarity calculated 122, for when described position of touch region is in described preset touch region, calculating described sliding trace and the similarity of described default sliding trace.
In specific implementation, when the detection of described region detection unit 121 show that described position of touch region is in described preset touch region, described similarity calculated 122 calculates described sliding trace and the similarity of described default sliding trace. Optionally, described similarity calculated 122 calculates described similarity according to general figures characteristics algorithm. Optionally, described similarity calculated 122 calculates described similarity by the image similarity inspection software of built-in described mobile terminal. The method of calculation of concrete similarity do not limit in embodiments of the present invention.
Information determination unit 123, for when described similarity is greater than predetermined threshold value, it is determined that described sliding trace and described position of touch region meet described default startup information.
In specific implementation, when described similarity calculated 122 calculate described similarity be greater than predetermined threshold value time, described information determination unit 123 determines that described sliding trace and described position of touch region meet described default startup information. Wherein, described predetermined threshold value is the Similarity value of manufacturer's setting of described mobile terminal, or the Similarity value given tacit consent to by described mobile terminal system, or the Similarity value for user's setting, such as, 75 percent, concrete Similarity value does not limit at this.
Display unit 13, for when described sliding trace and described position of touch region meet default startup information, at the described position of touch region correspondence described preset shape keyboard of display.
In specific implementation, when the detection of described detecting unit 12 show that described sliding trace and described position of touch region meet described default startup information, described mobile terminal 1 starts described preset shape keyboard, described display unit 13 shows described preset shape keyboard in described position of touch region correspondence, by described preset shape keyboard & display in described position of touch region.
Refer to Fig. 8, it is the structural representation of the display unit of offer embodiment illustrated in fig. 7. Described display unit 13 comprises coordinate determining unit 131 and keyboard display unit 132, wherein, described keyboard display unit 132 comprises the first judging unit 1321, first keyboard display unit 1322, mirror image processing unit 1323, the 2nd judging unit 1324 and the 2nd keyboard display unit 1325.
Coordinate determining unit 131, for when described sliding trace and described position of touch region meet default startup information, determining the first coordinate and the 2nd coordinate in described position of touch region according to the shape of described sliding trace.
In specific implementation, when the detection of described detecting unit 12 show that described sliding trace and described position of touch region meet described default startup information, described mobile terminal 1 starts described oblique oval keyboard, and described coordinate determining unit 131 determines the first coordinate and the 2nd coordinate in described position of touch region according to the shape of described sliding trace.The shape of the described sliding trace in the embodiment of the present invention is rule or irregular oblique ellipse. Wherein, first coordinate in described position of touch region and the 2nd coordinate are the major axis of described sliding trace two intersecting point coordinates crossing with described position of touch region, and the longitudinal direction value of described first coordinate is greater than the longitudinal direction value of described 2nd coordinate, the transverse direction value of described first coordinate is not equal to the transverse direction value of described 2nd coordinate. Refer to the first width figure in Fig. 5, when described position of touch region is the rectangular area that the region that described sliding trace surrounds is determined, the M1 that described first coordinate is in Fig. 5, the M2 that described 2nd coordinate is in Fig. 5, if taking the summit, the lower left corner of described mobile terminal 1 display interface as true origin O (0,0), the ray being parallel to sea line is x-axis, the ray being perpendicular to sea line is y-axis, and so the coordinate of M1 is (x1, y1), the coordinate of M2 is (x2, y2), and x1 is greater than x2, and y1 is greater than y2.
Keyboard display unit 132, shows described oblique oval keyboard for the first coordinate according to described position of touch region and the 2nd coordinate in described position of touch region correspondence.
In specific implementation, described keyboard display unit 132 shows described oblique oval keyboard according to first coordinate in described position of touch region and the 2nd coordinate in described position of touch region correspondence. In two kinds of situation, a kind of be that the vergence direction of described sliding trace is identical with the vergence direction of described oblique oval keyboard to described keyboard display unit 132, and the vergence direction that another kind is described sliding trace is contrary with the vergence direction of described oblique ellipse keyboard.
First judging unit 1321, for when the vergence direction of described sliding trace is identical with the vergence direction of described oblique oval keyboard, judge the first major axis apex coordinate of described oblique oval keyboard and the 2nd major axis apex coordinate whether respectively the first coordinate and the 2nd coordinate with described position of touch region overlap.
In specific implementation, when the vergence direction of described sliding trace is identical with the vergence direction of described oblique oval keyboard, namely the vergence direction of described sliding trace is for user, also be tilted to the right, now described first judging unit 1321 judge the first major axis apex coordinate of described oblique oval keyboard and the 2nd major axis apex coordinate whether respectively the first coordinate and the 2nd coordinate with described position of touch region overlap. Wherein, described first major axis apex coordinate and the 2nd major axis apex coordinate are the edge curve of described oblique oval keyboard and the intersection point of the major axis of described oblique oval keyboard, i.e. two summits on oval major axis, the longitudinal direction value of described first major axis apex coordinate is greater than the longitudinal direction value of described 2nd major axis apex coordinate, and the transverse direction value of described first major axis apex coordinate is not equal to the transverse direction value of described 2nd major axis apex coordinate.
First keyboard display unit 1322, for when the result that described first judging unit judges is as being, at the described oblique oval keyboard of described position of touch region correspondence display.
In specific implementation, when the result that described first judging unit 1321 judges is as being, show the first major axis apex coordinate of described oblique oval keyboard and the 2nd major axis apex coordinate respectively the first coordinate and the 2nd coordinate with described position of touch region overlap, namely the described oblique oval area size of keyboard is consistent with the size in described position of touch region, and therefore described first keyboard display unit 1322 is at the described oblique oval keyboard of described position of touch region correspondence display.
Described first keyboard display unit 1322, also for when the result of described first judging unit judgement is no, described default tiltedly oval keyboard being carried out contracting and puts process, and show, in described position of touch region correspondence, the described oblique oval keyboard after putting process that contracts.
In specific implementation, when the result that described first judging unit 1321 judges is no, the the first major axis apex coordinate showing described oblique oval keyboard not the first coordinate with described position of touch region overlap, and/or the 2nd major axis apex coordinate of described oblique oval keyboard does not overlap with the 2nd coordinate with described position of touch region, namely the described oblique oval area size of keyboard is not consistent with the size in described position of touch region, therefore described first keyboard display unit 1322 is preset oblique ellipse and is carried out contracting to described and put process, so that contracting put process after the first major axis apex coordinate of described oblique oval keyboard and the 2nd major axis apex coordinate respectively the first coordinate and the 2nd coordinate with described position of touch region overlap, and then the described oblique oval area size of keyboard after putting process that makes to contract is consistent with the size in described position of touch region, the described oblique oval keyboard of described first keyboard display unit 1322 after process is put in the correspondence display contracting of described position of touch region.
Mirror image processing unit 1323, for when the vergence direction of described sliding trace is contrary with the vergence direction of described oblique oval keyboard, carrying out mirror image processing to described oblique ellipse.
In specific implementation, when the vergence direction of described sliding trace is contrary with the vergence direction of described oblique oval keyboard, namely the vergence direction of described sliding trace is for user, it is be tilted to the left, contrary with being tilted to the right of described oblique oval keyboard, therefore now described oblique oval keyboard is carried out mirror image processing by described mirror image processing unit 1323, refers to Fig. 6, for the described oblique oval keyboard after mirror image processing, the keyboard shown in Fig. 6 is the described oblique oval keyboard under input in Chinese state. The vergence direction of the described oblique oval keyboard after mirror image processing is identical with the vergence direction of described sliding trace.
2nd judging unit 1324, for the first major axis apex coordinate of the described oblique oval keyboard after judging mirror image processing and the 2nd major axis apex coordinate whether respectively the first coordinate and the 2nd coordinate with described position of touch region overlap.
In specific implementation, described 2nd judging unit 1324 judge mirror image processing after the first major axis apex coordinate of described oblique oval keyboard and the 2nd major axis apex coordinate whether respectively the first coordinate and the 2nd coordinate with described position of touch region overlap. Wherein, first major axis apex coordinate of the described oblique oval keyboard after mirror image processing and the 2nd major axis apex coordinate are the edge curve of described oblique oval keyboard and the intersection point of the major axis of described oblique oval keyboard, i.e. two summits on oval major axis, the longitudinal direction value of described first major axis apex coordinate is greater than the longitudinal direction value of described 2nd major axis apex coordinate, and the transverse direction value of described first major axis apex coordinate is not equal to the transverse direction value of described 2nd major axis apex coordinate.
2nd keyboard display unit 1325, for the described oblique oval keyboard when the result that described 2nd judging unit judges is as being, after the correspondence display mirror image processing of described position of touch region.
In specific implementation, when the result that described 2nd judging unit 1324 judges is as being, show the first major axis apex coordinate of the described oblique oval keyboard after mirror image processing and the 2nd major axis apex coordinate respectively the first coordinate and the 2nd coordinate with described position of touch region overlap, namely the described oblique oval area size of keyboard after mirror image processing is consistent with the size in described position of touch region, therefore the described oblique ellipse keyboard of described 2nd keyboard display unit 1325 after the correspondence display mirror image processing of described position of touch region.
Described 2nd keyboard display unit 1325, also for when the result that the 2nd judging unit judges is no, the described default tiltedly oval keyboard after mirror image processing being carried out contracting and puts process.
Concrete, when the result that described 2nd judging unit 1324 judges is no, the the first major axis apex coordinate showing the described oblique oval keyboard after mirror image processing not the first coordinate with described position of touch region overlap, and/or the 2nd major axis apex coordinate of the described oblique oval keyboard after mirror image processing does not overlap with the 2nd coordinate with described position of touch region, namely the described oblique oval area size of keyboard after mirror image processing is not consistent with the size in described position of touch region, therefore described after mirror image processing is preset oblique ellipse and carries out contracting and put process by described 2nd keyboard display unit 1325, so that contracting put process after the first major axis apex coordinate of described oblique oval keyboard and the 2nd major axis apex coordinate respectively the first coordinate and the 2nd coordinate with described position of touch region overlap, and then the described oblique oval area size of keyboard after putting process that makes to contract is consistent with the size in described position of touch region, the described oblique oval keyboard of described 2nd keyboard display unit 1325 after process is put in the correspondence display contracting of described position of touch region.
In embodiments of the present invention, by receive for display interface input for starting the sliding trace of preset shape keyboard time, determine the position of touch region that sliding trace is formed, and detect the whether satisfied default startup information of sliding trace and position of touch region, and when sliding trace and position of touch region meet default startup information, at position of touch region correspondence display preset shape keyboard, thus realize the control to shape keyboard & display position flexibly, make the shape keyboard conforms human engineering of display, and then improve the adaptability of mobile terminal, intelligent.
Refer to Fig. 9, for embodiments providing the structural representation of another kind of mobile terminal. As shown in Figure 9, this mobile terminal comprises: at least one treater 901, such as CPU, user interface 903, storer 904, at least one communication bus 902. Wherein, the connection communication of communication bus 902 for realizing between these assemblies. User interface 903 comprises display screen and keyboard, and described keyboard is the preset shape keyboard in the embodiment of the present invention. Wherein, storer 904 can be high-speed RAM storer, it is also possible to be non-labile storer (non-volatilememory), such as at least one multiple head unit. Wherein treater 901 can mobile terminal described by composition graphs 7 and Fig. 8, storer 904 stores one group of program code, and treater 901 calls in storer 904 program code stored, for performing following operation:
User interface 903 receives for the sliding trace for starting preset shape keyboard that display interface inputs, and determines the position of touch region that described sliding trace is formed;
Detect the whether satisfied default startup information of described sliding trace and described position of touch region;
When described sliding trace and described position of touch region meet default startup information, described user interface 903 is at the described position of touch region correspondence described preset shape keyboard of display.
In an alternate embodiment of the invention, described default startup information presets sliding trace and preset touch region; Treater 901 calls in storer 904 the program code execution described sliding trace of detection stored and whether described position of touch region meets in the process presetting startup information, the following step of concrete execution:
Detect described position of touch region whether in described preset touch region;
When described position of touch region is in described preset touch region, calculate described sliding trace and the similarity of described default sliding trace;
When described similarity is greater than predetermined threshold value, it is determined that described sliding trace and described position of touch region meet described default startup information.
In an alternate embodiment of the invention, described preset shape keyboard is oblique oval keyboard, treater 901 calls in storer 904 program code stored and performs when described sliding trace and described position of touch region meet default startup information, described user interface 903, in the process of the described position of touch region correspondence described preset shape keyboard of display, specifically performs following step:
When described sliding trace and described position of touch region meet default startup information, determine the first coordinate and the 2nd coordinate in described position of touch region according to the shape of described sliding trace;
Control described user interface 903 and show described oblique oval keyboard according to first coordinate in described position of touch region and the 2nd coordinate in described position of touch region correspondence;
Wherein, first coordinate in described position of touch region and the 2nd coordinate are the major axis of described sliding trace two intersecting point coordinates crossing with described position of touch region, and the longitudinal direction value of described first coordinate is greater than the longitudinal direction value of described 2nd coordinate, the transverse direction value of described first coordinate is not equal to the transverse direction value of described 2nd coordinate.
In an alternate embodiment of the invention, treater 901 calls in storer 904 the program code execution stored and shows in the process of described oblique oval keyboard according to first coordinate in described position of touch region and the 2nd coordinate in described position of touch region correspondence, the following step of concrete execution:
When the vergence direction of described sliding trace is identical with the vergence direction of described oblique oval keyboard, judge the first major axis apex coordinate of described oblique oval keyboard and the 2nd major axis apex coordinate whether respectively the first coordinate and the 2nd coordinate with described position of touch region overlap;
When the result judged is as being, control described user interface 903 at the described oblique oval keyboard of described position of touch region correspondence display;
When the result judged is no, described default tiltedly oval keyboard is carried out contracting and puts process, and control the described oblique oval keyboard of described user interface 903 after process is put in the correspondence display contracting of described position of touch region, contracting put process after the first major axis apex coordinate of described oblique oval keyboard and the 2nd major axis apex coordinate respectively the first coordinate and the 2nd coordinate with described position of touch region overlap;
Wherein, the longitudinal direction value of described first major axis apex coordinate is greater than the longitudinal direction value of described 2nd major axis apex coordinate, and the transverse direction value of described first major axis apex coordinate is not equal to the transverse direction value of described 2nd major axis apex coordinate.
In an alternate embodiment of the invention, treater 901 calls in storer 904 the program code execution stored and shows in the process of described oblique oval keyboard according to first coordinate in described position of touch region and the 2nd coordinate in described position of touch region correspondence, the following step of concrete execution:
When the vergence direction of described sliding trace is contrary with the vergence direction of described oblique oval keyboard, described oblique ellipse is carried out mirror image processing;
Judge the first major axis apex coordinate of the described oblique oval keyboard after mirror image processing and the 2nd major axis apex coordinate whether respectively the first coordinate and the 2nd coordinate with described position of touch region overlap;
When the result judged is as being, control the described oblique oval keyboard of described user interface 903 after the correspondence display mirror image processing of described position of touch region;
When the result judged is no, described default tiltedly oval keyboard after mirror image processing is carried out contracting and puts process, and control the described oblique oval keyboard of described user interface 903 after process is put in the correspondence display contracting of described position of touch region, contracting put process after the first major axis apex coordinate of described oblique oval keyboard and the 2nd major axis apex coordinate respectively the first coordinate and the 2nd coordinate with described position of touch region overlap;
Wherein, the longitudinal direction value of described first major axis apex coordinate is greater than the longitudinal direction value of described 2nd major axis apex coordinate, and the transverse direction value of described first major axis apex coordinate is not equal to the transverse direction value of described 2nd major axis apex coordinate.
In embodiments of the present invention, by receive for display interface input for starting the sliding trace of preset shape keyboard time, determine the position of touch region that sliding trace is formed, and detect the whether satisfied default startup information of sliding trace and position of touch region, and when sliding trace and position of touch region meet default startup information, at position of touch region correspondence display preset shape keyboard, thus realize the control to shape keyboard & display position flexibly, make the shape keyboard conforms human engineering of display, and then improve the adaptability of mobile terminal, intelligent.
Module described in the embodiment of the present invention or unit, universal integrated circuit can be passed through, such as CPU (CentralProcessingUnit, central processing unit), or realized by ASIC (ApplicationSpecificIntegratedCircuit, application specific integrated circuit).
Step in embodiment of the present invention method can carry out order according to actual needs and adjust, merges and delete.
Module or unit in embodiment of the present invention terminal can carry out merging, divide and deleting according to actual needs.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, it is can be completed by the hardware that computer program carrys out instruction relevant, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment such as above-mentioned each side method. Wherein, described storage media can be magnetic disc, CD, read-only storage memory body (Read-OnlyMemory, ROM) or random storage and remembers body (RandomAccessMemory, RAM) etc.
Above disclosed being only the better embodiment of the present invention, certainly can not limit the interest field of the present invention with this, the equivalent variations therefore done according to the claims in the present invention, still belongs to the scope that the present invention is contained.

Claims (10)

1. a control method of keyboard, it is characterised in that, comprising:
Receive the sliding trace for starting preset shape keyboard inputted for display interface, and determine the position of touch region that described sliding trace is formed;
Detect the whether satisfied default startup information of described sliding trace and described position of touch region;
When described sliding trace and described position of touch region meet default startup information, at the described position of touch region correspondence described preset shape keyboard of display.
2. method according to claim 1, it is characterised in that, described default startup information presets sliding trace and preset touch region;
Whether the described sliding trace of described detection and described position of touch region meet is preset startup information, comprising:
Detect described position of touch region whether in described preset touch region;
When described position of touch region is in described preset touch region, calculate described sliding trace and the similarity of described default sliding trace;
When described similarity is greater than predetermined threshold value, it is determined that described sliding trace and described position of touch region meet described default startup information.
3. method according to claim 1, it is characterised in that, described preset shape keyboard is oblique oval keyboard;
Described when described sliding trace and described position of touch region meet default startup information, at the described position of touch region correspondence described preset shape keyboard of display, comprising:
When described sliding trace and described position of touch region meet default startup information, determine the first coordinate and the 2nd coordinate in described position of touch region according to the shape of described sliding trace;
The first coordinate and the 2nd coordinate according to described position of touch region show described oblique oval keyboard in described position of touch region correspondence;
Wherein, first coordinate in described position of touch region and the 2nd coordinate are the major axis of described sliding trace two intersecting point coordinates crossing with described position of touch region, and the longitudinal direction value of described first coordinate is greater than the longitudinal direction value of described 2nd coordinate, the transverse direction value of described first coordinate is not equal to the transverse direction value of described 2nd coordinate.
4. method according to claim 3, it is characterised in that, described the first coordinate according to described position of touch region and the 2nd coordinate, at the described oblique oval keyboard of described position of touch region correspondence display, comprising:
When the vergence direction of described sliding trace is identical with the vergence direction of described oblique oval keyboard, judge the first major axis apex coordinate of described oblique oval keyboard and the 2nd major axis apex coordinate whether respectively the first coordinate and the 2nd coordinate with described position of touch region overlap;
When the result judged is as being, at the described oblique oval keyboard of described position of touch region correspondence display;
When the result judged is no, described default tiltedly oval keyboard is carried out contracting and puts process, and the described oblique oval keyboard after process is put in the correspondence display contracting of described position of touch region, contracting put process after the first major axis apex coordinate of described oblique oval keyboard and the 2nd major axis apex coordinate respectively the first coordinate and the 2nd coordinate with described position of touch region overlap;
Wherein, the longitudinal direction value of described first major axis apex coordinate is greater than the longitudinal direction value of described 2nd major axis apex coordinate, and the transverse direction value of described first major axis apex coordinate is not equal to the transverse direction value of described 2nd major axis apex coordinate.
5. method according to claim 3, it is characterised in that, described the first coordinate according to described position of touch region and the 2nd coordinate, at the described oblique oval keyboard of described position of touch region correspondence display, comprising:
When the vergence direction of described sliding trace is contrary with the vergence direction of described oblique oval keyboard, described oblique ellipse is carried out mirror image processing;
Judge the first major axis apex coordinate of the described oblique oval keyboard after mirror image processing and the 2nd major axis apex coordinate whether respectively the first coordinate and the 2nd coordinate with described position of touch region overlap;
Described oblique oval keyboard when the result judged is as being, after the correspondence display mirror image processing of described position of touch region;
When the result judged is no, described default tiltedly oval keyboard after mirror image processing is carried out contracting and puts process, and the described oblique oval keyboard after process is put in the correspondence display contracting of described position of touch region, contracting put process after the first major axis apex coordinate of described oblique oval keyboard and the 2nd major axis apex coordinate respectively the first coordinate and the 2nd coordinate with described position of touch region overlap;
Wherein, the longitudinal direction value of described first major axis apex coordinate is greater than the longitudinal direction value of described 2nd major axis apex coordinate, and the transverse direction value of described first major axis apex coordinate is not equal to the transverse direction value of described 2nd major axis apex coordinate.
6. a mobile terminal, it is characterised in that, comprising:
Receive unit, for receiving for the sliding trace for starting preset shape keyboard that display interface inputs, and determine the position of touch region that described sliding trace is formed;
Detecting unit, for detecting whether described sliding trace and described position of touch region meet default startup information;
Display unit, for when described sliding trace and described position of touch region meet default startup information, at the described position of touch region correspondence described preset shape keyboard of display.
7. mobile terminal according to claim 6, it is characterised in that, described default startup information presets sliding trace and preset touch region;
Described detecting unit comprises:
Region detection unit, for detecting described position of touch region whether in described preset touch region;
Similarity calculated, for when described position of touch region is in described preset touch region, calculating described sliding trace and the similarity of described default sliding trace;
Information determination unit, for when described similarity is greater than predetermined threshold value, it is determined that described sliding trace and described position of touch region meet described default startup information.
8. mobile terminal according to claim 6, it is characterised in that, described preset shape keyboard is oblique oval keyboard;
Described display unit comprises:
Coordinate determining unit, for when described sliding trace and described position of touch region meet default startup information, determining the first coordinate and the 2nd coordinate in described position of touch region according to the shape of described sliding trace;
Keyboard display unit, shows described oblique oval keyboard for the first coordinate according to described position of touch region and the 2nd coordinate in described position of touch region correspondence;
Wherein, first coordinate in described position of touch region and the 2nd coordinate are the major axis of described sliding trace two intersecting point coordinates crossing with described position of touch region, and the longitudinal direction value of described first coordinate is greater than the longitudinal direction value of described 2nd coordinate, the transverse direction value of described first coordinate is not equal to the transverse direction value of described 2nd coordinate.
9. mobile terminal according to claim 8, it is characterised in that, described keyboard display unit comprises:
First judging unit, for when the vergence direction of described sliding trace is identical with the vergence direction of described oblique oval keyboard, judge the first major axis apex coordinate of described oblique oval keyboard and the 2nd major axis apex coordinate whether respectively the first coordinate and the 2nd coordinate with described position of touch region overlap;
First keyboard display unit, for when the result that described first judging unit judges is as being, at the described oblique oval keyboard of described position of touch region correspondence display;
Described first keyboard display unit, also for when the result that described first judging unit judges is no, described default tiltedly oval keyboard is carried out contracting and puts process, and the described oblique oval keyboard after process is put in the correspondence display contracting of described position of touch region, contracting put process after the first major axis apex coordinate of described oblique oval keyboard and the 2nd major axis apex coordinate respectively the first coordinate and the 2nd coordinate with described position of touch region overlap;
Wherein, the longitudinal direction value of described first major axis apex coordinate is greater than the longitudinal direction value of described 2nd major axis apex coordinate, and the transverse direction value of described first major axis apex coordinate is not equal to the transverse direction value of described 2nd major axis apex coordinate.
10. mobile terminal according to claim 8, it is characterised in that, described keyboard display unit comprises:
Mirror image processing unit, for when the vergence direction of described sliding trace is contrary with the vergence direction of described oblique oval keyboard, carrying out mirror image processing to described oblique ellipse;
2nd judging unit, for the first major axis apex coordinate of the described oblique oval keyboard after judging mirror image processing and the 2nd major axis apex coordinate whether respectively the first coordinate and the 2nd coordinate with described position of touch region overlap;
2nd keyboard display unit, for the described oblique oval keyboard when the result that described 2nd judging unit judges is as being, after the correspondence display mirror image processing of described position of touch region;
Described 2nd keyboard display unit, also for when the result that the 2nd judging unit judges is no, described default tiltedly oval keyboard after mirror image processing is carried out contracting and puts process, and the described oblique oval keyboard after process is put in the correspondence display contracting of described position of touch region, contracting put process after the first major axis apex coordinate of described oblique oval keyboard and the 2nd major axis apex coordinate respectively the first coordinate and the 2nd coordinate with described position of touch region overlap;
Wherein, the longitudinal direction value of described first major axis apex coordinate is greater than the longitudinal direction value of described 2nd major axis apex coordinate, and the transverse direction value of described first major axis apex coordinate is not equal to the transverse direction value of described 2nd major axis apex coordinate.
CN201510976279.1A 2015-12-23 2015-12-23 Keyboard control method and mobile terminal Pending CN105653185A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510976279.1A CN105653185A (en) 2015-12-23 2015-12-23 Keyboard control method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510976279.1A CN105653185A (en) 2015-12-23 2015-12-23 Keyboard control method and mobile terminal

Publications (1)

Publication Number Publication Date
CN105653185A true CN105653185A (en) 2016-06-08

Family

ID=56476671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510976279.1A Pending CN105653185A (en) 2015-12-23 2015-12-23 Keyboard control method and mobile terminal

Country Status (1)

Country Link
CN (1) CN105653185A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648398A (en) * 2015-11-03 2017-05-10 重庆邮电大学 Display control method and device
CN108108082A (en) * 2017-12-29 2018-06-01 努比亚技术有限公司 A kind of method of information processing, terminal and computer storage media
CN108932100A (en) * 2017-05-26 2018-12-04 成都理想境界科技有限公司 A kind of operating method and head-mounted display apparatus of dummy keyboard
CN109871114A (en) * 2017-12-04 2019-06-11 北京搜狗科技发展有限公司 A kind of keyboard operation method and device
CN114185478A (en) * 2021-11-05 2022-03-15 北京搜狗科技发展有限公司 Application program display method and device and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063253A (en) * 2010-04-07 2011-05-18 苹果公司 Method of managing parallel open software applications and relevant device
CN102520845A (en) * 2011-11-23 2012-06-27 优视科技有限公司 Method and device for mobile terminal to call out thumbnail interface
CN102654818A (en) * 2011-03-03 2012-09-05 汉王科技股份有限公司 Keyboard display method and device of touch screen electronic equipment
CN103235665A (en) * 2013-05-02 2013-08-07 百度在线网络技术(北京)有限公司 Mobile terminal input method and device and mobile terminal
CN103500063A (en) * 2013-09-24 2014-01-08 小米科技有限责任公司 Virtual keyboard display method and device and terminal
CN103870201A (en) * 2012-12-18 2014-06-18 联想(北京)有限公司 Virtual keyboard display method and equipment
CN103902200A (en) * 2012-12-24 2014-07-02 联想(北京)有限公司 Information processing method and electronic device
CN104407798A (en) * 2014-10-30 2015-03-11 广东欧珀移动通信有限公司 Virtual key control method and device as well as terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063253A (en) * 2010-04-07 2011-05-18 苹果公司 Method of managing parallel open software applications and relevant device
CN102654818A (en) * 2011-03-03 2012-09-05 汉王科技股份有限公司 Keyboard display method and device of touch screen electronic equipment
CN102520845A (en) * 2011-11-23 2012-06-27 优视科技有限公司 Method and device for mobile terminal to call out thumbnail interface
CN103870201A (en) * 2012-12-18 2014-06-18 联想(北京)有限公司 Virtual keyboard display method and equipment
CN103902200A (en) * 2012-12-24 2014-07-02 联想(北京)有限公司 Information processing method and electronic device
CN103235665A (en) * 2013-05-02 2013-08-07 百度在线网络技术(北京)有限公司 Mobile terminal input method and device and mobile terminal
CN103500063A (en) * 2013-09-24 2014-01-08 小米科技有限责任公司 Virtual keyboard display method and device and terminal
CN104407798A (en) * 2014-10-30 2015-03-11 广东欧珀移动通信有限公司 Virtual key control method and device as well as terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648398A (en) * 2015-11-03 2017-05-10 重庆邮电大学 Display control method and device
CN106648398B (en) * 2015-11-03 2020-08-14 重庆邮电大学 Display control method and device
CN108932100A (en) * 2017-05-26 2018-12-04 成都理想境界科技有限公司 A kind of operating method and head-mounted display apparatus of dummy keyboard
CN109871114A (en) * 2017-12-04 2019-06-11 北京搜狗科技发展有限公司 A kind of keyboard operation method and device
CN109871114B (en) * 2017-12-04 2023-02-03 北京搜狗科技发展有限公司 Keyboard operation method and device
CN108108082A (en) * 2017-12-29 2018-06-01 努比亚技术有限公司 A kind of method of information processing, terminal and computer storage media
CN108108082B (en) * 2017-12-29 2021-05-21 努比亚技术有限公司 Information processing method, terminal and computer storage medium
CN114185478A (en) * 2021-11-05 2022-03-15 北京搜狗科技发展有限公司 Application program display method and device and storage medium

Similar Documents

Publication Publication Date Title
US8098879B2 (en) Information processing device, image movement instructing method, and information storage medium
JP5507494B2 (en) Portable electronic device with touch screen and control method
CN105653185A (en) Keyboard control method and mobile terminal
WO2017088131A1 (en) Method and apparatus for rapidly dividing screen, electronic device, display interface and storage medium
US20130201139A1 (en) User interface apparatus and mobile terminal apparatus
US20140380209A1 (en) Method for operating portable devices having a touch screen
US8525854B2 (en) Display device and screen display method
KR20180132847A (en) Display interface control method, apparatus and terminal for preventing malfunction
JP5615642B2 (en) Portable terminal, input control program, and input control method
US9823773B2 (en) Handheld device and method for implementing input area position adjustment on handheld device
US20150022467A1 (en) Electronic device, control method of electronic device, and control program of electronic device
JP6017995B2 (en) Portable information processing apparatus, input method thereof, and computer-executable program
US20130278565A1 (en) Method and apparatus for providing graphic keyboard in touch-screen terminal
JP5991320B2 (en) Input device, image display method and program
KR101451534B1 (en) Portable electronic device and method of controlling same
CN111124156B (en) Interaction control method of mobile terminal and mobile terminal
CN104898818A (en) Information processing method and electronic equipment
US20160224111A1 (en) Method for controlling touch screen by detecting position of line of sight of user
US10318047B2 (en) User interface for electronic device, input processing method, and electronic device
CN103809909A (en) Information processing method and electronic devices
KR20130038785A (en) Touch screen control method using bezel area
KR101422447B1 (en) Method and apparatus for changing page of e-book using pressure modeling
JP6682951B2 (en) Program and information processing device
WO2020195835A1 (en) Touch position detection system
CN105278812A (en) Interface adjustment 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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160608

WD01 Invention patent application deemed withdrawn after publication