Electronic equipment, navigation bar management method and storage medium
By determining the state of the electronic device's interface and destroying the hidden navigation bar in the system taskbar, the problem of needing to modify and adapt to all applications multiple times in existing technologies is solved, achieving efficient and immersive navigation bar management and improving the user experience.
Patent Information
- Application Number
- CN202411215978.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2026-03-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In existing technologies, removing the navigation bar requires modifications to each application separately, resulting in a large amount of changes and making it impossible to adapt to all applications with a single modification, leading to low efficiency in navigation bar management.
By determining the current interface state of the electronic device, if it is not in a multi-tasking split-screen state, the system taskbar is destroyed and the navigation bar is hidden, and the page content is displayed in full screen. By leveraging the dependency relationship between the system taskbar and the navigation bar, a single modification can be adapted to all applications.
It improved navigation bar management efficiency, enabled an immersive navigation bar experience across all applications, reduced the amount of modifications required, and enhanced the user experience.
Smart Images

Figure CN121635745A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, and in particular to an electronic device, a method for managing a navigation bar, and a storage medium. Background Technology
[0002] Tablets and other electronic devices typically have a default system taskbar and navigation bar, which creates a margin strip of a certain width at the bottom or side of the device during use.
[0003] In some scenarios, it's necessary to disable the navigation bar to improve the user experience. Currently, one method to disable the navigation bar is to modify and manipulate it at the software framework level. However, this method can only be applied to a single application. To ensure that all applications in an electronic device do not display the navigation bar, multiple separate operations are required, resulting in significant modifications. This approach cannot adapt to all applications with a single change, leading to low efficiency in navigation bar management. Summary of the Invention
[0004] To solve, or at least partially solve, the above-mentioned technical problems, this disclosure provides an electronic device, a navigation bar management method, and a storage medium that enables an immersive navigation bar that can be adapted to all applications with a single modification, thereby improving the management efficiency and user experience of the navigation bar.
[0005] In a first aspect, this disclosure provides an electronic device, comprising:
[0006] The controller is configured as follows:
[0007] Determine whether the current interface state of the electronic device is in a multi-tasking split-screen state;
[0008] If it is determined that the current interface state of the electronic device is not a multi-tasking split-screen state, then it is determined whether the electronic device has created a system taskbar.
[0009] If it is determined that the electronic device has already created the system taskbar, then the system taskbar is destroyed.
[0010] The monitor is configured as follows:
[0011] Hide the navigation bar and display the page content on the electronic device interface in full screen.
[0012] As an optional implementation of this disclosure, the controller is further configured to:
[0013] After the page content on the electronic device interface is displayed in full screen, if it is determined that the interface state of the electronic device has switched to multi-tasking split-screen state, then it is determined whether the system taskbar has been destroyed.
[0014] If it is determined that the system taskbar has been destroyed, then create the system taskbar.
[0015] The display is also configured to:
[0016] The navigation bar of the electronic device is displayed on the interface of the multi-tasking split-screen state.
[0017] As an optional implementation of this disclosure, the display is further configured to:
[0018] Display the icons of applications that support split-screen functionality that have been launched in the electronic device in the navigation bar;
[0019] In response to the user's selection of an application in the system taskbar, the selected applications are displayed in a split-screen format.
[0020] As an optional implementation of this disclosure, the controller is specifically configured as follows:
[0021] Obtain the interface state list of the electronic device, and read the interface state value corresponding to the multi-task split-screen state from the interface state list;
[0022] The current interface state of the electronic device is determined to be in a multi-task split-screen state based on the interface state value corresponding to the multi-task split-screen state.
[0023] The interface state list maintains multiple interface states and the interface state value corresponding to each interface state.
[0024] As an optional implementation of this disclosure, the controller is further configured to:
[0025] Determine whether a target operation by a user for any application installed on the electronic device has been received, the target operation including any one of: a launch operation, a switching operation, and an exit operation;
[0026] If so, then obtain the interface state list of the electronic device.
[0027] As an optional implementation of this disclosure, the controller is further configured to:
[0028] Monitor the page content displayed on the interface of the electronic device, and determine the current interface state of the electronic device based on the displayed page content;
[0029] In the interface state list, the interface state value corresponding to the current interface state is updated to the first state value, and the other interface state values in the interface state list are updated to the second state value.
[0030] As an optional implementation of this disclosure, the controller is further configured to:
[0031] Set the status flags of the system taskbar;
[0032] When the status flag is true, it indicates that the system taskbar has been created; when the status flag is false, it indicates that the system taskbar has been destroyed.
[0033] As an optional implementation of this disclosure, the controller is specifically configured as follows:
[0034] Read the status flag of the system taskbar and determine whether the electronic device has created the system taskbar based on the status flag.
[0035] Secondly, embodiments of this disclosure provide a method for managing a navigation bar, including:
[0036] Determine whether the current interface state of the electronic device is in a multi-tasking split-screen state;
[0037] If it is determined that the current interface state of the electronic device is not a multi-tasking split-screen state, then it is determined whether the electronic device has created a system taskbar.
[0038] If it is determined that the electronic device has already created the system taskbar, then the system taskbar is destroyed.
[0039] Hide the navigation bar and display the page content on the electronic device interface in full screen.
[0040] As an optional implementation of this disclosure, after displaying the page content on the electronic device interface in full screen, the method further includes:
[0041] If it is determined that the interface state of the electronic device has switched to multi-tasking split-screen state, then it is determined whether the system taskbar has been destroyed.
[0042] If it is determined that the system taskbar has been destroyed, then create the system taskbar.
[0043] The navigation bar of the electronic device is displayed on the interface of the multi-tasking split-screen state.
[0044] As an optional implementation of this disclosure, the method further includes:
[0045] Display the icons of applications that support split-screen functionality that have been launched in the electronic device in the navigation bar;
[0046] In response to the user's selection of an application in the system taskbar, the selected applications are displayed in a split-screen format.
[0047] As an optional implementation of this disclosure, determining whether the current interface state of the electronic device is in a multi-tasking split-screen state includes:
[0048] Obtain the interface state list of the electronic device, and read the interface state value corresponding to the multi-task split-screen state from the interface state list;
[0049] The current interface state of the electronic device is determined based on the interface state value corresponding to the multi-task split-screen state; wherein, the interface state list maintains multiple interface states and the interface state value corresponding to each interface state.
[0050] As an optional implementation of this disclosure, the method includes:
[0051] Determine whether a target operation by a user for any application installed on the electronic device has been received, the target operation including any one of: a launch operation, a switching operation, and an exit operation;
[0052] If so, then obtain the interface state list of the electronic device.
[0053] As an optional implementation of this disclosure, the method includes:
[0054] Monitor the page content displayed on the interface of the electronic device, and determine the current interface state of the electronic device based on the displayed page content;
[0055] In the interface state list, the interface state value corresponding to the current interface state is updated to the first state value, and the other interface state values in the interface state list are updated to the second state value.
[0056] As an optional implementation of this disclosure, the method includes:
[0057] Set the status flag of the system taskbar; wherein, when the status flag is true, it indicates that the system taskbar has been created; when the status flag is false, it indicates that the system taskbar has been destroyed.
[0058] As an optional implementation of this disclosure, determining whether the electronic device has created a system taskbar includes:
[0059] Read the status flag of the system taskbar and determine whether the electronic device has created the system taskbar based on the status flag.
[0060] Thirdly, embodiments of this disclosure provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the navigation bar management method as described in the second aspect.
[0061] The technical solution provided in this disclosure has the following advantages compared with the prior art:
[0062] In this embodiment, the controller determines whether the current interface state of the electronic device is a multi-tasking split-screen state. If it is determined that the current interface state of the electronic device is not a multi-tasking split-screen state, it determines whether the electronic device has created a system taskbar. If it is determined that the electronic device has created a system taskbar, the system taskbar is destroyed. The display hides the navigation bar and displays the page content on the electronic device's interface in full screen. In this embodiment, when the current interface state of the electronic device is not a multi-tasking split-screen state, the system taskbar is destroyed. Using the destruction of the system taskbar as a trigger condition, the navigation bar in the electronic device is hidden, and the page content on the electronic device's interface is displayed in full screen. Both the navigation bar and the system taskbar are hidden. This method eliminates the need to modify and operate the navigation bars of different applications at the software framework level, resulting in minimal modifications. It indirectly achieves an immersive navigation bar that adapts to all applications with a single modification, improving navigation bar management efficiency and user experience. Attached Figure Description
[0063] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0064] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0065] Figure 1A This is a schematic diagram of the interface display of an electronic device provided in an embodiment of the present disclosure;
[0066] Figure 1B A schematic diagram of the interface display of another electronic device provided in an embodiment of this disclosure;
[0067] Figure 2A This is a hardware configuration block diagram of the electronic device in an embodiment of this disclosure;
[0068] Figure 2B This is a schematic diagram of the software configuration of the electronic device in an embodiment of this disclosure;
[0069] Figure 3 A schematic diagram of the main interface of the starter application in an electronic device system provided in this embodiment of the disclosure;
[0070] Figure 4 A flowchart illustrating the navigation bar management method provided in this embodiment of the disclosure;
[0071] Figure 5A A schematic diagram of the taskbar interface of an electronic device provided in an embodiment of this disclosure;
[0072] Figure 5B A schematic diagram of a full-screen display interface for an electronic device provided in an embodiment of this disclosure;
[0073] Figure 6A A schematic diagram of the interface for displaying a navigation bar in an electronic device provided in an embodiment of this disclosure;
[0074] Figure 6B A schematic diagram of a full-screen display interface for an electronic device provided in an embodiment of this disclosure;
[0075] Figure 7 A flowchart illustrating another navigation bar management method provided in this embodiment of the disclosure;
[0076] Figure 8 A schematic diagram of an interface in a multi-tasking split-screen state provided in an embodiment of this disclosure;
[0077] Figure 9 A schematic diagram of an interface for displaying the system taskbar in a multi-tasking split-screen state, provided by an embodiment of this disclosure;
[0078] Figure 10 This is a schematic diagram of the structure of a computer device provided in an embodiment of this disclosure. Detailed Implementation
[0079] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.
[0080] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.
[0081] The terms "first" and "second," etc., used in this disclosure are used to distinguish different objects, not to describe a specific order of objects. For example, "first processing result" and "second processing result," etc., are used to distinguish different processing results, not to describe a specific order of processing results.
[0082] First, let's illustrate the application scenarios of this disclosure with an example. Some electronic devices have a default system taskbar and at least one navigation bar. The system taskbar is a rectangular selection box located at the bottom of the desktop or screen of an electronic device. It mainly consists of the Start Menu, Quick Launch bar, application area, and system tray. The main functions of the taskbar include displaying current tasks, setting up a Quick Launch bar for easy access, displaying some important programs currently running on the computer, setting frequently used programs, and controlling the switching between multiple tasks and windows. The navigation bar is usually located at the top or side of the software interface of an electronic device (such as a webpage or application interface). It is a horizontal or vertical bar used to provide quick access to and operation of various functions and tools. It is designed to include menus, buttons, icons, and text, with the main purpose of helping users quickly locate and use various functions of the software, improving user efficiency and experience. Each navigation item in the navigation bar has a clear label and easy-to-understand markings for quick identification and selection by the user.
[0083] In some cases, when an application is launched or in use, the system taskbar appears as a margin bar of a certain width and color at the bottom of the electronic device's interface, without displaying any other content within the margin bar. For example, see [reference needed]. Figure 1A As shown, during the startup process of application XXX, a margin bar of a certain width is displayed at the bottom of the interface. Alternatively, during application usage, a navigation bar is displayed at the bottom of the interface. (See reference...) Figure 1B As shown, during the use of the YYY application, a navigation bar for the YYY application is displayed at the bottom of the interface, affecting the user experience. Furthermore, for multiple navigation bars on electronic devices, one method to disable the navigation bar is to modify and manipulate the navigation bar at the software framework level. However, this method can only be applied to a specific application, ensuring that its navigation bar is not displayed during the use of that application, while other applications will still display their navigation bars. To achieve the goal of disabling the navigation bar in all applications, multiple modifications and operations at the software framework level are required, making it impossible to adapt to all applications with a single modification, resulting in significant changes.
[0084] Based on this, this disclosure provides an electronic device, a navigation bar management method, and a storage medium. The method determines whether the current interface state of the electronic device is in a multi-tasking split-screen state. If it is determined that the current interface state is not in a multi-tasking split-screen state, it determines whether the electronic device has created a system taskbar. If it is determined that the electronic device has created a system taskbar, it destroys the system taskbar and displays the page content on the electronic device's interface in full screen. This disclosure manages the navigation bar on the electronic device through the provided navigation bar management method. Utilizing the dependency relationship between the system taskbar and the navigation bar, the navigation bar will not appear if the system taskbar does not exist. When it is determined that the current interface state of the electronic device is not in a multi-tasking split-screen state, the system taskbar is destroyed. Based on the destruction of the system taskbar, the page content on the electronic device's interface is displayed in full screen, while the navigation bar and system taskbar are hidden. This indirectly achieves adaptation to all applications with a single modification, requiring minimal changes and improving the management efficiency of the navigation bar.
[0085] First, this disclosure provides an electronic device 200, exemplified by a tablet computer. In some embodiments, a user can input user commands via voice input, touch, or other means to control and operate the electronic device 200. For example, the user's voice commands can be directly received by a module configured inside the electronic device 200, or the user's voice commands can be received by a voice control device external to the electronic device 200.
[0086] In some embodiments, the electronic device 200 also communicates with a server. The electronic device 200 may be allowed to communicate via a local area network (LAN), a wireless local area network (WLAN), and other networks.
[0087] Figure 2A The diagram illustrates, for example, a hardware configuration block diagram of an electronic device 200. For example, refer to... Figure 2AAs shown, electronic device 200 includes at least one of the following: tuner / demodulator 210, communicator 220, detector 230, external device interface 240, controller 250, display 260, audio output interface 270, memory, power supply, and user interface (i.e., user input interface) 280. Controller 250 includes a central processing unit, video processor, audio processor, graphics processor, RAM, ROM, and a first to nth interface for input / output. Display 260 may be at least one of liquid crystal display, OLED display, touch display, and projection display, and may also be a projection device and projection screen. Tuner / demodulator 210 receives broadcast television signals via wired or wireless means, and demodulates audio and video signals, such as EPG data signals, from multiple wireless or wired broadcast television signals. Communicator 220 is a component for communicating with external devices or servers according to various communication protocol types. For example, communicator may include at least one of the following: Wi-Fi module, Bluetooth module, wired Ethernet module, other network communication protocol chips or near-field communication protocol chips, and infrared receiver. Electronic device 200 can establish the transmission and reception of control signals and data signals with external control device 100 or service server 500 through communicator 220. Detector 230 is used to collect signals from the external environment or signals interacting with the outside world. The first controller 250 and tuner / demodulator 210 can be located in different separate devices; that is, tuner / demodulator 210 can also be located in an external device of the main device where the first controller 250 is located, such as an external set-top box. User interface 280 can be used to receive control operations from control devices (such as keyboards).
[0088] In some embodiments, the controller 250 controls the operation of the electronic device and responds to user operations through various software control programs stored in memory. The controller 250 controls the overall operation of the electronic device 200. The user can input commands through a graphical user interface (GUI) displayed on the display 260, and the user input interface receives the user input commands through the GUI. Alternatively, the user can input commands by entering specific sounds or gestures, and the user input interface receives the user input commands by recognizing the sounds or gestures through sensors.
[0089] In some embodiments, a "user interface" is the medium through which an application or operating system interacts and exchanges information with a user, enabling the conversion between the internal form of information and a form acceptable to the user. A common form of user interface is the graphical user interface (GUI), which refers to a user interface related to computer operation displayed graphically. It can be interface elements such as icons, windows, and controls displayed on the screen of an electronic device. Controls can include at least one of the visual interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets.
[0090] Figure 2B This is a schematic diagram of the software configuration in an electronic device 200 according to one or more embodiments of the present disclosure, such as... Figure 2B As shown, the system is divided into four layers, from top to bottom: the Applications layer (referred to as the "Application Layer"), the Application Framework layer (referred to as the "Framework Layer"), the Android runtime and system library layer (referred to as the "System Runtime Library Layer"), and the kernel layer.
[0091] In some embodiments, at least one application runs in the application layer. These applications may be Windows programs, system settings programs, or clock programs that come with the operating system; they may also be applications developed by third-party developers. In specific implementations, the applications in the application layer include, but are not limited to, the examples above.
[0092] In some embodiments, the system runtime library layer provides support for the upper layer, namely the framework layer. When the framework layer is used, the Android operating system runs the C / C++ libraries contained in the system runtime library layer to implement the functions that the framework layer needs to perform.
[0093] In some embodiments, the kernel layer is a layer between hardware and software, and includes at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver, etc.
[0094] Figure 3This diagram illustrates the main interface of the launcher application in an electronic device system provided in one or more embodiments of this disclosure, i.e., the launcher homepage. As the desktop of the electronic device system, the launcher homepage is a crucial window for user interaction with the device, determining the UI aesthetics, performance, and user experience. It typically includes frequently used application icons, widgets, shortcuts, etc., allowing users to quickly access applications or perform specific operations. Users can launch applications by clicking icons. Users can directly view and operate application information or functions on the desktop using widgets, such as weather, clock, and music playback controls. Users can create shortcuts for specific applications or operations and place them on the launcher homepage for quick access. Users can also organize multiple application icons into folders to save space and make the desktop cleaner. The launcher homepage can also provide a search box, allowing users to quickly find and launch applications by entering keywords. Users can personalize the launcher homepage according to their preferences and needs, such as changing wallpapers, adjusting icon sizes, and altering layouts.
[0095] In some embodiments of this disclosure, after the electronic device is powered on and enters the lanuncher homepage, it begins to execute the navigation bar management method.
[0096] Reference Figure 4 As shown, Figure 4 This is a flowchart illustrating a navigation bar management method provided in one embodiment of the present disclosure, as shown below. Figure 4 As shown, the management method of this navigation bar specifically includes the following steps S410 to S440.
[0097] S410. Determine whether the current interface state of the electronic device is in multi-tasking split-screen mode.
[0098] The interface state of an electronic device can include multitasking split-screen mode, home screen display mode, application display mode, etc. Multitasking split-screen mode means the electronic device's display interface is divided into at least two parts, each of which can independently display and run different applications, allowing users to handle multiple tasks on the same screen. This allows users to perform multiple operations simultaneously without switching applications, such as browsing the web while chatting, or editing a document while viewing reference materials. Home screen display mode means the electronic device's interface displays the system homepage. Application display mode means the electronic device's interface displays the login screen, registration screen, and application interface of a specific application, etc. The current interface state of the electronic device is the currently displayed interface state.
[0099] Specifically, electronic devices are equipped with state awareness modules, application switching modules, system taskbar management modules, navigation bar management modules, etc., which can be integrated into the controller. When the electronic device is powered on, the state awareness module obtains the current interface state of the electronic device and determines whether the current interface state is in a multi-tasking split-screen state or has entered a multi-tasking split-screen state.
[0100] For example, determining whether the current interface state of an electronic device is in a multi-tasking split-screen state may include: monitoring user actions on the electronic device and determining whether the current interface state is in a multi-tasking split-screen state based on the monitored user actions; or, obtaining the current interface state value of the electronic device and determining whether the current interface state is in a multi-tasking split-screen state based on the interface state value.
[0101] In some embodiments, a specific implementation of determining whether the current interface state of an electronic device is a multi-task split-screen state includes: obtaining a list of interface states of the electronic device, reading the interface state value corresponding to the multi-task split-screen state from the list of interface states; determining whether the current interface display state of the electronic device is a multi-task split-screen state based on the interface state value corresponding to the multi-task split-screen state; wherein, the list of interface states maintains multiple interface states and the interface state value corresponding to each interface state.
[0102] The interface state list is a list established to maintain multiple interface states of the electronic device and the corresponding interface state value for each interface state. It is updated in real time or at preset time intervals and stored in a preset location on the electronic device. The interface state value is a numerical value or identifier that reflects the current state of the interface. It can be a Boolean value, a number, a string, etc.
[0103] Specifically, in some embodiments, when the interface state value is a Boolean value, the state perception module of the electronic device reads the interface state list of the electronic device, reads the interface state value corresponding to each interface state in the interface state list, and determines that the interface state corresponding to the interface state value with a Boolean value of true is the current interface state; if the interface state corresponding to the interface state value with a Boolean value of true is a multi-tasking split-screen state, then the current interface state of the electronic device is determined to be a multi-tasking split-screen state; if the interface state corresponding to the interface state value with a Boolean value of true is a homepage display state or an application display state, then the current interface state of the electronic device is determined not to be a multi-tasking split-screen state.
[0104] For example, the interface state values corresponding to each interface state are read from the interface state list. The interface state with a value of 1 is determined. If the interface state is a multi-tasking split-screen state, then the current interface state of the electronic device is determined to be a multi-tasking split-screen state. If the interface state value corresponding to the multi-tasking split-screen state is 0, then the current interface state of the electronic device is determined not to be a multi-tasking split-screen state.
[0105] In some embodiments, when the interface state value is another identifier, each interface state is set with a corresponding preset standard value, which is used to indicate the current interface. The read interface state values are matched with multiple preset standard values, and the interface state corresponding to the matched interface state value is the current interface state. For example, if the interface state corresponding to the matched interface state value is a multi-tasking split-screen state, then the current interface state of the electronic device is determined to be a multi-tasking split-screen state; if the interface state corresponding to the matched interface state value is a homepage display state or an application display state, then the current interface state of the electronic device is determined not to be a multi-tasking split-screen state.
[0106] For example, the first preset standard value indicates that the current display interface of the electronic device is in a multi-tasking split-screen state, the second preset standard value indicates that the current display interface of the electronic device is in a homepage display state, and the third preset standard value indicates that the current display interface of the electronic device is in an application display state. The interface state list is updated according to the changes in the electronic device's interface, updating the interface state value corresponding to the current interface to the corresponding preset standard value. Thus, each interface state value in the interface state list is read, and each read interface state value is matched with the first preset standard value, the second preset standard value, and the third preset standard value; if it matches the first preset standard value, the current interface state of the electronic device is determined to be a multi-tasking split-screen state; otherwise, it is not.
[0107] In some embodiments, a first string is set as a first state value, and a second string is set as a second state value. The first state value indicates that the interface state is the current interface state displayed by the electronic device, and the second state value indicates that the interface state is not the current interface state displayed by the electronic device. The interface state list can be updated based on the first and second state values.
[0108] For example, the system monitors the page content displayed on the interface of an electronic device and determines the current interface state of the electronic device based on the displayed page content; it then updates the interface state value corresponding to the current interface state to the first state value in the interface state list and updates the other interface state values in the interface state list to the second state value.
[0109] When the interface of an electronic device is switched, the current interface state may change. Therefore, in some embodiments, the triggering time for obtaining the list of interface states of the electronic device can be set.
[0110] For example, it is determined whether a target operation by a user on any application installed on the electronic device has been received, the target operation including any one of: a launch operation, a switching operation, and an exit operation; if so, a list of interface states of the electronic device is obtained.
[0111] Then, the current interface state of the electronic device is determined based on the interface state list. If it is determined that the current interface state of the electronic device is not in a multitasking split-screen state, such as being in the system homepage display state or in the display state of a certain application, then the following step S420 is executed. If it is determined that the current interface state of the electronic device has entered a multitasking split-screen state, and a system taskbar has not been created, then a system taskbar is created.
[0112] S420. Determine if the electronic device has already created a system taskbar.
[0113] Specifically, the status awareness module of the electronic device can determine whether the components of the system taskbar exist. If the components of the system taskbar exist, it is determined that the electronic device has created the system taskbar; if the components of the system taskbar do not exist, it is determined that the system taskbar of the electronic device has been destroyed or has not yet been created.
[0114] In some embodiments, a specific implementation for determining whether an electronic device has created a system taskbar includes: reading the status flag of the system taskbar and determining whether the electronic device has created the system taskbar based on the status flag.
[0115] Specifically, the system taskbar has a status flag indicating whether the system taskbar has been created. The system taskbar management module records and marks the creation and destruction of the system taskbar. When the status flag is true, it indicates that the system taskbar has been created; when the status flag is false, it indicates that the system taskbar has been destroyed. The status flag is continuously updated.
[0116] If it is determined that the electronic device has already created a system taskbar, then perform the following step S430.
[0117] S430. Destroy the system taskbar.
[0118] Specifically, after determining that the electronic device has created a system taskbar, the status awareness module sends a local broadcast to notify the electronic device's system taskbar management module to destroy the components of the system taskbar. After the system taskbar is destroyed, it will no longer be displayed.
[0119] For example, refer to Figure 5AAs shown, before the system taskbar is destroyed, the system taskbar 51, a border bar of a certain width, is displayed at the bottom of the electronic device's interface. After the system taskbar is destroyed, refer to... Figure 5B As shown, the system taskbar 51 is no longer displayed on the interface of the electronic device, and the page content on the electronic device interface is displayed in full screen.
[0120] S440: Hides the navigation bar and displays the page content on the electronic device interface in full screen.
[0121] The page content refers to the content displayed on the electronic device's screen, excluding the system taskbar and navigation bar.
[0122] Specifically, the electronic device's display responds to the destruction of the system taskbar by canceling the display of the system taskbar and hiding the navigation bar.
[0123] In some embodiments, the system taskbar and navigation bar of an electronic device are dependent on each other. The navigation bar will not appear if the system taskbar is not created, and it will also disappear after the system taskbar is destroyed. Therefore, the electronic device's navigation bar will not be displayed after the system navigation bar is destroyed. By indirectly destroying the navigation bar through the destruction of the system taskbar, the goal of displaying the page content on the electronic device's interface in full-screen mode is achieved.
[0124] In some embodiments, the destruction of the system taskbar may not cause the destruction of the navigation bar, but the destruction of the system taskbar will be used as the trigger condition to hide all navigation bars. After it is determined that the system navigation bar has been destroyed, the displayed navigation bar will be hidden, and the page content on the electronic device interface will be displayed in full screen.
[0125] Exemplary reference Figure 6A As shown, before the system taskbar is destroyed, the bottom of the application interface of the electronic device displays a navigation bar 61, which is a border bar of a certain width and color, and displays relevant topics such as "Number of Viewers...". After the system taskbar is destroyed, refer to... Figure 6B As shown, the navigation bar 61 at the bottom of the application interface of the electronic device is hidden, and the navigation bar is no longer displayed. The application page content on the electronic device interface is displayed in full screen. The navigation bar management method provided in this embodiment of the disclosure can achieve an immersive navigation bar experience for the application without the need for separate adaptation to each application.
[0126] In this embodiment, the controller determines whether the current interface state of the electronic device is a multi-tasking split-screen state. If it is determined that the current interface state of the electronic device is not a multi-tasking split-screen state, it determines whether the electronic device has created a system taskbar. If it is determined that the electronic device has created a system taskbar, the system taskbar is destroyed. The display hides the navigation bar and displays the page content on the electronic device's interface in full screen. In this embodiment, when the current interface state of the electronic device is not a multi-tasking split-screen state, the system taskbar is destroyed. Using the destruction of the system taskbar as a trigger condition, the navigation bar in the electronic device is hidden, and the page content on the electronic device's interface is displayed in full screen. Both the navigation bar and the system taskbar are hidden. This method eliminates the need to modify and operate the navigation bars of different applications at the software framework level, resulting in minimal modifications. It indirectly achieves an immersive navigation bar that adapts to all applications with a single modification, improving navigation bar management efficiency and user experience.
[0127] The navigation bar management method provided in this disclosure, after displaying the page content on the electronic device interface in full screen, may further include a process for creating a system taskbar. For example, in... Figure 4 Based on the illustrated embodiment, after displaying the page content on the electronic device interface in full screen, the following steps S710 to S740 are further included. (Refer to...) Figure 7 As shown, Figure 7 This is a flowchart illustrating a navigation bar management method according to another embodiment of this disclosure. The same or similar steps described in the foregoing embodiments will not be explained or illustrated here.
[0128] S710: Determine whether the interface state of the electronic device has switched to multi-tasking split-screen mode.
[0129] Specifically, electronic devices can detect user actions through an application switching module to determine whether the device's interface has switched to multitasking split-screen mode. For example, if an electronic device allows a user to long-press an application icon in the recently used applications view and drag it to the "split-screen" area at the top center of the screen, and then select another application to split-screen with, detecting the user's long-press and dragging of the application icon indicates that the electronic device's interface has switched to multitasking split-screen mode. Alternatively, if the electronic device supports split-screen operations using keyboard shortcuts, detecting the user's use of keyboard shortcuts indicates that the electronic device's interface has switched to multitasking split-screen mode. Further examples are not provided here.
[0130] In some embodiments, after determining that the interface state of the electronic device has switched to a multi-tasking split-screen state, the interface state values in the interface state list are updated. For example, the interface state value corresponding to the multi-tasking split-screen state in the interface state list is updated to a first state value, and the interface state values corresponding to other interface states are updated to second state values.
[0131] If it is determined that the interface state of the electronic device has switched to multitasking split-screen mode, then the following step S720 is executed. If it is determined that the electronic device is still not in multitasking split-screen mode, for example, for an application exit operation, an application switching operation, or an application launch operation, then the switched page content is still displayed in full screen.
[0132] S720: Determine if the system taskbar has been destroyed.
[0133] Specifically, electronic devices can read the status flag of the system taskbar through the system taskbar management module to determine whether the system taskbar has been destroyed. If the status flag is true, it means the system taskbar has not been destroyed. If the status flag is false, it means the system taskbar has been destroyed.
[0134] If it is determined that the system taskbar has been destroyed, a broadcast is sent to the taskbar management module, and the following steps S730 to S740 are executed.
[0135] S730, Create a system taskbar.
[0136] Specifically, the system taskbar management module of the electronic device executes the system taskbar creation logic to create the system taskbar, and the system taskbar management module records that the status flag of the system taskbar is true. When exiting the multi-tasking split-screen state and switching to other applications or states, if the system taskbar has a creation record, the system taskbar destruction operation will be performed again; otherwise, the destruction operation will not be performed.
[0137] S740: Displays the navigation bar of the electronic device on the interface in multitasking split-screen mode.
[0138] Specifically, the navigation bar management module of the electronic device controls the display to show the page content and navigation bar in the multi-tasking split-screen state.
[0139] In some embodiments, the creation logic of the navigation bar is triggered by the creation of the system taskbar, and the navigation bar is created and displayed.
[0140] In some embodiments, after the navigation bar is displayed, icons of applications that have been launched on the electronic device and support split-screen functionality are displayed in the navigation bar; in response to the user's selection of applications in the system taskbar, multiple applications selected by the user are displayed in split-screen mode.
[0141] Specifically, after the navigation bar is displayed on the electronic device's interface, the device will filter out applications with split-screen functionality from the already launched applications and display their icons on the navigation bar. (See reference...) Figure 8 As shown, Figure 8 This is a schematic diagram of an interface in a multi-tasking split-screen state according to an embodiment of this disclosure. The navigation bar 81 can be displayed as a polygon at a preset position; however, this embodiment does not specifically limit the preset position. Users can then drag and drop icons of non-launched applications that support split-screen functionality to display on the navigation bar. Users can then select the application icons in the navigation bar to determine which applications need to be displayed in split-screen mode. For example, if the user selects application A and application B, the cross-section of the electronic device is divided into two parts, displaying application A and application B in split-screen mode. The number of applications displayed in split-screen mode is determined by the number of applications selected by the user in the navigation bar.
[0142] In some embodiments, after the system taskbar is created in the multitasking split-screen state interface, it can also be displayed at the bottom of the multitasking split-screen state interface, as shown below. Figure 9 As shown, Figure 9 This is a schematic diagram of the interface for displaying the system taskbar in a multi-tasking split-screen state according to an embodiment of this disclosure. 91 represents the displayed system taskbar.
[0143] In some embodiments, in the multi-tasking split-screen interface, after the system taskbar is created, it may not be displayed, and only the navigation bar may be displayed. This disclosure does not make specific limitations.
[0144] This disclosure embodiment controls the creation and destruction timing of the system taskbar. When an electronic device enters the system homepage or other applications, the creation process of the system taskbar is blocked, preventing its creation and thus ensuring that the navigation bar is not displayed in these scenarios. This achieves a unified, immersive navigation bar adaptation in these scenarios. The system taskbar is only created when entering a multi-tasking split-screen scenario, reducing the workload and cost of individually adapting immersive navigation bars for each application on the electronic device. This improves the efficiency of system and application adaptation for immersive navigation bars and enhances the user's visual experience when using the electronic device.
[0145] This disclosure provides a computer device, including: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement any of the navigation bar management methods described in this disclosure.
[0146] Figure 10 This is a schematic diagram of the structure of a computer device provided in an embodiment of this disclosure. Figure 10 As shown, the computer device includes a processor 101 and a storage device 102; the number of processors 101 in the computer device can be one or more. Figure 10 Taking a processor 101 as an example; the processor 101 and the storage device 102 in the computer device can be connected via a bus or other means. Figure 10 Taking the example of a connection between China and Israel via a bus.
[0147] Storage device 102, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as the program instructions / modules corresponding to the navigation bar management method in this embodiment of the present disclosure. Processor 101 executes various functional applications and data processing of the computer device by running the software programs, instructions, and modules stored in storage device 102, thereby realizing the navigation bar management method provided in this embodiment of the present disclosure.
[0148] Storage device 102 may primarily include a stored program area and a stored data area. The stored program area may store the operating system and at least one application program required for a given function; the stored data area may store data created based on terminal usage. Furthermore, storage device 102 may include a high-speed random access storage device, and may also include a non-volatile storage device, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some instances, storage device 102 may further include storage devices remotely located relative to processor 101, which can be connected to computer equipment via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0149] The computer device provided in this embodiment can be used to execute the navigation bar management method provided in any of the above embodiments, and has corresponding functions and beneficial effects.
[0150] This disclosure provides a computer-readable storage medium storing a computer program. When executed by a processor, the computer program implements the various processes of the navigation bar management method described above and achieves the same technical effect. To avoid repetition, further details are omitted here.
[0151] The computer-readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.
[0152] This disclosure provides a computer program product, including: when the computer program product is run on a computer, causing the computer to implement the above-described navigation bar management method.
[0153] For ease of explanation, the above description has been provided in conjunction with specific embodiments. However, the discussion in some embodiments above is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. Various modifications and variations can be obtained based on the above teachings. The selection and description of the above embodiments are for the purpose of better explaining the principles and practical applications, thereby enabling those skilled in the art to better utilize the embodiments and various different variations of the embodiments suitable for specific application considerations.
Claims
1. An electronic device, comprising: Comprising: a controller configured to: determine whether a current interface state of the electronic device is a multi-task split screen state; if it is determined that the current interface state of the electronic device is not the multi-task split screen state, determine whether the electronic device has created a system task bar; if it is determined that the electronic device has created the system task bar, destroy the system task bar; a display configured to: hide a navigation bar and display page content on an interface of the electronic device in full screen.
2. The electronic device of claim 1, wherein, The controller is further configured to: after displaying the page content on the interface of the electronic device in full screen, if it is determined that the interface state of the electronic device switches to the multi-task split screen state, determine whether the system task bar has been destroyed; if it is determined that the system task bar has been destroyed, create a system task bar; The display is further configured to: display the navigation bar of the electronic device on an interface in the multi-task split screen state.
3. The electronic device of claim 2, wherein, The display is further configured to: display icons of applications supporting the split screen function that have been started in the electronic device in the navigation bar; in response to a selection operation of a user on an application in the system task bar, display the multiple applications selected by the user in split screen.
4. The electronic device of claim 1, wherein, The controller is specifically configured to: obtain an interface state list of the electronic device, and read an interface state value corresponding to the multi-task split screen state in the interface state list; determine whether the current interface state of the electronic device is the multi-task split screen state based on the interface state value corresponding to the multi-task split screen state; wherein the interface state list maintains multiple interface states and an interface state value corresponding to each interface state.
5. The electronic device of claim 4, wherein, The controller is further configured to: determine whether a target operation of a user on any application installed on the electronic device is received, the target operation including any one of a start operation, a switch operation, and a quit operation; if yes, obtain an interface state list of the electronic device.
6. The electronic device of claim 4, wherein, The controller is further configured to: listen to page content displayed on an interface of the electronic device, and determine a current interface state of the electronic device according to the displayed page content; update an interface state value corresponding to the current interface state to a first state value and update other interface state values in the interface state list to a second state value in the interface state list.
7. The electronic device of claim 1, wherein, The controller is further configured to: set a state flag bit of the system task bar; wherein the state flag bit is true when indicating that the system task bar has been created, and the state flag bit is false when indicating that the system task bar has been destroyed.
8. The electronic device of claim 7, wherein, The controller is specifically configured to: read the state flag bit of the system task bar, and determine whether the electronic device has created the system task bar according to the state flag bit.
9. A method of managing a navigation bar, the method comprising: Comprising: determining whether a current interface state of an electronic device is a multi-task split screen state; if it is determined that the current interface state of the electronic device is not the multi-task split screen state, determining whether the electronic device has created a system task bar; if it is determined that the electronic device has created the system task bar, destroying the system task bar; conceal the navigation bar and display page content on the electronic device interface in full screen.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program, when executed by a processor, implements the management method of the navigation bar according to claim 9.