Equipment user interface display method and device, electronic equipment and storage medium
By displaying the floating navigation bar on the user interface of multi-system electronic devices and performing interface hierarchy backtracking and system hierarchy switching operations, the complex user interface switching problem is solved, and convenient interface management and efficient conversion process is achieved.
Patent Information
- Application Number
- CN202411982597.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-05-16
AI Technical Summary
In multi-system electronic devices, user interface switching operations are complex and it is difficult to achieve convenient interface management.
By displaying the floating navigation bar on the user interface and performing interface hierarchy backtracking and system hierarchy switching operations according to user operations, convenient switching of the user interface is achieved.
It simplifies the user's conversion process between user interfaces in different systems, reduces the conversion time cost, and improves the management efficiency of the user interface.
Smart Images

Figure CN120010716A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of smart devices, and in particular to a device user interface display method, apparatus, electronic device and storage medium. Background Art
[0002] An operating system (OS) is a computer program that manages the hardware and software resources of smart terminals. With the continuous advancement of information technology and the popularization of smart devices, users' demand for diversified device functions is growing, and more and more electronic devices are beginning to support multi-system coexistence, that is, installing and running multiple operating systems on the same electronic device at the same time, providing users with a more flexible and diverse functional experience. For example, in some high-end smart terminals or hybrid office equipment, electronic devices may be equipped with systems such as Hongmeng, Windows, and Android at the same time.
[0003] When using multi-system electronic devices, users often need to switch between user interfaces of different systems to adapt to different work, entertainment or professional application scenarios. The display and management of user interfaces is a difficult point. How to effectively manage the display of user interfaces and realize convenient switching of user interfaces in multi-system electronic devices is a technical problem that needs to be solved at present. Summary of the invention
[0004] The embodiments of the present application provide a device user interface display method, apparatus, electronic device and storage medium, which can effectively manage the display of the user interface and realize convenient switching of the user interface in multi-system electronic devices.
[0005] In a first aspect, an embodiment of the present application provides a device user interface display method, the method is applied to an electronic device, the electronic device includes a master system and at least one slave system, a navigation bar on the electronic device is displayed on the user interface of the electronic device in a floating manner, and its display level is higher than other application icons on the user interface; the method includes:
[0006] Obtaining a first user operation instruction of the navigation bar;
[0007] Based on the first user operation instruction, an interface level backtracking operation is performed, wherein the interface level backtracking operation is used to backtrack the currently displayed user interface and display the previous level user interface;
[0008] When the currently displayed user interface is a slave system user interface, obtaining a second user operation instruction of the navigation bar;
[0009] Based on the second user operation instruction, a system level switching operation is performed, wherein the system level switching operation is used to switch the display of the slave system user interface to the master system user interface.
[0010] In a possible implementation manner of the first aspect, the method further includes:
[0011] Obtaining a third user operation instruction of the navigation bar;
[0012] Based on the third user operation instruction, a navigation bar hiding operation is performed, where the navigation bar hiding operation is used to convert the navigation bar from a displayed state to a hidden state.
[0013] In a possible implementation manner of the first aspect, the method further includes:
[0014] Obtaining a fourth user operation instruction of the navigation bar;
[0015] Based on the fourth user operation instruction, a navigation bar moving operation is performed, where the navigation bar moving operation is used to move the navigation bar from a current floating display position to a floating display position specified by a user.
[0016] In a possible implementation manner of the first aspect, the method further includes:
[0017] When the continuous display time of the navigation bar on the user interface reaches a preset display time threshold, the navigation bar is automatically converted from a display state to a hidden state, and the navigation bar is hidden on the user interface.
[0018] In a possible implementation manner of the first aspect, the method further includes:
[0019] When the navigation bar includes multiple buttons, each button corresponds to a different user operation instruction, and the corresponding user operation instruction is triggered according to the button selected by the user;
[0020] When the navigation bar includes only one button, corresponding user operation instructions are triggered according to different operation modes of the button by the user.
[0021] In a possible implementation manner of the first aspect, before obtaining the user operation instruction of the navigation bar, the method further includes:
[0022] Monitor the wake-up events of the navigation bar;
[0023] Based on a wake-up event of the navigation bar, the navigation bar is converted from a hidden state to a displayed state, and the navigation bar is displayed on the user interface.
[0024] In a possible implementation manner of the first aspect, before monitoring the wake-up event of the navigation bar, the method further includes:
[0025] A wake-up event of the navigation bar is predefined, and the wake-up event includes at least one of the following:
[0026] A click operation on the display screen of the electronic device;
[0027] A sliding gesture on a specified position of the electronic device display screen;
[0028] A click operation on a specific physical button of the electronic device;
[0029] The posture of the electronic device changes.
[0030] In a second aspect, an embodiment of the present application provides a device user interface display apparatus, the device being applied to an electronic device, the electronic device comprising a master system and at least one slave system, the navigation bar on the electronic device being displayed in a suspended manner on the user interface of the electronic device, and its display level being higher than other application icons on the user interface; the device comprising:
[0031] A first instruction acquisition unit, used to acquire a first user operation instruction of the navigation bar;
[0032] An interface return processing unit, configured to perform an interface level backtracking operation based on the first user operation instruction, wherein the interface level backtracking operation is configured to backtrack the currently displayed user interface and display the previous level user interface;
[0033] A second instruction acquisition unit, configured to acquire a second user operation instruction of the navigation bar when the currently displayed user interface is a slave system user interface;
[0034] The interface switching processing unit is used to perform a system-level switching operation based on the second user operation instruction, and the system-level switching operation is used to switch the display of the slave system user interface to the main system user interface.
[0035] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the device user interface display method as described in the first aspect above is implemented.
[0036] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the device user interface display method as described in the first aspect above is implemented.
[0037] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes the device user interface display method as described in the first aspect above.
[0038] In the embodiment of the present application, the electronic device performs an interface level backtracking operation through the user's first user operation instruction on the navigation bar, so that the user can easily return the currently displayed user interface to the previous level user interface. When the currently displayed user interface is a slave system user interface, the electronic device performs a system level switching operation through the user's second user operation instruction on the navigation bar, and quickly and seamlessly switches the slave system user interface to the main system user interface, which helps the user to smoothly switch between the master and slave system user interfaces, and while meeting the user's diverse task requirements, it greatly shortens the time cost of the user switching between different system user interfaces. In the embodiment of the present application, the navigation bar on the electronic device is displayed in a suspended manner on the user interface of any system of the electronic device, and its display level is higher than other application icons on the user interface, so that it is not blocked by other application icons. The display of the navigation bar is not affected by the system switching, and the user does not need to tediously find the navigation bar operation entrance. It only needs to simply operate the navigation bar to effectively manage the display of the user interface, and realize the convenient switching of the user interface in multi-system electronic devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0040] Figure 1 This is a schematic diagram of displaying a navigation bar in a device user interface display method provided in an embodiment of the present application;
[0041] Figure 2 is a flowchart of the implementation method of the device user interface display method provided in the embodiment of the present application;
[0042] Figure 3 This is a specific implementation flowchart of hiding the navigation bar in the device user interface display method provided in an embodiment of the present application;
[0043] Figure 4 This is a specific implementation flowchart of a mobile navigation bar in the device user interface display method provided in an embodiment of the present application;
[0044] Figure 5 This is a specific implementation flowchart of waking up the navigation bar in the device user interface display method provided in an embodiment of the present application;
[0045] Figure 6 is a structural block diagram of a device user interface display device provided in an embodiment of the present application;
[0046] Figure 7 It is a schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0047] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0048] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0049] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0050] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "upon" or "upon determining" or "upon detecting" depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "upon determining" or "upon determining" or "upon detecting [described condition or event]" or "upon detecting [described condition or event]" depending on the context.
[0051] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0052] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0053] The device user interface display method provided in the embodiment of the present application is applicable to electronic devices that need to perform various types of data display of multi-system user interfaces, and the electronic devices may specifically include mobile phones, tablet computers, wearable devices, notebook computers, ultra-mobile personal computers (UMPCs), desktop computers, interactive large screens, and servers, etc. The embodiment of the present application does not impose any restrictions on the specific types of electronic devices.
[0054] In the embodiment of the present application, the electronic device is a multi-system coexisting device, that is, the same device is equipped with multiple systems. For example, the electronic device is equipped with Hongmeng system, Windows system and Android system at the same time to adapt to different work, entertainment or professional application scenarios.
[0055] The multiple systems carried by the electronic device include a main system and at least one slave system. The main system plays a dominant role in the overall operation and functional system of the electronic device and is used to manage the switching of multiple system user interfaces on the electronic device. The slave system is all the systems carried by the electronic device except the main system.
[0056] The determination of the master system and the slave system can be based on user-defined settings. In some possible implementations, the master system is the system that the electronic device enters by default when it is turned on. The master system assumes the management responsibility for the core functions and services of the device. The slave system is in a subordinate position, and its operation depends on the underlying hardware support and part of the software environment built by the master system. For example, in an electronic device with both Hongmeng system and Android system installed, Hongmeng system, as the master system, is responsible for key operations such as device startup boot and initial allocation of hardware resources, while the Android system runs on the basis of hardware driver support and some system services provided by Hongmeng system.
[0057] like Figure 1As shown, the navigation bar on the electronic device is displayed in a floating manner on the user interface of the electronic device, and the display level of the navigation bar is higher than other application icons on the user interface. When the electronic device switches the display from the user interface of the main system to the user interface of the slave system, or when the electronic device returns from the user interface of the slave system to the user interface of the main system, the navigation bar remains displayed in the same area of the user interface, that is, the display of the navigation bar does not disappear according to the switching of the system user interface, and the user does not need to tediously find the navigation bar operation entry, but only needs to simply operate the navigation bar to effectively manage the display of the user interface, thereby realizing convenient switching of the user interface in multi-system electronic devices.
[0058] In the embodiment of the present application, the navigation bar is created in the main system. By calling the window management service of the main system, a new window is created in the main interface of the main system to carry the navigation bar. The display level of the window is higher than other application icons on the user interface, ensuring that the navigation bar is always visible and easy to operate, and will not be blocked by other application icons or interface elements.
[0059] In some possible implementations, Z-order control can be used to ensure that the display level is higher than other application icons on the user interface. Z-order control refers to the display order of control elements when they overlap in user interface design. In the development of Hongmeng system, Z-order control is mainly implemented through the zIndex property of the Stack container. The larger the zIndex value, the higher the display level, that is, components with large zIndex values will be covered on top of components with small zIndex values.
[0060] In the embodiment of the present application, the shape, size and transparency of the floating display of the navigation bar can also be determined by setting the attribute parameters of the window. For example, the floating display position can be initialized to the top position on the left side of the screen, and the size can be set according to the principle of the electronic device screen and easy user operation instructions. The attribute parameters of the window such as shape, size, transparency and floating display position can be customized according to user needs.
[0061] For example, a new window is created on top of the top window of the desktop using a Hongmeng system-specific API to place the navigation bar. The navigation bar window is displayed at a higher level than other application icons, has rounded corners, and is suspended at the top of the screen edge in a semi-transparent state.
[0062] In the embodiment of the present application, the user triggers a user operation instruction by operating the navigation bar, and the electronic device conveniently switches the multi-system user interface based on the user operation instruction.
[0063] In the embodiment of the present application, the user can trigger the user operation instruction by operating the navigation bar. The user's operation on the navigation bar includes but is not limited to the first user operation, the second user operation, the third user operation and the fourth user operation; the user operation instruction includes but is not limited to the first user operation instruction, the second user operation instruction, the third user operation instruction and the fourth operation user instruction.
[0064] Common user operations include a variety of interactive gestures. The specific operations of the user on the navigation bar include but are not limited to long press, double click, two-finger press and slide. The corresponding specific functions of the navigation bar can be triggered through user operations. Among them, long press the navigation bar to trigger a specific function by continuously pressing for a certain period of time; double click operation is to trigger a specific function by clicking the navigation bar twice in quick succession; two-finger press is to press the navigation bar with two fingers at the same time to trigger a specific function; slide operation is to slide the finger left or right or up and down along the navigation bar to trigger a specific function.
[0065] The user operation instructions corresponding to the user operation include various functional instructions, including but not limited to return, switch, display, hide, and move. Among them, the return instruction allows the user to quickly return to the previous page or level for easy browsing backtracking; the switch instruction is used to quickly switch between the user interfaces of different applications, or to quickly switch from the system user interface to the main system user interface; the display instruction allows the hidden navigation bar to be presented on demand; the hide instruction hides the navigation bar to optimize the screen display space; the move instruction allows the navigation bar to change its position according to the direction of the user's finger sliding to adapt to different usage habits or operation scenarios and meet diverse interaction needs.
[0066] In some possible implementations, when the navigation bar includes multiple buttons, each button corresponds to a different user operation instruction, and the corresponding user operation instruction is triggered according to the button selected by the user. For example, the navigation bar includes a first button, a second button, and a third button. The user triggers the first operation instruction by operating the first button, the user triggers the second operation instruction by operating the second button, and the user triggers the third operation instruction by operating the third button. Exemplarily, the first button can be "return" for returning to the previous user interface, the second button can be "home" for returning to the main system user interface, and the third button can be "hide" for hiding the navigation bar. The user's operation on the specified area of the navigation bar triggers the fourth operation instruction, and the specified area refers to an area that is specially demarcated and has a specific interactive function in addition to the buttons with clear functions on the navigation bar (such as the first button "return", the second button "home", and the third button "hide" mentioned above). For example, it may be a blank space, a sidebar, a top corner, etc. of the navigation bar. When the user performs a specific gesture operation such as long press and slide in these specified areas, the fourth operation instruction can be triggered.
[0067] In some possible implementations, when the navigation bar includes only one button, corresponding user operation instructions are triggered according to different user operation modes of the button. For example, clicking the button once triggers a first user operation instruction, clicking the button twice triggers a second user operation instruction, clicking the button three times triggers a third user operation instruction, and long pressing the button for a certain period of time triggers a fourth user operation instruction.
[0068] In the embodiment of the present application, the number of buttons, functions and corresponding user operation instructions of the navigation bar can be customized and adjusted according to user needs or system settings.
[0069] Figure 2 The implementation process of the device user interface display method provided in the embodiment of the present application is shown, and the method flow includes steps S201 to S204. The specific implementation principle of each step is as follows:
[0070] Step S201: Acquire a first user operation instruction of the navigation bar.
[0071] The first user operation instruction is used to instruct the electronic device to return the currently displayed user interface to the previous level user interface, display the previous level user interface, and implement the interface switching operation of the interface level under the same system. The electronic device receives the first user operation of the user on the navigation bar on any system user interface, triggering the first user operation instruction, and the triggering of the first user operation instruction is not limited by the system to which the current user interface belongs.
[0072] When the current user interface is the main system user interface, the user can perform the first user operation on the navigation bar to trigger the first user operation instruction. When the current user interface is the slave system user interface, the user can still perform the first user operation on the navigation bar to trigger the first user operation instruction. The main system user interface can be any interface displayed on the screen of an electronic device under the main system, such as the main interface of the main system, or the interface of any application on the main system. The slave system user interface can be any interface displayed on the screen of an electronic device under the slave system, such as the main interface of the slave system, or the interface of any application on the slave system.
[0073] Step S202: Based on the first user operation instruction, an interface level backtracking operation is performed, wherein the interface level backtracking operation is used to backtrack the currently displayed user interface and display the previous level user interface.
[0074] In the embodiment of the present application, the main system maintains a data structure that records the hierarchical relationship of user interfaces, and the data structure stores the relevant identification information of each interface and the parent-child hierarchical relationship between them. When the first user operation instruction is obtained, the identification and relevant parameters of the parent user interface of the currently displayed user interface are obtained by querying the data structure, and the parent user interface is displayed based on the identification and relevant parameters, so as to realize the current displayed user interface backtracking to the parent user interface and displaying it.
[0075] For example, after opening multiple levels of sub-pages in an application, the user clicks the "Back" button on the navigation bar to gradually return to the page of the previous level, making it easier for the user to navigate the interface within the system.
[0076] Due to its core position in electronic devices, the main system is usually more suitable for maintaining a data structure that records the hierarchical relationship of the user interface. The main system controls the main resource allocation and system coordination of the device. Managing the user interface hierarchy from a holistic perspective can ensure consistency and efficiency. For example, in a device that has both the Hongmeng main system and the Android slave system, the Hongmeng main system can serve as a central hub to record the user interface hierarchy of the entire device, including the slave system interface hierarchy. On the user interface of any system, when the user's first user operation on the navigation bar is received and the first user operation instruction is triggered, that is, when the user wants to return to the previous user interface, the main system can accurately trace back and display the previous user interface based on the maintained data structure.
[0077] In some possible implementations, when the slave system has a high degree of independence and its internal interface operation logic is complex and relatively independent of the main system, the slave system's own maintenance of the data structure can improve operational efficiency. The slave system can independently maintain a data structure that records its own user interface hierarchy. For example, in a slave system used for professional graphic design, its internal graphics editing software may have a complex interface hierarchy, such as a multi-layer tool panel, a layer management window, etc. The slave system independently maintains the data structure of these interface hierarchy relationships, and can quickly respond to the user's internal interface operations without relying on the main system, such as quickly returning to the tool panel of the previous level. On the user interface of the slave system, when the user's first user operation on the navigation bar is received and the first user operation instruction is triggered, that is, when the user wants to return to the previous user interface, the slave system accurately traces back and displays the previous user interface based on the data structure maintained by itself.
[0078] Step S203: When the currently displayed user interface is a slave system user interface, a second user operation instruction of the navigation bar is obtained.
[0079] The second user operation instruction is used to instruct the electronic device to switch the slave system user interface to the main system user interface, so as to implement the interface switching operation of the system level under different systems. The electronic device receives the second user operation of the user on the navigation bar on the slave system user interface, triggering the second user operation instruction. The currently displayed user interface can be the main interface of the slave system, or it can be a page of any application on the slave system.
[0080] Step S204: Based on the second user operation instruction, a system level switching operation is performed, wherein the system level switching operation is used to switch the display of the slave system user interface to the master system user interface.
[0081] In some possible implementations, the second user operation instruction is used to instruct the electronic device to switch the display of the slave system user interface to the main interface of the master system.
[0082] When the main system is the Hongmeng system, a system-level switching operation is performed based on the second user operation instruction, and the slave system sends a request signal for starting the main interface launcher to the Hongmeng system through the cross-system communication mechanism; the Hongmeng system responds to the request and allocates system resources required to start the main interface launcher, including memory and CPU resources; the Hongmeng system loads and renders the user interface components related to the main interface launcher according to the preset startup configuration, and initializes related system services at the same time, and switches from the system user interface to the Hongmeng main interface to achieve system-level switching.
[0083] There is a switching mechanism between the master and slave systems. When the user needs to use the functions of the slave system, the user can switch from the master system to the slave system through specific switching operations (such as signal source switching, system selection menu, etc.). In the embodiment of the present application, the user performs a second user operation on the navigation bar, triggers the second user operation instruction, and actively starts the main system main interface launcher based on the second user operation instruction, so as to quickly and seamlessly return from the slave system user interface to the main system user interface, which helps the user to switch smoothly between the master and slave system user interfaces, meets the user's diverse task requirements, and greatly shortens the time cost of the user switching between different system user interfaces.
[0084] In some possible implementations, when the currently displayed user interface is the main system user interface, but the main system user interface is not the main interface of the main system, the second user operation instruction can be triggered according to the second user operation of receiving and acquiring the navigation bar. In this case, the second user operation instruction is used to instruct the electronic device to switch the currently displayed user interface to the main interface of the main system. In this embodiment, if the currently displayed user interface is the main system user interface and is not the main interface of the main system, the user can quickly return to the main interface of the main system from any interface (non-main interface) of the main system by performing the second operation on the navigation bar, so as to avoid the user getting lost in the complex interface hierarchy or performing cumbersome step-by-step return operations.
[0085] In some possible implementations, the second user instruction is further used to instruct the electronic device to switch the display of the slave system user interface to the main system user interface set by the user. In this embodiment, the user can pre-set the main system user interface corresponding to the system level switching operation. When the system level switching operation is performed, the currently displayed user interface is switched to the main system user interface set by the user to meet the user's personalized needs.
[0086] As a possible implementation of this application, Figure 3 A specific implementation process of hiding the navigation bar in the device user interface display method provided in an embodiment of the present application is shown, and is described in detail as follows:
[0087] Step S301: Acquire a third user operation instruction of the navigation bar.
[0088] Step S302: Based on the third user operation instruction, a navigation bar hiding operation is performed, wherein the navigation bar hiding operation is used to convert the navigation bar from a displayed state to a hidden state.
[0089] In the embodiment of the present application, the user can actively decide whether to hide the navigation bar at any time according to his actual operation needs and visual preferences. For example, when performing tasks such as picture editing and detailed document review that require maximizing screen space and temporarily do not require navigation bar auxiliary operations, the user can quickly hide the navigation bar by triggering a third user operation instruction to obtain a complete and interference-free working area, which greatly improves the accuracy and efficiency of the operation, avoids interference from misoperation, satisfies the user's pursuit of personalized operation experience, and enhances the user's sense of control and satisfaction with the device.
[0090] In some possible implementations, when the continuous display time of the navigation bar on the user interface reaches a preset display time threshold, the navigation bar is automatically converted from a displayed state to a hidden state, and the navigation bar is hidden on the user interface.
[0091] The preset display time threshold may be a system default value or may be personalized by the user.
[0092] In some possible implementations, the user's preference information on the display time of the navigation bar in different application scenarios is collected (within the scope of the privacy policy allowed by the device), and the preset display time threshold applicable to different application scenarios is determined based on the preference information. For example, in office scenarios, users may prefer to display the navigation bar for a longer time to facilitate frequent switching of applications, and this time may be concentrated in 3 to 5 minutes; while in video viewing scenarios, users may want to automatically hide the navigation bar after 1 to 2 minutes of video playback to obtain a better immersive experience.
[0093] In an embodiment of the present application, by automatically hiding the navigation bar, unnecessary screen lighting areas and display times are reduced, thereby reducing the overall power consumption of the device to a certain extent, which helps to extend the battery life of the device, especially for those mobile electronic devices that rely on battery power and have high requirements for battery life. The automatic hiding method based on the preset display time threshold provides users with a unified and convenient navigation bar management mechanism. Users do not need to spend extra energy to manually hide and display the navigation bar. The device can automatically adjust according to the set rules, reducing the complexity and tediousness of user operations.
[0094] As a possible implementation of this application, Figure 4 A specific implementation process of moving the navigation bar in the device user interface display method provided in an embodiment of the present application is shown, and is described in detail as follows:
[0095] Step S401: Acquire a fourth user operation instruction of the navigation bar.
[0096] Step S402: Based on the fourth user operation instruction, a navigation bar moving operation is performed, wherein the navigation bar moving operation is used to move the navigation bar from a current floating display position to a floating display position specified by a user.
[0097] Different users often have their own unique habits and preferences when operating electronic devices. For example, when using a handheld device, some users may be accustomed to holding the device with their left hand, and prefer to move the navigation bar to the left side of the screen for easy operation; while users who operate with their right hand may prefer the navigation bar to be on the right side of the screen; for large-screen devices, the screen size is large, and it is difficult to reach the navigation bar area at the far end of the screen when operating with one hand. By performing the navigation bar moving operation, the user can move the navigation bar to an area close to the natural placement of the thumb, such as the middle position on the left or right side of the screen, so that when operating with one hand, the navigation bar can be easily operated without significantly adjusting the hand posture or changing the holding method, which greatly improves the convenience and stability of operating large-screen devices with one hand. In this embodiment, by obtaining the fourth user operation instruction and performing the navigation bar moving operation, the user can freely adjust the position of the navigation bar according to his actual use habits, which greatly improves the convenience and comfort of the operation, so that the device can better adapt to the personalized needs of different user groups and enhance the user's overall satisfaction with the device. For example, based on the fourth user operation instruction, the navigation bar is moved up and down in the user interface with the initial floating display position of the navigation bar as the moving starting point.
[0098] In some scenarios, the initial floating display position of the navigation bar may occupy the space on the screen that could be used to display more effective information. With this mobile operation function, users can move the navigation bar to a position that does not affect their sight and operation, freeing up more valuable screen space, making the display of the application interface more complete and clear, and helping to improve users' focus on the application content.
[0099] As a possible implementation of this application, Figure 5 A specific implementation process of waking up the navigation bar in the device user interface display method provided in an embodiment of the present application is shown, and is described in detail as follows:
[0100] Step S501: monitor the wake-up event of the navigation bar.
[0101] Step S502: based on a wake-up event of the navigation bar, converting the navigation bar from a hidden state to a displayed state, and displaying the navigation bar on the user interface.
[0102] In the embodiment of the present application, the wake-up mechanism of the navigation bar ensures the smoothness and seamlessness of the user interface switching. No matter what type of user interface the user is currently in, once there is a switching demand and the wake-up event is triggered, the navigation bar is displayed in time, providing the user with a stable and efficient operation entrance, avoiding the user from being unable to quickly find the navigation bar when they need to use the navigation bar function (such as switching systems, backtracking interface levels, etc.). The user only needs to trigger the wake-up event, and the navigation bar can be displayed quickly, which greatly improves the immediacy and convenience of the operation, reduces the time cost and energy consumption of the user's operation, and improves the overall operation efficiency of the user.
[0103] In an embodiment of the present application, a wake-up event of the navigation bar is predefined, and the wake-up event includes at least one of the following: a click operation on the display screen of the electronic device; a sliding gesture on a specified position of the display screen of the electronic device; a click operation on a specific physical button of the electronic device; a posture change of the electronic device.
[0104] In some possible implementations, the click operation includes a single click, where the user clicks on any blank area of the screen to wake up and display the navigation bar. For example, when the user is reading an e-book or browsing a web page, if the navigation bar is hidden, the user only needs to tap the screen once to display the navigation bar.
[0105] In some possible implementations, the click operation includes multiple clicks, such as setting a specific double-click or triple-click operation to wake up the navigation bar. This method can effectively avoid frequent wake-up of the navigation bar due to accidental touches and improve the accuracy of the wake-up operation. For example, in a game application, the player's finger operations are relatively frequent. Using multiple clicks to wake up the navigation bar can prevent the navigation bar from being accidentally triggered due to normal operations during the game. The navigation bar will only be awakened when the player intentionally clicks a specific number of times, thereby ensuring the smoothness of the application operation and the accuracy of the navigation bar awakening.
[0106] In some possible implementations, the navigation bar is awakened by a sliding gesture at a specified position of the electronic device display screen. The user wakes up the navigation bar by sliding at the edge of the screen, such as sliding upward from the bottom of the screen, sliding downward from the top of the screen, or sliding inward from both sides of the screen. This edge sliding gesture has high operability and recognition, and the user can easily complete the operation with one hand.
[0107] In some possible implementations, the navigation bar is awakened by clicking a specific physical button of the electronic device. The electronic device may be provided with a physical button specifically for waking up the navigation bar. The design of such a button allows the waking operation to have clear physical feedback, and the user can directly sense whether the operation is successful through touch. For example, on some tablet computers, an independent button is provided on the device frame. Pressing the button can wake up the navigation bar, which is convenient for users to quickly call up the navigation bar function in various usage scenarios.
[0108] In some possible implementations, the navigation bar is awakened by the posture change of the electronic device. The navigation bar can be awakened by detecting the posture change of the device in space based on the built-in gravity sensor of the device. When the electronic device changes from a horizontal placement state to a vertical handheld state, the navigation bar automatically wakes up. For example, when watching a video, the electronic device is placed flat on the desktop and the navigation bar is hidden; when the user picks up the device to prepare for other operations, the change in the posture of the electronic device automatically wakes up the navigation bar, which is convenient for the user to switch to subsequent operations without manual intervention, thereby realizing automation and intelligence of operations.
[0109] As can be seen from the above, in the embodiment of the present application, the electronic device performs an interface level backtracking operation through the user's first user operation instruction on the navigation bar, so that the user can easily return the currently displayed user interface to the previous level user interface. When the currently displayed user interface is a slave system user interface, the electronic device performs a system level switching operation through the user's second user operation instruction on the navigation bar, and quickly and seamlessly switches the slave system user interface to the main system user interface, which helps the user to smoothly switch between the master and slave system user interfaces, and meets the user's diverse task requirements while greatly shortening the user's time cost of switching between different system user interfaces. In the embodiment of the present application, the navigation bar on the electronic device is displayed in a suspended manner on the user interface of any system of the electronic device, and its display level is higher than other application icons on the user interface, so that it can not be blocked by other application icons, and the display of the navigation bar is not affected by the system switching, and the user does not need to tediously find the navigation bar operation entrance, and only needs to simply operate the navigation bar to effectively manage the display of the user interface, so as to realize the convenient switching of the user interface in multi-system electronic devices.
[0110] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0111] Corresponding to the device user interface display method described in the above embodiment, Figure 6 A structural block diagram of a device user interface display apparatus provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown.
[0112] Reference Figure 6 The device user interface display device comprises: a first instruction acquisition unit 61, an interface return processing unit 62, a second instruction acquisition unit 63, and an interface switching processing unit 64, wherein:
[0113] A first instruction acquisition unit 61, configured to acquire a first user operation instruction of the navigation bar;
[0114] An interface return processing unit 62 is used to perform an interface level backtracking operation based on the first user operation instruction, wherein the interface level backtracking operation is used to backtrack the currently displayed user interface and display the previous level user interface;
[0115] A second instruction acquisition unit 63, configured to acquire a second user operation instruction of the navigation bar when the currently displayed user interface is a slave system user interface;
[0116] The interface switching processing unit 64 is used to perform a system level switching operation based on the second user operation instruction, wherein the system level switching operation is used to switch the display of the slave system user interface to the master system user interface.
[0117] As a possible implementation of the present application, the above-mentioned device user interface display device further includes:
[0118] A third instruction acquisition unit, used to acquire a third user operation instruction of the navigation bar;
[0119] The navigation bar state switching unit is used to perform a navigation bar hiding operation based on the third user operation instruction, wherein the navigation bar hiding operation is used to convert the navigation bar from a display state to a hidden state.
[0120] As a possible implementation of the present application, the above-mentioned device user interface display device further includes:
[0121] a fourth instruction acquisition unit, configured to acquire a fourth user operation instruction of the navigation bar;
[0122] The navigation bar moving unit is used to perform a navigation bar moving operation based on the fourth user operation instruction, wherein the navigation bar moving operation is used to move the navigation bar from a current floating display position to a floating display position specified by a user.
[0123] As a possible implementation of the present application, the above-mentioned device user interface display device further includes:
[0124] The automatic hiding unit is used to automatically convert the navigation bar from a display state to a hidden state when the continuous display time of the navigation bar on the user interface reaches a preset display time threshold, thereby hiding the navigation bar on the user interface.
[0125] As a possible implementation of the present application, when the navigation bar contains multiple buttons, each button corresponds to a different user operation instruction, and the corresponding user operation instruction is triggered according to the button selected by the user; when the navigation bar contains only one button, the corresponding user operation instruction is triggered according to the different operation methods of the user on the button.
[0126] As a possible implementation of the present application, the above-mentioned device user interface display device further includes:
[0127] The monitoring and waking-up unit is used to monitor the waking-up event of the navigation bar; based on the waking-up event of the navigation bar, the navigation bar is converted from a hidden state to a displayed state, and the navigation bar is displayed on the user interface.
[0128] As a possible implementation manner of the present application, before monitoring the wake-up event of the navigation bar, the method further includes: predefining a wake-up event of the navigation bar, where the wake-up event includes at least one of the following:
[0129] A click operation on the display screen of the electronic device;
[0130] A sliding gesture on a specified position of the electronic device display screen;
[0131] A click operation on a specific physical button of the electronic device;
[0132] The posture of the electronic device changes.
[0133] As can be seen from the above, in the embodiment of the present application, the electronic device performs an interface level backtracking operation through the user's first user operation instruction on the navigation bar, so that the user can easily return the currently displayed user interface to the previous level user interface. When the currently displayed user interface is a slave system user interface, the electronic device performs a system level switching operation through the user's second user operation instruction on the navigation bar, and quickly and seamlessly switches the slave system user interface to the main system user interface, which helps the user to smoothly switch between the master and slave system user interfaces, and meets the user's diverse task requirements while greatly shortening the user's time cost of switching between different system user interfaces. In the embodiment of the present application, the navigation bar on the electronic device is displayed in a suspended manner on the user interface of any system of the electronic device, and its display level is higher than other application icons on the user interface, so that it can not be blocked by other application icons, and the display of the navigation bar is not affected by the system switching, and the user does not need to tediously find the navigation bar operation entrance, and only needs to simply operate the navigation bar to effectively manage the display of the user interface, so as to realize the convenient switching of the user interface in multi-system electronic devices.
[0134] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0135] The present application also provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, Figures 2 to 5 Any step of a device user interface display method represented.
[0136] The embodiment of the present application also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, Figures 2 to 5 Any step of a device user interface display method represented.
[0137] The embodiment of the present application also provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes the following Figures 2 to 5 Any step of a device user interface display method represented.
[0138] Figure 7 is a schematic diagram of an electronic device provided by an embodiment of the present application. Figure 7As shown, the electronic device 7 of this embodiment includes: a processor 70, a memory 71, and a computer program 72 stored in the memory 71 and executable on the processor 70. When the processor 70 executes the computer program 72, the steps in the above-mentioned device user interface display method embodiments are implemented, such as Figure 2 Alternatively, when the processor 70 executes the computer program 72, the functions of each module / unit in the above-mentioned device embodiments are realized, for example Figure 6 The functions of units 61 to 64 are shown.
[0139] Exemplarily, the computer program 72 may be divided into one or more modules / units, which are stored in the memory 71 and executed by the processor 70 to complete the present application. The one or more modules / units may be a series of computer-readable instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 72 in the electronic device 7.
[0140] The electronic device 7 may include, but is not limited to, a processor 70 and a memory 71. Those skilled in the art will appreciate that Figure 7 It is only an example of the electronic device 7 and does not constitute a limitation of the electronic device 7. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device 7 may also include input and output devices, network access devices, buses, etc.
[0141] The processor 70 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0142] The memory 71 may be an internal storage unit of the electronic device 7, such as a hard disk or memory of the electronic device 7. The memory 71 may also be an external storage device of the electronic device 7, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 7. Further, the memory 71 may also include both an internal storage unit and an external storage device of the electronic device 7. The memory 71 is used to store the computer program and other programs and data required by the electronic device. The memory 71 may also be used to temporarily store data that has been output or is to be output.
[0143] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0144] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0145] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the device / electronic device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0146] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0147] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A device user interface display method, characterized in that: The method is applied to an electronic device, the electronic device includes a master system and at least one slave system, the navigation bar on the electronic device is displayed on the user interface of the electronic device in a suspended manner, and its display level is higher than other application icons on the user interface; The method comprises: Obtaining a first user operation instruction of the navigation bar; Based on the first user operation instruction, an interface level backtracking operation is performed, wherein the interface level backtracking operation is used to backtrack the currently displayed user interface and display the previous level user interface; When the currently displayed user interface is a slave system user interface, obtaining a second user operation instruction of the navigation bar; Based on the second user operation instruction, a system level switching operation is performed, wherein the system level switching operation is used to switch the display of the slave system user interface to the master system user interface.
2. The method according to claim 1, characterized in that The method further comprises: Obtaining a third user operation instruction of the navigation bar; Based on the third user operation instruction, a navigation bar hiding operation is performed, where the navigation bar hiding operation is used to convert the navigation bar from a displayed state to a hidden state.
3. The method according to claim 1, characterized in that The method further comprises: Obtaining a fourth user operation instruction of the navigation bar; Based on the fourth user operation instruction, a navigation bar moving operation is performed, where the navigation bar moving operation is used to move the navigation bar from a current floating display position to a floating display position specified by a user.
4. The method according to claim 1, characterized in that: The method further comprises: When the continuous display time of the navigation bar on the user interface reaches a preset display time threshold, the navigation bar is automatically converted from a display state to a hidden state, and the navigation bar is hidden on the user interface.
5. The method according to claim 1, characterized in that The method further comprises: When the navigation bar includes multiple buttons, each button corresponds to a different user operation instruction, and the corresponding user operation instruction is triggered according to the button selected by the user; When the navigation bar includes only one button, corresponding user operation instructions are triggered according to different operation modes of the button by the user.
6. The method according to any one of claims 1 to 5, characterized in that: Before obtaining the user operation instruction of the navigation bar, the method further includes: Monitor the wake-up events of the navigation bar; Based on a wake-up event of the navigation bar, the navigation bar is converted from a hidden state to a displayed state, and the navigation bar is displayed on the user interface.
7. The method according to claim 6, characterized in that Before monitoring the wake-up event of the navigation bar, the method further includes: A wake-up event of the navigation bar is predefined, and the wake-up event includes at least one of the following: A click operation on the display screen of the electronic device; A sliding gesture on a specified position of the electronic device display screen; A click operation on a specific physical button of the electronic device; The posture of the electronic device changes.
8. A device user interface display device, characterized in that: The device is applied to an electronic device, the electronic device includes a master system and at least one slave system, the navigation bar on the electronic device is displayed on the user interface of the electronic device in a suspended manner, and its display level is higher than other application icons on the user interface; The device comprises: A first instruction acquisition unit, used to acquire a first user operation instruction of the navigation bar; An interface return processing unit, configured to perform an interface level backtracking operation based on the first user operation instruction, wherein the interface level backtracking operation is configured to backtrack the currently displayed user interface and display the previous level user interface; A second instruction acquisition unit, configured to acquire a second user operation instruction of the navigation bar when the currently displayed user interface is a slave system user interface; The interface switching processing unit is used to perform a system-level switching operation based on the second user operation instruction, and the system-level switching operation is used to switch the display of the slave system user interface to the main system user interface.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the device user interface display method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the device user interface display method according to any one of claims 1 to 7 is implemented.