CN106155557A - A kind of virtual key display packing and mobile terminal - Google Patents

A kind of virtual key display packing and mobile terminal Download PDF

Info

Publication number
CN106155557A
CN106155557A CN201610543453.8A CN201610543453A CN106155557A CN 106155557 A CN106155557 A CN 106155557A CN 201610543453 A CN201610543453 A CN 201610543453A CN 106155557 A CN106155557 A CN 106155557A
Authority
CN
China
Prior art keywords
area
virtual key
touch
display area
increase
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.)
Granted
Application number
CN201610543453.8A
Other languages
Chinese (zh)
Other versions
CN106155557B (en
Inventor
白立朋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610543453.8A priority Critical patent/CN106155557B/en
Publication of CN106155557A publication Critical patent/CN106155557A/en
Application granted granted Critical
Publication of CN106155557B publication Critical patent/CN106155557B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of virtual keyboard display method and mobile terminal, including: when the touch operation of the virtual key that dummy keyboard is included being detected, obtain the touch area that described touch operation is corresponding on touch screen;Contrast the size of described touch area and the display area of described virtual key;If described touch area is more than the display area of described virtual key, and described touch area accounting for the ratio of described touch area beyond area and preset fractional threshold more than first beyond described display area, then increase the display area of described virtual key.The embodiment of the present invention can be automatically adjusted the size of the display area of virtual key according to the concrete touch control operation of user's input, improves Consumer's Experience.

Description

A kind of virtual key display packing and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, be specifically related to a kind of virtual key display packing and mobile terminal.
Background technology
Current in the mobile terminal being configured with touching display screen, user generally uses institute in the systems soft ware of mobile terminal The dummy keyboard of configuration is as input tool.When user uses the dummy keyboard of configuration, dummy keyboard often takies touch The viewing area of screen part, the viewing area of the touch screen portion that usual dummy keyboard takies is fixed display area, and virtual The area of each button comprised in keyboard is also changeless in above-mentioned fixed display area.Institute in existing mobile terminal The dummy keyboard of configuration can not be automatically adjusted the display area of virtual key according to the concrete touch control operation of user's input Size, reduces Consumer's Experience.
Summary of the invention
Embodiments provide a kind of virtual keyboard display method and mobile terminal, it is possible to according to the tool of user's input Body touch control operation and be automatically adjusted virtual key display area size, improve Consumer's Experience.
First aspect, the embodiment of the present invention provides a kind of virtual key display packing, including:
When the touch operation of the virtual key that dummy keyboard is included being detected, obtain described touch operation on touch screen Corresponding touch area;
Contrast the size of described touch area and the display area of described virtual key;
If described touch area is more than the display area of described virtual key, and described touch area is beyond described display surface Long-pending account for the ratio of described touch area beyond area and preset fractional threshold more than first, then increase the display of described virtual key Area.
Optionally, the touch area that the described touch operation of described acquisition is corresponding on touch screen, including:
Obtain that the described touch operation of preset times is corresponding on touch screen averagely touches area.
Optionally, the display area of the described virtual key of described increase, including:
Determine that the area increase of described virtual key presets fractional threshold with the described ratio beyond area more than second;
The display area of described virtual key is increased according to described area increase.
Optionally, before the described display area increasing described virtual key according to described area increase, described method is also Including:
Whether the usable area of the described virtual key in judging in described dummy keyboard current display area is more than institute State area increase;
If the result judged is no, increase the viewing area of described dummy keyboard, so that the area of described virtual key increases Amount presets fractional threshold with the described ratio beyond area more than described second.
Optionally, after the size of the display area of described contrast described touch area and described virtual key, described side Method also includes:
If described touch area is less than the display area of described virtual key, reduce the display area of described virtual key.
Second aspect, embodiments provides a kind of mobile terminal, and described mobile terminal includes functional unit, described Functional unit is for performing the part or all of step described in embodiment of the present invention first aspect either method.
The third aspect, embodiments provides a kind of mobile terminal, including:
Processor, memorizer, communication interface and communication bus, described processor, described memorizer and described communication interface Connected by described communication bus and complete mutual communication;
Described memorizer storage has executable program code, and described communication interface is used for radio communication;
Described processor, for calling the described executable program code in described memorizer, performs the embodiment of the present invention the On the one hand the part or all of step described in either method.
In the embodiment of the present invention, by the touch operation of the virtual key that dummy keyboard is included by detection, can be obtained this and touch Touch the touch area that operation is corresponding on touch screen;Contrast the display area touching area and virtual key of this touch operation Size, touches area more than the display area of virtual key if contrasting, and touch area beyond display area beyond face When the long-pending ratio accounting for touch area presets fractional threshold more than first, then increase the display area of virtual key such that it is able to root It is automatically adjusted the size of the display area of virtual key according to the concrete touch control operation of user's input, improves Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of virtual key display packing disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another kind of virtual key display packing disclosed in the embodiment of the present invention;
Fig. 3 is the unit composition frame chart of a kind of mobile terminal disclosed in the embodiment of the present invention;
Fig. 4 is the unit composition frame chart of another kind of mobile terminal disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of a kind of mobile terminal disclosed in the embodiment of the present invention;
Fig. 6 is the structural representation of another kind of mobile terminal disclosed in the embodiment of the present invention.
Detailed description of the invention
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with in the embodiment of the present invention Accompanying drawing, is clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only The a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under not making creative work premise, broadly falls into the scope of protection of the invention.
Term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second " etc. are for distinguishing Different objects rather than be used for describing particular order.Additionally, term " includes " and " having " and their any deformation, it is intended that It is to cover non-exclusive comprising.Such as contain series of steps or the process of unit, method, system, product or equipment do not have Have and be defined in the step or unit listed, but the most also include step or the unit do not listed, or the most also wrap Include other steps intrinsic for these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can be wrapped in conjunction with the embodiments It is contained at least one embodiment of the present invention.It is identical that each position in the description occurs that this phrase might not each mean Embodiment, be not and the independent of other embodiments mutual exclusion or alternative embodiment.Those skilled in the art explicitly and Implicitly being understood by, embodiment described herein can combine with other embodiments.
Below the inventive method embodiment is described.Method in the embodiment of the present invention can be realized by mobile terminal or The aforementioned virtual keyboard module in terminal of person realizes.Wherein, mobile terminal can be any to possess communication and the setting of storage function Standby, such as: panel computer, mobile phone, electronic reader, remote controller, personal computer (Personal Computer, PC), notes This computer, mobile unit, Web TV, wearable device etc. possess the smart machine of virtual keyboard module.
Referring to Fig. 1, Fig. 1 is the schematic flow sheet of a kind of virtual key display packing disclosed in the embodiment of the present invention.As Shown in Fig. 1, the method can comprise the following steps.
Step S101, when the touch operation of the virtual key including dummy keyboard being detected, obtains described touch operation Touch area corresponding on touch screen.
In one embodiment, when the touch operation of virtual key that dummy keyboard includes being detected, can be obtained this and touch Touch the operation corresponding touch area on touch screen.Concrete, can detect on the character editing page of touch-control screen display The touch operation of the virtual key that dummy keyboard includes.Wherein, the character editing page can include that dummy keyboard and character show Frame, the dummy keyboard that dummy keyboard is configured when being and the character editing page is carried out character editing, the character edited is at character Show in display box.I.e. when character editing state, the viewing area of touch screen shows character display box and void Intending keyboard, dummy keyboard includes at least one virtual key, wherein, the size of the display area of the virtual key in dummy keyboard May be the same or different.The virtual key that touch operation is targeted can be determined by touch operation touches the central point of area. Optionally, the area that touches of acquisition can be that the described touch operation to above-mentioned virtual key of preset times is corresponding on touch screen Averagely touch area, and then can contrast touch operation more accurately touch the area display area with virtual key Size.
Step S102, contrasts the size of described touch area and the display area of described virtual key.
In one embodiment, the touch operation of acquisition touch operation corresponding on touch screen can be contrasted virtual press with this The size of the display area of key.Concrete, after determining virtual key by the touch central point of touch operation, it may be determined that should The display area of virtual key.Wherein, if contrasting the display area touching area less than virtual key, then can be reduced this virtual The display area of button;If contrasting the display area touching area more than virtual key, then can determine whether to touch area Beyond the size beyond area of display area, concrete judgment mode can be found in step S103.Optionally, above-mentioned touch area can The touch area of a touch operation for obtaining in step S101, it is possible to for the preset times of acquisition in step S101 Touch operation averagely touch area.
Step S103, if described touch area is more than the display area of described virtual key, and described touch area exceeds Accounting for the ratio of described touch area beyond area and presetting fractional threshold more than first of described display area, then increase described virtual The display area of button.
In one embodiment, if the area that touches contrasting touch operation is more than the display area of virtual key, then may be used Further determine that this touch area ratio beyond area with touch area beyond display area, if beyond area and touch surface Long-pending ratio presets fractional threshold more than first, then increase the display area of this virtual key.Concrete, when contrasting touch behaviour When the touch area made is more than the display area of virtual key, can determine whether beyond area and the ratio touching area, its In, beyond area be touch area with display area difference, if beyond area account for touch area ratio excessive, it is likely that Cause the maloperation to virtual key, i.e. this touch operation to mean the first virtual key is operated, and due to touch operation Touch area excessive, cause this touch operation for the second virtual key to be operated.And if accounting for touch area beyond area Ratio less, it is likely that do not interfere with the accuracy that virtual key is carried out touch operation, and then without regulating virtual pressing The display area of key, thus by judging beyond area and the ratio touching area, it is possible to whether be determined more accurately can Cause the maloperation to virtual key.Fractional threshold is preset beyond area and the ratio touching area more than first when determining Time, the display area of virtual key can be increased.Wherein, first to preset fractional threshold predeterminable be 30%, or about 30%.Optional , can be by reducing the display area of other virtual keys, as reduced the display surface of the virtual key adjacent with this virtual key Long-pending, increase the display area of this virtual key.Or, can be by reserved available display area on the virtual keyboard, when virtual When virtual key on keyboard needs to increase display area, what available dummy keyboard was reserved can increase void with display area Intend the display area of button.Or, the viewing area of dummy keyboard can be increased by entirety, increase in dummy keyboard part or The display area of whole virtual keys.Here, the embodiment of the present invention does not limits.
In the embodiment of the present invention, by the touch operation of the virtual key that dummy keyboard is included by detection, can be obtained this and touch Touch the touch area that operation is corresponding on touch screen;Contrast the display area touching area and virtual key of this touch operation Size, touches area more than the display area of virtual key if contrasting, and touch area beyond display area beyond face When the long-pending ratio accounting for touch area presets fractional threshold more than first, then increase the display area of virtual key such that it is able to root It is automatically adjusted the size of the display area of virtual key according to the concrete touch control operation of user's input, improves Consumer's Experience.
Referring to Fig. 2, Fig. 2 is the schematic flow sheet of another kind of virtual key display packing disclosed in the embodiment of the present invention. As in figure 2 it is shown, the method can comprise the following steps.
Step S201, when the touch operation of the virtual key including dummy keyboard being detected, obtains the institute of preset times State that touch operation is corresponding on touch screen averagely touches area.
In one embodiment, when the touch operation of virtual key that dummy keyboard includes being detected, can be obtained this and touch Touch the operation corresponding touch area on touch screen.Concrete, can detect on the character editing page of touch-control screen display The touch operation of the virtual key that dummy keyboard includes.Wherein, the character editing page can include that dummy keyboard and character show Frame, the dummy keyboard that dummy keyboard is configured when being and the character editing page is carried out character editing, the character edited is at character Show in display box.I.e. when character editing state, the viewing area of touch screen shows character display box and void Intending keyboard, dummy keyboard includes at least one virtual key, wherein, the size of the display area of the virtual key in dummy keyboard May be the same or different.The virtual key that touch operation is targeted can be determined by touch operation touches the central point of area. Wherein, when the touch operation to above-mentioned virtual key being detected, the touch area of each touch operation can be obtained, and inspection can be worked as Measure the number of operations of the touch operation to above-mentioned virtual key when reaching preset times threshold value, add up touching of each touch operation Touch area, and obtain the meansigma methods touching area of touch operation in this preset times, and as the touch surface of touch operation The long-pending display area with virtual key contrasts, and then can be determined more accurately the need of the display to virtual key Area is adjusted.
Step S202, contrasts the size of described touch area and the display area of described virtual key.
In one embodiment, the touch operation of acquisition touch operation corresponding on touch screen can be contrasted virtual press with this The size of the display area of key.Concrete, after determining virtual key by the touch central point of touch operation, it may be determined that should The display area of virtual key.Wherein, if contrasting the display area touching area less than virtual key, then step can be performed S207;If contrasting the display area touching area more than virtual key, then can determine whether to touch area beyond display surface The long-pending size beyond area, concrete judgment mode can be found in step S203.
Step S203, if described touch area is more than the display area of described virtual key, and described touch area exceeds The accounting for the ratio of described touch area beyond area and preset fractional threshold more than first of described display area, determine described virtual by The area increase of key presets fractional threshold with the described ratio beyond area more than second.
In one embodiment, if the area that touches contrasting touch operation is more than the display area of virtual key, then may be used Further determine that this touch area ratio beyond area with touch area beyond display area, if beyond area and touch surface Long-pending ratio presets fractional threshold more than first, then can further determine that the area increase of this virtual key needs super more than above-mentioned Go out area and second and preset the product of fractional threshold.The i.e. area increase of virtual key needs more than the with beyond the ratio of area Two preset fractional threshold.Concrete, when determining that this virtual key needs to increase display area by above-mentioned condition, it may be determined that The area increase of this virtual key.In the embodiment of the present invention, determine virtual key area increase need more than beyond area with Preset the product of ratio.Illustrating, if second to preset fractional threshold be 80%, then the area increase of virtual key needs to be more than Beyond area * 80%, certainly, area increase can be more than beyond area, it is possible to determine the area increase of virtual key and beyond face Long-pending identical.
Step S204, it is judged that the usable area of the described virtual key in described dummy keyboard current display area is No more than described area increase.
In one embodiment, when after the area increase needing to increase determining described virtual key, can sentence further In the current display area of disconnected dummy keyboard, whether the usable area of this virtual key is more than the above-mentioned area increase determined.Specifically , in dummy keyboard can reserved part viewing area as needing to increase the usable area of virtual key of display area, now, Can determine whether that whether this part usable area current is more than area increase;Or, dummy keyboard determining, other virtual keys can The display area adjusted is as needing to increase the usable area of the virtual key of display area, as other virtual keys can be adjusted Save out the 10% of currently displaying area as usable area, then needing the usable area increasing the virtual key of display area is this The 10% of the display area sum of a little virtual keys, now, can determine whether the available face that current other virtual keys of this part adjust Long-pending whether more than area increase.
Step S205, if the result judged is yes, increases the display area of described virtual key according to described area increase.
In one embodiment, if the usable area judged in dummy keyboard is more than the area required for virtual key and increases During amount, the display area of virtual key can be increased according to area increase.Concrete, can be empty by other in regulation dummy keyboard Intend the display area of button, increase the display area of above-mentioned virtual key;Or, usable area reserved in dummy keyboard In call correspondence area increase with increase virtual key display area, here, the embodiment of the present invention does not limits.
Step S206, if the result judged is no, increases the viewing area of described dummy keyboard, so that described virtual key Area increase and the described ratio beyond area preset fractional threshold more than described second.
In one embodiment, if the usable area judged in dummy keyboard is less than the area required for virtual key and increases During amount, then can increase the viewing area that this dummy keyboard is overall.Concrete, increase the viewing area of dummy keyboard, as increased void Intend the viewing area size with usable area reserved in increase dummy keyboard of keyboard, thus above-mentioned dummy keyboard can be increased Viewing area, or, increase the size of dummy keyboard viewing area, to increase the display surface of each virtual key in dummy keyboard Long-pending.Optionally, the viewing area of the current display page based on touch screen the viewing area of the dummy keyboard after increase can be determined Territory, and the show layers of dummy keyboard can be shown the display figure at the display page current at touch screen according to default transparency The top of layer, the display area of each virtual key in aforesaid way dummy keyboard all can increase, and each virtual key can increase Add identical area increase, or increase different area increase, optionally, the figure layer of dummy keyboard may also display the most defeated Enter frame, interim input frame can show the character that the input operation for dummy keyboard is corresponding.
Behind the viewing area of above-mentioned increase dummy keyboard, it is possible to meeting above-mentioned virtual key increases display based on area increase Area, concrete, it is possible to the area increase that meeting virtual key increases presets ratio threshold with the ratio beyond area more than second Value.Wherein, second to preset fractional threshold can be 80% or 90% etc..
Step S207, if described touch area is less than the display area of described virtual key, reduces described virtual key Display area.
In one embodiment, after the display size touching area and virtual key of contrast touch operation, if right Than going out to touch the area display area less than described virtual key, then can the corresponding display area reducing virtual key.Optionally, Above-mentioned touch area can be the touch operation of preset times averagely touch area, aobvious less than virtual key of area can touched Show area reduce area account for touch area ratio more than the 3rd preset fractional threshold time, reduce virtual key display surface Long-pending.Optionally, the display area reducing virtual key can be by reducing the display area of this virtual key, or by reducing this void Intend the viewing area of the dummy keyboard at button place, reduce the display area of this virtual key.Optionally, this virtual key institute Display area to be reduced can determine according to the touch area in touch operation.
In the embodiment of the present invention, by the touch operation of the virtual key that dummy keyboard is included by detection, can be obtained this and touch Touch the touch area that operation is corresponding on touch screen;Contrast the display area touching area and virtual key of this touch operation Size, touches area more than the display area of virtual key if contrasting, and touch area beyond display area beyond face When the long-pending ratio accounting for touch area presets fractional threshold more than first, then increase the display area of virtual key such that it is able to root It is automatically adjusted the size of the display area of virtual key according to the concrete touch control operation of user's input, improves Consumer's Experience.
Below apparatus of the present invention embodiment is described.Device embodiment in the embodiment of the present invention is able to carry out above-mentioned Method described in embodiment.
Refer to the unit composition frame chart that Fig. 3, Fig. 3 are a kind of mobile terminals disclosed in the embodiment of the present invention.Such as Fig. 3 institute Showing, this mobile terminal includes acquiring unit 301, contrast unit 302 and increases unit 303.
Wherein, acquiring unit 301, during for the touch operation of the virtual key that dummy keyboard is included being detected, obtain The touch area that described touch operation is corresponding on touch screen;
Contrast unit 302, for contrasting the size of described touch area and the display area of described virtual key;
Increase unit 303, if be more than the display area of described virtual key for described touch area, and described touch surface Long-pending accounting for the ratio of described touch area beyond area and preset fractional threshold more than first beyond described display area, then increase institute State the display area of virtual key.
In the embodiment of the present invention, acquiring unit 301, contrast unit 302 and increase unit 303 can perform shown in Fig. 1 real Execute the method for correlation step in example.
In the embodiment of the present invention, by the touch operation of the virtual key that dummy keyboard is included by detection, can be obtained this and touch Touch the touch area that operation is corresponding on touch screen;Contrast the display area touching area and virtual key of this touch operation Size, touches area more than the display area of virtual key if contrasting, and touch area beyond display area beyond face When the long-pending ratio accounting for touch area presets fractional threshold more than first, then increase the display area of virtual key such that it is able to root It is automatically adjusted the size of the display area of virtual key according to the concrete touch control operation of user's input, improves Consumer's Experience.
Referring to Fig. 4, Fig. 4 is the unit composition frame chart of another kind of mobile terminal disclosed in the embodiment of the present invention.This moves Terminal can include acquiring unit 401, contrast unit 402, increase unit 403, reduction unit 404.
Wherein, acquiring unit 401, for obtaining described touch operation corresponding averagely touching on touch screen of preset times Touch area.
Contrast unit 402, for contrasting the size of described touch area and the display area of described virtual key.
Increase unit 403, if be more than the display area of described virtual key for described touch area, and described touch surface Long-pending accounting for the ratio of described touch area beyond area and preset fractional threshold more than first beyond described display area, then increase institute State the display area of virtual key.
Optionally, increase unit 403 may include determining whether subelement, judgment sub-unit and increase subelement.
Wherein it is determined that subelement, for determining that the area increase of described virtual key is big with the described ratio beyond area Fractional threshold is preset in second;
Judgment sub-unit, can use of the described virtual key in judging in described dummy keyboard current display area Whether area is more than described area increase;
Increase subelement, if the result for the judgement of described judgment sub-unit is no, increase the display of described dummy keyboard Region, so that the area increase of described virtual key presets fractional threshold with the described ratio beyond area more than described second.
Reduce unit 404, for contrasting the display of described touch area and described virtual key at described contrast unit 402 After the size of area, if described touch area is less than the display area of described virtual key, reduce the aobvious of described virtual key Show area.
In the embodiment of the present invention, by the touch operation of the virtual key that dummy keyboard is included by detection, can be obtained this and touch Touch the touch area that operation is corresponding on touch screen;Contrast the display area touching area and virtual key of this touch operation Size, touches area more than the display area of virtual key if contrasting, and touch area beyond display area beyond face When the long-pending ratio accounting for touch area presets fractional threshold more than first, then increase the display area of virtual key such that it is able to root It is automatically adjusted the size of the display area of virtual key according to the concrete touch control operation of user's input, improves Consumer's Experience.
The embodiment of the present invention additionally provides another kind of mobile terminal, as it is shown in figure 5, include: processor 101, memorizer 102, communication interface 103, communication bus 104;Wherein, processor 101, memorizer 102 and communication interface 103 pass through communication bus 104 connect and complete mutual communication;Processor 101 controls the radio communication with External cell net by communication interface 103; Communication interface 103 include but not limited to antenna, amplifier, transceiver, bonder, LNA (Low Noise Amplifier, low Noise amplifier), duplexer etc..Memorizer 102 include following at least one: random access memory (RAM), nonvolatile memory And external memory storage, in memorizer 102, storage has executable program code, and this executable program code can bootstrap processor 101 perform the concrete method disclosed in the inventive method embodiment, comprise the following steps:
When described processor 101 detects the touch operation of the virtual key including dummy keyboard, obtain described touch The touch area that operation is corresponding on touch screen;
Described processor 101 contrasts the size of described touch area and the display area of described virtual key;
If described processor 101 described touch area is more than the display area of described virtual key, and described touch area Accounting for the ratio of described touch area beyond area and preset fractional threshold more than first beyond described display area, then increase described The display area of virtual key.
In the embodiment of the present invention, by the touch operation of the virtual key that dummy keyboard is included by detection, can be obtained this and touch Touch the touch area that operation is corresponding on touch screen;Contrast the display area touching area and virtual key of this touch operation Size, touches area more than the display area of virtual key if contrasting, and touch area beyond display area beyond face When the long-pending ratio accounting for touch area presets fractional threshold more than first, then increase the display area of virtual key such that it is able to root It is automatically adjusted the size of the display area of virtual key according to the concrete touch control operation of user's input, improves Consumer's Experience.
Additionally, the executable program code of storage is additionally operable to perform the method shown in above-mentioned Fig. 2 in above-mentioned memorizer 102 Correlation step.Wouldn't repeat at this.
The embodiment of the present invention additionally provides another kind of mobile terminal, as shown in Figure 6, for convenience of description, illustrate only with The part that the embodiment of the present invention is relevant, concrete ins and outs do not disclose, and refer to embodiment of the present invention method part.This moves Terminal can be to include mobile phone, panel computer, PDA (Personal Digital Assistant, personal digital assistant), POS The arbitrarily terminal unit such as (Point of Sales, point-of-sale terminal), vehicle-mounted computer, as a example by mobile terminal is as mobile phone:
Fig. 6 is illustrated that the block diagram of the part-structure of the mobile phone relevant to the mobile terminal of embodiment of the present invention offer.Ginseng Examining Fig. 6, mobile phone includes: radio frequency (Radio Frequency, RF) circuit 910, memorizer 920, input block 930, display unit 940, sensor 950, voicefrequency circuit 960, Wireless Fidelity (wireless fidelity, WiFi) module 970, processor 980, And the parts such as power supply 990.It will be understood by those skilled in the art that the handset structure shown in Fig. 6 is not intended that mobile phone Limit, can include that ratio illustrates more or less of parts, or combine some parts, or different parts are arranged.
Below in conjunction with Fig. 6 each component parts of mobile phone carried out concrete introduction:
RF circuit 910 can be used for reception and the transmission of information.Generally, RF circuit 910 include but not limited to antenna, at least one Individual amplifier, transceiver, bonder, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..Additionally, RF circuit 910 can also be communicated with network and other equipment by radio communication.Above-mentioned radio communication can use arbitrary communication Standard or agreement, include but not limited to global system for mobile communications (Global System of Mobile Communication, GSM), general packet radio service (General Packet Radio Service, GPRS), code division many Location (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memorizer 920 can be used for storing software program and module, and processor 980 is stored in memorizer 920 by operation Software program and module, thus perform mobile phone various functions application and data process.Memorizer 920 can mainly include Storage program area and storage data field, wherein, storage program area can store the application journey needed for operating system, at least one function Sequence etc.;Storage data field can store the data etc. that the use according to mobile phone is created.Additionally, memorizer 920 can include at a high speed Random access memory, it is also possible to include nonvolatile memory, for example, at least one disk memory, flush memory device or Other volatile solid-state parts.
Input block 930 can be used for receiving numeral or the character information of input, and produce with the user setup of mobile phone with And function controls relevant key signals input.Specifically, input equipment 930 can include but not limited to physical keyboard, function key One or many in (such as volume control button, switch key etc.), trace ball, mouse, action bars, fingerprint recognition module etc. Kind.
Display unit 940 can be used for the various of the information that inputted by user of display or the information being supplied to user and mobile phone Menu.Display unit 940 can include display screen 941, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) configure aobvious Display screen 941.
Mobile phone may also include at least one sensor 950, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor can include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be according to ambient light Light and shade regulate the brightness of display screen 941, proximity transducer can when mobile phone moves in one's ear, close display screen 941 and/or Backlight.As the one of motion sensor, accelerometer sensor can detect the big of (generally three axles) acceleration in all directions Little, can detect that size and the direction of gravity time static, can be used for identifying application (such as horizontal/vertical screen switching, the phase of mobile phone attitude Close game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;Can also configure as mobile phone Other sensors such as gyroscope, barometer, drimeter, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 960, speaker 961, microphone 962 can provide the audio interface between user and mobile phone.Audio-frequency electric The signal of telecommunication after the voice data conversion that road 960 can will receive, is transferred to speaker 961, speaker 961 is converted to sound Signal exports;On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone 962, voicefrequency circuit 960 turn after receiving It is changed to voice data, then after voice data output processor 980 is processed, through RF circuit 910 to be sent to such as another mobile phone, Or voice data is exported to memorizer 920 to process further.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 970 Part, browsing webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 6 shows WiFi module 970, but it is understood that, it is also not belonging to must be configured into of mobile phone, can not change as required completely Omit in the scope of the essence becoming invention.
Processor 980 is the control centre of mobile phone, utilizes various interface and the various piece of the whole mobile phone of connection, logical Cross operation or perform to be stored in the software program in memorizer 920 and/or module, and calling and be stored in memorizer 920 Data, perform the various functions of mobile phone and process data, thus mobile phone is carried out integral monitoring.Optionally, processor 980 can wrap Include one or more core processing unit;Preferably, processor 980 can integrated application processor and modem processor, its In, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes wireless Communication.It is understood that above-mentioned modem processor can not also be integrated in processor 980.
Mobile phone also includes the power supply 990 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe Reason system is logically contiguous with processor 980, thus realizes management charging, electric discharge and power managed by power-supply management system Etc. function.
Although not shown, mobile phone can also include photographic head, bluetooth module etc., does not repeats them here.
Any embodiment in embodiment shown in earlier figures 1-Fig. 2, each step method flow process can knot based on this mobile phone Structure realizes.
In embodiment shown in earlier figures 3-Fig. 4, each unit function can structure based on this mobile phone realize.
The embodiment of the present invention also provides for a kind of computer-readable storage medium, and wherein, this computer-readable storage medium can store journey Sequence, this program includes the part or all of of any virtual key display packing described in said method embodiment when performing Step.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some step can use other orders or carry out simultaneously.Secondly, those skilled in the art also should know Knowing, embodiment described in this description belongs to preferred embodiment, involved action and the module not necessarily present invention Necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not has the portion described in detail in certain embodiment Point, may refer to the associated description of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way Realize.Such as, device embodiment described above is only schematically, and the division of the most described unit is only one Logic function divides, actual can have when realizing other dividing mode, the most multiple unit or assembly can in conjunction with or can To be integrated into another system, or some features can be ignored, or does not performs.Another point, shown or discussed each other Coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication connection, Can be being electrical or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme 's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated list Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit realizes and as independent production marketing or use using the form of SFU software functional unit Time, can be stored in a computer-readable access to memory.Based on such understanding, technical scheme substantially or What person said the part contributing prior art or this technical scheme completely or partially can be with the form body of software product Revealing to come, this computer software product is stored in a memorizer, including some instructions with so that a computer equipment (can be for personal computer, server or the network equipment etc.) perform all or part of of method described in each embodiment of the present invention Step.And aforesaid memorizer includes: USB flash disk, read only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), portable hard drive, magnetic disc or CD.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Completing instructing relevant hardware by program, this program can be stored in a computer-readable memory, memorizer May include that flash disk, read only memory (English: Read-Only Memory, be called for short: ROM), random access device (English: RAM), disk or CD etc. Random Access Memory, is called for short:.
Above the embodiment of the present invention is described in detail, specific case used herein to the principle of the present invention and Embodiment is set forth, and the explanation of above example is only intended to help to understand method and the core concept thereof of the present invention; Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, the most all can Change part, and in sum, this specification content should not be construed as limitation of the present invention.

Claims (11)

1. a virtual key display packing, it is characterised in that including:
When the touch operation of the virtual key that dummy keyboard is included being detected, obtain described touch operation corresponding on touch screen Touch area;
Contrast the size of described touch area and the display area of described virtual key;
If described touch area is more than the display area of described virtual key, and described touch area is beyond described display area The ratio accounting for described touch area beyond area presets fractional threshold more than first, then increase the display surface of described virtual key Long-pending.
2. method as claimed in claim 1, it is characterised in that the touch that the described touch operation of described acquisition is corresponding on touch screen Area, including:
Obtain that the described touch operation of preset times is corresponding on touch screen averagely touches area.
3. method as claimed in claim 1 or 2, it is characterised in that the display area of the described virtual key of described increase, including:
Determine that the area increase of described virtual key presets fractional threshold with the described ratio beyond area more than second;
The display area of described virtual key is increased according to described area increase.
4. method as claimed in claim 3, it is characterised in that described showing according to the described area increase described virtual key of increase Before showing area, described method also includes:
Whether the usable area of the described virtual key in judging in described dummy keyboard current display area is more than described Long-pending increment;
If judge result be no, increase the viewing area of described dummy keyboard so that the area increase of described virtual key with The described ratio beyond area presets fractional threshold more than described second.
5. method as claimed in claim 1, it is characterised in that described contrast described touch area and the display of described virtual key After the size of area, described method also includes:
If described touch area is less than the display area of described virtual key, reduce the display area of described virtual key.
6. a mobile terminal, it is characterised in that including:
Acquiring unit, during for the touch operation of the virtual key including dummy keyboard being detected, obtains described touch operation Touch area corresponding on touch screen;
Contrast unit, for contrasting the size of described touch area and the display area of described virtual key;
Increasing unit, if be more than the display area of described virtual key for described touch area, and described touch area exceeds Accounting for the ratio of described touch area beyond area and presetting fractional threshold more than first of described display area, then increase described virtual The display area of button.
7. mobile terminal as claimed in claim 6, it is characterised in that described acquiring unit is used for:
Obtain that the described touch operation of preset times is corresponding on touch screen averagely touches area.
Mobile terminal the most as claimed in claims 6 or 7, it is characterised in that described increase unit includes:
Determine subelement, for determining that the area increase of described virtual key is preset more than second with the described ratio beyond area Fractional threshold;
Increase subelement, for increasing the display area of described virtual key according to described area increase.
9. mobile terminal as claimed in claim 8, it is characterised in that described increase unit also includes:
Judgment sub-unit, for described increase subelement according to described area increase increase described virtual key display area it Before, it is judged that whether the usable area of the described virtual key in described dummy keyboard current display area is more than described area Increment;
Described increase subelement, if the result being additionally operable to the judgement of described judgment sub-unit is no, increases the aobvious of described dummy keyboard Show region, so that the area increase of described virtual key presets ratio threshold with the described ratio beyond area more than described second Value.
10. mobile terminal as claimed in claim 6, it is characterised in that also include:
Reduce unit, for contrasting the size of described touch area and the display area of described virtual key at described contrast unit Afterwards, if described touch area is less than the display area of described virtual key, the display area of described virtual key is reduced.
11. 1 kinds of mobile terminals, it is characterised in that including:
Processor, memorizer, communication interface and communication bus, described processor, described memorizer and described communication interface are passed through Described communication bus connects and completes mutual communication;
Described memorizer storage has executable program code, and described communication interface is used for radio communication;
Described processor, for calling the described executable program code in described memorizer, performs as any in claim 1-5 One described method.
CN201610543453.8A 2016-07-11 2016-07-11 A kind of virtual key display methods and mobile terminal Active CN106155557B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610543453.8A CN106155557B (en) 2016-07-11 2016-07-11 A kind of virtual key display methods and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610543453.8A CN106155557B (en) 2016-07-11 2016-07-11 A kind of virtual key display methods and mobile terminal

Publications (2)

Publication Number Publication Date
CN106155557A true CN106155557A (en) 2016-11-23
CN106155557B CN106155557B (en) 2019-06-18

Family

ID=58062464

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610543453.8A Active CN106155557B (en) 2016-07-11 2016-07-11 A kind of virtual key display methods and mobile terminal

Country Status (1)

Country Link
CN (1) CN106155557B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106951174A (en) * 2017-03-22 2017-07-14 维沃移动通信有限公司 The method of adjustment and mobile terminal of a kind of dummy keyboard
CN107748638A (en) * 2017-09-28 2018-03-02 努比亚技术有限公司 A kind of region method of adjustment, terminal and computer-readable recording medium
CN109871174A (en) * 2019-01-28 2019-06-11 维沃移动通信有限公司 A kind of virtual key display methods and mobile terminal
CN111324276A (en) * 2018-12-17 2020-06-23 珠海格力电器股份有限公司 Control method and device of virtual keyboard and terminal
CN111580739A (en) * 2020-06-08 2020-08-25 宁波视睿迪光电有限公司 Dynamic adjustment method and device for touch area of key and virtual keyboard
CN113821134A (en) * 2017-09-05 2021-12-21 华为终端有限公司 Method for controlling cursor movement, content selection method, method for controlling page scrolling and electronic equipment
WO2023051119A1 (en) * 2021-09-30 2023-04-06 北京搜狗科技发展有限公司 Virtual keyboard setting method and apparatus, storage medium, and computer program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488400A (en) * 2013-09-27 2014-01-01 京东方科技集团股份有限公司 Method and device for building virtual keyboard
CN104516664A (en) * 2013-10-08 2015-04-15 百度在线网络技术(北京)有限公司 Virtual keyboard control method and device of mobile terminal
CN104765528A (en) * 2015-03-19 2015-07-08 广东欧珀移动通信有限公司 Display method and device of virtual keyboard
US20150378602A1 (en) * 2012-08-01 2015-12-31 Apple Inc. Device, method, and graphical user interface for entering characters

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150378602A1 (en) * 2012-08-01 2015-12-31 Apple Inc. Device, method, and graphical user interface for entering characters
CN103488400A (en) * 2013-09-27 2014-01-01 京东方科技集团股份有限公司 Method and device for building virtual keyboard
CN104516664A (en) * 2013-10-08 2015-04-15 百度在线网络技术(北京)有限公司 Virtual keyboard control method and device of mobile terminal
CN104765528A (en) * 2015-03-19 2015-07-08 广东欧珀移动通信有限公司 Display method and device of virtual keyboard

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106951174A (en) * 2017-03-22 2017-07-14 维沃移动通信有限公司 The method of adjustment and mobile terminal of a kind of dummy keyboard
CN106951174B (en) * 2017-03-22 2019-01-22 维沃移动通信有限公司 A kind of method of adjustment and mobile terminal of dummy keyboard
CN113821134A (en) * 2017-09-05 2021-12-21 华为终端有限公司 Method for controlling cursor movement, content selection method, method for controlling page scrolling and electronic equipment
CN113821134B (en) * 2017-09-05 2022-07-26 华为终端有限公司 Method for controlling cursor movement, content selection method, method for controlling page scrolling and electronic equipment
CN107748638A (en) * 2017-09-28 2018-03-02 努比亚技术有限公司 A kind of region method of adjustment, terminal and computer-readable recording medium
CN111324276A (en) * 2018-12-17 2020-06-23 珠海格力电器股份有限公司 Control method and device of virtual keyboard and terminal
CN111324276B (en) * 2018-12-17 2021-04-27 珠海格力电器股份有限公司 Control method and device of virtual keyboard and terminal
CN109871174A (en) * 2019-01-28 2019-06-11 维沃移动通信有限公司 A kind of virtual key display methods and mobile terminal
CN109871174B (en) * 2019-01-28 2021-01-08 维沃移动通信有限公司 Virtual key display method and mobile terminal
CN111580739A (en) * 2020-06-08 2020-08-25 宁波视睿迪光电有限公司 Dynamic adjustment method and device for touch area of key and virtual keyboard
CN111580739B (en) * 2020-06-08 2021-07-23 宁波视睿迪光电有限公司 Dynamic adjustment method and device for touch area of key and virtual keyboard
WO2023051119A1 (en) * 2021-09-30 2023-04-06 北京搜狗科技发展有限公司 Virtual keyboard setting method and apparatus, storage medium, and computer program product

Also Published As

Publication number Publication date
CN106155557B (en) 2019-06-18

Similar Documents

Publication Publication Date Title
CN106155557B (en) A kind of virtual key display methods and mobile terminal
CN106096361A (en) A kind of unlocked by fingerprint method and mobile terminal
CN106055408B (en) A kind of application control method and mobile terminal
CN106126175A (en) The control method of a kind of sound effect parameters and mobile terminal
CN106776036A (en) A kind of resource allocation methods and device
CN105933537B (en) A kind of volume processing method and user terminal
CN106297657A (en) The brightness adjusting method of a kind of AMOLED display screen and terminal
CN106126176A (en) A kind of audio collocation method and mobile terminal
CN107302628A (en) The control method and Related product of application function
CN106951850A (en) The method and mobile terminal of a kind of control fingerprint recognition module
CN107071147A (en) A kind of parameter regulation means and equipment
CN106200970A (en) A kind of method of split screen display available and terminal
CN106126172A (en) A kind of sound effect treatment method and mobile terminal
CN106095489A (en) A kind of application controls method and mobile terminal
CN106249992A (en) A kind of webpage control method and mobile terminal
CN106413070A (en) Power adjusting method and mobile terminal
CN106484326A (en) A kind of data transmission processing method and mobile terminal
CN107766139A (en) Application management method and device
CN107153576A (en) The distribution method and terminal device of a kind of memory source
CN106569916A (en) Data backup method and mobile terminal
CN106227534A (en) A kind of display screen division methods and terminal
CN106484288A (en) A kind of terminal control method and mobile terminal
CN106227542A (en) A kind of screen locking magazine content is play and mobile terminal
CN106776040A (en) A kind of resource allocation methods and device
CN106527846A (en) Displaying method, displaying device and terminal equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant