CN108021315B - Control method and mobile terminal - Google Patents

Control method and mobile terminal Download PDF

Info

Publication number
CN108021315B
CN108021315B CN201711225160.6A CN201711225160A CN108021315B CN 108021315 B CN108021315 B CN 108021315B CN 201711225160 A CN201711225160 A CN 201711225160A CN 108021315 B CN108021315 B CN 108021315B
Authority
CN
China
Prior art keywords
key
target
preset
virtual key
displayed
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.)
Active
Application number
CN201711225160.6A
Other languages
Chinese (zh)
Other versions
CN108021315A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201711225160.6A priority Critical patent/CN108021315B/en
Publication of CN108021315A publication Critical patent/CN108021315A/en
Application granted granted Critical
Publication of CN108021315B publication Critical patent/CN108021315B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

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)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a control method and a mobile terminal, wherein the method comprises the following steps: if an operation page of an application program is displayed in a display interface of the mobile terminal, detecting whether a preset virtual key is displayed in the display interface; if the preset virtual key is detected not to be displayed, receiving touch operation on a target key, wherein the target key is a displayed virtual key or an entity key on the mobile terminal; and executing the function of a target virtual key corresponding to the target key in the preset virtual keys according to the touch operation. In this way, the function of the target virtual key which is not displayed can be controlled through the target key, so that the target virtual key can be operated without calling out the target virtual key, and the process of operating the target virtual key is simplified.

Description

Control method and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a control method and a mobile terminal.
Background
With the rapid development of mobile terminals, mobile terminals have become an essential tool in people's life, and bring great convenience to various aspects of users' life. Some virtual keys can be displayed on a display screen of an existing mobile terminal, and different virtual keys can realize different functions, such as returning to an upper menu or returning to a main menu, and the like, so that a user can realize functions required by the user by operating different virtual keys.
However, in the prior art, when the mobile terminal displays the interface of some applications, the virtual keys are hidden. When the virtual keys need to be operated, the virtual keys need to be called out first, and then the virtual keys can be operated, so that the process of operating the virtual keys is complicated.
Disclosure of Invention
The embodiment of the invention provides a control method and a mobile terminal, and aims to solve the problem that when an interface of some applications is displayed on the mobile terminal, some virtual keys are hidden, so that the process of operating the virtual keys is complicated.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a control method, which is applied to a mobile terminal, where the control method includes:
if an operation page of an application program is displayed in a display interface of the mobile terminal, detecting whether a preset virtual key is displayed in the display interface;
if the preset virtual key is detected not to be displayed, receiving touch operation on a target key, wherein the target key is a displayed virtual key or an entity key on the mobile terminal;
and executing the function of a target virtual key corresponding to the target key in the preset virtual keys according to the touch operation.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, including:
the mobile terminal comprises a detection module, a display module and a display module, wherein the detection module is used for detecting whether a preset virtual key is displayed in a display interface of the mobile terminal if an operation page of an application program is displayed in the display interface;
the receiving module is used for receiving touch operation on a target key if the detecting module detects that the preset virtual key is not displayed, wherein the target key is a displayed virtual key or an entity key on the mobile terminal;
and the execution module is used for executing the function of a target virtual key corresponding to the target key in the preset virtual keys according to the touch operation.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the control method.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the control method are implemented.
In the embodiment of the invention, if an operation page of an application program is displayed in a display interface of the mobile terminal, whether a preset virtual key is displayed in the display interface is detected; if the preset virtual key is detected not to be displayed, receiving touch operation on a target key, wherein the target key is a displayed virtual key or an entity key on the mobile terminal; and executing the function of a target virtual key corresponding to the target key in the preset virtual keys according to the touch operation. In this way, the function of the target virtual key which is not displayed can be controlled through the target key, so that the target virtual key can be operated without calling out the target virtual key, and the process of operating the target virtual key is simplified.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a flow chart of a control method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a control method provided by another embodiment of the present invention;
fig. 3 is one of the structural diagrams of a mobile terminal according to an embodiment of the present invention;
fig. 4 is a block diagram of a receiving module of a mobile terminal according to an embodiment of the present invention;
fig. 5 is a second block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 6 is a block diagram of a binding submodule of the mobile terminal according to an embodiment of the present invention;
fig. 7 is a block diagram of a mobile terminal according to still another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a control method according to an embodiment of the present invention, as shown in fig. 1, including the following steps:
step 101, if an operation page of an application program is displayed in a display interface of the mobile terminal, detecting whether a preset virtual key is displayed in the display interface.
In the embodiment of the present invention, the running page of the application program may be referred to as a running page of the application program as long as the display page of the application program is run. The running page may include an initial page displayed by the application program just started, a page displayed during running of the application program, and the like. Whether the preset virtual key is displayed in the detection display interface or not can be detected on an operation page of an application program in the display interface, or can be detected in other areas except the operation page in the display interface, and the like.
In the embodiment of the present invention, the application may be a game application, a social application, a video application, or some other application. The preset virtual keys can be some virtual keys carried by the mobile terminal, and the virtual keys can realize the functions of returning to the previous menu or returning to the main menu in the near term, and the like. Or the virtual keys may be some virtual keys specific to the application program, etc., and different application programs may have some virtual keys themselves, which may implement some auxiliary functions, such as setting of volume or setting of brightness, etc.
And 102, receiving touch operation on a target key if the preset virtual key is not displayed, wherein the target key is a displayed virtual key or an entity key on the mobile terminal.
In the embodiment of the invention, in order to not influence the display of some application programs, some preset virtual keys can be hidden in the running interfaces of some application programs. For example, when some game application programs are run, some virtual keys on the edge of the mobile terminal are hidden, and the game is prevented from being influenced by touching the virtual keys.
In the embodiment of the present invention, the target key is a displayed virtual key or an entity key on the mobile terminal. When the target key is a displayed virtual key, some virtual keys cannot be hidden in the running process of the application program. It may be displayed on the left side, right side, above, below, or some other position of the operation interface, etc., and the embodiment of the present invention is not limited thereto. These displayed virtual keys may provide some auxiliary functions for the mobile terminal, such as popping up a barrage, closing the barrage, setting volume or setting brightness, etc.
When the target key is an entity key on the mobile terminal, it may be a volume key, a lock key, a start key including a fingerprint module, or some other entity key. The physical key may be a key that does not trigger any response during the running process of the application program, or a key that can trigger some responses. Preferably, the physical key may be a key that does not trigger any response. The touch operation may be a single click, a double click, or a long press for the virtual key; for the physical key, there may be one press, two consecutive presses, or one long press, etc.
It should be noted that if it is detected that the preset virtual key is displayed, no processing may be performed, or the process may be ended, and fig. 1 in the embodiment of the present invention is exemplified by ending the process.
Step 103, executing a function of a target virtual key corresponding to the target key in the preset virtual keys according to the touch operation.
In the embodiment of the invention, the function of the target virtual key corresponding to the target key in the preset virtual keys is executed according to the touch operation, and the touch operation can be used as a mode for selecting the target virtual key. Therefore, the target virtual key which is not displayed can be operated through other keys, and the function of the target virtual key can still be realized under the condition that the target virtual key is not displayed.
In the embodiment of the present invention, the Mobile terminal may be a Mobile phone, a Tablet personal Computer (Tablet personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
According to the control method provided by the embodiment of the invention, if the running page of the application program is displayed in the display interface of the mobile terminal, whether a preset virtual key is displayed in the display interface is detected; if the preset virtual key is detected not to be displayed, receiving touch operation on a target key, wherein the target key is a displayed virtual key or an entity key on the mobile terminal; and executing the function of a target virtual key corresponding to the target key in the preset virtual keys according to the touch operation. In this way, the function of the target virtual key which is not displayed can be controlled through the target key, so that the target virtual key can be operated without calling out the target virtual key, and the process of operating the target virtual key is simplified.
Referring to fig. 2, fig. 2 is a flowchart of a control method according to an embodiment of the present invention. As shown in fig. 2, the method comprises the following steps:
step 201, if an operation page of an application program is displayed in a full screen mode in a display interface of the mobile terminal, detecting whether a preset virtual key is displayed in the display interface.
In the embodiment of the present invention, the running page of the application program may be referred to as a running page of the application program as long as the display page of the application program is run. The running page may include an initial page displayed by the application program just started, a page displayed during running of the application program, and the like. When the mobile terminal displays the running page of the application program in a full screen mode, some virtual keys are basically hidden so as not to influence the display of the application program. And detecting whether a preset virtual key is displayed in the display interface, and comparing the preset virtual key with the current use scene.
In the embodiment of the invention, because the running page of the application program is displayed in a full screen mode in the display interface of the mobile terminal, the display interface and the running page are actually the same display interface. The application may be a game application, a social application, a video application, or some other application, among others. The preset virtual keys can be some virtual keys carried by the mobile terminal, and the virtual keys can realize the functions of recent tasks, returning to an upper menu or returning to a main menu and the like. Or the virtual keys may be some virtual keys specific to the application program, etc., and different application programs may have some virtual keys themselves, which may implement some auxiliary functions, such as setting of volume or setting of brightness, etc.
Step 202, if it is detected that the preset virtual key is not displayed, receiving a touch operation on a target key, wherein the target key is a displayed virtual key or an entity key on the mobile terminal.
In the embodiment of the invention, in order to not influence the display of some application programs, some preset virtual keys can be hidden in the running interfaces of some application programs. For example, when some game application programs are run, some virtual keys on the edge of the mobile terminal are hidden, and the game is prevented from being influenced by touching the virtual keys.
In the embodiment of the present invention, the target key is a displayed virtual key or an entity key on the mobile terminal. When the target key is a displayed virtual key, some virtual keys cannot be hidden in the running process of the application program. It may be displayed on the left side, right side, above, below, or some other position of the operation interface, etc., and the embodiment of the present invention is not limited thereto. These displayed virtual keys may provide some auxiliary functions for the mobile terminal, such as popping up a barrage, closing the barrage, setting volume or setting brightness, etc.
When the target key is an entity key on the mobile terminal, it may be a volume key, a lock key, a start key including a fingerprint module, or some other entity key. The physical key may be a key that does not trigger any response during the running process of the application program, or a key that can trigger some responses. Preferably, the physical key may be a key that does not trigger any response. The touch operation may be a single click, a double click, or a long press for the virtual key; for the physical key, there may be one press, two consecutive presses, or one long press, etc.
It should be noted that if it is detected that the preset virtual key is displayed, no processing may be performed, or the process may be ended, and fig. 2 in the embodiment of the present invention is exemplified by ending the process.
Step 203, executing a function of a target virtual key corresponding to the target key in the preset virtual keys according to the touch operation.
In the embodiment of the invention, the function of the target virtual key corresponding to the target key in the preset virtual keys is executed according to the touch operation, and the touch operation can be used as a mode for selecting the target virtual key. Therefore, the target virtual key which is not displayed can be operated through other keys, and the function of the target virtual key can still be realized under the condition that the target virtual key is not displayed.
Optionally, after the step of detecting that the preset virtual key is not displayed, and before the step of receiving the touch operation on the target key, the method further includes:
acquiring an idle key;
binding the idle key with the preset virtual key;
the receiving of the touch operation on the target key includes:
and receiving touch operation on a target idle key in the idle keys.
In this embodiment, the idle key may be a key that does not respond to an operation input by a user when an operation page of an application is displayed on a display interface of the mobile terminal. The space keys can be fully utilized by binding the idle keys with the preset virtual keys, so that the idle keys can be used for operating the preset virtual keys which are not displayed, and the functions of the preset virtual keys can be realized by a user under the condition that the preset virtual keys are not called out.
In this embodiment, the idle key and the preset virtual key are bound, and the idle key and the preset virtual key may be bound in a one-to-one manner, or may be bound in a one-to-many manner, and the like. When the idle key is bound with the preset virtual key in a one-to-many manner, different operations can be set to control different preset virtual keys. For example, the first idle key may be bound to the first preset virtual key and the second preset virtual key, and when the first idle key is pressed for a single time, only the function of the first preset virtual key is executed; and when the first idle key is pressed twice continuously, only executing the function of the second preset virtual key.
In the embodiment, the preset virtual keys are controlled by the idle keys, so that the use efficiency of the idle keys of the mobile terminal is firstly improved, and other keys on the mobile terminal cannot be influenced, and the keys can realize the functions of the keys.
Optionally, after the step of receiving the touch operation on the target key, the method further includes:
judging whether the touch operation is matched with a preset operation associated with the target key, wherein the preset operation is used for triggering the function of the target virtual key associated with the target key;
the step of executing a function of a target virtual key corresponding to the target key in the preset virtual keys according to the touch operation includes:
and if the touch operation is matched with the preset operation, executing the function of a target virtual key corresponding to the target key in the preset virtual key according to the touch operation.
In this embodiment, the target key may be some idle keys or may also be some non-idle keys. When the target key is a non-idle key, the target key itself also has some function, such as a volume key. In the running process of the application program, the volume of the mobile terminal can be adjusted by operating the volume key. The preset operation may be set by the user on some other display interfaces, or some preset operations may be set by default by the mobile terminal, and when the user is not satisfied, the preset operations may be changed by the user.
Thus, by judging whether the touch operation is matched with the preset operation associated with the target key, the function of the target virtual key is executed after the touch operation is matched, when the target key is a non-idle key, the existing function of the target key can be reserved, and other functions can be realized through the preset operation. Taking the volume key as an example, when the volume key is clicked, the volume can be adjusted, but when the volume key is double clicked or the volume key is long-pressed, the function of the target virtual key corresponding to the volume key can be realized, and the preset virtual keys are non-displayed virtual keys. Different functions can be realized by operating the same key in different modes, the original functions of the keys are guaranteed, other functions can be realized through the keys, the use process of a user is more convenient, and the intelligent degree of the mobile terminal is improved.
Optionally, the step of binding the idle key and the preset virtual key includes:
displaying the idle key and the preset virtual key in a preset interface;
and receiving a setting operation of a user, wherein the setting operation is used for indicating the binding relationship between the idle key and the preset virtual key.
In this embodiment, the preset interface may be understood as a display interface for setting the idle key and the preset virtual key. The receiving of the setting operation of the user, where the setting operation is used to indicate that the binding relationship between the idle key and the preset virtual key may have multiple implementation manners. For example: after clicking the first idle key, the user clicks the first preset virtual key, and then the first idle key and the first preset virtual key are bound; or the user may perform a sliding operation on the preset interface, where a starting point of the sliding operation is the first idle key, and an end point of the sliding operation is the first preset virtual key, and then the first idle key and the first preset virtual key are bound, and so on.
Of course, there may be more arrangements other than this, and this embodiment is not limited to this. In the embodiment, the user can bind the idle key and the preset virtual key according to the personalized requirements, so that the habit of the user is better met, and the mobile terminal is more intelligent.
According to the control method provided by the embodiment of the invention, if the running page of the application program is displayed in a full screen mode in the display interface of the mobile terminal, whether a preset virtual key is displayed in the display interface is detected; if the preset virtual key is detected not to be displayed, receiving touch operation on a target key, wherein the target key is a displayed virtual key or an entity key on the mobile terminal; and executing the function of a target virtual key corresponding to the target key in the preset virtual keys according to the touch operation. Therefore, whether the preset virtual keys are displayed or not is detected when the running page of the application program is displayed in a full screen mode, the detection time is more accurate, and meanwhile functions of target virtual keys which are not displayed can be controlled through the target keys, so that the target virtual keys can be operated without being called out, and the process of operating the target virtual keys is simplified.
Referring to fig. 3, fig. 3 is a structural diagram of a mobile terminal according to an embodiment of the present invention, which can implement details of a control method in the foregoing embodiment and achieve the same effects. As shown in fig. 3, the mobile terminal 300 includes a detecting module 301, a receiving module 302 and an executing module 303, the detecting module 301 is connected to the receiving module 302, and the receiving module 302 is connected to the executing module 303, wherein:
the detection module 301 is configured to detect whether a preset virtual key is displayed in a display interface of the mobile terminal if an operation page of an application program is displayed in the display interface;
a receiving module 302, configured to receive a touch operation on a target key if the detecting module 301 detects that the preset virtual key is not displayed, where the target key is a displayed virtual key or an entity key on the mobile terminal;
the executing module 303 is configured to execute a function of a target virtual key corresponding to the target key in the preset virtual key according to the touch operation.
Optionally, as shown in fig. 4, the receiving module 302 includes:
an obtaining submodule 3021 configured to obtain an idle key;
a binding submodule 3022, configured to bind the idle key with the preset virtual key;
the receiving module 302 is specifically configured to: and receiving touch operation on a target idle key in the idle keys.
Optionally, as shown in fig. 5, the mobile terminal 300 further includes:
a determining module 304, configured to determine whether the touch operation matches a preset operation associated with the target key, where the preset operation is used to trigger a function of a target virtual key associated with the target key;
the executing module 303 is specifically configured to: if the determining module 304 determines that the touch operation matches the preset operation, the function of a target virtual key corresponding to the target key in the preset virtual keys is executed according to the touch operation.
Optionally, as shown in fig. 6, the binding submodule 3022 includes:
a display unit 30221, configured to display the idle key and the preset virtual key in a preset interface;
a receiving unit 30222, configured to receive a setting operation of a user, where the setting operation is used to indicate a binding relationship between the idle key and the preset virtual key.
Optionally, the detection module 301 is specifically configured to: and if the running page of the application program is displayed in a full screen mode in the display interface of the mobile terminal, detecting whether a preset virtual key is displayed in the display interface.
The mobile terminal 300 can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 2, and is not described herein again to avoid repetition.
In the mobile terminal 300 according to the embodiment of the present invention, if an operation page of an application program is displayed in a display interface of the mobile terminal, whether a preset virtual key is displayed in the display interface is detected; if the preset virtual key is detected not to be displayed, receiving touch operation on a target key, wherein the target key is a displayed virtual key or an entity key on the mobile terminal; and executing the function of a target virtual key corresponding to the target key in the preset virtual keys according to the touch operation. In this way, the function of the target virtual key which is not displayed can be controlled through the target key, so that the target virtual key can be operated without calling out the target virtual key, and the process of operating the target virtual key is simplified.
Referring to fig. 7, fig. 7 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the mobile terminal 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, a power supply 711, and the like. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 7 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 710 is configured to detect whether a preset virtual key is displayed in a display interface of the mobile terminal if an operation page of an application program is displayed in the display interface; if the preset virtual key is detected not to be displayed, receiving touch operation on a target key, wherein the target key is a displayed virtual key or an entity key on the mobile terminal; and executing the function of a target virtual key corresponding to the target key in the preset virtual keys according to the touch operation.
In this way, the function of the target virtual key which is not displayed can be controlled through the target key, so that the target virtual key can be operated without calling out the target virtual key, and the process of operating the target virtual key is simplified.
Optionally, the processor 710 is further configured to obtain an idle key; binding the idle key with the preset virtual key; and receiving touch operation on a target idle key in the idle keys.
Optionally, the processor 710 is further configured to determine whether the touch operation matches a preset operation associated with the target key, where the preset operation is used to trigger a function of a target virtual key associated with the target key; and if the touch operation is matched with the preset operation, executing the function of a target virtual key corresponding to the target key in the preset virtual key according to the touch operation.
Optionally, the processor 710 is further configured to display the idle key and the preset virtual key in a preset interface; and receiving a setting operation of a user, wherein the setting operation is used for indicating the binding relationship between the idle key and the preset virtual key.
Optionally, the processor 710 is further configured to detect whether a preset virtual key is displayed in a display interface of the mobile terminal if the running page of the application program is displayed in a full screen mode in the display interface.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 710; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 701 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 701 may also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access via the network module 702, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as sound. Also, the audio output unit 703 may also provide audio output related to a specific function performed by the mobile terminal 700 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
The input unit 704 is used to receive audio or video signals. The input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics processor 7041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 706. The image frames processed by the graphic processor 7041 may be stored in the memory 709 (or other storage medium) or transmitted via the radio unit 701 or the network module 702. The microphone 7042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 701 in case of a phone call mode.
The mobile terminal 700 also includes at least one sensor 705, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 7061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 7061 and/or a backlight when the mobile terminal 700 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 705 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 706 is used to display information input by the user or information provided to the user. The Display unit 706 may include a Display panel 7061, and the Display panel 7061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 707 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 7071 (e.g., operations by a user on or near the touch panel 7071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 7071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 710, receives a command from the processor 710, and executes the command. In addition, the touch panel 7071 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 707 may include other input devices 7072 in addition to the touch panel 7071. In particular, the other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 7071 may be overlaid on the display panel 7061, and when the touch panel 7071 detects a touch operation on or near the touch panel 7071, the touch operation is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 provides a corresponding visual output on the display panel 7061 according to the type of the touch event. Although the touch panel 7071 and the display panel 7061 are shown in fig. 7 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 7071 and the display panel 7061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 708 is an interface through which an external device is connected to the mobile terminal 700. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 708 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 700 or may be used to transmit data between the mobile terminal 700 and external devices.
The memory 709 may be used to store software programs as well as various data. The memory 709 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 709 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 710 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 709 and calling data stored in the memory 709, thereby integrally monitoring the mobile terminal. Processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The mobile terminal 700 may also include a power supply 711 (e.g., a battery) for powering the various components, and the power supply 711 may be logically coupled to the processor 710 via a power management system that may enable managing charging, discharging, and power consumption by the power management system.
In addition, the mobile terminal 700 includes some functional modules that are not shown, and thus will not be described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, including a processor 710, a memory 709, and a computer program stored in the memory 709 and capable of running on the processor 710, where the computer program is executed by the processor 710 to implement each process of the above control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. A control method is applied to a mobile terminal, and is characterized by comprising the following steps:
if an operation page of an application program is displayed in a display interface of the mobile terminal, detecting whether a preset virtual key is displayed in the display interface; the virtual key comprises a virtual key carried by the application program;
if the preset virtual key is detected not to be displayed, receiving touch operation on a target key, wherein the target key is a displayed virtual key or an entity key on the mobile terminal;
executing a function of a target virtual key corresponding to the target key in the preset virtual keys according to the touch operation;
if the running page of the application program is displayed in the display interface of the mobile terminal, detecting whether a preset virtual key is displayed in the display interface, wherein the step comprises the following steps:
and if the running page of the application program is displayed in a full screen mode in the display interface of the mobile terminal, detecting whether a preset virtual key is displayed in the display interface.
2. The method of claim 1, wherein after the step of detecting that the preset virtual key is not displayed and before the step of receiving the touch operation on the target key, the method further comprises:
acquiring an idle key;
binding the idle key with the preset virtual key;
the receiving of the touch operation on the target key includes:
and receiving touch operation on a target idle key in the idle keys.
3. The method according to claim 1, wherein after the step of receiving the touch operation on the target key, the method further comprises:
judging whether the touch operation is matched with a preset operation associated with the target key, wherein the preset operation is used for triggering the function of the target virtual key associated with the target key;
the step of executing a function of a target virtual key corresponding to the target key in the preset virtual keys according to the touch operation includes:
and if the touch operation is matched with the preset operation, executing the function of a target virtual key corresponding to the target key in the preset virtual key according to the touch operation.
4. The method of claim 2, wherein the step of binding the idle key with the preset virtual key comprises:
displaying the idle key and the preset virtual key in a preset interface;
and receiving a setting operation of a user, wherein the setting operation is used for indicating the binding relationship between the idle key and the preset virtual key.
5. A mobile terminal, comprising:
the mobile terminal comprises a detection module, a display module and a display module, wherein the detection module is used for detecting whether a preset virtual key is displayed in a display interface of the mobile terminal if an operation page of an application program is displayed in the display interface; the virtual key comprises a virtual key carried by the application program;
the receiving module is used for receiving touch operation on a target key if the detecting module detects that the preset virtual key is not displayed, wherein the target key is a displayed virtual key or an entity key on the mobile terminal;
the execution module is used for executing the function of a target virtual key corresponding to the target key in the preset virtual keys according to the touch operation;
the detection module is specifically configured to: and if the running page of the application program is displayed in a full screen mode in the display interface of the mobile terminal, detecting whether a preset virtual key is displayed in the display interface.
6. The mobile terminal of claim 5, wherein the receiving module comprises:
the acquisition submodule is used for acquiring an idle key;
the binding submodule is used for binding the idle key and the preset virtual key;
the receiving module is specifically configured to: and receiving touch operation on a target idle key in the idle keys.
7. The mobile terminal of claim 5, wherein the mobile terminal further comprises:
the judging module is used for judging whether the touch operation is matched with a preset operation associated with the target key, wherein the preset operation is used for triggering the function of a target virtual key associated with the target key;
the execution module is specifically configured to: and if the judging module judges that the touch operation is matched with the preset operation, executing the function of a target virtual key corresponding to the target key in the preset virtual key according to the touch operation.
8. The mobile terminal of claim 6, wherein the binding submodule comprises:
the display unit is used for displaying the idle key and the preset virtual key in a preset interface;
and the receiving unit is used for receiving a setting operation of a user, wherein the setting operation is used for indicating the binding relationship between the idle key and the preset virtual key.
9. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the control method according to any one of claims 1 to 4.
CN201711225160.6A 2017-11-29 2017-11-29 Control method and mobile terminal Active CN108021315B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711225160.6A CN108021315B (en) 2017-11-29 2017-11-29 Control method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711225160.6A CN108021315B (en) 2017-11-29 2017-11-29 Control method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108021315A CN108021315A (en) 2018-05-11
CN108021315B true CN108021315B (en) 2020-04-21

Family

ID=62077424

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711225160.6A Active CN108021315B (en) 2017-11-29 2017-11-29 Control method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108021315B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109254719A (en) * 2018-08-24 2019-01-22 维沃移动通信有限公司 A kind of processing method and mobile terminal of display interface
CN110376917B (en) * 2019-08-20 2022-05-31 吉林大学 Intelligent home control system and method based on virtual panel
CN114217732A (en) * 2021-12-13 2022-03-22 深圳Tcl新技术有限公司 Display page switching method and device, storage medium and display equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102436308A (en) * 2011-11-11 2012-05-02 陈文博 Materialized mapping method of touch screen virtual key and touch screen game mobile phone using same
CN103970447A (en) * 2014-05-30 2014-08-06 深圳市中兴移动通信有限公司 Omni-directional mobile terminal and key setting method thereof
CN107037974A (en) * 2017-04-24 2017-08-11 宇龙计算机通信科技(深圳)有限公司 A kind of display control method of terminal device, device and terminal device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8527894B2 (en) * 2008-12-29 2013-09-03 International Business Machines Corporation Keyboard based graphical user interface navigation
CN101834925B (en) * 2010-04-23 2014-03-12 中兴通讯股份有限公司 Method and system for configuring key function of terminal
CN102750099B (en) * 2012-06-20 2016-01-13 宇龙计算机通信科技(深圳)有限公司 Terminal and terminal control method
CN105279200A (en) * 2014-07-24 2016-01-27 中兴通讯股份有限公司 Method and device for enabling adjustment key of electronic device to be multipurpose
CN105472111A (en) * 2014-09-03 2016-04-06 中兴通讯股份有限公司 Touch screen terminal key function switching method and apparatus
CN104238759B (en) * 2014-09-04 2017-11-10 广东欧珀移动通信有限公司 Physical button controls the method and device of terminal
CN105094609A (en) * 2015-07-20 2015-11-25 小米科技有限责任公司 Method and device for achieving key operation in single-handed mode
CN105786379A (en) * 2016-02-19 2016-07-20 广东欧珀移动通信有限公司 Virtual key processing method and device
CN105786347A (en) * 2016-02-25 2016-07-20 珠海格力电器股份有限公司 Mobile terminal control method and device and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102436308A (en) * 2011-11-11 2012-05-02 陈文博 Materialized mapping method of touch screen virtual key and touch screen game mobile phone using same
CN103970447A (en) * 2014-05-30 2014-08-06 深圳市中兴移动通信有限公司 Omni-directional mobile terminal and key setting method thereof
CN107037974A (en) * 2017-04-24 2017-08-11 宇龙计算机通信科技(深圳)有限公司 A kind of display control method of terminal device, device and terminal device

Also Published As

Publication number Publication date
CN108021315A (en) 2018-05-11

Similar Documents

Publication Publication Date Title
CN108762954B (en) Object sharing method and mobile terminal
CN108255378B (en) Display control method and mobile terminal
CN109407921B (en) Application processing method and terminal device
CN108279948B (en) Application program starting method and mobile terminal
CN108897473B (en) Interface display method and terminal
CN108446058B (en) Mobile terminal operation method and mobile terminal
CN110837327B (en) Message viewing method and terminal
CN110007835B (en) Object management method and mobile terminal
CN108334272B (en) Control method and mobile terminal
CN110109604B (en) Application interface display method and mobile terminal
CN109710349B (en) Screen capturing method and mobile terminal
CN108415642B (en) Display method and mobile terminal
CN111026484A (en) Application sharing method, first electronic device and computer-readable storage medium
CN108984066B (en) Application icon display method and mobile terminal
CN109508136B (en) Display method of application program and mobile terminal
CN109407949B (en) Display control method and terminal
CN107728923B (en) Operation processing method and mobile terminal
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN108958593B (en) Method for determining communication object and mobile terminal
CN108196753B (en) Interface switching method and mobile terminal
CN109710130B (en) Display method and terminal
CN111124223A (en) Application interface switching method and electronic equipment
CN110795189A (en) Application starting method and electronic equipment
CN110752981A (en) Information control method and electronic equipment
CN111610903A (en) Information display method and electronic equipment

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
GR01 Patent grant
GR01 Patent grant