CN111240538A - Navigation bar control method and terminal equipment - Google Patents
Navigation bar control method and terminal equipment Download PDFInfo
- Publication number
- CN111240538A CN111240538A CN201811441626.0A CN201811441626A CN111240538A CN 111240538 A CN111240538 A CN 111240538A CN 201811441626 A CN201811441626 A CN 201811441626A CN 111240538 A CN111240538 A CN 111240538A
- Authority
- CN
- China
- Prior art keywords
- navigation bar
- display screen
- key
- moving
- window
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000012544 monitoring process Methods 0.000 claims abstract description 48
- 230000001960 triggered effect Effects 0.000 claims description 29
- 238000004590 computer program Methods 0.000 claims description 19
- 230000002618 waking effect Effects 0.000 claims description 6
- 238000004891 communication Methods 0.000 abstract description 4
- 230000006870 function Effects 0.000 description 16
- 238000010586 diagram Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
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 invention is suitable for the technical field of communication, and provides a navigation bar control method and terminal equipment, wherein the method comprises the following steps: monitoring whether a window pops up in the display screen; if a window pops up in the display screen, determining the coordinates of the window; determining a moving direction and a moving parameter corresponding to a navigation bar according to a preset coordinate of the navigation bar and the coordinate of the window; the navigation bar is moved according to the moving direction and the moving parameters, so that misoperation of a user is avoided, the navigation bar is more suitable for large screen operation than the traditional navigation bar, the navigation bar is convenient and flexible to use, the requirements of various large application scenes are met, and the user experience is greatly improved.
Description
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a navigation bar control method and terminal equipment.
Background
In order to facilitate a user to browse a web page, a navigation bar is generally set for display contents in a screen, the navigation bar is provided with some function keys, corresponding operations can be performed on contents associated with the navigation bar through the function keys on the navigation bar, for example, a home page key is provided on the navigation bar, and the user can call a home page by clicking the home page key.
The existing navigation bar is fixed and is arranged at a fixed position on a screen. Taking the display screen of the robot as an example, the navigation bar is generally disposed below the screen. However, the size of the screen is generally fixed, the usage scene is complex, and the conventional navigation bar may not meet the application requirements, for example, when some windows are popped up for display, the navigation bar may block corresponding content due to the fixed position, which may cause user misoperation and greatly reduce user experience.
Disclosure of Invention
In view of this, embodiments of the present invention provide a navigation bar control method and a terminal device, so as to solve the problem that an existing navigation bar is fixedly arranged and cannot meet application requirements in practical applications.
A first aspect of an embodiment of the present invention provides a navigation bar control method, including:
monitoring whether a window pops up in the display screen;
if a window pops up in the display screen, determining the coordinates of the window;
determining a moving direction and a moving parameter corresponding to a navigation bar according to a preset coordinate of the navigation bar and the coordinate of the window;
and moving the navigation bar according to the moving direction and the moving parameters.
Optionally, the method further includes:
monitoring whether display content in the display screen is displayed in a full screen mode;
if it is monitored that the display content in the display screen is displayed in a full screen mode, an external hiding interface is called to hide the navigation bar, and the navigation bar is displayed in the display screen when the display screen quits the full screen mode.
Optionally, a telescopic key is arranged on the navigation bar;
the method further comprises the following steps:
monitoring whether a navigation bar expansion request event exists or not, wherein the navigation bar expansion request event is that the expansion key is triggered or a click command is monitored in a region of the display screen except the navigation bar;
and if the navigation bar expansion request event is monitored, controlling the navigation bar to enter an expansion adjustment state.
Optionally, a voice wake-up key is arranged on the navigation bar;
the method further comprises the following steps:
monitoring whether the voice wakeup key is triggered;
if the voice wakeup key is monitored to be triggered, determining the triggering type of the voice wakeup key;
if the trigger type of the voice wake-up key is a first preset trigger type, waking up the external equipment and entering a dictation mode;
and if the trigger type of the voice awakening key is a second preset trigger type, moving the navigation bar on the display screen according to the acquired moving route.
Optionally, an administrator icon is arranged on the navigation bar;
the method further comprises the following steps:
monitoring whether the administrator icon is triggered;
and if the fact that the administrator icon is triggered is monitored, switching between a user interface and an administrator interface on the display screen.
A second aspect of an embodiment of the present invention provides a navigation bar control apparatus, including:
the first information monitoring unit is used for monitoring whether a window pops up in the display screen;
the coordinate determination unit is used for determining the coordinates of the window if the window popping up in the display screen is monitored;
the mobile information determining unit is used for determining a moving direction and a moving parameter corresponding to the navigation bar according to the preset coordinates of the navigation bar and the coordinates of the window;
and the navigation bar moving unit is used for moving the navigation bar according to the moving direction and the moving parameters.
Optionally, the apparatus further comprises:
the second information monitoring unit is used for monitoring whether display content in the display screen is displayed in a full screen mode;
and the navigation bar hiding unit is used for calling an external hidden interface to hide the navigation bar if the display screen monitors that the display content is displayed in a full screen mode, and displaying the navigation bar in the display screen when the display screen quits the full screen mode.
Optionally, a telescopic key is arranged on the navigation bar;
the device further comprises:
a third information monitoring unit, configured to monitor whether a navigation bar expansion request event exists, where the navigation bar expansion request event is that the expansion key is triggered or a click instruction is monitored in an area of the display screen other than the navigation bar;
and the navigation bar stretching unit is used for controlling the navigation bar to enter a stretching adjustment state if the navigation bar stretching request event is monitored.
A third aspect of the embodiments of the present invention provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the method when executing the computer program.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method as described above.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: according to the embodiment of the invention, when the window pop-up in the display screen is monitored, the navigation bar is moved according to the preset coordinates of the navigation bar and the coordinates of the window, so that the misoperation of a user is avoided, the navigation bar is more suitable for large screen operation than the traditional navigation bar, the navigation bar is convenient and flexible to use, the requirements of various large application scenes are met, and the user experience is greatly improved.
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 embodiments or the prior art descriptions will be briefly described 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 inventive exercise.
FIG. 1 is a schematic flow chart of a navigation bar control method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a navigation bar provided by an embodiment of the present invention;
FIG. 3 is a schematic block diagram of a navigation bar control apparatus provided by an embodiment of the present invention;
FIG. 4 is a schematic block diagram of a navigation bar control apparatus according to another embodiment of the present invention;
fig. 5 is a schematic block diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Referring to fig. 1, fig. 1 is a schematic flowchart of a navigation bar control method according to an embodiment of the present invention, in which an angle trigger of a terminal is taken as an example for description. As shown in fig. 1, in this embodiment, the processing procedure of the terminal may include the following steps:
s101: and monitoring whether a window pops up in the display screen.
Here, the window may include a dialog window, a folder window, an application window, and the like, and may also include an input method keyboard, and the like. Specifically, whether a window pops up in the display screen can be monitored in real time, and whether a window pops up in the display screen can also be monitored in a preset time period, wherein the preset time period can be set according to actual needs, for example, eight am to five pm every day.
S102: and if the window popping up in the display screen is monitored, determining the coordinates of the window.
Here, a rectangular coordinate system may be established in advance in the display screen, and if it is monitored that a window pops up in the display screen, coordinates of the pop-up window may be determined based on the established rectangular coordinate system, for example, the pop-up window may have a rectangular shape, and the determined window coordinates may be vertex coordinates of four corners of the rectangular shape.
S103: and determining the moving direction and the moving parameters corresponding to the navigation bar according to the preset coordinates of the navigation bar and the coordinates of the window.
Specifically, the coordinates of the navigation bar may be determined according to a rectangular coordinate system established in the display screen, and in an embodiment, as shown in fig. 2, the navigation bar determines whether there is an overlapping area between the navigation bar and the window according to the coordinates of the navigation bar and the coordinates of the window. And if the navigation bar and the window have an overlapping area, acquiring the coordinate of the overlapping area, and determining the moving direction and the moving parameter corresponding to the navigation bar according to the coordinate of the overlapping area, the coordinate of the navigation bar and the coordinate of the display screen, for example, moving up by h meters.
Here, if the navigation bar is moved no matter how the navigation bar is moved according to the coordinates of the overlapping area, the coordinates of the navigation bar, and the coordinates of the display screen, the moved navigation bar has an overlapping area with the window, the terminal may generate a navigation bar stretching prompt, a stretch key is provided on the navigation bar to prompt the user to stretch the navigation bar through the stretch key, and then the terminal uses the stretched navigation bar as a new navigation bar to re-execute the step S103. Or the terminal generates a navigation bar hiding prompt, if a hiding request input by a user is received, an external hiding interface is called according to the hiding request to hide the navigation bar, and the navigation bar is displayed in the display screen when the window is hidden or disappears.
S104: and moving the navigation bar according to the moving direction and the moving parameters.
Here, if the window is hidden or disappears, the navigation bar may be displayed at a preset position, where the preset position may be an initial position of the navigation bar or a position reset by the user.
As can be seen from the above description, in the navigation bar control method according to the embodiment of the present invention, when it is monitored that a window pops up in a display screen, it is determined whether there is an overlapping area between the navigation bar and the window, and if there is an overlapping area, the navigation bar is moved according to the coordinates of the overlapping area, the coordinates of the navigation bar, and the coordinates of the display screen, so as to avoid a user from performing an incorrect operation.
In addition, in a specific example, the navigation bar control method further includes:
monitoring whether display content in the display screen is displayed in a full screen mode;
if it is monitored that the display content in the display screen is displayed in a full screen mode, an external hiding interface is called to hide the navigation bar, and the navigation bar is displayed in the display screen when the display screen quits the full screen mode.
Here, the navigation bar can provide an external hidden interface, when the terminal monitors that a display screen needs to display similar expressions in a full screen mode or plays videos, the corresponding interface is called to hide the navigation bar, so that a full screen display effect is achieved, and when the display screen exits the full screen mode, the navigation bar is displayed in the display screen, wherein the external hidden interface is an interface with a function of hiding the navigation bar.
Furthermore, in a specific example, a telescopic key is provided on the navigation bar.
The navigation bar control method further comprises the following steps:
monitoring whether a navigation bar expansion request event exists or not, wherein the navigation bar expansion request event is that the expansion key is triggered or a click command is monitored in a region of the display screen except the navigation bar;
and if the navigation bar expansion request event is monitored, controlling the navigation bar to enter an expansion adjustment state.
Here, if the terminal monitors that the user clicks an interface or a telescopic key other than the navigation bar, the navigation bar is controlled to enter a telescopic adjustment state, and the user performs telescopic processing on the navigation bar in the telescopic adjustment state, so that the occupation of too many interfaces by the navigation bar can be reduced, and misoperation of the user can be avoided.
In addition, in a specific example, a voice wake-up key is arranged on the navigation bar.
The navigation bar control method further comprises the following steps:
monitoring whether the voice wakeup key is triggered;
if the voice wakeup key is monitored to be triggered, determining the triggering type of the voice wakeup key;
if the trigger type of the voice wake-up key is a first preset trigger type, waking up the external equipment and entering a dictation mode;
and if the trigger type of the voice awakening key is a second preset trigger type, moving the navigation bar on the display screen according to the acquired moving route.
Here, if the terminal monitors that the voice wakeup key is triggered and the trigger type of the voice wakeup key is a first preset trigger type, for example, a user clicks the voice wakeup key, the terminal wakes up an external device, for example, a robot, and enters a dictation mode. If the terminal monitors that the voice wake-up key is triggered and the triggering type of the voice wake-up key is a second preset triggering type, for example, the user presses the voice wake-up key, the terminal moves the navigation bar on the display screen according to the obtained moving route, for example, the user presses the voice wake-up key with a finger, the terminal obtains the moving track of the user with the finger as the moving route, and moves the navigation bar on the display screen according to the moving route.
In addition, in a specific example, an administrator icon is provided on the navigation bar.
The navigation bar control method further comprises the following steps:
monitoring whether the administrator icon is triggered;
and if the fact that the administrator icon is triggered is monitored, switching between a user interface and an administrator interface on the display screen.
Here, the user can switch the administrator and the tourist interface through the administrator icon arranged on the navigation bar, and the requirements of various application scenes are met.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
In one embodiment, the navigation bar is as shown in fig. 2, the navigation bar is a voice wake-up key, a return key, a home key, an administrator icon, and a telescopic key from left to right, wherein the voice wake-up key is a dynamic pressing effect, and a user can wake up the external device by clicking the voice wake-up key to enter a dictation mode; the return key has the function of returning to the previous state, and the user can return to the previous state by clicking the return key; the main page key has a function of switching to a main page, and a user can switch from a current page to the main page by clicking the main page key; as described above, the user can switch the administrator and the tourist interface by triggering the administrator icon, and stretch the navigation bar by triggering the stretch key. Compared with the traditional navigation bar, the navigation bar is more suitable for large screen operation, so that the navigation bar is convenient and flexible to use, the requirements of various large application scenes are met, and the user experience is greatly improved.
Fig. 3 shows a schematic block diagram of a navigation bar control device according to an embodiment of the present invention, corresponding to the navigation bar control method described in the above embodiments. The navigation bar control apparatus 300 of the present embodiment includes units for executing steps in the embodiment corresponding to fig. 1, and please refer to fig. 1 and the related description in the embodiment corresponding to fig. 1 for details, which are not repeated herein. The navigation bar control apparatus 300 of the present embodiment includes a first information listening unit 301, a coordinate determination unit 302, a movement information determination unit 303, and a navigation bar moving unit 304.
The first information monitoring unit 301 is configured to monitor whether a window pops up in the display screen. A coordinate determining unit 302, configured to determine a coordinate of the window if it is monitored that the window pops up in the display screen. The movement information determining unit 303 is configured to determine a movement direction and a movement parameter corresponding to the navigation bar according to a preset coordinate of the navigation bar and the coordinate of the window. A navigation bar moving unit 304, configured to move the navigation bar according to the moving direction and the moving parameter.
As can be seen from the above description, the navigation bar control device in the embodiment of the present invention moves the navigation bar according to the coordinates of the navigation bar and the coordinates of the display screen when it is monitored that a window pops up in the display screen, so as to avoid a user from performing an incorrect operation.
Referring to fig. 4, fig. 4 is a schematic block diagram of another navigation bar control device according to another embodiment of the present invention. The navigation bar control apparatus 400 of the present embodiment includes a first information monitoring unit 401, a coordinate determining unit 402, a movement information determining unit 403, a navigation bar moving unit 404, a second information monitoring unit 405, a navigation bar hiding unit 406, a third information monitoring unit 407, a navigation bar stretching unit 408, a fourth information monitoring unit 409, a trigger type determining unit 410, an apparatus wake-up unit 411, a navigation bar moving unit 412, a fifth information monitoring unit 413, and an interface switching unit 414.
Specifically, please refer to the description of the first information monitoring unit 301, the coordinate determining unit 302, the movement information determining unit 303, and the navigation bar moving unit 304 in the embodiment corresponding to fig. 3 and 3 for the first information monitoring unit 401, the coordinate determining unit 402, the movement information determining unit 403, and the navigation bar moving unit 404, which is not described herein again.
Further, the second information monitoring unit 405 is configured to monitor whether there is a display content in the display screen that is displayed in a full screen. And the navigation bar hiding unit 406 is configured to, if it is monitored that the display content in the display screen is displayed in a full screen manner, call an external hidden interface to hide the navigation bar, and display the navigation bar in the display screen when the display screen exits the full screen display.
Furthermore, a telescopic key is arranged on the navigation bar.
The third information monitoring unit 407 is configured to monitor whether a navigation bar expansion request event exists, where the navigation bar expansion request event is that the expansion key is triggered or a click instruction is monitored in an area of the display screen other than the navigation bar. And a navigation bar stretching unit 408, configured to control the navigation bar to enter a stretching adjustment state if the navigation bar stretching request event is monitored.
Furthermore, a voice wake-up key is arranged on the navigation bar.
The fourth information monitoring unit 409 is configured to monitor whether the voice wakeup key is triggered. A trigger type determining unit 410, configured to determine a trigger type of the voice wakeup key if it is monitored that the voice wakeup key is triggered. And an apparatus waking unit 411, configured to wake up the external apparatus and enter a dictation mode if the trigger type of the voice wake-up key is a first preset trigger type. A navigation bar moving unit 412, configured to move the navigation bar on the display screen according to the acquired moving route if the trigger type of the voice wakeup key is a second preset trigger type.
Furthermore, an administrator icon is arranged on the navigation bar.
Wherein, the fifth information monitoring unit 413 is configured to monitor whether the administrator icon is triggered. And an interface switching unit 414, configured to switch a user interface and an administrator interface on the display screen if it is monitored that the administrator icon is triggered.
From the above description, it can be known that, when it is monitored that a window pops up in the display screen, the embodiment of the present invention moves the navigation bar according to the coordinates of the navigation bar and the coordinates of the display screen, thereby avoiding the misoperation of the user, being more suitable for the operation of a large screen than the conventional navigation bar, enabling the navigation bar to be conveniently and flexibly used, satisfying the requirements of various large application scenes, and greatly improving the user experience.
Referring to fig. 5, fig. 5 is a schematic block diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 5, the terminal device 50 of this embodiment includes: a processor 500, a memory 501 and a computer program 502, such as a navigation bar control program, stored in said memory 501 and executable on said processor 500. The processor 500 executes the computer program 502 to implement the steps in the above-described embodiments of the navigation bar control method, such as the steps 101 to 104 shown in fig. 1. Alternatively, the processor 500 implements the functions of the units in the above-mentioned device embodiments, for example, the functions of the units 401 to 414 shown in fig. 4, when executing the computer program 502.
The computer program 502 may be divided into one or more modules/units, which are stored in the memory 501 and executed by the processor 500 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 502 in the terminal device 50. For example, the computer program 502 may be divided into a first information monitoring unit, a coordinate determining unit, a mobile information determining unit, a navigation bar moving unit, a second information monitoring unit, a navigation bar hiding unit, a third information monitoring unit, a navigation bar stretching unit, a fourth information monitoring unit, a trigger type determining unit, an equipment waking unit, a navigation bar moving unit, a fifth information monitoring unit, and an interface switching unit, where the specific functions of the units are as follows:
monitoring whether a window pops up in the display screen;
if a window pops up in the display screen, determining the coordinates of the window;
determining a moving direction and a moving parameter corresponding to a navigation bar according to a preset coordinate of the navigation bar and the coordinate of the window;
and moving the navigation bar according to the moving direction and the moving parameters.
Further, the specific functions of each unit further include:
monitoring whether display content in the display screen is displayed in a full screen mode;
if it is monitored that the display content in the display screen is displayed in a full screen mode, an external hiding interface is called to hide the navigation bar, and the navigation bar is displayed in the display screen when the display screen quits the full screen mode.
Furthermore, a telescopic key is arranged on the navigation bar.
The specific functions of each unit further include:
monitoring whether a navigation bar expansion request event exists or not, wherein the navigation bar expansion request event is that the expansion key is triggered or a click command is monitored in a region of the display screen except the navigation bar;
and if the navigation bar expansion request event is monitored, controlling the navigation bar to enter an expansion adjustment state.
Furthermore, a voice wake-up key is arranged on the navigation bar.
The specific functions of each unit further include:
monitoring whether the voice wakeup key is triggered;
if the voice wakeup key is monitored to be triggered, determining the triggering type of the voice wakeup key;
if the trigger type of the voice wake-up key is a first preset trigger type, waking up the external equipment and entering a dictation mode;
and if the trigger type of the voice awakening key is a second preset trigger type, moving the navigation bar on the display screen according to the acquired moving route.
Furthermore, an administrator icon is arranged on the navigation bar.
The specific functions of each unit further include:
monitoring whether the administrator icon is triggered;
and if the fact that the administrator icon is triggered is monitored, switching between a user interface and an administrator interface on the display screen.
According to the scheme, when the window is popped up in the display screen, the navigation bar is moved according to the coordinates of the navigation bar and the coordinates of the display screen, so that misoperation of a user is avoided, the navigation bar is more suitable for large screen operation compared with the traditional navigation bar, the navigation bar is convenient and flexible to use, the requirements of various large application scenes are met, and the user experience is greatly improved.
The terminal device 50 may be a computing device such as a desktop computer, a notebook, a palm computer, and a cloud server. The terminal device may include, but is not limited to, a processor 500, a memory 501. Those skilled in the art will appreciate that fig. 5 is merely an example of a terminal device 50 and does not constitute a limitation of terminal device 50 and may include more or fewer components than shown, or some components may be combined, or different components, for example, the terminal device may also include input output devices, network access devices, buses, etc.
The Processor 500 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 501 may be an internal storage unit of the terminal device 50, such as a hard disk or a memory of the terminal device 50. The memory 501 may also be an external storage device of the terminal device 50, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 50. Further, the memory 501 may also include both an internal storage unit and an external storage device of the terminal device 50. The memory 501 is used for storing the computer program and other programs and data required by the terminal device. The memory 501 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, 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 solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are 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 modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.
Claims (10)
1. A navigation bar control method, comprising:
monitoring whether a window pops up in the display screen;
if a window pops up in the display screen, determining the coordinates of the window;
determining a moving direction and a moving parameter corresponding to a navigation bar according to a preset coordinate of the navigation bar and the coordinate of the window;
and moving the navigation bar according to the moving direction and the moving parameters.
2. The navigation bar control method of claim 1, further comprising:
monitoring whether display content in the display screen is displayed in a full screen mode;
if it is monitored that the display content in the display screen is displayed in a full screen mode, an external hiding interface is called to hide the navigation bar, and the navigation bar is displayed in the display screen when the display screen quits the full screen mode.
3. The navigation bar control method of claim 1, wherein a telescopic key is provided on the navigation bar;
the method further comprises the following steps:
monitoring whether a navigation bar expansion request event exists or not, wherein the navigation bar expansion request event is that the expansion key is triggered or a click command is monitored in a region of the display screen except the navigation bar;
and if the navigation bar expansion request event is monitored, controlling the navigation bar to enter an expansion adjustment state.
4. The navigation bar control method of claim 1, wherein a voice wake-up key is provided on the navigation bar;
the method further comprises the following steps:
monitoring whether the voice wakeup key is triggered;
if the voice wakeup key is monitored to be triggered, determining the triggering type of the voice wakeup key;
if the trigger type of the voice wake-up key is a first preset trigger type, waking up the external equipment and entering a dictation mode;
and if the trigger type of the voice awakening key is a second preset trigger type, moving the navigation bar on the display screen according to the acquired moving route.
5. The navigation bar control method of claim 1, wherein an administrator icon is provided on the navigation bar;
the method further comprises the following steps:
monitoring whether the administrator icon is triggered;
and if the fact that the administrator icon is triggered is monitored, switching between a user interface and an administrator interface on the display screen.
6. A navigation bar control apparatus, comprising:
the first information monitoring unit is used for monitoring whether a window pops up in the display screen;
the coordinate determination unit is used for determining the coordinates of the window if the window popping up in the display screen is monitored;
the mobile information determining unit is used for determining a moving direction and a moving parameter corresponding to the navigation bar according to the preset coordinates of the navigation bar and the coordinates of the window;
and the navigation bar moving unit is used for moving the navigation bar according to the moving direction and the moving parameters.
7. The navigation bar control device of claim 6, further comprising:
the second information monitoring unit is used for monitoring whether display content in the display screen is displayed in a full screen mode;
and the navigation bar hiding unit is used for calling an external hidden interface to hide the navigation bar if the display screen monitors that the display content is displayed in a full screen mode, and displaying the navigation bar in the display screen when the display screen quits the full screen mode.
8. The navigation bar control device of claim 6, wherein a telescopic key is provided on the navigation bar;
the device further comprises:
a third information monitoring unit, configured to monitor whether a navigation bar expansion request event exists, where the navigation bar expansion request event is that the expansion key is triggered or a click instruction is monitored in an area of the display screen other than the navigation bar;
and the navigation bar stretching unit is used for controlling the navigation bar to enter a stretching adjustment state if the navigation bar stretching request event is monitored.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811441626.0A CN111240538A (en) | 2018-11-29 | 2018-11-29 | Navigation bar control method and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811441626.0A CN111240538A (en) | 2018-11-29 | 2018-11-29 | Navigation bar control method and terminal equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111240538A true CN111240538A (en) | 2020-06-05 |
Family
ID=70864805
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811441626.0A Pending CN111240538A (en) | 2018-11-29 | 2018-11-29 | Navigation bar control method and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111240538A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106033372A (en) * | 2015-03-19 | 2016-10-19 | 阿里巴巴集团控股有限公司 | Page switching method and apparatus |
CN108037956A (en) * | 2017-12-27 | 2018-05-15 | 南昌黑鲨科技有限公司 | A kind of display interface display methods, display device and computer-readable recording medium |
CN108319416A (en) * | 2018-03-16 | 2018-07-24 | 联想(北京)有限公司 | A kind of display control method, device and electronic equipment |
CN108376094A (en) * | 2018-02-26 | 2018-08-07 | 平安普惠企业管理有限公司 | Notification message display methods, device, computer equipment and storage medium |
-
2018
- 2018-11-29 CN CN201811441626.0A patent/CN111240538A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106033372A (en) * | 2015-03-19 | 2016-10-19 | 阿里巴巴集团控股有限公司 | Page switching method and apparatus |
CN108037956A (en) * | 2017-12-27 | 2018-05-15 | 南昌黑鲨科技有限公司 | A kind of display interface display methods, display device and computer-readable recording medium |
CN108376094A (en) * | 2018-02-26 | 2018-08-07 | 平安普惠企业管理有限公司 | Notification message display methods, device, computer equipment and storage medium |
CN108319416A (en) * | 2018-03-16 | 2018-07-24 | 联想(北京)有限公司 | A kind of display control method, device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109298909B (en) | Window adjusting method, mobile terminal and computer readable storage medium | |
CN110286840B (en) | Gesture zooming control method and device of touch equipment and related equipment | |
US11334210B2 (en) | Method for window adjustment, mobile terminal, and computer-readable storage medium | |
CN108920070B (en) | Screen splitting method and device based on special-shaped display screen, storage medium and mobile terminal | |
CN103412720A (en) | Method and device for processing touch-control input signals | |
CN112218134B (en) | Input method and related equipment | |
CN107704157A (en) | Multi-screen interface operation method and device and storage medium | |
CN112817555B (en) | Volume control method and volume control device | |
CN107562262B (en) | Method for responding touch operation, terminal and computer readable storage medium | |
CN113568534A (en) | Application icon display method and device and electronic equipment | |
CN107770845B (en) | mobile hotspot management method and device, terminal and storage medium | |
CN113655929A (en) | Interface display adaptation processing method and device and electronic equipment | |
CN116107531A (en) | Interface display method and device | |
CN111597009B (en) | Application program display method and device and terminal equipment | |
CN109298907B (en) | Application program display method, application program display device and terminal | |
CN114356260A (en) | Double-screen interaction method, device, equipment and medium | |
WO2024146348A1 (en) | Information display method and apparatus, and electronic device and storage medium | |
CN110174946A (en) | Mouse action analogy method, simulation system, storage medium and electronic equipment | |
CN111796746B (en) | Volume adjusting method, volume adjusting device and electronic equipment | |
WO2018228062A1 (en) | Application interface display method under split-screen display state and mobile terminal | |
CN109085974B (en) | Screen control method, system and terminal equipment | |
CN112764862A (en) | Application program control method and device and electronic equipment | |
CN112055156A (en) | Preview image updating method and device, mobile terminal and storage medium | |
CN108509125B (en) | Page turning method, device, terminal and computer readable storage medium | |
CN111240538A (en) | Navigation bar control method and terminal 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200605 |