CN107463328B - Terminal device, virtual key control method and device and storage medium - Google Patents

Terminal device, virtual key control method and device and storage medium Download PDF

Info

Publication number
CN107463328B
CN107463328B CN201710610374.9A CN201710610374A CN107463328B CN 107463328 B CN107463328 B CN 107463328B CN 201710610374 A CN201710610374 A CN 201710610374A CN 107463328 B CN107463328 B CN 107463328B
Authority
CN
China
Prior art keywords
display
display area
touch
virtual key
display screen
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
CN201710610374.9A
Other languages
Chinese (zh)
Other versions
CN107463328A (en
Inventor
张伟超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710610374.9A priority Critical patent/CN107463328B/en
Publication of CN107463328A publication Critical patent/CN107463328A/en
Application granted granted Critical
Publication of CN107463328B publication Critical patent/CN107463328B/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

Landscapes

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

Abstract

The application provides a terminal device, a virtual key control method, a virtual key control device and a storage medium, wherein the virtual key control method comprises the following steps: setting a first delay time period; displaying a virtual key in a touch display screen of the terminal equipment and starting timing; detecting whether a touch action exists on the touch display screen in a first delay time period; if no touch action exists on the touch display screen within the first delay time period, the virtual key is hidden when the timing reaches the first delay time period, so that the position of the corresponding virtual key on the touch display screen can be used for displaying other application program contents. According to the virtual key control method with the touch display screen terminal device, when the preset conditions are met, the virtual key can be controlled to be hidden, the display content can occupy the whole display screen (including the area originally used for displaying the virtual key), so that the display screen can display more contents, and real comprehensive screen display is realized.

Description

Terminal device, virtual key control method and device and storage medium
Technical Field
The invention relates to the technical field of interface display control of terminal equipment, in particular to terminal equipment, a virtual key control method, a virtual key control device and a storage medium.
Background
The intelligent mobile terminal is more and more popularized in the middle of people, the work life and the study of people are greatly facilitated, the terminal screen is larger and larger, and along with the appearance of a full screen, the original entity navigation key is replaced by the virtual key, so that the future trend can be realized.
However, in the current interface display, the virtual keys generally need to occupy the screen space, and only the virtual keys are simply changed from physical navigation, and in essence, the available space of the screen (which means the screen can be used for displaying the space except the virtual keys) is still unchanged.
Disclosure of Invention
An aspect of the present application provides a method for controlling a virtual key of a terminal device having a touch display screen, where the method includes:
setting a first delay time period;
displaying a virtual key in a touch display screen of the terminal equipment and starting timing;
detecting whether a touch action exists on the touch display screen within the first delay time period;
if no touch action exists on the touch display screen within the first delay time period, hiding the virtual key when the first delay time period is reached in a timing mode, so that the position, corresponding to the virtual key, on the touch display screen can be used for displaying other application program contents.
Another aspect of the embodiments of the present application further provides a device for controlling a virtual key, where the device includes:
the delay setting module is used for setting a first delay time interval;
the display module is used for displaying virtual keys in a touch display screen of the terminal equipment;
the timing module is used for recording the time when the virtual key is in the display state;
the judging module is used for judging whether touch actions exist on the touch display screen in the first delay time period;
and the execution module is used for hiding the virtual key when the timing reaches the first delay time period if no touch action exists on the touch display screen in the first delay time period, so that the position corresponding to the virtual key on the touch display screen can be used for displaying other application program contents.
Further, an embodiment of the present application also provides a terminal device, where the terminal device includes a processor and a memory, where the processor is coupled to the memory, and when in operation, the processor executes instructions to implement the method according to any one of the foregoing embodiments.
In addition, the embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the method described in any one of the above embodiments.
According to the virtual key control method with the touch display screen terminal device, when the preset conditions are met, the virtual key can be controlled to be hidden, the display content can occupy the whole display screen (including the area originally used for displaying the virtual key), so that the display screen can display more contents, and real comprehensive screen display is realized.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments 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 to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart illustrating an embodiment of a method for controlling virtual keys of a terminal device with a touch display screen according to the present application;
FIG. 2 is a schematic view of a display interface of a display screen of a terminal device according to the present application;
FIG. 3 is a schematic view of a display interface of the touch display screen in a virtual key display state;
FIG. 4 is a schematic view of a display interface of the touch display screen in a hidden state of the virtual key;
fig. 5 is a schematic flowchart illustrating a virtual key control method of a terminal device with a touch display screen according to another embodiment of the present disclosure;
FIG. 6 is a schematic view of another display interface of the display screen of the terminal device in the present application;
fig. 7 is a schematic flowchart illustrating a virtual key control method for a terminal device with a touch display screen according to another embodiment of the present application;
FIG. 8 is a schematic view of another display interface of the display screen of the terminal device in the present application;
FIG. 9 is a schematic view of yet another display interface of a display screen of a terminal device according to the present application;
FIG. 10 is a schematic diagram of a display interface for the process of calling out virtual keys;
fig. 11 is a schematic flowchart illustrating a virtual key control method for a terminal device with a touch display screen according to still another embodiment of the present disclosure;
FIG. 12 is a diagram illustrating a state where virtual keys are displayed in superimposition with display contents;
fig. 13 is a schematic structural component diagram of an embodiment of a terminal device according to the present application;
FIG. 14 is a block diagram illustrating the structure of an embodiment of a control device for virtual keys according to the present application;
fig. 15 is a schematic structural component diagram of another embodiment of the terminal device of the present application;
FIG. 16 is a schematic structural diagram of an embodiment of a storage medium according to the present application.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. In particular to
The following examples are merely illustrative of the present invention, and do not limit the scope of the present invention. Likewise, the following examples are only some but not all examples of the present invention, and all other examples obtained by those skilled in the art without any inventive step are within the scope of the present invention.
The terms "first", "second" and "third" in the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first," "second," or "third" may explicitly or implicitly include at least one of the feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise. All directional indicators (such as up, down, left, right, front, and rear … …) in the embodiments of the present invention are only used to explain the relative positional relationship between the components, the movement, and the like in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indicator is changed accordingly. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Example 1
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a virtual key control method for a terminal device with a touch display screen according to an embodiment of the present application, where it should be noted that the terminal device in the present application may include a mobile phone, a tablet computer, a notebook computer, a wearable device, and the like with a touch display screen. The method includes, but is not limited to, the following steps.
Step S100, a first delay period is set.
The length of the first delay time period may be specifically set according to the operation habit of the user, for example, the length may be set to 5 seconds, 10 seconds, 30 seconds, and the like, and the duration of the specific delay time period is not limited herein.
Step S110, displaying a virtual key in a touch display screen of the terminal device and starting timing.
Specifically referring to fig. 2, fig. 2 is a schematic view of a display interface of a display screen of a terminal device in the present application, in this embodiment, a virtual key 201 is displayed at a bottom position of a touch display screen 210 of the terminal device, and certainly, in other embodiments, the virtual key may also be displayed at a position near a side edge or a top portion of the touch display screen of the terminal device.
And starting timing when the virtual key is started to be displayed in the touch display screen of the terminal equipment so as to record the time length of the virtual key in the display state. The specific implementation unit of the timing function may be a timer or other modules with timing function in the terminal device, and is not listed here within the understanding scope of those skilled in the art.
Step S120, detecting whether a touch action exists on the touch display screen within a first delay time period.
And continuously detecting whether touch actions exist on the touch display screen within a time length range from the beginning of timing to the end of the first delay time period, wherein the touch actions comprise touch operations such as clicking, long pressing, sliding and the like on the touch display screen.
In step S130, if there is no touch action on the touch display screen within the first delay time period, the virtual key is hidden when the timing reaches the first delay time period. So that the position of the corresponding virtual key on the touch display screen can be used for displaying other application program contents.
In this step, if there is no touch action on the touch display screen 210 within the first delay time period, the virtual key is hidden at the time when the first delay time period is reached. So that the position of the corresponding virtual key on the touch display screen can be used for displaying other application program contents. Specifically, referring to fig. 3 and 4, fig. 3 is a schematic view of a display interface of the touch display screen in a virtual key display state, and fig. 4 is a schematic view of a display interface of the touch display screen in a virtual key hiding state.
In the figure, reference numeral 210 is a touch display screen, reference numeral 201 is a virtual key, and reference numeral 888 is display content of the touch display screen, as is apparent from a comparison between fig. 3 and fig. 4, a display area of the display content 888 is enlarged, and a position originally used for displaying the virtual key in fig. 4 is also used for displaying other application content.
It should be noted that, in this embodiment, when the virtual key is in the hidden state, the virtual key may be invoked by identifying an operation action sliding from the bottom edge of the display interface of the touch display screen into the touch display screen.
According to the virtual key control method for the terminal device with the touch display screen, when a preset condition is met (no touch action exists on the touch display screen within a first delay time period), the virtual key can be controlled to be hidden, and the display content can occupy the whole display screen (including an area originally used for displaying the virtual key), so that the display screen can display more content, and real full-screen display is realized.
Example 2
Referring to fig. 5, fig. 5 is a schematic flowchart illustrating a virtual key control method for a terminal device with a touch display screen according to another embodiment of the present application, where the method in the embodiment includes, but is not limited to, the following steps.
Step S500, a first delay period is set.
Also, the length of the first delay time period may be specifically set according to the operation habit of the user, and may be set to 5 seconds, 10 seconds, 30 seconds, and the like, for example.
Step S510, displaying a virtual key in a touch display screen of the terminal device.
Referring to fig. 6, fig. 6 is a schematic view of another display interface of a display screen of a terminal device in the present application, in the present embodiment, a touch display screen 210 includes a first display area 211 and a second display area 212, and a virtual key 201 is displayed in the second display area 212 in a non-hidden state. The two display areas (211, 212) of the touch display screen 210 are separated by a dashed line, and in an actual display, the dashed line does not exist, and the dashed line frame is used only to explain and illustrate the embodiment. Fig. 6 shows a display state of the virtual key 201. The second display area 212 in this embodiment is located at the bottom of the display interface of the touch display screen 210. In addition, in other embodiments, the second display area 212 may be displayed near the side or the top of the touch display screen of the terminal device, and detailed descriptions of the display area are not repeated here.
In step S520, time counting is started.
And starting timing when the virtual key is started to be displayed in the touch display screen of the terminal equipment so as to record the time length of the virtual key in the display state. The specific implementation unit of the timing function may be a timer in the terminal device or other modules with the timing function.
Step S530, detecting whether a touch action exists in a second display area on the touch display screen within a first delay time period.
And continuously detecting whether a touch action exists in the second display area 212 of the touch display screen within a time length range from the beginning of timing to the end of the first delay time period, wherein the touch action comprises touch operations such as clicking, long-pressing and sliding on the second display area 212 of the touch display screen.
In this step, if no touch action exists in the second display area 212 on the touch display screen within the first delay time period, or no touch action is detected in the second display area 212 on the touch display screen within the first delay time period, step S540 is performed, and the virtual key is hidden when the timing reaches the first delay time period; it should be noted that, in this embodiment, when the virtual key is in the hidden state, the virtual key can be invoked by recognizing an operation action sliding from the bottom edge of the display interface of the touch display screen into the second display area 212. If there is a touch action in the second display area 212 on the touch display screen within the first delay time period, the next step is performed.
In step S550, an operation instruction of the virtual key corresponding to the touch action is responded.
In this embodiment, the virtual key 201 is displayed in the second display area 212, and since the touch action acts in the second display area 212, the step should further include determining the validity of the touch action, and when the touch action is determined as the valid touch action, responding to the operation instruction corresponding to the touch action. In this embodiment, the operation instruction corresponding to the touch action may be an operation of clicking a virtual key, so that the operation instruction corresponding to the response touch action may be an operation instruction of responding to a virtual key corresponding to the touch action, and the operation instruction of the virtual key may include returning to a previous stage, popping up a program frame, returning to a desktop, and the like. In other embodiments, the operation in the second display area 212 may not be limited to the operation of the virtual key.
In step S560, the timing of the first delay period is restarted.
Or returns to step S520.
And step S570, ending.
According to the virtual key control method for the terminal device with the touch display screen, when a preset condition is met (no touch action exists in the second display area on the touch display screen within the first delay time period), the virtual key can be controlled to be hidden, and the display content can occupy the whole display screen (including the area originally used for displaying the virtual key), so that the display screen can display more content, and real full-screen display is realized.
Example 3
Referring to fig. 7, fig. 7 is a schematic flowchart illustrating a virtual key control method of a terminal device with a touch display screen according to another embodiment of the present application, where the method in the embodiment includes, but is not limited to, the following steps.
In step S700, a first delay period is set.
Also, the length of the first delay time period may be specifically set according to the operation habit of the user, and may be set to 5 seconds, 10 seconds, 30 seconds, and the like, for example.
Step S701, displaying a virtual key in a touch display screen of the terminal device.
Similarly, referring to fig. 6, in the present embodiment, the touch display screen 210 includes a first display area 211 and a second display area 212, and the virtual key 201 is displayed in the second display area 212 in the non-hidden state. Fig. 6 shows a display state of the virtual key 201. The second display area 212 in this embodiment is located at the bottom of the display interface of the touch display screen 210.
In step S702, a timer is started.
And starting timing when the virtual key is started to be displayed in the touch display screen of the terminal equipment so as to record the time length of the virtual key in the display state. The specific implementation unit of the timing function may be a timer in the terminal device or other modules with the timing function.
Step S703 is to detect whether a touch action exists on the touch display screen within a first delay time period.
In the step of detecting whether there is a touch action on the touch display screen within the first delay time period, the detection range includes the first display area 211 and the second display area 212. And continuously detecting whether touch actions exist on the touch display screen within a time length range from the beginning of timing to the end of the first delay time period, wherein the touch actions comprise touch operations such as clicking, long pressing, sliding and the like on the touch display screen.
In this step, if no touch action exists on the touch display screen within the first delay time period, or no touch action is detected on the touch display screen within the first delay time period, the step S704 is performed, and the virtual key is hidden when the timing reaches the first delay time period; and if the touch control action exists on the touch control display screen in the first delay time period, entering the next step.
Step S705, determining the position of the touch action.
In this step, if the touch action is in the first display area, go to step S706; if the touch operation is in the second display area, the process proceeds to step S708.
Step S706, determining whether there is a sliding of the display content of the first display area into the second display area.
Referring to fig. 8, fig. 8 is a schematic view of another display interface of the terminal device display screen in the present application, where a label 888 is a display content, a label 777 may be an operating touch point, specifically, a contact point (surface) between an operator's finger and the touch display screen 210, when it is detected that a touch action exists in the first display area, it is determined whether the display content 888 in the first display area 211 is slid into the second display area 212, and generally, when it is detected that the touch point 777 is slid downward, whether the display content 888 enters the second display area 212 from a bottom position of the first display area 211 is determined.
In the step, if the display content of the first display area is judged to slide into the second display area, the next step is carried out; otherwise, step S704 is entered, and the virtual key is hidden when the first delay time period is reached.
In step S707, the virtual key is hidden, so that the second display area displays the display content slid in from the first display area.
Specifically, referring to fig. 9, fig. 9 is a schematic view of another display interface of the display screen of the terminal device in the present application, and in fig. 9, the display content 8881 entering by sliding is displayed in the second display area 212. It should be noted that, in this embodiment, when the virtual key is in the hidden state, the virtual key can be invoked by recognizing an operation action sliding from the bottom edge of the display interface of the touch display screen into the second display area 212. Referring to fig. 10, fig. 10 is a schematic view of a display interface during a process of calling out a virtual key, where a reference numeral 777 may be an operating touch point, and the virtual key is called out when an operation action that the touch point 777 slides into the second display area 212 from a bottom edge of the display interface of the touch display screen is detected, where the upward sliding is not limited to a case of vertical sliding to the bottom edge of the display interface of the touch display screen in the figure, and may be a case of sliding obliquely upward or sliding from the bottom edge into the second display area 212.
In step S708, an operation instruction of the virtual key corresponding to the touch action is responded.
Similarly, in the embodiment, the virtual key 201 is displayed in the second display area 212, and since the touch action acts in the second display area 212, the step should also include determining the validity of the touch action, and when the touch action is determined as the valid touch action, responding to the operation instruction corresponding to the touch action. In this embodiment, the operation instruction corresponding to the touch action may be an operation of clicking a virtual key, so that the operation instruction corresponding to the response touch action may be an operation instruction of responding to a virtual key corresponding to the touch action, and the operation instruction of the virtual key may include returning to a previous stage, popping up a program frame, returning to a desktop, and the like. In other embodiments, the operation in the second display area 212 may not be limited to the operation of the virtual key.
In step S709, the timing of the first delay period is restarted.
Or returns to step S702.
And step S710, ending.
The virtual key control method with the touch display screen terminal device provided by the embodiment can perform corresponding control adjustment on the virtual key according to different judgment conditions, and can enable the display content to occupy the whole display screen under the condition of not influencing the operation of the virtual key, namely, the display screen can display more contents, so that full-screen display is realized.
Example 4
Referring to fig. 11, fig. 11 is a schematic flowchart illustrating a virtual key control method of a terminal device with a touch display screen according to another embodiment of the present application, where the method in the embodiment may include the following steps.
In step S1100, a first delay period is set.
Also, the length of the first delay time period may be specifically set according to the operation habit of the user, and may be set to 5 seconds, 10 seconds, 30 seconds, and the like, for example.
Step S1101, displaying a virtual key in a touch display screen of the terminal device.
Similarly, referring to fig. 6, in the present embodiment, the touch display screen 210 includes a first display area 211 and a second display area 212, and the virtual key 201 is displayed in the second display area 212 in the non-hidden state. Fig. 6 shows a display state of the virtual key 201. The second display area 212 in this embodiment is located at the bottom of the display interface of the touch display screen 210.
In step S1102, a timer is started.
And starting timing when the virtual key is started to be displayed in the touch display screen of the terminal equipment so as to record the time length of the virtual key in the display state. The specific implementation unit of the timing function may be a timer in the terminal device or other modules with the timing function.
Step S1103, detecting whether a touch action exists on the touch display screen within the first delay time period.
In the step of detecting whether there is a touch action on the touch display screen within the first delay time period, the detection range also includes the first display area 211 and the second display area 212. And continuously detecting whether touch actions exist on the touch display screen within a time length range from the beginning of timing to the end of the first delay time period, wherein the touch actions comprise touch operations such as clicking, long pressing, sliding and the like on the touch display screen.
In this step, if no touch action exists on the touch display screen within the first delay time period, or no touch action is detected on the touch display screen within the first delay time period, the process goes to step S1104, and the virtual key is hidden when the timing reaches the first delay time period; and if the touch control action exists on the touch control display screen in the first delay time period, entering the next step.
In step S1105, the position of the touch action is determined.
In this step, if the touch action is in the first display area, go to step S1106; if the touch operation is in the second display area, the process proceeds to step S1114.
In step S1106, it is determined whether there is a sliding of the display content of the first display area into the second display area.
Please refer to fig. 8, fig. 8 is a schematic diagram of another display interface of the terminal device display screen in the present application, in which the label 888 is display content, the label 777 may be an operating touch point, specifically, a contact point (surface) between an operator's finger and the touch display screen 210, when it is detected that a touch action exists in the first display area, it is determined whether the display content 888 in the first display area 211 is slid into the second display area 212, and generally, when it is detected that the touch point 777 is slid downward, whether the display content 888 is moved into the second display area 212 from the bottom position of the first display area 211.
In step S1107, it is determined whether the display content slid into the second display area includes content that can respond to the click operation.
The content of the shell responding to the click operation in this step may include a website with a link, a clickable and enlargeable picture, or a clickable and dialable telephone number, etc. The click operation is generally classified into a long press and a slide touch operation.
In this step, if the display content slid into the second display area includes content that can respond to the click operation, the next step is entered; if the display content slid into the second display area does not include content responsive to the click operation, the flow proceeds to step S1109.
In step S1108, the second display area continues to display the virtual keys.
If the display content slid into the second display area comprises content capable of responding to the clicking operation, the display content is not displayed in the second display area, and the virtual keys are continuously displayed in the second display area.
Step S1109, displaying the display content in the second display area.
With reference to fig. 4, if the display content slid into the second display area does not include content capable of responding to the click operation, the second display area also displays the display content, that is, the touch display screen performs full-screen display.
In step S1110, the virtual key is transparently displayed in the second display area or is displayed above the display content in an overlapping manner.
In the step, the transparent display state of the virtual key is different from the hidden state of the virtual key, although the transparent display state of the virtual key cannot see the existence of the virtual key, when the virtual key is clicked in the second display area, the virtual key can still respond to the operation; the hidden state of the virtual key is that the virtual key is not displayed in the second display area, and when the virtual key is needed, the virtual key can be displayed only by calling out the operation action of the virtual key; the method for calling out the virtual key may be implemented by recognizing an operation action sliding from the bottom edge of the display interface of the touch display screen into the second display area 212, and the specific operation process refers to fig. 10 and the related description in the foregoing embodiment.
The state in which the virtual key is displayed over the display content in an overlapping manner may be: the virtual keys are displayed on the display in a manner of certain transparency, such as in a manner of 50% transparency, or in a manner of non-transparency even on the bottom of the display. It can be understood that the lower the transparency of the virtual key is, the poorer the display effect of the display content is, and the display effect of the display content is also affected by the virtual key displayed above the display content, please refer to fig. 12, where fig. 12 is a schematic diagram of a state where the virtual key and the display content are displayed in an overlapping manner, in which reference numeral 201 is the virtual key and reference numeral 888 is the display content. The transparency of the virtual key 201 and the display stacking with the display content can be set by a person skilled in the art or a user according to the usage habit, and will not be described in detail herein.
In step S1111, a second delay period is set.
Likewise, the length of the second delay time period may be specifically set according to the operation habit of the user, such as 2 seconds, 15 seconds, 60 seconds, and the like, and is not specifically limited herein.
Step S1112 determines whether all the display contents slid into the second display area within the second delay time period are display contents that do not include the responsive click operation.
Step S1113, hide the virtual key.
In step S1112, if all the display contents slid into the second display area within the second delay time period do not include display contents capable of responding to the click operation, the virtual key is hidden so that the second display area displays the display contents slid into the first display area. Please refer to the display state of fig. 9. If the display content slid into the second display area in the second delay time period is not all display content including the display content capable of responding to the click operation, the process returns to step S1110.
In step S1114, an operation instruction of the virtual key corresponding to the touch action is responded.
Similarly, in the embodiment, the virtual key 201 is displayed in the second display area 212, and since the touch action acts in the second display area 212, the step should also include determining the validity of the touch action, and when the touch action is determined as the valid touch action, responding to the operation instruction corresponding to the touch action. In this embodiment, the operation instruction corresponding to the touch action may be an operation of clicking a virtual key, so that the operation instruction corresponding to the response touch action may be an operation instruction of responding to a virtual key corresponding to the touch action, and the operation instruction of the virtual key may include returning to a previous stage, popping up a program frame, returning to a desktop, and the like. In other embodiments, the operation in the second display area 212 may not be limited to the operation of the virtual key.
In step S1115, the timing of the first delay period is restarted.
Or returns to step S1102.
Step S1116, end.
It can be seen that there are two conditions for triggering the hidden virtual key in this embodiment, one is to hide the virtual key when the first delay time period is reached in the timing under the condition that no touch action exists on the touch display screen in the first delay time period; another condition is whether the display contents slid into the second display area within the second delay period are all hidden virtual keys in a case where no display contents responsive to the click operation are included.
The virtual key control method with the touch display screen terminal device provided by this embodiment can perform corresponding control adjustment on the virtual key according to different judgment conditions, including transparent state display of the virtual key or display content overlapping display, and the like, and under the condition that the operation of the virtual key is not affected, the display content can occupy more display screens, and the display screens can be utilized more fully and reasonably.
Further, an embodiment of the present application also provides a terminal device, please refer to fig. 13, where fig. 13 is a schematic structural diagram of an embodiment of the terminal device of the present application, and the terminal device 900 may include a mobile phone with a touch display screen, a tablet computer, a notebook computer, a wearable device, and the like.
The structure of the terminal apparatus 900 may include an RF circuit 910, a memory 920, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a wifi module 970, a processor 980, a power supply 990, and the like. Wherein the RF circuit 910, the memory 920, the input unit 930, the display unit 940, the sensor 950, the audio circuit 960, and the wifi module 970 are respectively connected with the processor 980; the power supply 990 is used to supply power to the entire terminal apparatus 900.
Specifically, the RF circuit 910 is used for transmitting and receiving signals; the memory 920 is used for storing data instruction information; the input unit 930 is used for inputting information, and may specifically include a touch panel 931 and other input devices 932 such as operation keys; the display unit 940 may include a display panel 941; the sensor 950 includes an infrared sensor, a laser sensor, etc. for detecting a user approach signal, a distance signal, etc.; a speaker 961 and a microphone 962 are connected to the processor 980 through the audio circuit 960 for emitting and receiving sound signals; the wifi module 970 is then used for receiving and transmitting wifi signals.
Processor 980 is also configured to set a first delay period; displaying a virtual key in a touch display screen of the terminal equipment and starting timing; detecting whether a touch action exists on the touch display screen in a first delay time period; if no touch action exists on the touch display screen within the first delay time period, the virtual key is hidden when the timing reaches the first delay time period, so that the position of the corresponding virtual key on the touch display screen can be used for displaying other application program contents. The memory 920 is used for storing information such as operating instructions of the processor 980. For the specific operation flow of the processor 980, please refer to the detailed description of the above method embodiments.
In addition, an embodiment of the present application further provides a control device for a virtual key, please refer to fig. 14, where fig. 14 is a block diagram illustrating a structure of an embodiment of the control device for a virtual key, where the control device includes, but is not limited to, the following modules: a delay setting module 1410, a display module 1420, a timing module 1430, a determining module 1440 and an executing module 1450.
Specifically, the delay setting module 1410 is configured to set a first delay period; the display module 1420 is configured to display a virtual key on a touch display screen of the terminal device; the timing module 1430 is used for recording the time when the virtual key is in the display state; the determining module 1440 is configured to determine whether a touch action exists on the touch display screen within a first delay time period; the executing module 1450 is configured to hide the virtual key when the timing reaches the first delay time period if no touch action exists on the touch display screen within the first delay time period, so that the position of the virtual key on the touch display screen may be used to display other application content.
Please refer to the related description of the method embodiments for the specific work flow of the delay setting module 1410, the display module 1420, the timing module 1430, the determining module 1440 and the executing module 1450, which is not described herein again.
Referring to fig. 15, fig. 15 is a schematic structural component diagram of another embodiment of a terminal device according to the present application, where the terminal device includes a processor 1511 and a memory 1512. The processor 1511 is coupled to the memory 1512.
Specifically, the processor 1511 is configured to set a first delay period; displaying a virtual key in a touch display screen of the terminal equipment and starting timing; detecting whether a touch action exists on the touch display screen in a first delay time period; if no touch action exists on the touch display screen within the first delay time period, the virtual key is hidden when the timing reaches the first delay time period, so that the position of the corresponding virtual key on the touch display screen can be used for displaying other application program contents. The memory 1512 is used for storing information such as operation instructions of the processor 1511. For the specific operation flow of the processor 1511, please refer to the detailed description of the above method embodiments.
Referring to fig. 16, fig. 16 is a schematic structural diagram of a storage medium according to an embodiment of the present application.
The storage medium 1600 stores program data 1601, and the program data 1601 can be executed to implement the virtual key control method of the terminal device with a touch display screen described in the above embodiments, which is not described herein again.
As will be understood by those skilled in the art, the storage medium 1600 may be a physical storage medium such as a usb disk and an optical disk, or may be a virtual storage medium such as a server.
In the several embodiments provided in this application, it should be understood that the disclosed method, apparatus, and device may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The terminal device and the storage medium provided by the embodiment of the application can control the virtual keys to be hidden when the preset conditions are met, and the display content can occupy the whole display screen (including the area originally used for displaying the virtual keys), so that the display screen can display more contents, and real comprehensive screen display is realized.
The above description is only a part of the embodiments of the present invention, and not intended to limit the scope of the present invention, and all equivalent devices or equivalent processes performed by the present invention through the contents of the specification and the drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A virtual key control method of a terminal device with a touch display screen is characterized by comprising the following steps:
setting a first delay time period;
displaying a virtual key in a touch display screen of the terminal equipment and starting timing; the touch display screen comprises a first display area and a second display area, and the virtual keys are displayed in the second display area in a non-hidden state;
detecting whether a touch action exists on the touch display screen within the first delay time period;
the touch control action does not exist in a second display area of the touch control display screen in the first delay time period, and the virtual key is hidden when the timing reaches the first delay time period;
if a touch action exists in a first display area of the touch display screen within the first delay time period, judging whether display content of the first display area slides into a second display area, and if the display content of the first display area slides into the second display area, hiding the virtual key to enable the second display area to display the display content sliding into the first display area;
and judging whether the display content slid into the second display area comprises content capable of responding to the click operation, if so, not displaying the display content in the second display area, and displaying the virtual key in the second display area.
2. The method of claim 1, wherein if a touch action exists in the second display area of the touch display screen within the first delay time period, responding to an operation instruction of a virtual key corresponding to the touch action, and restarting timing of the first delay time period.
3. The method according to claim 1, further comprising, after said determining whether the display content slid into the second display area includes content responsive to a click operation:
if the display content slid into the second display area does not include content capable of responding to clicking operation, the display content is displayed in the second display area, and meanwhile, the virtual key is transparently displayed in the second display area or is displayed above the display content in an overlapped mode.
4. The method of claim 3, further comprising setting a second delay period, and hiding the virtual key if none of the display contents slid into the second display area within the second delay period includes any display contents that can respond to a click operation.
5. The method according to any one of claims 1 to 4, wherein the second display area is located at the bottom of the touch display screen display interface, and when the virtual key is in a hidden state, the virtual key is called by recognizing an operation action of sliding from the bottom edge of the touch display screen display interface into the second display area.
6. An apparatus for controlling a virtual key, the apparatus comprising:
the delay setting module is used for setting a first delay time interval;
the display module is used for displaying the virtual keys in a touch display screen of the terminal equipment; the touch display screen comprises a first display area and a second display area, and the display module is further used for displaying the virtual keys in the second display area in a non-hidden state;
the timing module is used for recording the time when the virtual key is in the display state;
the judging module is used for judging whether touch actions exist on the touch display screen in the first delay time period;
the execution module is used for hiding the virtual key when timing reaches the first delay time period when no touch action exists in a second display area of the touch display screen in the first delay time period;
the judging module is further configured to judge whether display content of the first display area slides into the second display area if a touch action exists in the first display area of the touch display screen within the first delay time period;
the execution module is specifically configured to hide the virtual key if the display content of the first display area slides into the second display area, so that the second display area displays the display content sliding into the second display area from the first display area;
the judging module is further used for judging whether the display content slid into the second display area comprises content capable of responding to click operation;
the execution module is further configured to, if the display content slid into the second display area includes content that can respond to a click operation, not display the display content in the second display area, and display the virtual key in the second display area.
7. A terminal device, comprising a processor and a memory, the processor being coupled to the memory and the processor being operable to execute instructions to implement the method of any one of claims 1 to 5.
8. A computer-readable storage medium, on which a computer program is stored, characterized in that the program is executed by a processor to implement the method according to any of claims 1-5.
CN201710610374.9A 2017-07-25 2017-07-25 Terminal device, virtual key control method and device and storage medium Active CN107463328B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710610374.9A CN107463328B (en) 2017-07-25 2017-07-25 Terminal device, virtual key control method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710610374.9A CN107463328B (en) 2017-07-25 2017-07-25 Terminal device, virtual key control method and device and storage medium

Publications (2)

Publication Number Publication Date
CN107463328A CN107463328A (en) 2017-12-12
CN107463328B true CN107463328B (en) 2020-03-31

Family

ID=60546950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710610374.9A Active CN107463328B (en) 2017-07-25 2017-07-25 Terminal device, virtual key control method and device and storage medium

Country Status (1)

Country Link
CN (1) CN107463328B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737656B (en) * 2018-05-17 2021-02-02 Oppo广东移动通信有限公司 Processing method and device of floating button, storage medium and electronic equipment
CN113805775A (en) * 2021-09-15 2021-12-17 深圳市道通智能航空技术股份有限公司 Display method, device and equipment of unmanned aerial vehicle interactive interface and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101672648A (en) * 2008-09-12 2010-03-17 富士通天株式会社 Information processing device and image processing device
CN103440086A (en) * 2013-08-03 2013-12-11 惠州华阳通用电子有限公司 Method and system for controlling physical keys of intelligent mobile terminals in double terminal interaction mode
CN104331240A (en) * 2013-10-14 2015-02-04 广州三星通信技术研究有限公司 Touch screen operating method and touch screen operating device in a mobile terminal
CN106020628A (en) * 2016-06-12 2016-10-12 浙江慧脑信息科技有限公司 Tab bar and menu bar display status control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101672648A (en) * 2008-09-12 2010-03-17 富士通天株式会社 Information processing device and image processing device
CN103440086A (en) * 2013-08-03 2013-12-11 惠州华阳通用电子有限公司 Method and system for controlling physical keys of intelligent mobile terminals in double terminal interaction mode
CN104331240A (en) * 2013-10-14 2015-02-04 广州三星通信技术研究有限公司 Touch screen operating method and touch screen operating device in a mobile terminal
CN106020628A (en) * 2016-06-12 2016-10-12 浙江慧脑信息科技有限公司 Tab bar and menu bar display status control method

Also Published As

Publication number Publication date
CN107463328A (en) 2017-12-12

Similar Documents

Publication Publication Date Title
EP3232299B1 (en) Physical key component, terminal, and touch response method and device
CN103391469B (en) Mobile terminal and controlling method thereof
US10551987B2 (en) Multiple screen mode in mobile terminal
CN105426080B (en) A kind of picture switching method and terminal
EP2979365B1 (en) Mobile terminal and method of controlling the same
CN108984067B (en) Display control method and terminal
CN108664190B (en) Page display method, device, mobile terminal and storage medium
US20100088628A1 (en) Live preview of open windows
US20110087983A1 (en) Mobile communication terminal having touch interface and touch interface method
WO2019085821A1 (en) Processing method, device, apparatus, and machine-readable medium
CN104598111A (en) Display mode switching method and display mode switching device
KR101952177B1 (en) Mobile terminal and control method thereof
US20140176510A1 (en) Input device, input assistance method and program
CN105511680A (en) Terminal screen touch control device and method
CN109766054B (en) Touch screen device and control method and medium thereof
CN111782332A (en) Application interface switching method and device, terminal and storage medium
CN107728923B (en) Operation processing method and mobile terminal
CN111327768B (en) Display control method, electronic device, and computer-readable storage medium
CN111831205B (en) Device control method, device, storage medium and electronic device
CN105511776A (en) Mobile terminal and control method
CN104216973A (en) Data search method and data search device
CN107463328B (en) Terminal device, virtual key control method and device and storage medium
CN108664205A (en) Method for information display, device, mobile terminal and storage medium
CN108984062B (en) Content display method and terminal
CN108600807B (en) Video playing control method, device, terminal and computer readable medium

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