CN105739769A - Touch key display method and terminal - Google Patents

Touch key display method and terminal Download PDF

Info

Publication number
CN105739769A
CN105739769A CN201610064432.8A CN201610064432A CN105739769A CN 105739769 A CN105739769 A CN 105739769A CN 201610064432 A CN201610064432 A CN 201610064432A CN 105739769 A CN105739769 A CN 105739769A
Authority
CN
China
Prior art keywords
press
touch
touch key
terminal
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610064432.8A
Other languages
Chinese (zh)
Other versions
CN105739769B (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 CN201610064432.8A priority Critical patent/CN105739769B/en
Publication of CN105739769A publication Critical patent/CN105739769A/en
Application granted granted Critical
Publication of CN105739769B publication Critical patent/CN105739769B/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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • 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

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)
  • Telephone Function (AREA)

Abstract

The invention provides a touch key display method. The method comprises the following steps: obtaining a touch instruction; determining an area at which the touch instructions aims as a touch key area; obtaining a pressure value through the touch instruction; and if the pressure value achieves a preset pressure value, displaying a touch key in the touch key area. The invention furthermore discloses a terminal. By adopting the method and the terminal, the display of touch keys can be controlled.

Description

A kind of method showing touch key-press and terminal
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of method showing touch key-press and terminal.
Background technology
Currently in order to the problem that solution mobile phone screen and handset size balance mutually, mobile phone frame is done narrow by the chamber of commerce of mobile phone vendor, the touch key-press utilizing touch screen substitutes the physical button of mobile phone, expands mobile phone screen when handset size is constant, to promote the experience sense of user as far as possible.But in the use procedure of user, the problem that touch key-press maloperation often occurs.Such as, when mobile phone carries out transverse screen operation, terminal easily senses that being not intended to touching of touch screen is resurrected touch key-press by user, or easily senses that when demonstrating touch key-press the touching that is not intended to of touch key-press is caused that application interrupt run even exits by user.
Therefore, prior art avoids the problems referred to above mainly through arranging disabling touch key-press in application, and when terminal detects transverse screen, then the function of disabling touch key-press is opened in application.But, and not all application all supports disabling touch key-press function, and, user need to each application disable touch key-press function arrange one by one.Additionally, in the use procedure of application, if user needs to use touch key-press, then need again to discharge the disabling of touch key-press.No matter being on disabling touch key-press or the disabling of release touch key-press, terminal is required for receiving the setting of user and could realize, and it is lengthy and jumbled that it realizes process, increases the operating time of user, and therefore, the practicality by arranging disabling touch key-press in application is more weak.
Summary of the invention
The present invention provides a kind of method showing touch key-press and terminal, can control display touch key-press.
First aspect present invention provides a kind of method showing touch key-press, including:
Obtain and touch instruction;
Determine that the targeted region of described touch instruction is touch key-press region;
Force value is obtained by described touch instruction;
If described force value reaches preset pressure value, then show described touch key-press.
Optionally, before described acquisition touches instruction, described method also includes:
Obtain screen orientation, it is determined that described screen orientation is used for controlling to show described touch key-press.
Optionally, before described acquisition touches instruction, described method also includes:
Determine that the application interface of display includes video file and/or image file.
Optionally, described method also includes:
If described force value is less than described preset pressure value, then hide described touch key-press.
Optionally, the described touch key-press of described display, including:
The touch time is obtained by described touch instruction;
Corresponding touch key-press is obtained according to the described touch time;
Show the touch key-press of described correspondence.
Second aspect present invention provides a kind of terminal, including:
Acquisition module, is used for obtaining touch instruction;
Determine module, be touch key-press region for determining the region touching instruction targeted that described acquisition module obtains;
Described acquisition module, is additionally operable to obtain force value by described touch instruction;
Display module, if the force value for the acquisition of described acquisition module reaches preset pressure value, then shows described touch key-press.
Optionally, described acquisition module, it is additionally operable to obtain screen orientation, it is determined that described screen orientation is used for controlling to show described touch key-press.
Optionally, described determine module, be additionally operable to determine that the application interface of display includes video file and/or image file.
Optionally, described terminal also includes:
Hide module, if for described force value less than described preset pressure value, then hide described touch key-press.
Optionally, described display module, including:
Acquiring unit, for obtaining the touch time by described touch instruction;
Described acquiring unit, is additionally operable to obtain corresponding touch key-press according to the described touch time;
Display unit, for showing the touch key-press of described correspondence.
Third aspect present invention provides a kind of terminal, including communication bus, input equipment, output device, memorizer and processor, wherein:
Described communication bus, for realizing the connection communication between described input equipment, described output device and described processor;
Described memorizer stores batch processing code, and described processor calls the program code of storage in described memorizer, for the method performing the display touch key-press described in first aspect.
Adopting the present invention, terminal, when getting touch instruction, if the region that this touch instruction falls into is touch key-press region, then judges whether the force value that terminal is produced by this touch instruction reaches preset pressure value.When touching instruction and the force value that terminal produces being reached preset pressure value, terminal can show touch key-press, can prevent user from touching display touch key-press because of false touch and cause that the application being currently running is interrupted or exits.Additionally, control the show or hide of touch key-press by touching the force value of instruction in the sensing of touch key-press region, it is simple and convenient that it realizes process, reduces the operating time of user.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below the accompanying drawing used required during embodiment is 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 premise 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 an embodiment of a kind of method showing touch key-press of the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another embodiment of a kind of method showing touch key-press of the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another embodiment of a kind of method showing touch key-press of the embodiment of the present invention;
Fig. 4 is the structural representation of a kind of terminal of the embodiment of the present invention;
Fig. 5 is the structural representation of the another kind of terminal of the embodiment of the present invention;
Fig. 6 is the structural representation of the another kind of terminal of the embodiment of the present invention.
Detailed description of the invention
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 a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
Adopt the embodiment of the present invention, display touch key-press can be controlled.
Term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second ", " the 3rd " and " the 4th " etc. are for distinguishing different object, rather than are used for describing particular order.Additionally, term " including " and " having " and their any deformation, it is intended that cover non-exclusive comprising.Such as contain series of steps or the process of unit, method, system, product or equipment are not limited to step or the unit listed, but also include step or the unit do not listed alternatively, or also include other step intrinsic for these processes, method, product or equipment or unit alternatively.
Refer to the schematic flow sheet of an embodiment that Fig. 1, Fig. 1 are a kind of methods showing touch key-press of the embodiment of the present invention.The terminal of the embodiment of the present invention can be such as mobile phone, panel computer, notebook computer, palm PC, mobile internet device (MID, mobileinternetdevice), wearable device (such as intelligent watch (such as iwatch etc.) or other possess and utilize pressure inductor and possess the terminal unit of touch key-press function.The touch key-press of the embodiment of the present invention can be the virtual key of touch screen, it is possible to for being arranged on the virtual key on the frame of terminal, the present embodiment is then not construed as limiting.
As it is shown in figure 1, an embodiment of a kind of method showing touch key-press of the embodiment of the present invention may comprise steps of.
S100, obtains and touches instruction.
In implementing, when terminal is when performing application, for instance when playing video or display picture, user may be not intended to touch terminal, and now terminal will get the touch instruction of user's input.
As a kind of enforceable mode, terminal, before performing application, can control the switch of display touch key-press by the instruction unpack that arranges that user inputs.Additionally, terminal also can obtain force value for showing touch key-press according to arranging of user.
S101, it is determined that the targeted region of described touch instruction is touch key-press region.
In implementing, when terminal gets touch instruction, it is judged that whether the region that touch instruction falls into is touch key-press region, if being judged as YES, obtained the force value acting on touch key-press region by this touch instruction, if being judged as otherwise not doing any response.
S102, obtains force value by described touch instruction.
In implementing, terminal is pressed against the force value on touch key-press region by touching instruction acquisition user, obtains the size of force value.
S103, if described force value reaches preset pressure value, then shows described touch key-press.
In implementing, having pre-set preservation preset pressure value according to user due to terminal, therefore the force value got by touching instruction is compared by terminal with preset pressure value.If the force value got by touching instruction reaches preset pressure value, then terminal opens the function controlling display touch key-press, and shows touch key-press.If by touching the force value that gets of instruction less than preset pressure value, it is believed that be the touch instruction that produces of user misoperation, then terminal does not do any response, continues executing with current application.
Adopting the embodiment of the present invention, terminal, when getting touch instruction, if the region that this touch instruction falls into is touch key-press region, then judges whether the force value that terminal is produced by this touch instruction reaches preset pressure value.When touching instruction and the force value that terminal produces being reached preset pressure value, terminal can show touch key-press, can prevent user from touching display touch key-press because of false touch and cause that the application being currently running is interrupted or exits.Additionally, control the show or hide of touch key-press by touching the force value of instruction in the sensing of touch key-press region, it is simple and convenient that it realizes process, reduces the operating time of user.
Refer to the schematic flow sheet of another embodiment that Fig. 2, Fig. 2 are a kind of methods showing touch key-press of the embodiment of the present invention.The terminal of the embodiment of the present invention can be such as mobile phone, panel computer, notebook computer, palm PC, mobile internet device, wearable device (such as intelligent watch (such as iwatch etc.) or other possess and utilize pressure inductor and possess the terminal unit of touch key-press function.The touch key-press of the embodiment of the present invention can be the virtual key of touch screen, it is possible to for being arranged on the virtual key on the frame of terminal, the present embodiment is then not construed as limiting.
As in figure 2 it is shown, another embodiment of a kind of method showing touch key-press of the embodiment of the present invention may comprise steps of.
S200, obtains screen orientation, it is determined that described screen orientation is used for controlling to show described touch key-press.
In implementing, user can pre-set the screen orientation for controlling display touch key-press, for instance arranges and then opens control display touch key-press when the screen orientation of mobile phone is transverse screen direction.Terminal can detect screen orientation every Preset Time, when the screen orientation got is transverse screen direction, then opens the function controlling display touch key-press.
As a kind of enforceable mode, which kind of direction is the embodiment of the present invention be specially for the screen orientation for controlling display touch key-press is not construed as limiting.
S201, it is determined that the application interface of display includes video file and/or image file.
In implementing, also can open the function controlling display touch key-press on a preset condition based by setting terminal, for instance the application interface that present terminal is currently running includes video file and/or image file, then open the function controlling display touch key-press.
As a kind of enforceable mode, application interface can include video file, and the application that namely terminal is currently running can play video file.
As a kind of enforceable mode, application interface can include image file, and the application that namely terminal is currently running can demonstrate image file.
As a kind of enforceable mode, application interface can include video file and image file, and the application that namely terminal is currently running can demonstrate image file when playing video file.
As a kind of enforceable mode, the execution sequence of step S201 and step S200 is not construed as limiting, namely terminal can judge after the screen orientation got is transverse screen direction whether the application interface of display includes video file and/or image file, or terminal can judge after including video file and/or image file at the application interface determining display whether the screen orientation got is transverse screen direction.
S202, obtains and touches instruction.
In implementing, when terminal is when performing application, for instance when playing video or display picture, user may be not intended to touch terminal, and now terminal will get the touch instruction of user's input.
As a kind of enforceable mode, terminal, before performing application, can control the switch of display touch key-press by the instruction unpack that arranges that user inputs.Additionally, terminal also can obtain force value for showing touch key-press according to arranging of user.
S203, it is determined that the targeted region of described touch instruction is touch key-press region.
In implementing, when terminal gets touch instruction, it is judged that whether the region that touch instruction falls into is touch key-press region, if being judged as YES, obtained the force value acting on touch key-press region by this touch instruction, if being judged as otherwise not doing any response.
As a kind of enforceable mode, terminal can obtain the coordinate touching the targeted region of instruction.If touching the coordinate that falls into of instruction in touch key-press regional extent, it is determined that the targeted region of described touch instruction is touch key-press region.
As a kind of enforceable mode, can obtain and touch the pixel that instruction drops on screen.If touching instruction, to drop on the pixel on screen be the pixel that touch key-press region includes, it is determined that the targeted region of described touch instruction is touch key-press region.
S204, obtains force value by described touch instruction.
In implementing, terminal is pressed against the force value on touch key-press region by touching instruction acquisition user, obtains the size of force value.
S205, if described force value reaches preset pressure value, then shows described touch key-press.
In implementing, having pre-set preservation preset pressure value according to user due to terminal, therefore the force value got by touching instruction is compared by terminal with preset pressure value.If the force value got by touching instruction reaches preset pressure value, then terminal opens the function controlling display touch key-press, and shows touch key-press.
S206, if described force value is less than described preset pressure value, then hides described touch key-press.
In implementing, if by touching the force value that gets of instruction less than preset pressure value, it is believed that be the touch instruction that produces of user misoperation, then terminal does not do any response, continues to hide touch key-press, and continues executing with current application.
Adopt the embodiment of the present invention, terminal can be arranged opens the condition controlling display touch key-press, after the condition of satisfied setting, when getting touch instruction, if the region that this touch instruction falls into is touch key-press region, then judge whether the force value that terminal is produced by this touch instruction reaches preset pressure value.When touching instruction and the force value that terminal produces being reached preset pressure value, terminal can show touch key-press, can prevent user from touching display touch key-press because of false touch and cause that the application being currently running is interrupted or exits.Additionally, control the show or hide of touch key-press by touching the force value of instruction in the sensing of touch key-press region, it is simple and convenient that it realizes process, reduces the operating time of user.
Refer to the schematic flow sheet of another embodiment that Fig. 3, Fig. 3 are a kind of methods showing touch key-press of the embodiment of the present invention.The terminal of the embodiment of the present invention can be such as mobile phone, panel computer, notebook computer, palm PC, mobile internet device, wearable device (such as intelligent watch (such as iwatch etc.) or other possess and utilize pressure inductor and possess the terminal unit of touch key-press function.The touch key-press of the embodiment of the present invention can be the virtual key of touch screen, it is possible to for being arranged on the virtual key on the frame of terminal, the present embodiment is then not construed as limiting.
As it is shown on figure 3, another embodiment of a kind of method showing touch key-press of the embodiment of the present invention may comprise steps of.
S300, obtains screen orientation, it is determined that described screen orientation is used for controlling to show described touch key-press.
In implementing, user can pre-set the screen orientation for controlling display touch key-press, for instance arranges and then opens control display touch key-press when the screen orientation of mobile phone is transverse screen direction.Terminal can detect screen orientation every Preset Time, when the screen orientation got is transverse screen direction, then opens the function controlling display touch key-press.
As a kind of enforceable mode, which kind of direction is the embodiment of the present invention be specially for the screen orientation for controlling display touch key-press is not construed as limiting.
S301, it is determined that the application interface of display includes video file and/or image file.
In implementing, also can open the function controlling display touch key-press on a preset condition based by setting terminal, for instance the application interface that present terminal is currently running includes video file and/or image file, then open the function controlling display touch key-press.
As a kind of enforceable mode, application interface can include video file, and the application that namely terminal is currently running can play video file.
As a kind of enforceable mode, application interface can include image file, and the application that namely terminal is currently running can demonstrate image file.
As a kind of enforceable mode, application interface can include video file and image file, and the application that namely terminal is currently running can demonstrate image file when playing video file.
As a kind of enforceable mode, the execution sequence of step S301 and step S300 is not construed as limiting, namely terminal can judge after the screen orientation got is transverse screen direction whether the application interface of display includes video file and/or image file, or terminal can judge after including video file and/or image file at the application interface determining display whether the screen orientation got is transverse screen direction.
S302, obtains and touches instruction.
In implementing, when terminal is when performing application, for instance when playing video or display picture, user may be not intended to touch terminal, and now terminal will get the touch instruction of user's input.
As a kind of enforceable mode, terminal, before performing application, can control the switch of display touch key-press by the instruction unpack that arranges that user inputs.Additionally, terminal also can obtain force value for showing touch key-press according to arranging of user.
S303, it is determined that the targeted region of described touch instruction is touch key-press region.
In implementing, when terminal gets touch instruction, it is judged that whether the region that touch instruction falls into is touch key-press region, if being judged as YES, obtained the force value acting on touch key-press region by this touch instruction, if being judged as otherwise not doing any response.
As a kind of enforceable mode, terminal can obtain the coordinate touching the targeted region of instruction.If touching the coordinate that falls into of instruction in touch key-press regional extent, it is determined that the targeted region of described touch instruction is touch key-press region.
As a kind of enforceable mode, can obtain and touch the pixel that instruction drops on screen.If touching instruction, to drop on the pixel on screen be the pixel that touch key-press region includes, it is determined that the targeted region of described touch instruction is touch key-press region.
S304, obtains force value by described touch instruction.
In implementing, terminal is pressed against the force value on touch key-press region by touching instruction acquisition user, obtains the size of force value.
S305, if described force value reaches preset pressure value, then obtains the touch time by described touch instruction.
In implementing, having pre-set preservation preset pressure value according to user due to terminal, therefore the force value got by touching instruction is compared by terminal with preset pressure value.If the force value got by touching instruction reaches preset pressure value, then terminal continues through touch instruction and obtains the touch time.Specifically, terminal can touch instruction according to the touch Time Calculation obtained and act on the time span in terminal.
S306, obtains corresponding touch key-press according to the described touch time.
In implementing, terminal obtains corresponding touch key-press according to the time span calculated.Wherein, the time span touching the time is corresponding with the type of touch key-press, and the different touch time can be shown that different touch key-presss.Such as when touching between when being 1 second then corresponding function be the touch key-press exited, the touch key-press of then corresponding call when being 2 seconds between when touching.
S307, shows the touch key-press of described correspondence.
In implementing, the corresponding touch key-press that terminal demonstration gets, then show that function is the touch key-press exited when being 1 second between when touching, when being 2 seconds between when touching, then show the touch key-press of call.
S308, if described force value is less than described preset pressure value, then hides described touch key-press.
In implementing, if by touching the force value that gets of instruction less than preset pressure value, it is believed that be the touch instruction that produces of user misoperation, then terminal does not do any response, continues to hide touch key-press, and continues executing with current application.
Adopt the embodiment of the present invention, terminal can be arranged opens the condition controlling display touch key-press, after the condition of satisfied setting, when getting touch instruction, if the region that this touch instruction falls into is touch key-press region, then judge whether the force value that terminal is produced by this touch instruction reaches preset pressure value.When touching instruction and the force value that terminal produces being reached preset pressure value, terminal can obtain and touch the touch time that instruction acts in terminal, and show touch key-press corresponding to touch time, can prevent user from touching display touch key-press because of false touch and cause that the application being currently running is interrupted or exits.Additionally, control the show or hide of touch key-press by touching the force value of instruction in the sensing of touch key-press region, it is simple and convenient that it realizes process, reduces the operating time of user.
Refer to the structural representation that Fig. 4, Fig. 4 are a kind of terminals of the embodiment of the present invention.Terminal as shown in Figure 4 includes acquisition module 400, determines module 401 and display module 402.
Acquisition module 400, is used for obtaining touch instruction;
Determine module 401, be touch key-press region for determining the region touching instruction targeted that described acquisition module 400 obtains;
Described acquisition module 400, is additionally operable to obtain force value by described touch instruction;
Display module 402, if the force value for the acquisition of described acquisition module 400 reaches preset pressure value, then shows described touch key-press.
In implementing, when terminal is when performing application, for instance when playing video or display picture, user may be not intended to touch terminal, and now terminal will get the touch instruction of user's input.
In implementing, when terminal gets touch instruction, it is judged that whether the region that touch instruction falls into is touch key-press region, if being judged as YES, obtained the force value acting on touch key-press region by this touch instruction, if being judged as otherwise not doing any response.
In implementing, terminal is pressed against the force value on touch key-press region by touching instruction acquisition user, obtains the size of force value.
In implementing, having pre-set preservation preset pressure value according to user due to terminal, therefore the force value got by touching instruction is compared by terminal with preset pressure value.If the force value got by touching instruction reaches preset pressure value, then terminal opens the function controlling display touch key-press, and shows touch key-press.If by touching the force value that gets of instruction less than preset pressure value, it is believed that be the touch instruction that produces of user misoperation, then terminal does not do any response, continues executing with current application.
Optionally, described acquisition module 400, it is additionally operable to obtain screen orientation, it is determined that described screen orientation is used for controlling to show described touch key-press.
In implementing, user can pre-set the screen orientation for controlling display touch key-press, for instance arranges and then opens control display touch key-press when the screen orientation of mobile phone is transverse screen direction.Terminal can detect screen orientation every Preset Time, when the screen orientation got is transverse screen direction, then opens the function controlling display touch key-press.
Optionally, described determine module 401, be additionally operable to determine that the application interface of display includes video file and/or image file.
In implementing, also can open the function controlling display touch key-press on a preset condition based by setting terminal, for instance the application interface that present terminal is currently running includes video file and/or image file, then open the function controlling display touch key-press.
Optionally, as it is shown in figure 5, described terminal also includes hiding module 403.
Hide module 403, if for described force value less than described preset pressure value, then hide described touch key-press.
In implementing, if by touching the force value that gets of instruction less than preset pressure value, it is believed that be the touch instruction that produces of user misoperation, then terminal does not do any response, continues to hide touch key-press, and continues executing with current application.
Optionally, as it is shown in figure 5, described display module 402, including acquiring unit 4020 and display unit 4021.
Acquiring unit 4020, for obtaining the touch time by described touch instruction;
Described acquiring unit 4020, is additionally operable to obtain corresponding touch key-press according to the described touch time;
Display unit 4021, for showing the touch key-press of described correspondence.
In implementing, having pre-set preservation preset pressure value according to user due to terminal, therefore the force value got by touching instruction is compared by terminal with preset pressure value.If the force value got by touching instruction reaches preset pressure value, then terminal continues through touch instruction and obtains the touch time.Specifically, terminal can touch instruction according to the touch Time Calculation obtained and act on the time span in terminal.
In implementing, terminal obtains corresponding touch key-press according to the time span calculated.Wherein, the time span touching the time is corresponding with the type of touch key-press, and the different touch time can be shown that different touch key-presss.Such as when touching between when being 1 second then corresponding function be the touch key-press exited, the touch key-press of then corresponding call when being 2 seconds between when touching.
In implementing, the corresponding touch key-press that terminal demonstration gets, then show that function is the touch key-press exited when being 1 second between when touching, when being 2 seconds between when touching, then show the touch key-press of call.
Adopt the embodiment of the present invention, terminal can be arranged opens the condition controlling display touch key-press, after the condition of satisfied setting, when getting touch instruction, if the region that this touch instruction falls into is touch key-press region, then judge whether the force value that terminal is produced by this touch instruction reaches preset pressure value.When touching instruction and the force value that terminal produces being reached preset pressure value, terminal can obtain and touch the touch time that instruction acts in terminal, and show touch key-press corresponding to touch time, can prevent user from touching display touch key-press because of false touch and cause that the application being currently running is interrupted or exits.Additionally, control the show or hide of touch key-press by touching the force value of instruction in the sensing of touch key-press region, it is simple and convenient that it realizes process, reduces the operating time of user.
Refer to the structural representation that Fig. 6, Fig. 6 are the another kind of terminals of the embodiment of the present invention.The concrete steps that each device of the embodiment of the present invention is implemented can detailed in Example Fig. 1 to Fig. 3, the embodiment of the present invention then repeats no more.As shown in Figure 6, the mobile terminal of the present embodiment includes communication bus 600, input equipment 601, output device 602 and processor 603 (quantity of the processor 603 of terminal can be one or more, for a processor in Fig. 6), wherein:
Described communication bus 600, for realizing the connection communication between described input equipment 601, described output device 602, described processor 603;
Input equipment 601, is used for obtaining touch instruction;
Processor 603, is touch key-press region for determining the targeted region of described touch instruction;
Described input equipment 601, is additionally operable to obtain force value by described touch instruction;
Output device 602, if reaching preset pressure value for described force value, then shows described touch key-press.
In implementing, when terminal is when performing application, for instance when playing video or display picture, user may be not intended to touch terminal, and now terminal will get the touch instruction of user's input.
In implementing, when terminal gets touch instruction, it is judged that whether the region that touch instruction falls into is touch key-press region, if being judged as YES, obtained the force value acting on touch key-press region by this touch instruction, if being judged as otherwise not doing any response.
In implementing, terminal is pressed against the force value on touch key-press region by touching instruction acquisition user, obtains the size of force value.
In implementing, having pre-set preservation preset pressure value according to user due to terminal, therefore the force value got by touching instruction is compared by terminal with preset pressure value.If the force value got by touching instruction reaches preset pressure value, then terminal opens the function controlling display touch key-press, and shows touch key-press.If by touching the force value that gets of instruction less than preset pressure value, it is believed that be the touch instruction that produces of user misoperation, then terminal does not do any response, continues executing with current application.
Optionally, described input equipment 601, it is additionally operable to obtain screen orientation, it is determined that described screen orientation is used for controlling to show described touch key-press.
In implementing, user can pre-set the screen orientation for controlling display touch key-press, for instance arranges and then opens control display touch key-press when the screen orientation of mobile phone is transverse screen direction.Terminal can detect screen orientation every Preset Time, when the screen orientation got is transverse screen direction, then opens the function controlling display touch key-press.
Optionally, described processor 603, it is additionally operable to determine that the application interface of display includes video file and/or image file.
In implementing, also can open the function controlling display touch key-press on a preset condition based by setting terminal, for instance the application interface that present terminal is currently running includes video file and/or image file, then open the function controlling display touch key-press.
Optionally, described output device 602, if being additionally operable to described force value less than described preset pressure value, then hide described touch key-press.
In implementing, if by touching the force value that gets of instruction less than preset pressure value, it is believed that be the touch instruction that produces of user misoperation, then terminal does not do any response, continues to hide touch key-press, and continues executing with current application.
Optionally, described output device 602 shows described touch key-press, specifically performs following steps:
The touch time is obtained by described touch instruction;
Corresponding touch key-press is obtained according to the described touch time;
Show the touch key-press of described correspondence.
In implementing, having pre-set preservation preset pressure value according to user due to terminal, therefore the force value got by touching instruction is compared by terminal with preset pressure value.If the force value got by touching instruction reaches preset pressure value, then terminal continues through touch instruction and obtains the touch time.Specifically, terminal can touch instruction according to the touch Time Calculation obtained and act on the time span in terminal.
In implementing, terminal obtains corresponding touch key-press according to the time span calculated.Wherein, the time span touching the time is corresponding with the type of touch key-press, and the different touch time can be shown that different touch key-presss.Such as when touching between when being 1 second then corresponding function be the touch key-press exited, the touch key-press of then corresponding call when being 2 seconds between when touching.
In implementing, the corresponding touch key-press that terminal demonstration gets, then show that function is the touch key-press exited when being 1 second between when touching, when being 2 seconds between when touching, then show the touch key-press of call.
Adopt the embodiment of the present invention, terminal can be arranged opens the condition controlling display touch key-press, after the condition of satisfied setting, when getting touch instruction, if the region that this touch instruction falls into is touch key-press region, then judge whether the force value that terminal is produced by this touch instruction reaches preset pressure value.When touching instruction and the force value that terminal produces being reached preset pressure value, terminal can obtain and touch the touch time that instruction acts in terminal, and show touch key-press corresponding to touch time, can prevent user from touching display touch key-press because of false touch and cause that the application being currently running is interrupted or exits.Additionally, control the show or hide of touch key-press by touching the force value of instruction in the sensing of touch key-press region, it is simple and convenient that it realizes process, reduces the operating time of user.
Device embodiment described above is merely schematic, the wherein said unit illustrated as separating component can be or may not be physically separate, the parts shown as unit can be or may not be physical location, namely may be located at a place, or can also be distributed on multiple NE.Some or all of module therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.Those of ordinary skill in the art, when not paying performing creative labour, are namely appreciated that and implement.
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 device can merge according to actual needs, divide and delete.
The module of the embodiment of the present invention or module, it is possible to universal integrated circuit (such as central processor CPU), or realize with special IC (ASIC).
Through the above description of the embodiments, those skilled in the art is it can be understood that can add the mode of required general hardware platform by software to each embodiment and realize, naturally it is also possible to pass through hardware.Based on such understanding, the part that prior art is contributed by technique scheme substantially in other words can embody with the form of software product, this computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment or embodiment.
Embodiments described above, is not intended that the restriction to this technical scheme protection domain.The amendment made within any spirit at above-mentioned embodiment and principle, equivalent replacement and improvement etc., should be included within the protection domain of this technical scheme.

Claims (11)

1. the method showing touch key-press, it is characterised in that including:
Obtain and touch instruction;
Determine that the targeted region of described touch instruction is touch key-press region;
Force value is obtained by described touch instruction;
If described force value reaches preset pressure value, then show described touch key-press.
2. method according to claim 1, it is characterised in that before described acquisition touches instruction, described method also includes:
Obtain screen orientation, it is determined that described screen orientation is used for controlling to show described touch key-press.
3. method according to claim 1, it is characterised in that before described acquisition touches instruction, described method also includes:
Determine that the application interface of display includes video file and/or image file.
4. method according to claim 1, it is characterised in that described method also includes:
If described force value is less than described preset pressure value, then hide described touch key-press.
5. method according to claim 1, it is characterised in that the described touch key-press of described display, including:
The touch time is obtained by described touch instruction;
Corresponding touch key-press is obtained according to the described touch time;
Show the touch key-press of described correspondence.
6. a terminal, it is characterised in that including:
Acquisition module, is used for obtaining touch instruction;
Determine module, be touch key-press region for determining the region touching instruction targeted that described acquisition module obtains;
Described acquisition module, is additionally operable to obtain force value by described touch instruction;
Display module, if the force value for the acquisition of described acquisition module reaches preset pressure value, then shows described touch key-press.
7. terminal according to claim 6, it is characterised in that described acquisition module, is additionally operable to obtain screen orientation, it is determined that described screen orientation is used for controlling to show described touch key-press.
8. terminal according to claim 6, it is characterised in that described determine module, is additionally operable to determine that the application interface of display includes video file and/or image file.
9. terminal according to claim 6, it is characterised in that described terminal also includes:
Hide module, if for described force value less than described preset pressure value, then hide described touch key-press.
10. terminal according to claim 6, it is characterised in that described display module, including:
Acquiring unit, for obtaining the touch time by described touch instruction;
Described acquiring unit, is additionally operable to obtain corresponding touch key-press according to the described touch time;
Display unit, for showing the touch key-press of described correspondence.
11. a terminal, it is characterised in that include communication bus, input equipment, output device, memorizer and processor, wherein:
Described communication bus, for realizing the connection communication between described input equipment, described output device and described processor;
Described memorizer stores batch processing code, and described processor calls the program code of storage in described memorizer, for the method performing the display touch key-press described in any one of claim 1 to 5.
CN201610064432.8A 2016-01-29 2016-01-29 A kind of method and terminal showing touch key-press Active CN105739769B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610064432.8A CN105739769B (en) 2016-01-29 2016-01-29 A kind of method and terminal showing touch key-press

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610064432.8A CN105739769B (en) 2016-01-29 2016-01-29 A kind of method and terminal showing touch key-press

Publications (2)

Publication Number Publication Date
CN105739769A true CN105739769A (en) 2016-07-06
CN105739769B CN105739769B (en) 2019-08-09

Family

ID=56247943

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610064432.8A Active CN105739769B (en) 2016-01-29 2016-01-29 A kind of method and terminal showing touch key-press

Country Status (1)

Country Link
CN (1) CN105739769B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106406740A (en) * 2016-09-30 2017-02-15 宇龙计算机通信科技(深圳)有限公司 Quick starting method and apparatus for function, and terminal
CN106598249A (en) * 2016-12-16 2017-04-26 广东欧珀移动通信有限公司 Wrong touch prevention method and device for touch key, and mobile terminal
WO2019011335A1 (en) * 2017-07-14 2019-01-17 惠州Tcl移动通信有限公司 Mobile terminal and control method therefor, and readable storage medium
CN109491569A (en) * 2018-09-27 2019-03-19 Oppo(重庆)智能科技有限公司 Method of controlling operation thereof and Related product
CN109640156A (en) * 2018-12-27 2019-04-16 广州华多网络科技有限公司 Video control method, mobile terminal and computer storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103699318A (en) * 2014-01-06 2014-04-02 联想(北京)有限公司 Touch response method and touch response device of electronic device
CN103914196A (en) * 2013-01-04 2014-07-09 三星电子株式会社 Electronic apparatus and method for determining validity of touch key input used for the electronic apparatus
CN103995670A (en) * 2014-05-26 2014-08-20 联想(北京)有限公司 Information processing method and electronic equipment
CN104156171A (en) * 2014-08-29 2014-11-19 广东欧珀移动通信有限公司 Method and device for preventing touch key misoperations in landscape screen state of mobile terminal
CN105138272A (en) * 2015-09-14 2015-12-09 Tcl移动通信科技(宁波)有限公司 Key touch control device and method of touch screen

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914196A (en) * 2013-01-04 2014-07-09 三星电子株式会社 Electronic apparatus and method for determining validity of touch key input used for the electronic apparatus
CN103699318A (en) * 2014-01-06 2014-04-02 联想(北京)有限公司 Touch response method and touch response device of electronic device
CN103995670A (en) * 2014-05-26 2014-08-20 联想(北京)有限公司 Information processing method and electronic equipment
CN104156171A (en) * 2014-08-29 2014-11-19 广东欧珀移动通信有限公司 Method and device for preventing touch key misoperations in landscape screen state of mobile terminal
CN105138272A (en) * 2015-09-14 2015-12-09 Tcl移动通信科技(宁波)有限公司 Key touch control device and method of touch screen

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106406740A (en) * 2016-09-30 2017-02-15 宇龙计算机通信科技(深圳)有限公司 Quick starting method and apparatus for function, and terminal
CN106598249A (en) * 2016-12-16 2017-04-26 广东欧珀移动通信有限公司 Wrong touch prevention method and device for touch key, and mobile terminal
WO2019011335A1 (en) * 2017-07-14 2019-01-17 惠州Tcl移动通信有限公司 Mobile terminal and control method therefor, and readable storage medium
CN109491569A (en) * 2018-09-27 2019-03-19 Oppo(重庆)智能科技有限公司 Method of controlling operation thereof and Related product
CN109640156A (en) * 2018-12-27 2019-04-16 广州华多网络科技有限公司 Video control method, mobile terminal and computer storage medium

Also Published As

Publication number Publication date
CN105739769B (en) 2019-08-09

Similar Documents

Publication Publication Date Title
CN103699318B (en) A kind of electronic equipment touch-control response method and device
JP6985339B2 (en) Scene-based vibration feedback method and mobile device
CN105739769A (en) Touch key display method and terminal
US9733708B2 (en) Electronic device, operation control method, and operation control program
US9781252B2 (en) Information processing method, system and mobile terminal
WO2011068373A2 (en) Mobile device and control method thereof
KR20180005695A (en) Information acquisition method and device
US20170168628A1 (en) Method and electronic device for split-screen display
US20160196588A1 (en) Interacting method
CN103870160A (en) Information processing method and electronic device
CN110308834B (en) Setting method of application icon display mode and terminal
CN107959759A (en) Electronic equipment, display control method and related product
CN108108078A (en) Electronic equipment, display control method and Related product
CN103902861A (en) Status switching method and electronic device
KR20190008949A (en) A touch response method and apparatus for use in a touch panel and a terminal thereof
CN112929254A (en) Message processing method and device and electronic equipment
CN111176529B (en) Key display method and electronic equipment
CN104750375A (en) Interface display method and device
CN113230649B (en) Display control method and device
CN104951378B (en) A kind of control method and terminal
CN110825293A (en) Control method, terminal and storage medium
CN108429852A (en) The guard method fallen and Related product
CN113806000A (en) Display method and device and electronic equipment
CN111444494B (en) Verification method, electronic device and computer readable storage medium
CN108710477B (en) Display method, mobile terminal and storage medium

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