CN107390977A - Button operation method, apparatus and storage medium - Google Patents

Button operation method, apparatus and storage medium Download PDF

Info

Publication number
CN107390977A
CN107390977A CN201710622040.3A CN201710622040A CN107390977A CN 107390977 A CN107390977 A CN 107390977A CN 201710622040 A CN201710622040 A CN 201710622040A CN 107390977 A CN107390977 A CN 107390977A
Authority
CN
China
Prior art keywords
navigation keys
terminal
virtual
virtual navigation
button
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710622040.3A
Other languages
Chinese (zh)
Inventor
张伟超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710622040.3A priority Critical patent/CN107390977A/en
Publication of CN107390977A publication Critical patent/CN107390977A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The invention discloses a kind of button operation method, apparatus and storage medium, belong to field of terminal technology.Methods described includes:When terminal is in transverse screen display pattern, virtual navigation keys are hidden;When detecting the operation of display navigation keys, show the virtual navigation keys, to be operated based on the virtual navigation keys, wherein, the virtual navigation keys are terminal configuration, or the physical navigation button of configuration is set into predeterminated position generation invalid and in display screen for the terminal.The virtual navigation keys that the present invention is configured or generated by concealed terminal, user's false touch can be avoided, is shown again when detecting the operation of display navigation keys, user can be facilitated to timely use navigation keys, so as to simplify the operation that user uses navigation keys, button operation efficiency is improved.

Description

Button operation method, apparatus and storage medium
Technical field
The present embodiments relate to field of terminal technology, more particularly to a kind of button operation method, apparatus and storage medium.
Background technology
In order to facilitate the operation of user, terminal is commonly configured with navigation keys, navigation keys bag in the bottom of display screen Include Menu (menu) key, Home (homepage) keys or Back (return) key etc., and the configuration of some terminals be physical navigation by Key, the configuration of some terminals is virtual navigation keys.But in practical application, user's often false touch navigation keys, such as when When user plays game under transverse screen display pattern or sees video, because navigation keys just grip the position of terminal in user, because This, which is also just very easy to false touch, causes to interrupt present displayed content, influences Consumer's Experience.
In order to prevent user's false touch navigation keys, in correlation technique, it is proposed that a kind of button operation method, pass through this method Navigation keys can be forced to disable.It that is to say, provide a kind of navigation keys disabling pattern in the terminal, prohibit in navigation keys After being started with pattern, when detecting that terminal switches to transverse screen display pattern, it is invalid that the navigation keys of terminal will be set to, In this way, even if user's false touch will not also respond to navigation keys, navigation keys.
But in the above method, when user wants to use navigation keys, also menu closing is set to lead with regard to needing to be introduced into The button that navigates disables pattern, and the display content before then reopening again could be used successfully, and user operates relatively complicated, button Operating efficiency is relatively low.
The content of the invention
It is relatively complicated in order to solve present in correlation technique user's operation, the problem of button operation is less efficient, this hair Bright embodiment provides a kind of button operation method, apparatus and storage medium.The technical scheme is as follows:
First aspect, there is provided a kind of button operation method, methods described include:
When terminal is in transverse screen display pattern, virtual navigation keys are hidden;
Wherein, the virtual navigation keys are terminal configuration, or are the terminal by the physical navigation of configuration Button is set to predeterminated position generation invalid and in display screen;
When detecting the operation of display navigation keys, the virtual navigation keys are shown, with based on the virtual navigation Button is operated.
Alternatively, it is described when terminal is in transverse screen display pattern, virtual navigation keys are hidden, including:
When the terminal is in transverse screen display pattern and the terminal is configured with physical navigation button, the physics is led It is invalid that boat button is set to;
Generated in the predeterminated position of the display screen of the terminal and hide the virtual navigation keys;
Correspondingly, the display virtual navigation keys, including:
The virtual navigation keys are shown in the predeterminated position of the display screen.
Alternatively, it is described when terminal is in before transverse screen display pattern, in addition to:
The specified interface of calling system, the screen state information of the terminal is obtained by the specified interface;
When the screen state information indicates that the terminal switches to transverse screen display pattern, determine that the terminal is in horizontal stroke Shield display pattern.
Alternatively, it is described before the operation of display navigation keys is detected, in addition to:
When detecting the trigger action to specifying physical button, it is determined that the operation of display navigation keys is detected, it is described Physical button is specified to include the physical navigation button of terminal configuration;Or
When detecting upper stroke operation relative to the bottom of the display screen, it is determined that detecting display navigation keys Operation.
Alternatively, after the display virtual navigation keys, in addition to:
It is not detected by preset duration after the virtual navigation keys are being shown to the virtual navigation keys During trigger action, the virtual navigation keys are hidden.
Alternatively, methods described also includes:
Detected in the preset duration after virtual navigation keys are being shown to the virtual navigation keys Trigger action when, respond the trigger action;
It is not detected by the preset duration after trigger action is being responded to the virtual navigation keys During trigger action, the virtual navigation keys are hidden.
Alternatively, methods described also includes:
When detecting that the terminal switches to portrait layout display pattern from residing transverse screen display pattern, and the terminal configures When having physical navigation button, the virtual navigation keys in the predeterminated position generation of the display screen are deleted, and by described in Physical navigation button is set to effectively.
Second aspect, there is provided a kind of key operation device, described device include:
First hidden module, for when terminal is in transverse screen display pattern, hiding virtual navigation keys;
Wherein, the virtual navigation keys are terminal configuration, or are the terminal by the physical navigation of configuration Button is set to predeterminated position generation invalid and in display screen;
Display module, for when detect display navigation keys operation when, show the virtual navigation keys, with based on The virtual navigation keys are operated.
Alternatively, the hidden module includes:
Setting unit, for being in transverse screen display pattern and the terminal is configured with physical navigation button when the terminal When, it is invalid that the physical navigation button is set to;
Generation unit, the predeterminated position for the display screen in the terminal generate and hide the virtual navigation and press Key;
Correspondingly, the display module is used for:
The virtual navigation keys are shown in the predeterminated position of the display screen.
Alternatively, described device also includes:
Calling module, for the specified interface of calling system, pass through the screen shape of the specified interface acquisition terminal State information;
First determining module, for when the screen state information indicates that the terminal switches to transverse screen display pattern, Determine that the terminal is in transverse screen display pattern.
Alternatively, described device also includes:
Second determining module, for when detect to specify physical button trigger action when, it is determined that detecting that display is led The operation of boat button, the specified physical button include the physical navigation button of terminal configuration;Or
Second determining module, for when detect relative to the display screen bottom upper stroke operation when, really Regular inspection measures the operation of display navigation keys.
Alternatively, described device also includes:
Second hidden module, for being not detected by the preset duration after virtual navigation keys are being shown to institute When stating the trigger action of virtual navigation keys, the virtual navigation keys are hidden.
Alternatively, described device also includes:
Respond module, for being detected in the preset duration after virtual navigation keys are being shown to described During the trigger action of virtual navigation keys, the trigger action is responded;
3rd hidden module, for being not detected by the preset duration after trigger action is being responded to institute When stating the trigger action of virtual navigation keys, the virtual navigation keys are hidden.
Alternatively, described device also includes:
Handover module, detect that the terminal switches to portrait layout display pattern from residing transverse screen display pattern for working as, And the terminal deletes the virtual navigation in the predeterminated position generation of the display screen when being configured with physical navigation button Button, and the physical navigation button is set to effectively.
The third aspect, there is provided a kind of key operation device, including memory, processor and be stored on the memory And the computer program that can be run on the processor, it is characterised in that the processor is configured as performing above-mentioned first The step of any button operation method described in aspect.
Fourth aspect, there is provided a kind of computer-readable recording medium, be stored with the computer-readable recording medium Instruction, when run on a computer so that computer performs any button operation method as described in above-mentioned first aspect.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
In the embodiment of the present invention, when terminal is in transverse screen display pattern, the virtual navigation configured by concealed terminal is pressed Key, or by terminal by the physical navigation button of configuration be set to it is invalid and display screen predeterminated position generate virtual navigation Then button is hidden, can avoid user's false touch, is shown immediately again when detecting the operation of display navigation keys, so as to User is operated, and so be may be implemented in and is avoided facilitating user to timely use navigation keys on the basis of user's false touch, so as to The operation of user is simplified, improves button operation efficiency.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Figure 1A is a kind of button operation method flow diagram provided in an embodiment of the present invention;
Figure 1B is a kind of schematic diagram of the transverse screen display interface of terminal provided in an embodiment of the present invention;
Fig. 2 is another button operation method flow diagram provided in an embodiment of the present invention;
Fig. 3 A are a kind of structural representations of key operation device provided in an embodiment of the present invention;
Fig. 3 B are a kind of structural representations of first hidden module 301 provided in an embodiment of the present invention;
Fig. 3 C are the structural representations of another key operation device provided in an embodiment of the present invention;
Fig. 3 D are the structural representations of another key operation device provided in an embodiment of the present invention;
Fig. 3 E are the structural representations of another key operation device provided in an embodiment of the present invention;
Fig. 3 F are the structural representations of another key operation device provided in an embodiment of the present invention;
Fig. 3 G are the structural representations of another key operation device provided in an embodiment of the present invention;
Fig. 4 is a kind of result schematic diagram of terminal 400 provided in an embodiment of the present invention.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Before explanation is explained in detail to the embodiment of the present invention, first, to applied field provided in an embodiment of the present invention Scape is introduced.
The embodiment of the present invention is applied to user under transverse screen display pattern in the scene of using terminal, such as when user uses When terminal watches video or plays game, typically all it is partial to terminal switching to transverse screen display pattern, or, some terminals are worked as Transverse screen display pattern can be also automatically switched to when detecting the operation for playing video or game, in order to which user watches or operates. But because navigation keys are typically mounted on terminal bottom, therefore after terminal is switched into transverse screen display pattern, Yong Huye The navigation keys of false touch bottom are just very easy to, so as to which triggering terminal interrupts current display content, influence Consumer's Experience.For this Also just need to provide a kind of button operation method to prevent user's false touch navigation keys, and can also be user-friendly navigation by Key.
Certainly, in addition to transverse screen display pattern, the embodiment of the present invention can also be applied to full-screen display mode or its He easily causes in the terminal scene of user's false touch navigation keys, and the embodiment of the present invention is not limited this.
Secondly, the implementation environment of the embodiment of the present invention is introduced.
The embodiment of the present invention is applied in terminal, and the terminal, which is specifically as follows mobile phone or tablet personal computer etc., has horizontal/vertical screen The terminal of display pattern.Moreover, the terminal is configured with navigation keys, the navigation keys of concrete configuration can be pressed for physical navigation Key, or virtual navigation keys.For example terminal can configure an entity Home key, or configuration below display screen Entity Menu keys, entity Home key and entity B ack keys these three physical buttons, or one virtual Home key of configuration, Huo Zhepei Put a virtual navigation keys bar, the virtual navigation keys bar include virtual Menu keys, virtual Home key and virtual Back keys this Three virtual keys.Certainly, in practical application, navigation keys can also be other ways of realization, the embodiment of the present invention to this not Limit.
, next will be with reference to accompanying drawing to this after the application scenarios of the embodiment of the present invention and implementation environment are introduced The button operation method that inventive embodiments provide describes in detail.
Figure 1A is a kind of button operation method flow diagram provided in an embodiment of the present invention, and the executive agent of this method is eventually End.Referring to Figure 1A, this method comprises the following steps:
Step 101:When terminal is in transverse screen display pattern, virtual navigation keys are hidden.
Wherein, hiding virtual navigation keys refer to not show virtual navigation keys, and close virtual navigation keys Navigation feature so that user can not see virtual navigation keys, and operation that virtual navigation keys also can not be to user is carried out Response.By hiding virtual navigation keys, user's false touch can be prevented.
Wherein, the virtual navigation keys are terminal configuration, or put the physical navigation button of configuration for the terminal For predeterminated position generation invalid and in display screen.It that is to say, the difference of navigation keys is configured according to terminal, works as terminal Virtual navigation keys are hidden during in transverse screen display pattern can include following two implementations:
The first implementation:If the navigation keys of terminal configuration are virtual navigation keys, when terminal shows in transverse screen When showing pattern, the virtual navigation keys for directly showing terminal are hidden.
When terminal configures virtual navigation keys, under transverse screen display pattern, terminal would generally show below display screen Show the virtual navigation keys that user can trigger, such as highlighted virtual navigation keys, in order to prevent user in the embodiment of the present invention False touch, the virtual navigation keys of configuration can be hidden.
Second of implementation:If the navigation keys of terminal configuration are physical navigation button, when terminal shows in transverse screen When showing pattern, it is invalid that physical navigation button is set to, and the predeterminated position of the display screen in terminal generates virtual navigation keys, Then the virtual navigation keys of generation are hidden.
Wherein, physical navigation button is set to the invalid navigation feature for referring to close physics navigation keys so that physics is led Boat button will not be to user the trigger action such as pressing respond, so as to prevent false touch of the user to physical navigation button.
Wherein, the predeterminated position is the position of the generation virtual navigation keys pre-set, and the predeterminated position can be by Terminal default setting, it can also be set by user, the embodiment of the present invention is not limited this.For example, the predeterminated position can be The bottom for the display screen that user gets used to, naturally it is also possible to for other positions such as the tops of display screen.
Wherein, the virtual navigation keys of generation can include one or more navigation keys, such as, the virtual navigation of generation Button can be a virtual Home key, or be a virtual navigation keys bar, and the virtual navigation keys bar includes virtual Menu keys, virtual Home key and virtual these three virtual keys of Back keys.
For example, with reference to Figure 1B, terminal configuration navigation keys are physical navigation buttons, and the physical navigation button is terminal The circular arc Home key of the protrusion of bottom, then after the terminal switches to the interface under transverse screen display pattern, it can incite somebody to action It is invalid that Home key is set to, and generates a virtual navigation keys bar 10, the virtual navigation keys bar 10 in the bottom of display screen , afterwards can be by the virtual navigation keys bar 10 of generation including virtual Menu keys 11, virtual Home key 12 and virtual Back keys 13 Hide.
Virtual navigation keys are generated by the predetermined position in display screen, can be somebody's turn to do in order to the follow-up convenient use of user Virtual navigation keys, and by hiding the virtual navigation keys of generation, then it can avoid mistake of the user to the virtual navigation keys Touch.
Further, for the ease of realizing the present invention, terminal there is a need for being able to judge that the current transverse screen that whether is in shows mould Formula.In a kind of possible implementation, terminal can obtain the terminal with the specified interface of calling system by the specified interface Screen state information;When the screen state information indicates that the terminal switches to transverse screen display pattern, determine that the terminal is in Transverse screen display pattern.
Wherein, the specified interface is the open interface that can indicate screen state information that terminal system provides, such as can Think Sensor Manager (sensor management) interface of system etc..By the specified interface, terminal can be monitored vertical and horizontal Shield the switching of display pattern, when listening to terminal and switching to transverse screen display pattern, you can determine that terminal be in transverse screen display mould Formula, and hide virtual navigation keys.
Step 102:When detecting the operation of display navigation keys, the virtual navigation keys are shown, with virtual based on this Navigation keys are operated.
It that is to say, after virtual navigation keys are hidden, user only needs to perform the operation for showing navigation keys, you can will be hidden The navigation keys of Tibetan are shown, after the virtual navigation keys are shown, user i.e. can be easily virtual using this Navigation keys, button operation efficiency are higher.
If want to use navigation keys in this way, also avoiding in correlation technique the user under navigation keys disabling pattern When, it is necessary to it is introduced into and sets menu to close navigation keys disabling pattern, display content before then reopening again could be into Work(uses, and causes user to operate relatively complicated, the less efficient problem of button operation.
Specifically, when the virtual navigation keys are the virtual navigation keys of terminal itself configuration, can virtually be led at this The default configuration position display of button of navigating virtual navigation keys, when the virtual navigation that the virtual navigation keys are terminal generation is pressed During key, the virtual navigation keys can be shown in the predeterminated position of the display screen.
Wherein, showing the operation of navigation keys can be triggered by user, be had for instruction user using navigation keys It is intended to, therefore, when detecting the operation of display navigation keys, you can show the virtual navigation keys with for users to use.It is real In the application of border, the operation of the display navigation keys can draw operation etc., the present invention for the trigger action to physical button or above Operation of the embodiment to the display navigation keys is not specifically limited.
Specifically, detection shows that the operation of navigation keys can include following two implementations:
The first implementation:When detecting the trigger action to specifying physical button, it is determined that detecting display navigation The operation of button, this specifies physical button to include the physical navigation button that the terminal configures.
Wherein, physical navigation button, volume key or on & off switch that the specified physical button can configure for terminal etc., when Can also be so other physical buttons, the embodiment of the present invention is not limited this.Specify the trigger action of physical button can this Think touch operation or pressing operation etc..
Further, in order to ensure accuracy, the terminal can also specify physical button detecting continuous n times to this During trigger action, it is determined that detecting the operation of display navigation keys.It that is to say, only detecting that continuous n times specify thing to this When managing the trigger action of button, just determine that user has the intention using navigation keys, and the virtual navigation keys are shown Come for users to use, can so avoid user from specifying the false touch of physical navigation button to this.
Wherein, the N is positive integer, and the N can have terminal default setting, can also be set by user, the present invention Embodiment is not limited this.For example the N can be 2,3 or 4 etc..
Second of implementation:When detect relative to the display screen bottom upper stroke operation when, it is determined that detecting Show the operation of navigation keys.
For example, during user plays game, when wanting to use virtual navigation keys, finger can be used from display screen Curtain upward-sliding bottoms, hiding virtual navigation keys are shown.
Certainly, the operation of the display navigation keys can also be relative to lower stroke of top operation of display screen or its His paddling operation etc., the embodiment of the present invention is not limited this.
Step 103:Be not detected by preset duration after the virtual navigation keys are being shown to the virtual navigation by During the trigger action of key, the virtual navigation keys are hidden.
Wherein, the preset duration is the maximum display duration that the virtual navigation keys are able to maintain that.If in the preset duration Interior user has used the virtual navigation keys, then the terminal will respond use and the reclocking of user, if in the preset duration The navigation keys are not used in interior user, in order to avoid user's false touch, then can hide the virtual navigation keys again.
Wherein, the preset duration can also can be set by terminal default setting by user, the embodiment of the present invention to this not Limit.For example the preset duration can be 2s, 3s, 4s or 5s etc..
In practical application, so that the preset duration is 5s as an example, when the virtual navigation keys are shown, terminal can be by fixed When device start timing, when timing duration reaches 5s, if being also not detected by the trigger action to the virtual navigation keys, the end The virtual navigation keys can be hidden by end.
Step 104:Detected in the preset duration after virtual navigation keys are being shown to the virtual navigation by During the trigger action of key, the trigger action is responded.
Wherein, the trigger action is responded to refer to perform navigation feature corresponding with the trigger action.It is such as if default at this The trigger action to virtual Home key is detected in duration, you can the main interface of display terminal.
Moreover, after the trigger action is responded, the terminal by reclocking, so as to judge respond the trigger action it Whether trigger action to the virtual navigation keys is detected in preset duration afterwards.
Step 105:It is not detected by the preset duration after trigger action is being responded to the virtual navigation keys Trigger action when, hide the virtual navigation keys.
Wherein, after hiding the virtual navigation keys, if detecting the display operation to navigation keys again, will show again Show the virtual navigation keys, and circulate and perform step 103-105.
Further, detected in the preset duration after trigger action is being responded to the virtual navigation keys During trigger action, the trigger action, and reclocking will be also responded.
Further, can be with when detecting that the terminal switches to portrait layout display pattern from residing transverse screen display pattern Recover normal navigation keys operation, can specifically include following two implementations:
The first implementation:When detect the terminal from residing transverse screen display pattern switch to portrait layout display pattern and When the terminal is configured with virtual navigation keys, recover the default configuration of virtual navigation keys.
It that is to say, when the navigation keys of terminal configuration are virtual navigation keys, switch to after portrait layout display pattern, can Normally to show virtual navigation keys, without being hidden to virtual navigation keys.
Second of implementation:When detect the terminal from residing transverse screen display pattern switch to portrait layout display pattern and When the terminal is configured with physical navigation button, the virtual navigation keys in the predeterminated position generation of the display screen are deleted, and The physical navigation button is set to effectively.
It that is to say, when the navigation keys of terminal configuration are physical navigation button, switch to after portrait layout display pattern, can So that the virtual navigation keys generated before to be deleted, and recover the default setting that physical navigation button is put so that physical navigation is pressed Key can be with the trigger action of normal response user.
In the embodiment of the present invention, when terminal is in transverse screen display pattern, the virtual navigation configured by concealed terminal is pressed Key, or by terminal by the physical navigation button of configuration be set to it is invalid and display screen predeterminated position generate virtual navigation Then button is hidden, can avoid user's false touch, is shown immediately again when detecting the operation of display navigation keys, so as to User is operated, and so be may be implemented in and is avoided facilitating user to timely use navigation keys on the basis of user's false touch, so as to The operation of user is simplified, improves button operation efficiency.
In order to make it easy to understand, next will be so that terminal configures physical navigation button as an example, with reference to Fig. 2 to the embodiment of the present invention The button operation method of offer describes in detail.
Fig. 2 is another button operation method flow diagram provided in an embodiment of the present invention, and the executive agent of this method is eventually End.Referring to Fig. 2, this method comprises the following steps:
Step 201:When the terminal is in transverse screen display pattern and the terminal is configured with physical navigation button, by the physics Navigation keys are set to invalid.
Step 202:Generated in the predeterminated position of the display screen of the terminal and hide the virtual navigation keys.
Step 203:When detecting the operation of display navigation keys, show that this is virtual in the predeterminated position of the display screen Navigation keys.
Step 204:Be not detected by preset duration after the virtual navigation keys are being shown to the virtual navigation by During the trigger action of key, the virtual navigation keys are hidden.
Step 205:Detected in the preset duration after virtual navigation keys are being shown to the virtual navigation by During the trigger action of key, the trigger action is responded.
Step 206:It is not detected by the preset duration after trigger action is being responded to the virtual navigation keys Trigger action when, hide the virtual navigation keys.
Step 207:When detecting that the terminal switches to portrait layout display pattern from residing transverse screen display pattern, delete The virtual navigation keys of the predeterminated position generation of the display screen, and the physical navigation button is set to effectively.
Wherein, step 201-207 specific implementation may be referred to the associated description of Figure 1A illustrated embodiments, the present invention Embodiment will not be repeated here.
In the embodiment of the present invention, when terminal is in transverse screen display pattern, the virtual navigation configured by concealed terminal is pressed Key, or by terminal by the physical navigation button of configuration be set to it is invalid and display screen predeterminated position generate virtual navigation Then button is hidden, can avoid user's false touch, is shown immediately again when detecting the operation of display navigation keys, so as to User is operated, and so be may be implemented in and is avoided facilitating user to timely use navigation keys on the basis of user's false touch, so as to The operation of user is simplified, improves button operation efficiency.
, next will be to of the invention real after button operation method provided in an embodiment of the present invention is described in detail The structure for applying the key operation device of example offer describes in detail.
Fig. 3 A are a kind of structural representations of key operation device provided in an embodiment of the present invention, referring to Fig. 3 A, the device Including:
First hidden module 301, for when terminal is in transverse screen display pattern, hiding virtual navigation keys;
Wherein, the virtual navigation keys are terminal configuration, or put the physical navigation button of configuration for the terminal For predeterminated position generation invalid and in display screen;
Display module 302, for when detecting the operation of display navigation keys, the virtual navigation keys being shown, with base Operated in the virtual navigation keys.
Alternatively, include referring to Fig. 3 B, first hidden module 301:
Setting unit 3011, for being in transverse screen display pattern and the terminal is configured with physical navigation button when the terminal When, it is invalid that the physical navigation button is set to;
Generation unit 3012, the predeterminated position for the display screen in the terminal generate and hide the virtual navigation and press Key;
Correspondingly, the display module 302 is used for:
The virtual navigation keys are shown in the predeterminated position of the display screen.
Alternatively, also include referring to Fig. 3 C, the device:
Calling module 303, for the specified interface of calling system, the screen state of the terminal is obtained by the specified interface Information;
First determining module 304, for when the screen state information indicates that the terminal switches to transverse screen display pattern, really The fixed terminal is in transverse screen display pattern.
Alternatively, also include referring to Fig. 3 D, the device:
Second determining module 305, for when detect to specify physical button trigger action when, it is determined that detecting display The operation of navigation keys, this specifies physical button to include the physical navigation button that the terminal configures;Or
Second determining module 305, for when detect relative to the display screen bottom upper stroke operation when, it is determined that Detect the operation of display navigation keys.
Alternatively, also include referring to Fig. 3 E, the device:
Second hidden module 306, for being not detected by the preset duration after virtual navigation keys are being shown pair During the trigger action of the virtual navigation keys, the virtual navigation keys are hidden.
Alternatively, also include referring to Fig. 3 F, the device:
Respond module 307, for being detected in the preset duration after virtual navigation keys are being shown to the void When intending the trigger action of navigation keys, the trigger action is responded;
3rd hidden module 308, for being not detected by the preset duration after trigger action is being responded to this During the trigger action of virtual navigation keys, the virtual navigation keys are hidden.
Alternatively, also include referring to Fig. 3 G, the device:
Handover module 309, detect that the terminal switches to portrait layout display pattern from residing transverse screen display pattern for working as, And the terminal deletes the virtual navigation keys in the predeterminated position generation of the display screen when being configured with physical navigation button, And the physical navigation button is set to effectively.
In the embodiment of the present invention, when terminal is in transverse screen display pattern, the virtual navigation configured by concealed terminal is pressed Key, or by terminal by the physical navigation button of configuration be set to it is invalid and display screen predeterminated position generate virtual navigation Then button is hidden, can avoid user's false touch, is shown immediately again when detecting the operation of display navigation keys, so as to User is operated, and so be may be implemented in and is avoided facilitating user to timely use navigation keys on the basis of user's false touch, so as to The operation of user is simplified, improves button operation efficiency.
It should be noted that:The key operation device that above-described embodiment provides is when performing button operation, only with above-mentioned each The division progress of functional module, can be as needed and by above-mentioned function distribution by different work(for example, in practical application Energy module is completed, i.e., the internal structure of device is divided into different functional modules, to complete whole described above or portion Divide function.In addition, the key operation device that above-described embodiment provides belongs to same design with button operation embodiment of the method, it has Body implementation process refers to embodiment of the method, repeats no more here.
Fig. 4 is a kind of result schematic diagram of terminal 400 provided in an embodiment of the present invention.For example, terminal 400 can be mobile Phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, Personal digital assistant etc..
Reference picture 4, terminal 400 can include following one or more assemblies:Processing component 402, memory 404, power supply Component 406, multimedia groupware 408, audio-frequency assembly 410, the interface 412 of input/output (I/O), sensor cluster 414, and Communication component 416.
Processing component 402 generally controls the integrated operation of terminal 400, is such as communicated with display, call, data, phase The operation that machine operates and record operation is associated.Processing component 402 can refer to including one or more processors 420 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing component 402 can include one or more modules, just Interaction between processing component 402 and other assemblies.For example, processing component 402 can include multi-media module, it is more to facilitate Interaction between media component 408 and processing component 402.
Memory 404 is configured as storing various types of data to support the operation in terminal 400.These data are shown Example includes the instruction of any application program or method for being operated in terminal 400, contact data, telephone book data, disappears Breath, picture, video etc..Memory 404 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 406 provides power supply for the various assemblies of terminal 400.Power supply module 406 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing power supply for terminal 400.
Multimedia groupware 408 is included in the screen of one output interface of offer between the terminal 400 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detect and touched or the related duration and pressure of slide with described.In certain embodiments, more matchmakers Body component 408 includes a front camera and/or rear camera.When terminal 400 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 410 is configured as output and/or input audio signal.For example, audio-frequency assembly 410 includes a Mike Wind (MIC), when terminal 400 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The audio signal received can be further stored in memory 404 or via communication set Part 416 is sent.In certain embodiments, audio-frequency assembly 410 also includes a loudspeaker, for exports audio signal.
I/O interfaces 412 provide interface between processing component 402 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 414 includes one or more sensors, and the state for providing various aspects for terminal 400 is commented Estimate.For example, sensor cluster 414 can detect opening/closed mode of terminal 400, and the relative positioning of component, for example, it is described Component is the display and keypad of terminal 400, and sensor cluster 414 can be with 400 1 components of detection terminal 400 or terminal Position change, the existence or non-existence that user contacts with terminal 400, the orientation of terminal 400 or acceleration/deceleration and terminal 400 Temperature change.Sensor cluster 414 can include proximity transducer, be configured to detect in no any physical contact The presence of neighbouring object.Sensor cluster 414 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 414 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between terminal 400 and other equipment.Terminal 400 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 416 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 416 also includes near-field communication (NFC) module, to promote junction service.Example Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, terminal 400 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, real shown in above-mentioned Figure 1A or Fig. 2 for performing The button operation method of example offer is provided.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 404 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 420 of terminal 400.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
In another embodiment, a kind of key operation device is additionally provided, button behaviour's device includes memory, processor And the computer program that can be run on the memory and on the processor is stored in, the processor is configured as performing above-mentioned figure The button operation method that 1A or Fig. 2 embodiments provide.
In another embodiment, a kind of computer-readable recording medium is additionally provided, in the computer-readable recording medium Instruction is stored with, when run on a computer so that computer performs the button behaviour that above-mentioned Figure 1A or Fig. 2 embodiments provide Make method.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment To complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.

Claims (16)

  1. A kind of 1. button operation method, it is characterised in that methods described includes:
    When terminal is in transverse screen display pattern, virtual navigation keys are hidden;
    Wherein, the virtual navigation keys are terminal configuration, or are the terminal by the physical navigation button of configuration It is set to predeterminated position generation invalid and in display screen;
    When detecting the operation of display navigation keys, the virtual navigation keys are shown, with based on the virtual navigation keys Operated.
  2. 2. the method as described in claim 1, it is characterised in that it is described when terminal is in transverse screen display pattern, hide virtual Navigation keys, including:
    When the terminal is in transverse screen display pattern and the terminal is configured with physical navigation button, the physical navigation is pressed Key is set to invalid;
    Generated in the predeterminated position of the display screen of the terminal and hide the virtual navigation keys;
    Correspondingly, the display virtual navigation keys, including:
    The virtual navigation keys are shown in the predeterminated position of the display screen.
  3. 3. the method as described in claim 1, it is characterised in that it is described when terminal is in before transverse screen display pattern, in addition to:
    The specified interface of calling system, the screen state information of the terminal is obtained by the specified interface;
    When the screen state information indicates that the terminal switches to transverse screen display pattern, determine that the terminal shows in transverse screen Show pattern.
  4. 4. the method as described in claim 1, it is characterised in that it is described before the operation of display navigation keys is detected, also Including:
    When detecting the trigger action to specifying physical button, it is determined that the operation of display navigation keys is detected, it is described to specify Physical button includes the physical navigation button of terminal configuration;Or
    When detect relative to the display screen bottom upper stroke operation when, it is determined that detect display navigation keys behaviour Make.
  5. 5. the method as described in claim 1, it is characterised in that after the display virtual navigation keys, in addition to:
    The triggering to the virtual navigation keys is not detected by preset duration after the virtual navigation keys are being shown During operation, the virtual navigation keys are hidden.
  6. 6. method as claimed in claim 5, it is characterised in that methods described also includes:
    Detected in the preset duration after virtual navigation keys are being shown and the virtual navigation keys are touched During hair operation, the trigger action is responded;
    The triggering to the virtual navigation keys is not detected by the preset duration after trigger action is being responded During operation, the virtual navigation keys are hidden.
  7. 7. the method as described in claim 1-6 is any, it is characterised in that methods described also includes:
    When detecting that the terminal switches to portrait layout display pattern from residing transverse screen display pattern, and the terminal is configured with thing When managing navigation keys, the virtual navigation keys in the predeterminated position generation of the display screen are deleted, and by the physics Navigation keys are set to effectively.
  8. 8. a kind of key operation device, it is characterised in that described device includes:
    First hidden module, for when terminal is in transverse screen display pattern, hiding virtual navigation keys;
    Wherein, the virtual navigation keys are terminal configuration, or are the terminal by the physical navigation button of configuration It is set to predeterminated position generation invalid and in display screen;
    Display module, for when detecting the operation of display navigation keys, the virtual navigation keys being shown, with based on described Virtual navigation keys are operated.
  9. 9. device as claimed in claim 8, it is characterised in that first hidden module includes:
    Setting unit, for when the terminal is in transverse screen display pattern and the terminal is configured with physical navigation button, inciting somebody to action It is invalid that the physical navigation button is set to;
    Generation unit, the predeterminated position for the display screen in the terminal generate and hide the virtual navigation keys;
    Correspondingly, the display module is used for:
    The virtual navigation keys are shown in the predeterminated position of the display screen.
  10. 10. device as claimed in claim 8, it is characterised in that described device also includes:
    Calling module, for the specified interface of calling system, the screen state that the terminal is obtained by the specified interface is believed Breath;
    First determining module, for when the screen state information indicates that the terminal switches to transverse screen display pattern, it is determined that The terminal is in transverse screen display pattern.
  11. 11. device as claimed in claim 8, it is characterised in that described device also includes:
    Second determining module, for when detect to specify physical button trigger action when, it is determined that detect display navigation by The operation of key, the specified physical button include the physical navigation button of terminal configuration;Or
    Second determining module, for when detect relative to the display screen bottom upper stroke operation when, it is determined that inspection Measure the operation of display navigation keys.
  12. 12. device as claimed in claim 8, it is characterised in that described device also includes:
    Second hidden module, for being not detected by the preset duration after virtual navigation keys are being shown to the void When intending the trigger action of navigation keys, the virtual navigation keys are hidden.
  13. 13. device as claimed in claim 12, it is characterised in that described device also includes:
    Respond module, for being detected in the preset duration after virtual navigation keys are being shown to described virtual During the trigger action of navigation keys, the trigger action is responded;
    3rd hidden module, for being not detected by the preset duration after trigger action is being responded to the void When intending the trigger action of navigation keys, the virtual navigation keys are hidden.
  14. 14. the device as described in claim 8-13 is any, it is characterised in that described device also includes:
    Handover module, detect that the terminal switches to portrait layout display pattern, and institute from residing transverse screen display pattern for working as When stating terminal and being configured with physical navigation button, the virtual navigation deleted in the predeterminated position generation of the display screen is pressed Key, and the physical navigation button is set to effectively.
  15. 15. a kind of key operation device, including memory, processor and it is stored on the memory and can be in the processor The computer program of upper operation, it is characterised in that the processor is configured as any one side described in perform claim requirement 1-7 The step of method.
  16. 16. a kind of computer-readable recording medium, instruction is stored with the computer-readable recording medium, when it is in computer During upper operation so that computer performs the method as described in claim any one of 1-7.
CN201710622040.3A 2017-07-27 2017-07-27 Button operation method, apparatus and storage medium Pending CN107390977A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710622040.3A CN107390977A (en) 2017-07-27 2017-07-27 Button operation method, apparatus and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710622040.3A CN107390977A (en) 2017-07-27 2017-07-27 Button operation method, apparatus and storage medium

Publications (1)

Publication Number Publication Date
CN107390977A true CN107390977A (en) 2017-11-24

Family

ID=60341743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710622040.3A Pending CN107390977A (en) 2017-07-27 2017-07-27 Button operation method, apparatus and storage medium

Country Status (1)

Country Link
CN (1) CN107390977A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108536368A (en) * 2018-03-30 2018-09-14 努比亚技术有限公司 Button application method, terminal and computer readable storage medium
CN108595089A (en) * 2018-04-13 2018-09-28 维沃移动通信有限公司 A kind of virtual key control method and mobile terminal
CN108762639A (en) * 2018-05-28 2018-11-06 努比亚技术有限公司 A kind of control method of physical button, mobile terminal and storage medium
CN109002438A (en) * 2018-07-02 2018-12-14 北京分音塔科技有限公司 False-touch prevention method, apparatus and translator
CN109634503A (en) * 2018-07-26 2019-04-16 维沃移动通信有限公司 A kind of operation response method and mobile terminal
CN109782971A (en) * 2018-12-28 2019-05-21 惠州Tcl移动通信有限公司 Intelligent terminal and its screen display method, the device with store function
CN110475021A (en) * 2019-08-16 2019-11-19 深圳传音控股股份有限公司 Control method, mobile terminal and the computer storage medium of mobile terminal
WO2022088790A1 (en) * 2020-10-29 2022-05-05 深圳市万普拉斯科技有限公司 False trigger prevention method, readable storage medium, and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399703A (en) * 2012-07-16 2013-11-20 华为终端有限公司 User equipment system bar control method and user equipment
CN103795869A (en) * 2014-03-07 2014-05-14 联想(北京)有限公司 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
CN104461282A (en) * 2014-11-10 2015-03-25 小米科技有限责任公司 Key processing method, key processing device and key processing equipment
CN106095310A (en) * 2016-06-08 2016-11-09 维沃移动通信有限公司 The control method of a kind of SOT state of termination and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399703A (en) * 2012-07-16 2013-11-20 华为终端有限公司 User equipment system bar control method and user equipment
CN103795869A (en) * 2014-03-07 2014-05-14 联想(北京)有限公司 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
CN104461282A (en) * 2014-11-10 2015-03-25 小米科技有限责任公司 Key processing method, key processing device and key processing equipment
CN106095310A (en) * 2016-06-08 2016-11-09 维沃移动通信有限公司 The control method of a kind of SOT state of termination and terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘建清: "《GSM手机修理从入门到精通 第2版》", 31 July 2007 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108536368A (en) * 2018-03-30 2018-09-14 努比亚技术有限公司 Button application method, terminal and computer readable storage medium
CN108536368B (en) * 2018-03-30 2021-06-15 努比亚技术有限公司 Key using method, terminal and computer readable storage medium
CN108595089A (en) * 2018-04-13 2018-09-28 维沃移动通信有限公司 A kind of virtual key control method and mobile terminal
WO2019196864A1 (en) * 2018-04-13 2019-10-17 维沃移动通信有限公司 Control method for virtual button and mobile terminal
CN108762639A (en) * 2018-05-28 2018-11-06 努比亚技术有限公司 A kind of control method of physical button, mobile terminal and storage medium
CN109002438A (en) * 2018-07-02 2018-12-14 北京分音塔科技有限公司 False-touch prevention method, apparatus and translator
CN109634503A (en) * 2018-07-26 2019-04-16 维沃移动通信有限公司 A kind of operation response method and mobile terminal
CN109634503B (en) * 2018-07-26 2021-01-08 维沃移动通信有限公司 Operation response method and mobile terminal
CN109782971A (en) * 2018-12-28 2019-05-21 惠州Tcl移动通信有限公司 Intelligent terminal and its screen display method, the device with store function
CN110475021A (en) * 2019-08-16 2019-11-19 深圳传音控股股份有限公司 Control method, mobile terminal and the computer storage medium of mobile terminal
WO2022088790A1 (en) * 2020-10-29 2022-05-05 深圳市万普拉斯科技有限公司 False trigger prevention method, readable storage medium, and electronic device

Similar Documents

Publication Publication Date Title
CN107390977A (en) Button operation method, apparatus and storage medium
CN104598111B (en) Switch the method and device of display pattern
CN105511631B (en) Gesture identification method and device
CN104991789B (en) Application program open method and device
CN105657173B (en) Volume adjusting method, device and mobile terminal
CN106537319A (en) Screen-splitting display method and device
CN107357505A (en) The method, apparatus and computer-readable recording medium of screenshot capture
CN104182313B (en) Be delayed the method and apparatus taken pictures
CN104536684B (en) interface display method and device
CN105204846A (en) Method for displaying video picture in multi-user video, device and terminal equipment
CN107526494A (en) Keyboard display method, device, terminal and storage medium
CN105912226A (en) Method and apparatus for displaying pages in application
CN105159559A (en) Mobile terminal control method and mobile terminal
CN105278841B (en) Control method and device for terminal device
CN104049864B (en) object control method and device
CN104216525B (en) Method and device for mode control of camera application
CN107102772A (en) Touch control method and device
CN106502560A (en) Display control method and device
CN107798309B (en) Fingerprint input method and device and computer readable storage medium
CN106873834A (en) Method and device and mobile terminal that key range is triggered
CN109324846A (en) Application display method and device, storage medium
CN107885418A (en) Terminal, multi-screen display method and device
CN109358929A (en) Multi-screen display method, device and storage medium
CN105739840A (en) Terminal and starting method of application programs in terminal
CN105468281A (en) Setup interface display method and device

Legal Events

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

Application publication date: 20171124