Function bar display method, mobile terminal and computer readable storage medium
Patent Information
- Application Number
- CN201911385881.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-12-25
- Publication Date
- 2026-09-08
- Estimated Expiration
- 2039-12-25
AI Technical Summary
[0003]但是,随着智能终端的发展,为智能终端开发的应用程序(Application)的种类也越来越丰富、数量越来越庞大,若是在智能终端的显示界面同时显示多个应用程序,如同时显示浏览器和视频应用等,则会因为每个应用程序所需功能不一致,导致功能栏无法正常显示等,显然,现有智能终端在功能栏的显示上,还不够智能,无法适应更多复杂的应用场景
[0023] The function bar display method proposed in this invention determines whether the applications meet preset conditions if at least two applications are detected; if so, the function bar is displayed. In complex application scenarios such as displaying multiple applications, the mobile terminal of this invention determines whether to display the function bar by checking whether the currently displayed application meets preset conditions. This allows the mobile terminal to adaptively display the function bar in different application scenarios, improving the intelligence of the mobile terminal and achieving intelligent display of the function bar.
Smart Images

Figure CN111078079B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent interactive technology, and in particular to a method for displaying function bars, a mobile terminal, and a computer-readable storage medium. Background Technology
[0002] With the development of smart terminals, smartphones, tablets, and other smart devices have become widely popular and used. Existing smart terminals generally have a function sidebar. Users can trigger corresponding functions by clicking on the sidebar during use to meet their needs. For example, during a video playback, clicking on the corresponding location in the sidebar can trigger a beautification function, enhancing the user's appearance in the video.
[0003] However, with the development of smart terminals, the types and numbers of applications developed for smart terminals are becoming increasingly diverse. If multiple applications are displayed on the smart terminal's display interface at the same time, such as displaying a browser and a video application simultaneously, the function bar may not display properly because each application requires different functions. Obviously, the current smart terminal is not smart enough in terms of function bar display and cannot adapt to more complex application scenarios. Summary of the Invention
[0004] The main objective of this invention is to propose a function bar display method, a mobile terminal, and a computer-readable storage medium, aiming to improve the intelligence of smart terminals and realize the intelligent display of function bars.
[0005] To achieve the above objectives, the present invention provides a function bar display method, the function bar display method comprising the following steps: If at least two applications are detected to be displayed, it is determined whether the applications meet the preset conditions; If the conditions are met, the function bar will be displayed.
[0006] Preferably, the step of determining whether an application meets a preset condition if at least two applications are detected includes at least one of the following: Determine whether the category attributes of the applications are consistent. If they are consistent, the applications meet the preset conditions. Determine whether the displayed content of the application belongs to the same format. If it belongs to the same format, the application meets the preset conditions. Determine the number of applications; if the number of currently displayed applications does not exceed a preset number, the applications meet the preset conditions. The application's display interface size is determined to be larger than a preset area, and the application meets the preset conditions. The location of the application's display interface is determined to meet a preset layout, and the application meets preset conditions.
[0007] Preferably, it is determined whether the function bar meets at least one of the following exit conditions; if so, the display is exited: Determine the first category attribute to which the application belongs; if the number of the same category attribute does not reach a preset threshold, the function bar meets the exit condition. Determine the display content of the application; if the display content does not belong to the same format, the function bar meets the exit condition. Determine a first number of applications; if the number of currently displayed applications exceeds a preset number, the function bar meets the exit condition. Determine the size of the application's display interface. If the size of the display interface is not greater than a preset area, the function bar meets the exit condition. Determine the position of the application's display interface; if the position of the display interface does not meet the preset layout, and the function bar meets the exit conditions. If the second category attribute of the no-running application is consistent with the category attribute of the no-running application, then the function bar meets the exit condition. The location of an application that is no longer running meets the preset layout, and the function bar meets the exit conditions; Determine a second number of applications that are no longer running, the second number satisfying a preset percentage, and the function bar satisfying the exit condition.
[0008] Preferably, after the step of displaying the function bar if the condition is met, the function bar display method further includes: If an execution command based on the function bar is detected, the function operation corresponding to the execution command is executed.
[0009] Preferably, the step of executing the function operation corresponding to the execution command if an execution command based on the function bar is detected includes: If an execution command based on the function bar is detected, the target application corresponding to the execution command is determined, and the target application includes one or more applications; Based on the target application, execute the functional operation corresponding to the execution instruction.
[0010] Preferably, after the step of displaying the function bar if the condition is met, the function bar display method further includes: If a switching command based on the application is detected, the target application corresponding to the switching command is switched to be displayed, and the function bar is adjusted based on the target application.
[0011] Preferably, the function bar display method further includes: Display the function bar; When at least two applications are detected to be displayed, the function items in the function bar and / or the display position of the function bar are adjusted based on the applications.
[0012] Preferably, the step of displaying the function bar if the condition is met includes: If satisfied, then determine the display method of the function bar; The function bar is displayed according to the aforementioned display method.
[0013] Furthermore, to achieve the above objectives, the present invention also provides a function bar display device, the function bar display device comprising: The determination module is used to determine whether the application meets preset conditions if at least two applications are detected to be displayed. The display module is used to display the function bar if the conditions are met.
[0014] Preferably, the determining module is further configured to: If at least two applications are detected to be displayed, the category attribute of the application is determined, and based on the category attribute, it is determined whether the application meets the preset conditions. If at least two applications are detected to be displayed, the display content of the applications is determined, and based on the display content, it is determined whether the applications meet preset conditions. If at least two applications are detected to be displayed, the number of applications is determined, and based on the number, it is determined whether the applications meet preset conditions. If at least two applications are detected to be displayed, the size of the display interface of the application is determined, and based on the size of the display interface, it is determined whether the application meets the preset conditions. If at least two applications are detected to be displayed, the position of the display interface of the application is determined, and based on the position of the display interface, it is determined whether the application meets the preset conditions.
[0015] Preferably, the determining module is further configured to: Determine whether the function bar meets the exit conditions; if it does, exit the function bar. The step of determining whether the function bar meets the exit conditions includes at least one of the following: Determine the first category attribute to which the application belongs, and based on the first category attribute, determine whether the function bar meets the exit conditions; Determine the display content of the application, and based on the display content, determine whether the function bar meets the exit conditions; Determine a first number of applications, and based on the first number, determine whether the function bar meets the exit conditions; Determine the size of the application's display interface, and based on the size of the display interface, determine whether the function bar meets the exit conditions; Determine the location of the application's display interface, and based on the location of the display interface, determine whether the function bar meets the exit conditions; Determine the second category attribute to which the no-running application belongs, and based on the second category attribute, determine whether the function bar meets the exit conditions; Determine the location of applications that are no longer running, and determine whether the function bar meets the exit conditions; Determine a second number of applications that are no longer running, and based on the second number, determine whether the function bar meets the exit conditions.
[0016] Preferably, the function bar display device further includes an execution module, which is further used for: If an execution command based on the function bar is detected, the function operation corresponding to the execution command is executed.
[0017] Preferably, the execution module is further configured to: If an execution command based on the function bar is detected, the target application corresponding to the execution command is determined, and the target application includes one or more applications; Based on the target application, execute the functional operation corresponding to the execution instruction.
[0018] Preferably, the function bar display device further includes an adjustment module, which is further used for: If a switching command based on the application is detected, the target application corresponding to the switching command is switched to be displayed, and the function bar is adjusted based on the target application.
[0019] Preferably, the adjustment module is further configured to: Display the function bar; When at least two applications are detected to be displayed, the function items in the function bar and / or the display position of the function bar are adjusted based on the applications.
[0020] Preferably, the display module is further configured to: If satisfied, then determine the display method of the function bar; The function bar is displayed according to the aforementioned display method.
[0021] In addition, to achieve the above objectives, the present invention also provides a mobile terminal, the mobile terminal comprising: a memory, a processor, and a function bar display program stored in the memory and executable on the processor, wherein the function bar display program, when executed by the processor, implements the steps of the function bar display method as described above.
[0022] In addition, to achieve the above objectives, the present invention also provides a computer-readable storage medium storing a function bar display program, which, when executed by a processor, implements the steps of the function bar display method described above.
[0023] The function bar display method proposed in this invention determines whether the applications meet preset conditions if at least two applications are detected; if so, the function bar is displayed. In complex application scenarios such as displaying multiple applications, the mobile terminal of this invention determines whether to display the function bar by checking whether the currently displayed application meets preset conditions. This allows the mobile terminal to adaptively display the function bar in different application scenarios, improving the intelligence of the mobile terminal and achieving intelligent display of the function bar. Attached Figure Description
[0024] Figure 1 This is a schematic diagram of the mobile terminal structure of the hardware operating environment involved in the embodiments of the present invention; Figure 2 This is a flowchart illustrating the first embodiment of the function bar display method of the present invention; Figure 3 This is a schematic diagram of one display mode of the function bar in the first embodiment of the function bar display method of the present invention; Figure 4 This is a schematic diagram of one display mode of the function bar in the first embodiment of the function bar display method of the present invention; Figure 5 This is a schematic diagram of another display mode of the function bar in the fourth embodiment of the function bar display method of the present invention.
[0025] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0026] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.
[0027] like Figure 1 As shown, Figure 1 This is a schematic diagram of the mobile terminal structure of the hardware operating environment involved in the embodiments of the present invention.
[0028] In this embodiment of the invention, the mobile terminal can be a mobile phone, tablet, digital camera, or other mobile terminal.
[0029] like Figure 1 As shown, the mobile terminal may include: a processor 1001, such as a CPU; a network interface 1004; a user interface 1003; a memory 1005; and a communication bus 1002. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen and an input unit such as a keyboard. Optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be high-speed RAM or non-volatile memory, such as a disk drive. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0030] Those skilled in the art will understand that Figure 1 The mobile terminal structure shown does not constitute a limitation on the mobile terminal and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0031] like Figure 1 As shown, the memory 1005, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a function bar display program.
[0032] The operating system is a program that manages and controls the mobile terminal and software resources, and supports the operation of the network communication module, user interface module, function bar display program, and other programs or software; the network communication module is used to manage and control the network interface 1002; and the user interface module is used to manage and control the user interface 1003.
[0033] exist Figure 1 In the mobile terminal shown, the mobile terminal calls the function bar display program stored in the memory 1005 through the processor 1001, and performs the operations in the various embodiments of the function bar display method described below.
[0034] Based on the above hardware structure, an embodiment of the function bar display method of the present invention is proposed.
[0035] Reference Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of the function bar display method of the present invention. The method includes: Step S10: If at least two applications are detected to be displayed, determine whether the applications meet the preset conditions; Step S20: If the condition is met, the function bar will be displayed.
[0036] This embodiment of the function bar display method is applied to a mobile terminal. The mobile terminal has multiple applications that perform different functions, such as video applications, browser applications, reader applications, communication applications, etc. Users can manually click or use voice to launch the corresponding applications on the mobile terminal's display interface, thereby displaying the application's display interface. If the user launches multiple applications simultaneously, that is, at least two or more, the mobile terminal will display the display interfaces of each application on the display interface. The specific display method can be set according to actual needs, such as dividing the mobile terminal's display interface equally. For example, if the mobile terminal wants to display two applications, then the display interface of each application occupies half of the mobile terminal's display interface; or irregularly dividing the mobile terminal's display interface. For example, if the mobile terminal wants to display three applications, then the mobile terminal's display interface is first divided into upper and lower display areas, and then the upper area is divided into two display areas, that is, two applications are displayed in the upper area, and one application is displayed in the lower area, etc. The specific display method is not specifically limited here.
[0037] In this embodiment, when the mobile terminal detects that at least two applications are displayed, it determines whether a preset condition is met, and thus decides whether to display the function bar.
[0038] The following will provide a detailed explanation of each step: Step S10: If at least two applications are detected to be displayed, determine whether the applications meet the preset conditions.
[0039] In this embodiment, if the mobile terminal detects that at least two applications are displayed, that is, the user has opened multiple applications at the same time and they are displayed on the mobile terminal's display interface, then it is determined whether the applications currently displayed on the mobile terminal's display interface meet preset conditions. The preset conditions are conditions set in advance, specifically including whether the type attributes of the applications currently displayed on the mobile terminal's display interface are consistent. If they are consistent, it is determined that the applications currently displayed on the mobile terminal's display interface meet the preset conditions; if they are inconsistent, it is determined that the applications currently displayed on the mobile terminal's display interface do not meet the preset conditions.
[0040] Specifically, step S10 includes: Step a1: If at least two applications are detected to be displayed, then the category attribute of the application is detected; In this step, if the mobile terminal detects at least two applications displayed, it then detects the category attribute of each application. The category attribute includes browsing, video communication, text communication, audio, etc. The application's category attribute can be categorized based on its function. For example, if the current application is an instant messaging application that provides online video functionality, it belongs to the video communication category; if the current application is a reading application that provides reading and browsing functionality, it belongs to the browsing category; if the current application is a music player application that provides multimedia playback functionality, it belongs to the audio category, and so on.
[0041] In practice, the function of an application can be determined based on its application package name, and then its category attribute can be determined based on its function.
[0042] Step a2: Based on each of the aforementioned attributes, determine whether the application meets the preset conditions.
[0043] In this step, the mobile terminal determines whether the applications currently displayed on the mobile terminal's screen meet preset conditions based on the category attributes of each application. Specifically, it determines whether the category attributes of each application are consistent. If they are consistent, the applications currently displayed on the mobile terminal's screen meet the preset conditions; otherwise, they do not. For example, if the applications currently displayed on the mobile terminal's screen include a video communication application and a live streaming application, since both functions involve video transmission and belong to the video communication category, their category attributes are consistent, and the applications currently displayed on the mobile terminal's screen meet the preset conditions. However, if the applications currently displayed on the mobile terminal's screen include a video communication application and a reading application, since their category attributes are different, the applications currently displayed on the mobile terminal's screen do not meet the preset conditions, and so on.
[0044] Further, step S10 includes: Step a3: If at least two applications are detected to be displayed, the display content of the applications is determined.
[0045] In this embodiment, if the mobile terminal detects that there are at least two, or more, applications currently displayed on the mobile terminal's display interface, it obtains the display content displayed on the display interface of each application. The display content includes text, images, videos, and audio, etc. In specific implementation, the mobile terminal can identify the display interface of each application to determine the display content of each application.
[0046] Step a4: Based on the displayed content, determine whether the application meets the preset conditions.
[0047] In this embodiment, the mobile terminal determines whether the applications currently displayed on the mobile terminal's display interface meet preset conditions based on the displayed content of each application. Specifically, it determines whether the displayed content of each application belongs to the same format, that is, whether the displayed content of each application is all text, all images, all videos, or all audio, etc. If so, the applications currently displayed on the mobile terminal's display interface are determined to meet the preset conditions; otherwise, they are determined not to meet the preset conditions. For example, if the applications currently displayed on the mobile terminal's display interface include two browsers, and each browser displays text, then the displayed content of the two applications belongs to the same format, and the applications currently displayed on the terminal's display interface meet the preset conditions. If the applications currently displayed on the mobile terminal's display interface include a video application and a reading application, then since the displayed content of the two is different (one is in text format and the other is in video format), the applications currently displayed on the mobile terminal's display interface do not meet the preset conditions, and so on.
[0048] Further, step S10 includes: Step a5: If at least two applications are detected to be displayed, then the number of applications is determined.
[0049] In this embodiment, considering that the more applications a mobile terminal displays, the more the function bar will obscure the display interface of some applications, if the mobile terminal detects that there are at least two, or more, applications currently displayed on the mobile terminal display interface, the number of applications is determined, that is, the number of applications currently displayed on the mobile terminal display interface is counted.
[0050] Step a6: Based on the quantity, determine whether the application meets the preset conditions.
[0051] In this embodiment, the mobile terminal determines whether the applications currently displayed on the mobile terminal display interface meet preset conditions based on the number of applications currently displayed. Specifically, the number of applications is counted and compared with a preset number to determine whether the number of currently displayed applications does not exceed the preset number. If so, the applications currently displayed on the mobile terminal display interface are determined to meet the preset conditions; otherwise, they are determined not to meet the preset conditions. For example, if the applications currently displayed on the mobile terminal display interface include 6 applications, and the preset number is 4, then 6 > 4, therefore the applications currently displayed on the terminal display interface do not meet the preset conditions. If the applications currently displayed on the mobile terminal display interface include 3 applications, then since 3 < 4, the applications currently displayed on the mobile terminal display interface meet the preset conditions, and so on.
[0052] Further, step S10 includes: Step a7: If at least two applications are detected to be displayed, determine the size of the display interface of the application.
[0053] In this embodiment, if the mobile terminal detects that there are at least two, or more, applications currently displayed on the mobile terminal's display interface, the size of the display interface of each application is calculated. In specific implementation, the display interface of the mobile terminal is used as 1 for calculation. For example, if there is only one application currently displayed on the mobile terminal's display interface, its display interface size is 1. If there are two applications currently displayed on the mobile terminal's display interface, and they equally divide the entire mobile terminal's display interface, the display interface size of each application is 0.5, etc.
[0054] Step a8: Based on the size of each of the display interfaces, determine whether the application meets the preset conditions.
[0055] In this embodiment, the mobile terminal determines whether the applications currently displayed on the mobile terminal's display interface meet preset conditions based on the size of the display interfaces of each application. Specifically, it determines the size of the display interface of each application and whether there is at least one target application whose display interface size is not greater than a preset area. If such a target application exists, it is determined that the applications currently displayed on the mobile terminal's display interface do not meet the preset conditions. If not, that is, if the display interface size of all applications is larger than the preset area, it is determined that the applications currently displayed on the mobile terminal's display interface meet the preset conditions. If the mobile terminal display currently shows two applications, each with a display area of 0.5, and the preset area is 0.25, then since 0.5 > 0.25, the applications currently displayed on the terminal display meet the preset conditions. However, if the mobile terminal display currently shows three applications, with two in the upper area and one in the lower area, meaning the two applications in the upper area have a display area of 0.25 and the application in the lower area has a display area of 0.5, then because the display area of one of the target applications is not greater than the preset area of 0.25, the applications currently displayed on the mobile terminal display do not meet the preset conditions.
[0056] Further, step S10 includes: Step a9: If at least two applications are detected to be displayed, determine the location of the display interface of the application. In this embodiment, if the mobile terminal detects that there are at least two, or multiple, applications currently displayed on the mobile terminal display interface, the position of the display interface of each application is determined, that is, the preset position of each application on the mobile terminal display interface.
[0057] Step a10: Based on the position of the display interface, determine whether the application meets the preset conditions.
[0058] In this embodiment, the mobile terminal determines whether the application currently displayed on the mobile terminal's display interface meets the preset conditions based on the position of each application's display interface. Specifically, it determines the position of each application's display interface and then determines whether the position of each application's display interface meets the preset layout. That is, multiple layout methods are preset, and as long as the position of each application's display interface meets the preset layout, it is determined that the application currently displayed on the mobile terminal's display interface meets the preset conditions.
[0059] Step S20: If the condition is met, the function bar will be displayed.
[0060] In this embodiment, if the applications currently displayed on the mobile terminal display interface meet the preset conditions, that is, the category attributes of each application are consistent, then the function bar is displayed. The function bar contains function items that implement multiple functions of the mobile terminal, such as beauty function, recording function, etc.
[0061] Furthermore, in another embodiment, step S20 includes: Step b1: If satisfied, determine the display mode of the function bar; In this step, if it is determined that the application currently displayed on the mobile terminal display interface meets the preset conditions, the display method of the function bar is determined. In specific implementation, an application category attribute-display method mapping table is set in advance. After determining the category attribute of the application currently displayed on the mobile terminal display interface, the display method of the function bar can be determined through the application category attribute-display method mapping table.
[0062] Step b2: Display the function bar based on the aforementioned display method.
[0063] In this step, after determining the display method, the function bar can be displayed according to the display method. The display method includes shared display, where one function bar is displayed on the mobile terminal's display interface, meaning that applications on the mobile terminal's display interface share the same function bar, such as... Figure 3 As shown, the applications currently displayed on the mobile terminal's display interface include application 1 and application 2. A function bar is then displayed on the mobile terminal's display interface. Triggering the function items on this function bar can realize the corresponding functions of the two applications, such as using the beauty function in video communication, such as video chat or live video, or using the recording function in voice call or voice intercom.
[0064] Alternatively, they can be displayed separately, meaning each application on the mobile terminal's display interface can have its own function bar, or each application can use its own function bar. Figure 4 As shown, the applications currently displayed on the mobile terminal's display interface include Application 1 and Application 2. Each application's display interface shows a function bar. Triggering the function items on the function bar can realize the corresponding function of the application, such as Application 1 using the beauty function and Application 2 using the recording function.
[0065] Understandably, a function bar of a size that adapts to the display size of each application's screen can also be displayed. For example, if there is one application currently displayed on the mobile terminal screen, the function bar is displayed at a ratio of 1; if there are two applications currently displayed on the screen, the function bar is displayed at a ratio of 0.5, and so on.
[0066] Furthermore, in another embodiment, after step S20, the function bar display method further includes: Step c: If an execution command based on the function bar is detected, then the function operation corresponding to the execution command is executed.
[0067] In this step, after the function bar is displayed on the mobile terminal's screen, the user can click on it to trigger corresponding execution commands. Therefore, if the mobile terminal detects an execution command based on the function bar, it executes the function operation corresponding to the current execution command. For example, if the applications currently displayed on the mobile terminal's screen include a video communication application and a live streaming application, after the function bar is displayed, the user can click on the beauty function item in the function bar to trigger a beauty command. After detecting the beauty command, the mobile terminal calls the beauty module to beautify the image captured by the mobile terminal's camera. Or, if the applications currently displayed on the mobile terminal's screen include two reading applications, after the function bar is displayed, the user can click on the eye protection function item in the function bar to trigger an eye protection command. After detecting the eye protection command, the mobile terminal calls the eye protection module to adjust the brightness of the mobile terminal's screen, etc.
[0068] Further, step c includes: If an execution command based on the function bar is detected, the target application corresponding to the execution command is determined, and the target application includes one or more applications; In this step, when multiple applications are displayed on the mobile terminal's screen, the sidebar can be used to determine whether it controls one application or multiple applications simultaneously, based on the application's type attribute. That is, if the mobile terminal detects an execution command based on the function bar, it determines the target application corresponding to the execution command. The target application includes one or more applications. Specifically, the target application corresponding to the execution command can be determined based on the type attribute of the currently displayed application and the function item corresponding to the execution command.
[0069] Based on the target application, execute the functional operation corresponding to the execution instruction.
[0070] In this step, the corresponding function operation is performed on the target application, that is, the target application is controlled. For example, if the currently displayed applications are A, B and C, where A and B are video applications, and the user clicks the beauty function in the function bar, the beauty function will be executed on A and B, while C will not be controlled, etc.
[0071] In this embodiment, if at least two applications are detected, it is determined whether the applications meet preset conditions; if so, the function bar is displayed. When displaying multiple applications or other complex application scenarios, the mobile terminal of this invention determines whether to display the function bar by checking whether the currently displayed application meets preset conditions. This allows the mobile terminal to adaptively display the function bar in different application scenarios, improving the intelligence of the mobile terminal and achieving intelligent display of the function bar.
[0072] Furthermore, based on the first embodiment of the function bar display method of the present invention, a second embodiment of the function bar display method of the present invention is proposed.
[0073] The difference between the second embodiment of the function bar display method and the first embodiment of the function bar display method is that, after step S20, the function bar display method further includes: Step d: Determine whether the function bar meets the exit conditions. If it does, exit the function bar.
[0074] In this embodiment, after the mobile terminal displays the function bar, it monitors in real time whether the function bar meets the exit conditions. If it does, the function bar is exited, that is, the function bar is closed. The exit conditions are pre-set conditions.
[0075] Specifically, the steps for determining whether the function bar meets the exit conditions include at least one of the following: d1, determine the first category attribute to which the application belongs, and based on the first category attribute, determine whether the function bar meets the exit conditions; In this step, the mobile terminal monitors the displayed applications in real time, specifically determines the first category attribute to which the currently displayed application belongs, and then determines whether the current function bar meets the exit conditions based on the first category attribute. Specifically, it can be determined whether the number of applications with the same category attribute in the first category attribute of the application reaches a preset threshold. If not, it is determined that the current function bar meets the exit conditions.
[0076] d2, determine the display content of the application, and based on the display content, determine whether the function bar meets the exit conditions; In this step, the mobile terminal monitors the display content of the currently displayed application in real time. Then, based on the display content, it determines whether the current function bar meets the exit conditions. The display content includes text, images, videos, and audio, etc. Specifically, it can be determined whether the display content of each application belongs to the same format, that is, whether the display content of each application is all text, or all images, or all videos, or all audio, etc. If not, it is determined that the currently displayed function bar meets the exit conditions.
[0077] Step d3: Determine a first number of applications, and based on the first number, determine whether the function bar meets the exit conditions; In this step, the mobile terminal monitors the first number of currently displayed applications in real time to determine whether the currently displayed function bar meets the exit conditions. Specifically, the first number of applications is counted and compared with a preset number to determine whether the number of currently displayed applications exceeds the preset number. If so, the currently displayed function bar is determined to meet the exit conditions, etc.
[0078] Step d4: Determine the size of the application's display interface, and based on the size of the display interface, determine whether the function bar meets the exit conditions; In this step, the mobile terminal monitors the size of the display interface of the currently displayed application in real time to determine whether the currently displayed function bar meets the exit conditions. Specifically, it calculates the size of the display interface of each application and determines whether there is at least one target application in each application whose display interface size is not greater than a preset area. If such a target application exists, it is determined that the currently displayed function bar meets the exit conditions.
[0079] Step d5: Determine the location of the application's display interface, and based on the location of the display interface, determine whether the function bar meets the exit conditions; In this step, the mobile terminal monitors the position of the currently displayed application's interface in real time to determine whether the currently displayed function bar meets the exit conditions. Specifically, it determines the position of each application's interface and then determines whether the position of each application's interface meets the preset layout. That is, multiple layout methods are set in advance. If the position of the application's interface does not meet the preset layout, it is determined that the currently displayed function bar meets the exit conditions.
[0080] Step d6: Determine the second category attribute to which the no-running application belongs, and based on the second category attribute, determine whether the function bar meets the exit conditions; In this step, the mobile terminal does not need to monitor the type attribute of the currently displayed application, but rather monitors the second type attribute of applications that are no longer running, i.e., the second type attribute of applications that are closed or in sleep mode. Based on the second type attribute, it determines whether the currently displayed function bar meets the exit conditions. Specifically, it determines whether the type attribute of the applications that are no longer running is consistent. If they are consistent, it determines that the currently displayed function bar meets the exit conditions.
[0081] Step d7: Determine the location of applications that are no longer running, and determine whether the function bar meets the exit conditions; In this step, the mobile terminal monitors the location of no-running applications. This location refers to the layout position of no-running applications on the mobile terminal's desktop. Specifically, it determines whether the location of no-running applications meets the preset layout. If so, it determines that the currently displayed function bar meets the exit conditions, etc.
[0082] Step d8: Determine a second number of applications that are no longer running, and based on the second number, determine whether the function bar meets the exit conditions.
[0083] In this step, the mobile terminal monitors a second number of applications that are no longer running to determine whether the currently displayed function bar meets the exit conditions. Specifically, the second number of applications that are no longer running is counted, along with the total number of all applications installed on the mobile terminal. The second number is calculated to meet a preset percentage, that is, the percentage of the second number to the total number is calculated. If the percentage reaches the preset percentage, it is determined that the currently displayed function bar meets the exit conditions, etc.
[0084] In this embodiment, the function bar also determines whether to exit based on the currently displayed application or an application that is no longer running, thereby improving the intelligence of the mobile terminal and realizing the intelligent display of the function bar.
[0085] Furthermore, based on the first and second embodiments of the function bar display method of the present invention, a third embodiment of the function bar display method of the present invention is proposed.
[0086] The third embodiment of the function bar display method differs from the first and second embodiments in that, after step S20, the function bar display method further includes: Step e: If a switching command based on the application is detected, the target application corresponding to the switching command is switched to be displayed, and the function bar is adjusted based on the target application.
[0087] In this embodiment, when multiple applications require different function items in the function bar, the function bar can be adjusted and displayed according to the actual situation. That is, the mobile terminal can distinguish different applications and open different function bars for different applications.
[0088] Specifically, after the function bar is displayed, if a switching command based on the currently displayed application is detected, the target application corresponding to the switching command will be switched, and the function items in the function bar will be adjusted. Understandably, the displayed application has changed at this time. For example, if the application ABC was initially displayed, after switching the display, the application BCD will be displayed. Initially, a beauty function was needed, but now a recording function is needed. Therefore, the function items in the function bar need to be adjusted to adapt to the newly switched application, etc.
[0089] In this embodiment, the function bar will also open different function items according to different applications to meet the functional needs of different applications, improve the intelligence of the mobile terminal, and realize the intelligent display of the function bar.
[0090] Furthermore, based on the first, second, and third embodiments of the function bar display method of the present invention, a fourth embodiment of the function bar display method of the present invention is proposed.
[0091] The fourth embodiment of the function bar display method differs from the first, second, and third embodiments in that the function bar display method further includes: Step f: Display the function bar; Step g: When at least two applications are detected to be displayed, adjust the function items in the function bar and / or the display position of the function bar based on the applications.
[0092] In this embodiment, the function bar is always displayed on the mobile terminal's display interface. Then, the currently displayed applications are monitored in real time. When at least two applications are detected, the function items in the function bar and / or the display position of the function bar are adjusted according to the currently displayed applications.
[0093] Specifically, the number, type, and content of the currently displayed applications can be adjusted. The timing of the adjustment can refer to the preset conditions or exit conditions of the above embodiments, which will not be elaborated here.
[0094] Reference Figure 5 For example, if the function bar is initially displayed on the left side with the displayed functions ABC, when at least two applications are detected, the function bar will be moved to the right side with the displayed functions AB, etc., to adapt to different application scenarios.
[0095] In this embodiment, the function bar can be continuously displayed, and then the function items and / or the display position of the function bar can be adjusted according to the currently displayed application to adapt to different application scenarios, improve the intelligence of the mobile terminal, and realize the intelligent display of the function bar.
[0096] The present invention also provides a function bar display device. The function bar display device of the present invention includes: The determination module is used to determine whether the application meets preset conditions if at least two applications are detected to be displayed. The determination module is used to determine whether the application meets preset conditions if at least two applications are detected to be displayed. The display module is used to display the function bar if the conditions are met.
[0097] Furthermore, the determining module is also used for: If at least two applications are detected to be displayed, the category attribute of the application is determined, and based on the category attribute, it is determined whether the application meets the preset conditions. If at least two applications are detected to be displayed, the display content of the applications is determined, and based on the display content, it is determined whether the applications meet preset conditions. If at least two applications are detected to be displayed, the number of applications is determined, and based on the number, it is determined whether the applications meet preset conditions. If at least two applications are detected to be displayed, the size of the display interface of the application is determined, and based on the size of the display interface, it is determined whether the application meets the preset conditions. If at least two applications are detected to be displayed, the position of the display interface of the application is determined, and based on the position of the display interface, it is determined whether the application meets the preset conditions.
[0098] Furthermore, the determining module is also used for: Determine whether the function bar meets the exit conditions; if it does, exit the function bar. The step of determining whether the function bar meets the exit conditions includes at least one of the following: Determine the first category attribute to which the application belongs, and based on the first category attribute, determine whether the function bar meets the exit conditions; Determine the display content of the application, and based on the display content, determine whether the function bar meets the exit conditions; Determine a first number of applications, and based on the first number, determine whether the function bar meets the exit conditions; Determine the size of the application's display interface, and based on the size of the display interface, determine whether the function bar meets the exit conditions; Determine the location of the application's display interface, and based on the location of the display interface, determine whether the function bar meets the exit conditions; Determine the second category attribute to which the no-running application belongs, and based on the second category attribute, determine whether the function bar meets the exit conditions; Determine the location of applications that are no longer running, and determine whether the function bar meets the exit conditions; Determine a second number of applications that are no longer running, and based on the second number, determine whether the function bar meets the exit conditions.
[0099] Furthermore, the function bar display device also includes an execution module, which is further used for: If an execution command based on the function bar is detected, the function operation corresponding to the execution command is executed.
[0100] Furthermore, the execution module is also used for: If an execution command based on the function bar is detected, the target application corresponding to the execution command is determined, and the target application includes one or more applications; Based on the target application, execute the functional operation corresponding to the execution instruction.
[0101] Furthermore, the function bar display device also includes an adjustment module, which is further used for: If a switching command based on the application is detected, the target application corresponding to the switching command is switched to be displayed, and the function bar is adjusted based on the target application.
[0102] Furthermore, the adjustment module is also used for: Display the function bar; When at least two applications are detected to be displayed, the function items in the function bar and / or the display position of the function bar are adjusted based on the applications.
[0103] Furthermore, the display module is also used for: If satisfied, then determine the display method of the function bar; The function bar is displayed according to the aforementioned display method.
[0104] The present invention also provides a computer-readable storage medium.
[0105] The present invention provides a computer-readable storage medium storing a function bar display program, which, when executed by a processor, implements the steps of the function bar display method described above.
[0106] The method implemented when the function bar display program running on the processor is executed can be referred to in various embodiments of the function bar display method of the present invention, and will not be repeated here.
[0107] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0108] The sequence numbers of the above embodiments of the present invention are for description only and do not represent the superiority or inferiority of the embodiments.
[0109] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0110] The above are merely preferred embodiments of the present invention and do not limit the patent scope of the present invention. Any equivalent structural or procedural transformations made based on the content of the present invention's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of the present invention.
Claims
1. A method for displaying a function bar, characterized in that, The method for displaying the function bar includes the following steps: If at least two applications are detected to be displayed, it is determined whether the applications meet the preset conditions. If the condition is met, the function bar will be displayed; Wherein, if at least two applications are detected to be displayed, determining whether the applications meet the preset conditions includes at least one of the following: Determine whether the category attributes of the applications are consistent. If they are consistent, the applications meet the preset conditions. Determine whether the displayed content of the application belongs to the same format. If it belongs to the same format, the application meets the preset conditions. Determine the number of applications; if the number of currently displayed applications does not exceed a preset number, the applications meet the preset conditions. The application's display interface size is determined to be larger than a preset area, and the application meets the preset condition. The location of the application's display interface is determined to meet a preset layout, and the application meets preset conditions.
2. The function bar display method as described in claim 1, characterized in that, Determine whether the function bar meets at least one of the following exit conditions; if so, exit the display, including: If the number of the same type of attribute in the first category of the application does not reach a preset threshold, then the function bar meets the exit condition. Determine the display content of the application; if the display content does not belong to the same format, determine that the function bar meets the exit conditions. Determine a first number of applications; if the number of currently displayed applications exceeds a preset number, the function bar meets the exit condition. Determine the size of the application's display interface. If the size of the display interface is not greater than a preset area, the function bar meets the exit condition. Determine the position of the application's display interface; if the position of the display interface does not meet the preset layout, and the function bar meets the exit conditions. If the second category attribute of the no-running application is consistent, then the function bar meets the exit conditions. The location of an application that is no longer running meets the preset layout, and the function bar meets the exit conditions; If the percentage of a second number of applications that are no longer running reaches a preset percentage, the function bar meets the exit condition.
3. The function bar display method as described in claim 1, characterized in that, After the step of displaying the function bar if the condition is met, the function bar display method further includes: If an execution command based on the function bar is detected, the function operation corresponding to the execution command is executed.
4. The function bar display method as described in claim 3, characterized in that, The step of executing the function operation corresponding to the execution command if an execution command based on the function bar is detected includes: If an execution command based on the function bar is detected, the target application corresponding to the execution command is determined, and the target application includes one or more applications; Based on the target application, execute the functional operation corresponding to the execution instruction.
5. The function bar display method as described in claim 1, characterized in that, After the step of displaying the function bar if the condition is met, the function bar display method further includes: If a switching command based on the application is detected, the target application corresponding to the switching command is switched to be displayed, and the function bar is adjusted based on the target application.
6. The function bar display method as described in claim 1, characterized in that, The method for displaying the function bar also includes: Display the function bar; When at least two applications are detected to be displayed, the function items in the function bar and / or the display position of the function bar are adjusted based on the applications.
7. The function bar display method as described in any one of claims 1 to 5, characterized in that, If the condition is met, the steps to display the function bar include: If satisfied, then determine the display method of the function bar; The function bar is displayed according to the aforementioned display method.
8. A mobile terminal, characterized in that, The mobile terminal includes: a memory, a processor, and a function bar display program stored in the memory and executable on the processor. When the function bar display program is executed by the processor, it implements the steps of the function bar display method as described in any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a function bar display program, which, when executed by a processor, implements the steps of the function bar display method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Method and device for displaying function bars
CN105278795A
User interface and method for adapting a menu bar on a user interface
CN105573583A