Intelligent access method, device and system for side navigation bar
By detecting focus failure events and focus context information, the triggering conditions of the side navigation bar are determined, optimizing the display control of the hidden navigation bar. This solves the problems of insufficient user operation precision and flexibility in the existing technology, and achieves higher access accuracy and efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHENZHEN GREEN CONNECTION TECH CO LTD
- Filing Date
- 2026-03-06
- Publication Date
- 2026-06-09
AI Technical Summary
The existing hidden side navigation bar relies on fixed icons for access, which requires high precision from user operations but cannot be flexibly controlled according to usage habits and needs, resulting in low accuracy and efficiency in access.
By detecting focus failure events, determining focus context information, judging whether the side navigation bar meets the shallow and deep trigger response conditions, and performing animation display and focus transfer operations when the conditions are met, the display control of the navigation bar is optimized.
It improves the accuracy and efficiency of the side navigation bar, reduces visual interference on the screen, optimizes the balance between triggering and accidental triggering, and enhances the display stability of screen elements.
Smart Images

Figure CN122172998A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of navigation bar control technology, and in particular to an intelligent access method, device and system for side navigation bars. Background Technology
[0002] As a common application page layout component, the side navigation bar undertakes important tasks such as organizing application functions, guiding user operations, and displaying information architecture. However, with the continuous expansion and complexity of application functions and the increasing demands of users for efficient use of mobile device screen space, the side navigation bar, which continuously occupies screen space, has gradually exposed many problems. Therefore, the hidden side navigation bar has emerged.
[0003] Currently, most methods for accessing hidden side navigation bars rely solely on a fixed icon as the trigger. Users must accurately locate and perform this specific action to bring up the navigation bar; even a slight shift in focus will prevent activation, demanding high precision from the user. Furthermore, users cannot flexibly control the display and hiding of the navigation bar according to their own habits and needs, passively following the application's pre-defined triggering rules. When users need to quickly access specific functions, they are easily forced to navigate through cumbersome paths due to the inability to promptly trigger the navigation bar. The excessively long remote control operation path further reduces the accuracy and efficiency of navigation bar access. Therefore, providing a new method for accessing side navigation bars to improve their accuracy and efficiency is crucial. Summary of the Invention
[0004] This invention provides an intelligent access method, device, and system for side navigation bars, which can improve the accuracy and efficiency of accessing side navigation bars, thereby improving the accuracy and efficiency of displaying and hiding side navigation bars.
[0005] To address the aforementioned technical problems, the first aspect of this invention discloses an intelligent access method for a side navigation bar. The method is applied to an electronic device with an installed application, and the electronic device is communicatively connected to a network attached storage device (LAN). The electronic device can access target data in the LAN via the application. The method includes: When a focus failure event is detected, focus context information is determined based on the focus failure event; Based on the focus context information, determine whether the target side navigation bar meets the preset shallow trigger response conditions; When it is determined that the target side navigation bar meets the shallow trigger response condition, it is determined whether the target side navigation bar meets the preset deep trigger response condition. When it is determined that the target side navigation bar meets the deep trigger response condition, it is determined whether the focus failure event meets other preset focus behavior cause conditions; When it is determined that the focus failure event does not meet the other focus behavior conditions, the current display state of the target side navigation bar is determined; when the current display state is not displayed, the corresponding animation display operation is performed on the target side navigation bar; based on the target side navigation bar, the corresponding target focus transfer operation is performed to obtain the focus transfer result, and based on the focus transfer result, the corresponding target menu display operation is performed.
[0006] As an optional implementation, in the first aspect of the present invention, determining whether the target side navigation bar meets the preset deep trigger response conditions includes: Based on the determined application global configuration item information, determine whether the target side navigation bar meets the preset function activation state conditions; When it is determined that the target side navigation bar does not meet the function activation state conditions, it is determined that the target side navigation bar does not meet the preset deep trigger response conditions. When it is determined that the target side navigation bar meets the function activation state conditions, it is determined whether the target side navigation bar meets the preset current page display permission conditions based on the determined current page routing configuration information. When it is determined that the target side navigation bar meets the current page display permission conditions, it is determined that the target side navigation bar meets the preset deep trigger response conditions; When it is determined that the target side navigation bar does not meet the current page display permission conditions, it is determined that the target side navigation bar does not meet the preset deep trigger response conditions.
[0007] As an optional implementation, in the first aspect of the present invention, determining whether the target side navigation bar meets the preset shallow trigger response conditions based on the focus context information includes: Based on the focus context information, determine the focus movement direction information and determine the expected pop-up display location information of the target side navigation bar based on the current display screen; Based on the focus movement direction information and the expected pop-up display location information, determine the degree of positive intent of the user to activate the target side navigation bar; Determine whether the positive intention level is greater than or equal to a preset positive intention level threshold; When it is determined that the positive intent level is greater than or equal to the positive intent level threshold, the target side navigation bar is determined to meet the preset shallow trigger response condition. When it is determined that the positive intent level is less than the positive intent level threshold, it is determined that the target side navigation bar does not meet the preset shallow trigger response conditions.
[0008] As an optional implementation, in the first aspect of the present invention, determining whether the focus failure event satisfies other preset focus behavior conditions includes: Based on the focus failure event, determine the currently focused element and whether the currently focused element meets the preset condition that the application cannot directly identify the component; When it is determined that the currently focused element meets the condition that the application cannot directly identify the component, the focus failure event is determined to meet the preset conditions caused by other focus behaviors. When it is determined that the currently focused element does not meet the condition that the application cannot directly identify the component, it is determined that the focus failure event does not meet the preset conditions caused by other focus behaviors.
[0009] As an optional implementation, in the first aspect of the present invention, determining whether the currently focused element meets the preset conditions for components that cannot be directly identified by the application includes: Determine the width of the element view corresponding to the currently focused element, and determine whether the currently focused element belongs to the system keyboard based on the element view width and the preset regular interface element size information; When it is determined that the currently focused element belongs to the system keyboard, it is determined that the currently focused element meets the preset condition that the application cannot directly recognize the component. When it is determined that the currently focused element does not belong to the system keyboard, it is determined that the currently focused element does not meet the preset condition that the application cannot directly recognize the component.
[0010] As an optional implementation, in the first aspect of the present invention, the step of performing a corresponding target focus transfer operation based on the target side navigation bar to obtain a focus transfer result, and performing a corresponding target menu display operation based on the focus transfer result, includes: Based on the determined initial selected menu item, the position index information of the initial selected menu item based on the target side navigation bar is determined; Determine whether the target menu list corresponding to the initially selected menu item meets the preset scrolling display requirements. When it is determined that the target menu list meets the scrolling display requirement, the target scroll offset is determined according to the position index information, and the corresponding menu scrolling operation is performed to display at the target position according to the target scroll offset. When it is determined that the target menu list does not meet the scrolling display requirements, the corresponding target page menu item display operation is performed according to the position index information.
[0011] As an optional implementation, in the first aspect of the present invention, performing the corresponding animation display operation on the target side navigation bar includes: Perform corresponding flag update operations on the display status flags of the target side navigation bar; Based on the determined expected navigation bar width configuration information, control the target side navigation bar to perform the corresponding navigation bar slide-in operation; Based on the determined expected navigation bar transparency configuration information, control the target side navigation bar to perform the corresponding fade-in effect operation; Based on the determined expected navigation bar background configuration information, the target side navigation bar is controlled to perform corresponding visual hierarchy differentiation operations.
[0012] As an optional implementation, in the first aspect of the present invention, the method further includes: Determine whether the target side navigation bar meets the preset exit trigger condition; When it is determined that the target side navigation bar meets the exit trigger condition, the target side navigation bar is controlled to perform a corresponding width reset operation and a corresponding transparency reset operation; when the target side navigation bar completes the animation collapse operation, the target side navigation bar's display status flag is updated accordingly; based on the determined current focus information, the corresponding main content area transfer operation is performed.
[0013] A second aspect of the present invention discloses an intelligent access device for a side navigation bar, the device comprising an electronic device having an application installed thereon and being communicatively connected to a network attached storage device, the electronic device being able to access target data in the network attached storage device through the application, the device comprising: The focus determination module is used to determine focus context information based on the focus failure event when a focus failure event is detected. The first judgment module is used to determine whether the target side navigation bar meets the preset shallow trigger response conditions based on the focus context information. The second judgment module is used to determine whether the target side navigation bar meets the preset deep trigger response condition when the first judgment module determines that the target side navigation bar meets the shallow trigger response condition. The third judgment module is used to determine whether the focus failure event meets other preset focus behavior conditions when the second judgment module determines that the target side navigation bar meets the deep trigger response conditions. The navigation bar display control module is used to determine the current display state of the target side navigation bar when the third judgment module determines that the focus failure event does not meet the other focus behavior conditions; when the current display state is a non-display state, to perform corresponding animation display operations on the target side navigation bar; based on the target side navigation bar, to perform corresponding target focus transfer operations to obtain focus transfer results, and based on the focus transfer results, to perform corresponding target menu display operations.
[0014] As an optional implementation, in a second aspect of the present invention, the method by which the second determining module determines whether the target side navigation bar meets the preset deep trigger response conditions specifically includes: Based on the determined application global configuration item information, determine whether the target side navigation bar meets the preset function activation state conditions; When it is determined that the target side navigation bar does not meet the function activation state conditions, it is determined that the target side navigation bar does not meet the preset deep trigger response conditions. When it is determined that the target side navigation bar meets the function activation state conditions, it is determined whether the target side navigation bar meets the preset current page display permission conditions based on the determined current page routing configuration information. When it is determined that the target side navigation bar meets the current page display permission conditions, it is determined that the target side navigation bar meets the preset deep trigger response conditions; When it is determined that the target side navigation bar does not meet the current page display permission conditions, it is determined that the target side navigation bar does not meet the preset deep trigger response conditions.
[0015] As an optional implementation, in a second aspect of the present invention, the method by which the first determining module determines whether the target side navigation bar meets the preset shallow trigger response conditions based on the focus context information specifically includes: Based on the focus context information, determine the focus movement direction information and determine the expected pop-up display location information of the target side navigation bar based on the current display screen; Based on the focus movement direction information and the expected pop-up display location information, determine the degree of positive intent of the user to activate the target side navigation bar; Determine whether the positive intention level is greater than or equal to a preset positive intention level threshold; When it is determined that the positive intent level is greater than or equal to the positive intent level threshold, the target side navigation bar is determined to meet the preset shallow trigger response condition. When it is determined that the positive intent level is less than the positive intent level threshold, it is determined that the target side navigation bar does not meet the preset shallow trigger response conditions.
[0016] As an optional implementation, in the second aspect of the present invention, the third determining module determines whether the focusing failure event meets preset conditions for other focusing behaviors in the following ways: Based on the focus failure event, determine the currently focused element and whether the currently focused element meets the preset condition that the application cannot directly identify the component; When it is determined that the currently focused element meets the condition that the application cannot directly identify the component, the focus failure event is determined to meet the preset conditions caused by other focus behaviors. When it is determined that the currently focused element does not meet the condition that the application cannot directly identify the component, it is determined that the focus failure event does not meet the preset conditions caused by other focus behaviors.
[0017] As an optional implementation, in the second aspect of the present invention, the method by which the third determining module determines whether the currently focused element meets the preset condition that the application cannot directly identify the component specifically includes: Determine the width of the element view corresponding to the currently focused element, and determine whether the currently focused element belongs to the system keyboard based on the element view width and the preset regular interface element size information; When it is determined that the currently focused element belongs to the system keyboard, it is determined that the currently focused element meets the preset condition that the application cannot directly recognize the component. When it is determined that the currently focused element does not belong to the system keyboard, it is determined that the currently focused element does not meet the preset condition that the application cannot directly recognize the component.
[0018] As an optional implementation, in the second aspect of the present invention, the navigation bar display control module performs a corresponding target focus transfer operation based on the target side navigation bar to obtain a focus transfer result, and performs a corresponding target menu display operation based on the focus transfer result, specifically including: Based on the determined initial selected menu item, the position index information of the initial selected menu item based on the target side navigation bar is determined; Determine whether the target menu list corresponding to the initially selected menu item meets the preset scrolling display requirements. When it is determined that the target menu list meets the scrolling display requirement, the target scroll offset is determined according to the position index information, and the corresponding menu scrolling operation is performed to display at the target position according to the target scroll offset. When it is determined that the target menu list does not meet the scrolling display requirements, the corresponding target page menu item display operation is performed according to the position index information.
[0019] As an optional implementation, in the second aspect of the present invention, the navigation bar display control module performs corresponding animation display operations on the target side navigation bar in the following specific ways: Perform corresponding flag update operations on the display status flags of the target side navigation bar; Based on the determined expected navigation bar width configuration information, control the target side navigation bar to perform the corresponding navigation bar slide-in operation; Based on the determined expected navigation bar transparency configuration information, control the target side navigation bar to perform the corresponding fade-in effect operation; Based on the determined expected navigation bar background configuration information, the target side navigation bar is controlled to perform corresponding visual hierarchy differentiation operations.
[0020] As an optional implementation, in a second aspect of the invention, the apparatus further includes: The fourth judgment module is used to determine whether the target side navigation bar meets the preset exit trigger conditions; The navigation bar hiding control module is used to control the target side navigation bar to perform a corresponding width reset operation and a corresponding transparency reset operation when the fourth judgment module determines that the target side navigation bar meets the exit trigger condition; when the target side navigation bar completes the animation collapse operation, the module performs a corresponding hiding status flag update operation on the display status flag of the target side navigation bar; and based on the determined current focus information, the module performs a corresponding main content area transfer operation.
[0021] A third aspect of the present invention discloses an electronic device, the electronic device comprising: Memory containing executable program code; A processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the intelligent access method for the side navigation bar disclosed in the first aspect of the present invention.
[0022] The fourth aspect of the present invention discloses a computer storage medium storing computer instructions, which, when invoked, are used to execute the intelligent access method for the side navigation bar disclosed in the first aspect of the present invention.
[0023] A fifth aspect of this invention discloses an intelligent access system for a side navigation bar, the system comprising the intelligent access device for a side navigation bar disclosed in the second aspect of this invention, and a network-attached storage device communicatively connected to the device; or, The system includes the electronic device disclosed in the third aspect of the present invention, and a network-attached storage device communicatively connected to the electronic device.
[0024] Compared with the prior art, the embodiments of the present invention have the following beneficial effects: In this embodiment of the invention, when a focus failure event is detected, focus context information is determined based on the focus failure event; based on the focus context information, it is determined whether the target side navigation bar meets a preset shallow trigger response condition; if the target side navigation bar meets the shallow trigger response condition, it is determined whether the target side navigation bar meets a preset deep trigger response condition; if the target side navigation bar meets the deep trigger response condition, it is determined whether the focus failure event meets other preset focus behavior causing conditions; if the focus failure event does not meet other focus behavior causing conditions, the current display state of the target side navigation bar is determined; if the current display state is a non-display state, a corresponding animation display operation is performed on the target side navigation bar; based on the target side navigation bar, a corresponding target focus transfer operation is performed to obtain a focus transfer result, and based on the focus transfer result, a corresponding target menu display operation is performed. As can be seen, this invention can further trigger the execution of corresponding display control operations of the target side navigation bar by determining whether the shallow trigger response conditions, deep trigger response conditions, and conditions are met due to other focusing behaviors. This is beneficial to improving the comprehensiveness and rationality of the side navigation bar's touch display method, thereby improving the accuracy and reliability of the side navigation bar's trigger display, and improving the efficiency and timeliness of the side navigation bar's trigger display. It also helps to reduce the visual interference of the side navigation bar without occupying screen space, optimize the balance between triggering and false triggering of the side navigation bar, and improve the stability of screen element display. Attached Figure Description
[0025] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0026] Figure 1 This is a flowchart illustrating an intelligent access method for a side navigation bar disclosed in an embodiment of the present invention. Figure 2 This is a flowchart illustrating another intelligent access method for the side navigation bar disclosed in an embodiment of the present invention. Figure 3 This is a schematic diagram of the structure of an intelligent access device for a side navigation bar disclosed in an embodiment of the present invention; Figure 4 This is a schematic diagram of another intelligent access device for the side navigation bar disclosed in an embodiment of the present invention; Figure 5 This is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present invention; Figure 6 This is a schematic diagram of a process for hiding a side navigation bar, as disclosed in an embodiment of the present invention. Detailed Implementation
[0027] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0028] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, apparatus, product, or end that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or ends.
[0029] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0030] This invention discloses an intelligent access method, device, and system for side navigation bars. It can further trigger and execute corresponding display control operations on the target side navigation bar based on the satisfaction of shallow trigger response conditions, deep trigger response conditions, and conditions caused by other focusing behaviors. This improves the comprehensiveness and rationality of the side navigation bar's access and display methods, thereby enhancing the accuracy and reliability of its trigger display, as well as its efficiency and timeliness. Furthermore, it reduces visual interference from the side navigation bar without occupying screen space, optimizes the balance between triggering and false triggering, and improves the stability of screen element display. Detailed descriptions follow.
[0031] Example 1 Please see Figure 1 , Figure 1 This is a flowchart illustrating an intelligent access method for a side navigation bar disclosed in an embodiment of the present invention. Figure 1 The described method can be applied to electronic devices with installed applications, and the electronic devices are communicatively connected to network-attached storage devices. The electronic devices can access target data in the network-attached storage devices through the applications. This invention is not limited in its embodiments. Figure 1 As shown, this intelligent access method for the side navigation bar includes the following operations: 101. When a focus failure event is detected, determine the focus context information based on the focus failure event.
[0032] Optionally, a focus failure event can be illustrated as follows: In the focus navigation system of a large-screen TV device, when a user attempts to move the focus using the directional keys on the remote control, the system will automatically search for the nearest focusable element in the target direction. If there is no element in that direction that can receive focus, the system will determine that the focus movement has failed and broadcast a failure notification event to the application. This embodiment of the invention does not limit the scope of the event.
[0033] Optionally, this solution may also perform the steps described above for determining focus context information based on the focus failure event after receiving a focus change; however, this embodiment of the invention does not impose any limitations on these steps.
[0034] Optionally, the focus context information may include, but is not limited to, one or more of the following: the previous focus element, the next focus element to be acquired (empty if the attempt fails), the currently focus element, the direction the user is trying to move (i.e., focus movement direction information, such as up, down, left, right, etc.), the target focus element information, and the reason for triggering the focus change. Furthermore, for example, based on this information, the application can accurately determine the user's operational intent. For instance, when it detects that the user fails to move the focus to the left from the left edge of the screen, it can infer that the user may want to bring up the side navigation bar, thereby triggering the corresponding interface response. Or, for instance, when it detects that the previous focus element is located at the left edge of the screen, the movement direction is left, and the next focus element is empty, it can confirm that the user is trying to move the focus off the left edge of the screen, which is the optimal time to trigger the display of the side navigation bar. This embodiment of the invention does not limit this.
[0035] Optionally, the above-mentioned determination of focus context information based on the focus failure event may involve extracting the complete context information of focus update from the focus failure event notification, and this embodiment of the invention does not limit this.
[0036] Alternatively, the screen coordinates of the currently focused element can be obtained to determine whether it is in the boundary area, and then determine whether the target side navigation bar has been reached. This embodiment of the invention does not limit this.
[0037] Alternatively, the target side navigation bar can be activated by specifying a button on the remote control to determine whether a focus failure event has been detected. This embodiment of the invention does not impose any limitations.
[0038] Optionally, this solution listens for focus failure events without requiring additional UI elements, without occupying interface space, and maintains the integrity of the content area; the operation is natural, and users only need to move the focus normally without learning special gestures or buttons; it has system-level support, based on the native focus system, and is stable and reliable; it is low-intrusive, only listening to events without interfering with normal focus transition logic; it accurately identifies and can obtain the complete focus context, which is convenient for condition judgment. This embodiment of the invention does not impose any limitations.
[0039] Optionally, the focus context obtained in this solution is highly timely, as the context reflects the state at the moment the event occurs, and the data is real-time and accurate; it also has good scalability, as more intelligent interactive logic can be extended based on the context information, and this embodiment of the invention does not limit it.
[0040] 102. Based on the focus context information, determine whether the target side navigation bar meets the preset shallow trigger response conditions.
[0041] Further optional, when it is determined that the target side navigation bar does not meet the preset shallow trigger response conditions, the event is not responded to (that is, the event is ignored and no response is made), and step 101 is executed again. This embodiment of the invention does not limit the scope of the invention.
[0042] Optionally, the shallow trigger response condition can correspond to whether the focus movement direction belongs to a preset valid operation that may trigger the navigation bar. This embodiment of the invention does not limit this.
[0043] Optionally, the focus movement direction check in this solution can: quickly filter out operation directions that meet the navigation bar activation conditions, filter out focus events in irrelevant directions as early as possible, reduce invalid processing, and improve system response efficiency; it has high filtering efficiency, simple direction judgment logic, and fast execution speed, and can eliminate irrelevant events in the first instance; the intent is clear, the direction information directly reflects the user's operation intent, and the judgment basis is clear and reliable; it reduces false triggers, only responds to specific directions, and avoids accidental triggering of the navigation bar when the user browses to the right or down; the logic is decoupled, the direction check is an independent condition, which is convenient to use in combination with other conditions; it is highly configurable, and the range of response directions can be flexibly adjusted to adapt to different interaction needs. This embodiment of the invention does not limit the scope of the solution.
[0044] 103. When it is determined that the target side navigation bar meets the shallow trigger response conditions, determine whether the target side navigation bar meets the preset deep trigger response conditions.
[0045] Further optional, when it is determined that the target side navigation bar does not meet the preset deep trigger response conditions, the event is not responded to (that is, no navigation bar-related operations are performed), and step 101 is executed again. This embodiment of the invention does not limit the scope of the invention.
[0046] Optionally, the deep trigger response conditions can correspond to whether the navigation function is enabled, check whether the current page is displaying the navigation bar, etc., and the embodiments of the present invention are not limited thereto.
[0047] Optionally, the navigation function check in this solution offers the following advantages: flexibility and controllability, allowing the function to be enabled or disabled at any time without code modification or re-release; rapid loss mitigation, enabling emergency mitigation by disabling the switch when a problem occurs; support for gray-scale deployment, allowing A / B testing by enabling the function for specific users or devices; performance optimization, skipping subsequent judgment logic when the function is disabled, saving computing resources; and user-selectability, allowing the switch to be exposed to users, enabling or disabling the function independently. This embodiment of the invention does not impose any limitations on this aspect.
[0048] Optionally, the method in this solution checks whether the current page configuration requires a navigation bar: It implements page-level navigation bar display control, ensuring the navigation bar only appears in appropriate page scenarios, avoiding interference with user operations on special pages (such as players, login pages, etc.); it ensures scenario adaptation, allowing different pages to independently configure whether a navigation bar is needed based on their own business needs; it guarantees user experience, ensuring that special pages such as full-screen and immersive pages are not unexpectedly interrupted by the navigation bar; it offers flexible configuration, requiring only one attribute to be set when adding a new page; it provides clear logic, with the relationship between the page and the navigation bar uniformly managed at the routing layer, making it easy to maintain; and it is easily extensible, easily supporting more complex conditional judgments, such as dynamically determining based on page status, although this embodiment of the invention does not impose limitations.
[0049] 104. When it is determined that the target side navigation bar meets the deep trigger response conditions, determine whether the focus failure event meets the preset conditions caused by other focus behaviors.
[0050] Further optional, when it is determined that the focus failure event meets other preset focus behavior conditions, the event is not responded to (that is, the focus failure event is directly ignored and the navigation bar is not triggered), and step 101 is executed again. This embodiment of the invention does not limit the scope of the invention.
[0051] Optionally, other focusing behaviors may trigger a focus movement failure event when the user moves the focus on the keyboard. For example, if the user continues to move the focus to the left from the far left of the keyboard, the application cannot directly identify it by type judgment since the system keyboard is a private component. Filtering out focus failure events in the system keyboard scenario prevents the user from being unexpectedly interrupted by the navigation bar during text input, ensuring the continuity and integrity of the input operation. This embodiment of the invention does not limit this.
[0052] Further optionally, the view width of the current focused element can be used to determine whether the current focused element is the system keyboard, or the system keyboard notification can be used to determine whether the keyboard is being displayed, thereby determining whether other preset focusing behavior conditions are met. This embodiment of the invention does not impose any limitations.
[0053] Optionally, the check for system keyboard access in this solution can: filter out focus failure events in system keyboard scenarios, preventing users from being unexpectedly interrupted by the navigation bar during text input, ensuring the continuity and integrity of input operations; provide input protection, ensuring users are not disturbed by the navigation bar while inputting text, resulting in a smooth experience; isolate scenarios, effectively distinguishing between keyboard input and navigation triggering scenarios; be non-intrusive, requiring no modification to the system keyboard or registration of additional keyboard notifications; be simple to implement, as it can be completed by judging the view size, with lightweight logic; and have good compatibility, applicable to various input scenarios that trigger keyboard pop-up, and this embodiment of the invention is not limited thereto.
[0054] 105. When it is determined that the focus failure event does not meet the conditions caused by other focus behaviors, determine the current display state of the target side navigation bar; if the current display state is not displayed, perform the corresponding animation display operation on the target side navigation bar; based on the target side navigation bar, perform the corresponding target focus transfer operation to obtain the focus transfer result, and based on the focus transfer result, perform the corresponding target menu display operation.
[0055] Further, optionally, determining the current display state of the target side navigation bar may include: Determine whether the target side navigation bar is currently displayed; if the result is yes, determine that the current display state of the target side navigation bar is displayed; if the result is no, determine that the current display state of the target side navigation bar is not displayed.
[0056] Alternatively, when the current display state is "displayed", the event is not responded to, and step 101 is executed again. This embodiment of the invention does not impose any limitations.
[0057] Optionally, the display status flag of the target side navigation bar can be used to determine whether the target side navigation bar is in display mode. Specifically, the display status flag is set to true when the navigation bar is expanded and to false when the navigation bar is collapsed. Furthermore, if the navigation bar is already in display mode, it means that the user is currently operating within the navigation bar. In this case, the failure event triggered by continuing to move the focus to the left should not execute the display logic again, but should be handled by the focus management mechanism inside the navigation bar. The focus failure event is considered a valid wake-up request and triggers the navigation bar expansion animation only when the navigation bar is in a hidden state. This embodiment of the invention does not impose any limitations.
[0058] Optionally, the navigation bar display check in this solution aims to: prevent the navigation bar from being repeatedly triggered while it is already displayed, ensure the uniqueness and correctness of the display state, maintain the stable operation of the interface state machine, and ensure that the navigation bar's display and hiding state machine is in the correct state at any time, avoiding problems such as animation overlay, state confusion, or interface abnormalities; prevent repeated triggering, avoiding the execution of display logic again when the navigation bar is displayed, which would cause animation overlay; ensure state consistency, ensuring that the state flag and the actual display state are always synchronized; save resources, skipping subsequent judgment logic when it is already displayed, reducing unnecessary calculations; simplify the logic, as the judgment can be completed with a single Boolean value, making it simple and clear; and ensure predictable behavior, with stable and controllable response results to user operations, without abnormal behavior. This embodiment of the invention does not impose limitations on these aspects.
[0059] Optionally, when the current display state is not displayed, the display state flag of the navigation bar can be set to true, and a smooth transition animation can be started to synchronously change multiple visual attributes of the navigation bar within a set time period. This embodiment of the invention does not limit this.
[0060] Optionally, the current display status of the target side navigation bar can be determined by the display status flag of the navigation bar, which is not limited in this embodiment of the invention.
[0061] Optionally, after all prerequisite checks have passed, a transition animation is executed to show the target side navigation bar from a hidden state. This embodiment of the invention does not impose any limitations on this.
[0062] Optionally, the trigger display animation in this solution presents the appearance of the navigation bar through a smooth transition animation, providing smooth and natural visual feedback, improving the quality of the user interface and the comfort of operation; visually smooth, the smooth animation avoids the abruptness caused by the sudden appearance of interface elements; the state is perceptible, the user can clearly perceive that the navigation bar is expanding and understand the interface change; the duration is moderate, the duration of 0.22 seconds takes into account both smoothness and response speed; multiple attributes are synchronized, the width, transparency, and material change synchronously, and the effect is coordinated and unified; the focus is automatically transferred, the focus is in place after the animation is completed, and the operation is uninterrupted. This embodiment of the invention is not limited.
[0063] Furthermore, after step 105, the method may also include the following steps: after the focus transfer is completed, the target menu item will be highlighted and selected. The user can immediately browse other menu items using the up and down arrow keys, or directly press the confirmation key to enter the currently highlighted page. This embodiment of the invention does not limit this step.
[0064] As can be seen, the intelligent access method for the side navigation bar described in this embodiment of the invention can further trigger the execution of the corresponding display control operation of the target side navigation bar by determining whether the shallow trigger response conditions, deep trigger response conditions, and conditions caused by other focusing behaviors of the target side navigation bar are met. This is beneficial to improving the comprehensiveness and rationality of the access display method of the side navigation bar, thereby improving the accuracy and reliability of the trigger display of the side navigation bar, improving the trigger display efficiency and timeliness of the side navigation bar, reducing the visual interference of the side navigation bar without occupying screen space, optimizing the balance between triggering and false triggering of the side navigation bar, and improving the display stability of screen elements.
[0065] In an optional embodiment, determining whether the target side navigation bar meets the preset deep trigger response conditions may include: Based on the determined application global configuration item information, determine whether the target side navigation bar meets the preset function activation status conditions; When it is determined that the target side navigation bar does not meet the conditions for the function to be enabled, it is determined that the target side navigation bar does not meet the preset deep trigger response conditions. When it is determined that the target side navigation bar meets the conditions for the function to be enabled, the system determines whether the target side navigation bar meets the preset display permission conditions of the current page based on the determined current page routing configuration information. When it is determined that the target side navigation bar meets the display permission conditions of the current page, it is determined that the target side navigation bar meets the preset deep trigger response conditions. When it is determined that the target side navigation bar does not meet the current page display permission conditions, it is determined that the target side navigation bar does not meet the preset deep trigger response conditions.
[0066] Optionally, the application global configuration item information can be determined through the application's environment configuration or user settings; furthermore, the application global configuration item information may include a boolean type switch flag, navigation bar configuration information (such as the number of columns and the specific content displayed in each column, etc.), which is not limited in this embodiment of the invention.
[0067] Further optionally, the determination of whether the target side navigation bar meets the preset function activation conditions based on the determined application global configuration item information may include: When the determined application global configuration item information is used to indicate that the switch is on, the target side navigation bar is determined to meet the preset function activation conditions. When the determined application global configuration item information is used to indicate that the switch is in the off state, it is determined that the target side navigation bar does not meet the preset function activation state conditions.
[0068] Optionally, when the switch is on, subsequent focus failure events will be processed and the navigation bar's triggering logic will execute normally; when the switch is off, the system will ignore the focus event regardless of how it changes and will not perform any navigation bar-related operations. This embodiment of the invention does not impose any limitations.
[0069] Optionally, the current page routing configuration information may correspond to a navigation bar availability flag that is preset for each page during route registration, used to indicate whether the page supports the invocation and display of the navigation bar; further, for example: if the current page routing configuration information indicates that the page's individual flag is true, then it is determined that the target side navigation bar meets the preset current page display permission conditions; if the current page routing configuration information indicates that the page's individual flag is false, then it is determined that the target side navigation bar does not meet the preset current page display permission conditions. This embodiment of the invention does not impose any limitations.
[0070] Further optionally, the above determination of whether the target side navigation bar meets the preset display permission conditions of the current page based on the determined current page routing configuration information may include: Based on the determined current page routing configuration information, determine the enabled attribute for the target side navigation bar on the current page; When the enabled attribute indicates support for the invocation and display of the target side navigation bar, it is determined that the target side navigation bar meets the preset display permission conditions of the current page; If the enabled attribute indicates that the target side navigation bar is not supported for activation and display, then it is determined that the target side navigation bar does not meet the preset display permission conditions of the current page.
[0071] Further optionally, determining the enabled attribute for the target side navigation bar on the current page based on the determined current page routing configuration information may include: If the current page routing configuration information indicates that the video playback page requires a full-screen immersive experience, then the current page's enable attribute for the target side navigation bar indicates that it does not support the invocation and display of the target side navigation bar. If the current page routing configuration information indicates that the login page is an independent process, then the current page's enable attribute for the target side navigation bar indicates that it does not support the invocation and display of the target side navigation bar. When the current page's route configuration information indicates that it is a content browsing page such as the homepage or media library, then the current page's enable attribute for the target side navigation bar indicates that it supports the invocation and display of the target side navigation bar.
[0072] As can be seen, this optional embodiment can determine whether the function activation status conditions of the target side navigation bar and the display permission conditions of the current page are met, and thus determine the result of the deep trigger response condition being met. This is beneficial to improving the comprehensiveness, rationality, and progressiveness of the method for determining the result of the deep trigger response condition being met, and to improving the diversity and flexibility of the parameters considered in determining the result of the deep trigger response condition being met. This, in turn, is beneficial to improving the accuracy and reliability of the determined result of the deep trigger response condition being met, and thus is beneficial to improving the rationality and accuracy of the subsequent side navigation bar access evaluation operation.
[0073] In another optional embodiment, determining whether the target side navigation bar meets the preset shallow trigger response conditions based on focus context information may include: Based on the focus context information, determine the focus movement direction information and determine the expected pop-up display location information of the target side navigation bar based on the current display screen; Based on the focus movement direction information and the expected pop-up display location information, determine the degree of positive intent of the user to activate the target side navigation bar; Determine whether the level of positive intent is greater than or equal to a preset threshold for the level of positive intent; When the positive intent level is determined to be greater than or equal to the positive intent level threshold, the target side navigation bar is determined to meet the preset shallow trigger response conditions. When the positive intent level is determined to be less than the positive intent level threshold, it is determined that the target side navigation bar does not meet the preset shallow trigger response conditions.
[0074] Optionally, the above-mentioned determination of the positive intent of the user to invoke the target side navigation bar based on the focus movement direction information and the expected pop-up display location information is illustrated as follows: when the expected pop-up display location information indicates that the target side navigation bar will pop up on the left side of the screen and the focus movement direction information indicates left or up, it is considered a valid operation that may trigger the navigation bar, that is, whether the positive intent level is greater than or equal to a preset positive intent level threshold; when the expected pop-up display location information indicates that the target side navigation bar will pop up on the left side of the screen and the focus movement direction information indicates right or down, it indicates that the user's intent is to browse content rather than invoke the navigation, that is, the positive intent level is less than the positive intent level threshold. This embodiment of the invention does not impose any limitations.
[0075] As can be seen, this optional embodiment can obtain the result of shallow trigger response condition satisfaction by comparing the positive intent of the determined user intent to evoke the target side navigation bar with the size of the corresponding threshold. This is beneficial to improving the comprehensiveness and rationality of the method for determining the result of shallow trigger response condition satisfaction, and thus improving the accuracy and reliability of the determined result of shallow trigger response condition satisfaction.
[0076] In another optional embodiment, the determination of whether the focus failure event meets other preset focus behavior conditions may include: Based on the focus failure event, determine the currently focused element and whether the currently focused element meets the preset conditions that the application cannot directly identify the component; When it is determined that the currently focused element meets the condition that the application cannot directly recognize the component, the focus failure event is determined to meet the conditions caused by other preset focus behaviors. When it is determined that the currently focused element does not meet the condition that the application cannot directly recognize the component, the focus failure event is determined to be caused by other preset focus behaviors.
[0077] Optionally, on a large-screen TV device, when a user needs to input text, the system will automatically pop up a full-screen keyboard for the user to select characters using the remote control. When the user moves the focus on the keyboard, a focus movement failure event may also be triggered, for example, if the user continues to move to the left from the far left of the keyboard. Since the system keyboard is a proprietary component, the application cannot directly identify it through type judgment, and this embodiment of the invention does not impose any limitations.
[0078] As can be seen, this optional embodiment can determine whether the currently focused element is a component that the application cannot directly identify, thereby obtaining the result of other focusing behaviors leading to the fulfillment of conditions. This is beneficial to improving the comprehensiveness and rationality of the method for determining the result of other focusing behaviors leading to the fulfillment of conditions, and thus beneficial to improving the accuracy and reliability of the determined result of other focusing behaviors leading to the fulfillment of conditions.
[0079] In another optional embodiment, the above determination of whether the currently focused element meets the preset conditions that the application cannot directly identify as a component may include: Determine the width of the element view corresponding to the currently focused element, and based on the element view width and the preset regular interface element size information, determine whether the currently focused element belongs to the system keyboard; When it is determined that the currently focused element belongs to the system keyboard, it is determined that the currently focused element meets the preset condition that the application cannot directly recognize the component. When it is determined that the currently focused element does not belong to the system keyboard, it is determined that the currently focused element does not meet the preset conditions that the application cannot directly recognize the component.
[0080] Optionally, the system keyboard usually occupies most of the screen width, far exceeding the size of ordinary interface elements; when the focused element is detected to be the system keyboard, the focus failure event should be ignored directly and the navigation bar should not be triggered. This embodiment of the invention does not impose any limitations.
[0081] Further optionally, the determination of whether the currently focused element belongs to the system keyboard based on the element view width and preset general interface element size information may include: Based on the preset size information of regular interface elements, determine the width threshold of non-regular interface elements; Determine if the width of an element view is greater than or equal to the width threshold of non-standard interface elements; If the judgment result is yes, it is determined that the currently focused element belongs to the system keyboard; If the result of the judgment is negative, it is determined that the currently focused element does not belong to the system keyboard.
[0082] As can be seen, this optional embodiment can determine whether the currently held focus element is the system keyboard and thus determine whether the application cannot directly recognize the component condition is met. This is beneficial to improving the comprehensiveness and rationality of the method for determining whether the application cannot directly recognize the component condition is met, and thus is beneficial to improving the accuracy and reliability of the determined application cannot directly recognize the component condition. This is helpful in dealing with the situation where the focus element belongs to a component that the application cannot directly recognize, causing the side navigation bar to pop up incorrectly.
[0083] In an optional embodiment, the above-mentioned target focus transfer operation based on the target side navigation bar, obtaining the focus transfer result, and the corresponding target menu display operation based on the focus transfer result, may include: Based on the determined initial selected menu item, determine the position index information of the initial selected menu item based on the target side navigation bar; Determine whether the target menu list corresponding to the initially selected menu item meets the preset scrolling display requirements. When it is determined that the target menu list meets the requirements for scrolling display, the target scroll offset is determined based on the position index information, and the corresponding menu scrolling operation is executed to the target position based on the target scroll offset. When it is determined that the target menu list does not meet the requirements for scrolling display, the corresponding target page menu item display operation is performed based on the position index information.
[0084] Optionally, after the animation of the target side navigation bar is completed, the system will automatically shift the focus to the first menu item of the navigation bar, allowing the user to immediately start browsing and selecting operations, achieving a seamless transition from triggering to interactivity; or, after the animation of the target side navigation bar is completed, the system will automatically shift the focus from the original content area to the menu list of the navigation bar and accurately locate the menu item corresponding to the current page. This embodiment of the invention does not impose any limitations.
[0085] Optionally, the initially selected menu item can be the menu item information previously selected by the user, or it can be the default item information (such as the first menu item information). This embodiment of the invention does not impose any limitations.
[0086] Optionally, the initially selected menu item is based on the position index information of the target side navigation bar, which can be understood as the position index of the initially selected menu item in the list. This embodiment of the invention does not limit this.
[0087] Further, optionally, the determination of whether the target menu list corresponding to the initially selected menu item meets the preset scrolling display requirements may include: Determine the length of the target menu list corresponding to the initially selected menu item, and determine the maximum length threshold of the full-screen menu list based on the current screen size information; Determine if the list length is greater than or equal to a preset menu list length threshold; When the judgment result is yes, it is determined that the target menu list meets the preset scrolling display requirements. If the judgment result is negative, it is determined that the target menu list does not meet the preset scrolling display requirements.
[0088] Optionally, the above-mentioned operation of scrolling the menu to the target position according to the target scroll offset is performed. For example, the target menu item is scrolled to a suitable position in the visible area according to the target scroll offset. This embodiment of the invention does not limit this.
[0089] As can be seen, this optional embodiment can match the corresponding target menu positioning and display method according to whether the target menu list meets the scrolling display requirement or not. This is beneficial to improving the comprehensiveness and rationality of the target menu positioning and display method, as well as its diversity, flexibility and relevance. In turn, it is beneficial to improve the accuracy and reliability of the target menu positioning and display, thereby improving the navigation efficiency and accuracy of the target menu.
[0090] In yet another optional embodiment, the above-described animation display operation on the target side navigation bar may include: Perform the corresponding flag update operation on the display status flags of the target side navigation bar; Based on the determined expected navigation bar width configuration information, control the target side navigation bar to perform the corresponding navigation bar slide-in operation; Based on the determined expected navigation bar transparency configuration information, control the target side navigation bar to perform the corresponding fade-in effect operation; Based on the determined expected navigation bar background configuration information, control the target side navigation bar to perform the corresponding visual hierarchy differentiation operation.
[0091] Optionally, the above-mentioned display status flag of the target side navigation bar is updated accordingly. For example, when the animation starts, the system will set the display status flag of the target side navigation bar to true. Furthermore, a smooth transition animation is started at the same time, and multiple visual attributes of the navigation bar are changed synchronously within a set time period. This embodiment of the invention does not limit the scope of the invention.
[0092] Optionally, based on the determined expected navigation bar width configuration information, the target side navigation bar is controlled to perform a corresponding navigation bar slide-in operation. For example, the width of the target side navigation bar gradually expands from zero to the target width, so that it slides in from the left edge of the screen to the right. This embodiment of the invention does not limit this.
[0093] Optionally, based on the determined expected navigation bar width configuration information, the target side navigation bar is controlled to perform a corresponding navigation bar slide-in operation. For example, the transparency of the target side navigation bar is controlled to gradually change from zero to completely opaque to achieve a fade-in effect. This embodiment of the invention is not limited to this.
[0094] Optionally, based on the determined expected navigation bar background configuration information, the target side navigation bar is controlled to perform corresponding visual hierarchy differentiation operations. For example, a frosted glass background is superimposed on the target side navigation bar to create a visual hierarchy differentiation between the target side navigation bar and the underlying content. This embodiment of the invention is not limited to this.
[0095] Optionally, the entire animation uses a smooth easing curve, and the duration period is set manually according to the actual scene, which ensures visual smoothness without making users wait too long. This embodiment of the invention does not impose any limitations.
[0096] As can be seen, this optional embodiment can realize the animation display function of the target side navigation bar through the update operation of the display status indicator of the target side navigation bar, the navigation bar slide-in control operation, the navigation bar fade-in effect control operation, and the navigation bar visual hierarchy differentiation operation. This is conducive to improving the comprehensiveness and rationality of the animation display method of the target side navigation bar, and to improving the diversity, pertinence and progressiveness of the animation display operation of the target side navigation bar. In turn, it is conducive to improving the visual smoothness and visual efficiency of the target side navigation bar, so as to achieve a seamless connection effect.
[0097] Example 2 Please see Figure 2 , Figure 2 This is a flowchart illustrating another intelligent access method for the side navigation bar disclosed in an embodiment of the present invention. Figure 2 The described method can be applied to electronic devices with installed applications, and the electronic devices are communicatively connected to network-attached storage devices. The electronic devices can access target data in the network-attached storage devices through the applications. This invention is not limited in its embodiments. Figure 2 As shown, this intelligent access method for the side navigation bar includes the following operations: 201. When a focus failure event is detected, determine the focus context information based on the focus failure event.
[0098] 202. Based on the focus context information, determine whether the target side navigation bar meets the preset shallow trigger response conditions.
[0099] 203. When it is determined that the target side navigation bar meets the shallow trigger response conditions, determine whether the target side navigation bar meets the preset deep trigger response conditions.
[0100] 204. When it is determined that the target side navigation bar meets the deep trigger response conditions, determine whether the focus failure event meets the preset conditions caused by other focus behaviors.
[0101] 205. When it is determined that the focus failure event does not meet the conditions caused by other focus behaviors, determine the current display state of the target side navigation bar; if the current display state is not displayed, perform the corresponding animation display operation on the target side navigation bar; based on the target side navigation bar, perform the corresponding target focus transfer operation to obtain the focus transfer result, and based on the focus transfer result, perform the corresponding target menu display operation.
[0102] 206. Determine whether the target side navigation bar meets the preset exit trigger conditions.
[0103] Optionally, the above-mentioned determination of whether the target side navigation bar meets the preset exit trigger conditions can be illustrated by the following examples: when it is detected that the remote control's back button is pressed and the navigation bar is closed directly, it is determined that the target side navigation bar meets the preset exit trigger conditions; when it is detected that the focus naturally moves outside the navigation bar area and the navigation bar is closed automatically, it is determined that the target side navigation bar meets the preset exit trigger conditions; when the user selects a menu item and confirms it, the navigation bar is closed at the same time as the page jump is completed, it is determined that the target side navigation bar meets the preset exit trigger conditions; when the focus continues to move to the right within the navigation bar and reaches the boundary, the navigation bar is triggered to close, it is determined that the target side navigation bar meets the preset exit trigger conditions. This embodiment of the invention does not limit the scope of the invention.
[0104] 207. When it is determined that the target side navigation bar meets the exit trigger condition, control the target side navigation bar to perform the corresponding width zeroing operation and control the target side navigation bar to perform the corresponding transparency zeroing operation; when the target side navigation bar completes the animation collapse operation, perform the corresponding hidden status flag update operation on the display status flag of the target side navigation bar; based on the determined current focus information, perform the corresponding main content area transfer operation.
[0105] Optionally, the above-mentioned control target side navigation bar performs a corresponding width zeroing operation and controls the target side navigation bar to perform a corresponding transparency zeroing operation. For example, the width and transparency of the target side navigation bar are gradually reduced to zero, so that it smoothly slides to the left and disappears. This embodiment of the invention does not limit this.
[0106] Optionally, the above-described operation of updating the display status flag of the target side navigation bar to the corresponding hidden status flag is performed. For example, updating the display status flag of the target side navigation bar to hidden is not limited in this embodiment of the invention.
[0107] Optionally, based on the determined current focus information, the above-mentioned main content area transfer operation is performed. For example, the focus is transferred back to the main content area so that the user can continue to browse the content. This embodiment of the invention does not limit the scope of the invention.
[0108] Optionally, the solution for collapsing the target side navigation bar in this scheme (i.e., steps 206-207) can be referenced, but not limited to, the appendix to the instruction manual. Figure 6 As shown; furthermore, the design of providing multiple exit methods takes into account the different operating habits and usage scenarios of different users. Users can choose the most natural way to exit according to their current intentions, without having to remember specific operation commands. The whole process is smooth and natural, without interrupting the user's rhythm. Multiple exit points cover different operating scenarios, and users have flexible choices. Intent matching means that each method corresponds to different user intentions, and the response meets expectations. The operation is natural, and no special operation needs to be learned. Exit can be completed intuitively. The experience is consistent, and all methods execute the same closing animation, resulting in a unified visual effect. The focus is controllable, and the focus automatically returns to the content area after exiting. The operation is uninterrupted and the transition is smooth. This embodiment of the invention is not limited.
[0109] In this embodiment of the invention, for other descriptions of steps 201-207, please refer to the other detailed descriptions of steps 101-105 in Embodiment 1. These descriptions will not be repeated in this embodiment of the invention.
[0110] As can be seen, the embodiments of the present invention can further trigger the execution of corresponding display control operations for the target side navigation bar by determining whether the shallow trigger response conditions, deep trigger response conditions, and conditions caused by other focusing behaviors are met. This is beneficial to improving the comprehensiveness and rationality of the side navigation bar's touch display method, thereby improving the accuracy and reliability of the side navigation bar's trigger display, and improving the efficiency and timeliness of the side navigation bar's trigger display. This also helps to reduce screen visual interference from the side navigation bar without occupying screen space, optimize the balance between triggering and false triggering of the side navigation bar, and improve the stability of screen element display. Furthermore, when the target side navigation bar meets the exit trigger conditions, it can also execute corresponding target side navigation bar hiding and display control operations, which is beneficial to improving the rationality, accuracy, and timeliness of the target side navigation bar hiding operation, thereby improving the accuracy and reliability of the target side navigation bar hiding control, and improving the efficiency and timeliness of the target side navigation bar hiding control. This helps to ensure that the exit operation of the target side navigation bar is natural and smooth and does not cause any obstacles to use.
[0111] Example 3 Please see Figure 3 , Figure 3 This is a structural schematic diagram of an intelligent access device for a side navigation bar disclosed in an embodiment of the present invention. Figure 3 The described apparatus may include an electronic device having an application installed thereon, and the electronic device is communicatively connected to a network-attached storage device (NAT). The electronic device can access target data in the NAT via the application. This embodiment of the invention is not limited to this. Figure 3 As shown, the intelligent access device for the side navigation bar may include: The focus determination module 301 is used to determine focus context information based on a focus failure event when a focus failure event is detected.
[0112] The first judgment module 302 is used to determine whether the target side navigation bar meets the preset shallow trigger response conditions based on the focus context information.
[0113] The second judgment module 303 is used to determine whether the target side navigation bar meets the preset deep trigger response conditions when the first judgment module determines that the target side navigation bar meets the shallow trigger response conditions.
[0114] The third judgment module 304 is used to determine whether the focus failure event meets other preset focus behavior conditions when the second judgment module determines that the target side navigation bar meets the deep trigger response conditions.
[0115] The navigation bar display control module 305 is used to determine the current display state of the target side navigation bar when the third judgment module determines that the focus failure event does not meet the conditions caused by other focus behaviors; when the current display state is not displayed, it performs the corresponding animation display operation on the target side navigation bar; based on the target side navigation bar, it performs the corresponding target focus transfer operation to obtain the focus transfer result, and based on the focus transfer result, it performs the corresponding target menu display operation.
[0116] It is evident that implementation Figure 3The described intelligent touch device for the side navigation bar can further trigger and execute corresponding display control operations on the target side navigation bar based on the satisfaction of shallow trigger response conditions, deep trigger response conditions, and conditions caused by other focusing behaviors. This helps improve the comprehensiveness and rationality of the side navigation bar's touch display method, thereby improving the accuracy and reliability of the side navigation bar's trigger display, as well as its trigger display efficiency and timeliness. It also helps reduce visual interference from the side navigation bar without occupying screen space, optimizes the balance between triggering and false triggering of the side navigation bar, and improves the stability of screen element display.
[0117] In an optional embodiment, the second determination module 303 determines whether the target side navigation bar meets the preset deep trigger response conditions in the following ways: Based on the determined application global configuration item information, determine whether the target side navigation bar meets the preset function activation status conditions; When it is determined that the target side navigation bar does not meet the conditions for the function to be enabled, it is determined that the target side navigation bar does not meet the preset deep trigger response conditions. When it is determined that the target side navigation bar meets the conditions for the function to be enabled, the system determines whether the target side navigation bar meets the preset display permission conditions of the current page based on the determined current page routing configuration information. When it is determined that the target side navigation bar meets the display permission conditions of the current page, it is determined that the target side navigation bar meets the preset deep trigger response conditions. When it is determined that the target side navigation bar does not meet the current page display permission conditions, it is determined that the target side navigation bar does not meet the preset deep trigger response conditions.
[0118] It is evident that implementation Figure 4 The described device can determine whether the function activation status conditions of the target side navigation bar and the display permission conditions of the current page are met, and then determine the result of the deep trigger response condition being met. This is beneficial to improving the comprehensiveness, rationality and progressiveness of the method for determining the result of the deep trigger response condition being met, and to improving the diversity and flexibility of the parameters considered in determining the result of the deep trigger response condition being met. This, in turn, is beneficial to improving the accuracy and reliability of the determined result of the deep trigger response condition being met, and thus is beneficial to improving the rationality and accuracy of the subsequent side navigation bar access evaluation operation.
[0119] In another optional embodiment, the first determination module 302 determines whether the target side navigation bar meets the preset shallow trigger response conditions based on the focus context information in the following specific ways: Based on the focus context information, determine the focus movement direction information and determine the expected pop-up display location information of the target side navigation bar based on the current display screen; Based on the focus movement direction information and the expected pop-up display location information, determine the degree of positive intent of the user to activate the target side navigation bar; Determine whether the level of positive intent is greater than or equal to a preset threshold for the level of positive intent; When the positive intent level is determined to be greater than or equal to the positive intent level threshold, the target side navigation bar is determined to meet the preset shallow trigger response conditions. When the positive intent level is determined to be less than the positive intent level threshold, it is determined that the target side navigation bar does not meet the preset shallow trigger response conditions.
[0120] It is evident that implementation Figure 4 The described device can also compare the positive intent of the determined user intent to evoke the target side navigation bar with the size of the corresponding threshold to obtain the result of the shallow trigger response condition being met. This helps to improve the comprehensiveness and rationality of the method for determining the result of the shallow trigger response condition being met, and thus helps to improve the accuracy and reliability of the determined result of the shallow trigger response condition being met.
[0121] In another optional embodiment, the third judgment module 304 determines whether the focus failure event meets other preset focusing behavior conditions in the following ways: Based on the focus failure event, determine the currently focused element and whether the currently focused element meets the preset conditions that the application cannot directly identify the component; When it is determined that the currently focused element meets the condition that the application cannot directly recognize the component, the focus failure event is determined to meet the conditions caused by other preset focus behaviors. When it is determined that the currently focused element does not meet the condition that the application cannot directly recognize the component, the focus failure event is determined to be caused by other preset focus behaviors.
[0122] It is evident that implementation Figure 4 The described device can also determine whether the currently held focus element is a component that the application cannot directly identify, thereby obtaining the result of other focusing behaviors leading to the fulfillment of conditions. This is beneficial to improving the comprehensiveness and rationality of the method for determining the result of other focusing behaviors leading to the fulfillment of conditions, and thus to improving the accuracy and reliability of the determined result of other focusing behaviors leading to the fulfillment of conditions.
[0123] In yet another optional embodiment, the third judgment module 304 determines whether the currently focused element meets the preset condition that the application cannot directly identify the component by means of: Determine the width of the element view corresponding to the currently focused element, and based on the element view width and the preset regular interface element size information, determine whether the currently focused element belongs to the system keyboard; When it is determined that the currently focused element belongs to the system keyboard, it is determined that the currently focused element meets the preset condition that the application cannot directly recognize the component. When it is determined that the currently focused element does not belong to the system keyboard, it is determined that the currently focused element does not meet the preset conditions that the application cannot directly recognize the component.
[0124] It is evident that implementation Figure 4 The described device can also determine whether the currently held focus element is the system keyboard, thereby determining the result of the application not being able to directly recognize the component condition. This helps to improve the comprehensiveness and rationality of the method for determining the result of the application not being able to directly recognize the component condition, and thus helps to improve the accuracy and reliability of the result of the determination of the application not being able to directly recognize the component condition. This helps to deal with the situation where the focus element belongs to the application not being able to directly recognize the component, causing the side navigation bar to pop up incorrectly.
[0125] In another optional embodiment, the navigation bar display control module 305 performs a corresponding target focus transfer operation based on the target side navigation bar, obtains the focus transfer result, and performs a corresponding target menu display operation based on the focus transfer result. Specifically, this includes: Based on the determined initial selected menu item, determine the position index information of the initial selected menu item based on the target side navigation bar; Determine whether the target menu list corresponding to the initially selected menu item meets the preset scrolling display requirements. When it is determined that the target menu list meets the requirements for scrolling display, the target scroll offset is determined based on the position index information, and the corresponding menu scrolling operation is executed to the target position based on the target scroll offset. When it is determined that the target menu list does not meet the requirements for scrolling display, the corresponding target page menu item display operation is performed based on the position index information.
[0126] It is evident that implementation Figure 4 The described device can also match the corresponding target menu positioning and display method according to whether the target menu list meets the scrolling display requirement or not. This helps to improve the comprehensiveness and rationality of the target menu positioning and display method, as well as its diversity, flexibility and relevance. In turn, it helps to improve the accuracy and reliability of the target menu positioning and display, thereby improving the navigation efficiency and accuracy of the target menu.
[0127] In yet another optional embodiment, the navigation bar display control module 305 performs corresponding animation display operations on the target side navigation bar in the following specific ways: Perform the corresponding flag update operation on the display status flags of the target side navigation bar; Based on the determined expected navigation bar width configuration information, control the target side navigation bar to perform the corresponding navigation bar slide-in operation; Based on the determined expected navigation bar transparency configuration information, control the target side navigation bar to perform the corresponding fade-in effect operation; Based on the determined expected navigation bar background configuration information, control the target side navigation bar to perform the corresponding visual hierarchy differentiation operation.
[0128] It is evident that implementation Figure 4 The described device can also realize the animation display function of the target side navigation bar through the display status indicator update operation, navigation bar slide-in control operation, navigation bar fade-in effect control operation, and navigation bar visual hierarchy differentiation operation. This is conducive to improving the comprehensiveness and rationality of the animation display method of the target side navigation bar, improving the diversity, pertinence and progressiveness of the animation display operation of the target side navigation bar, and thus improving the visual smoothness and efficiency of the display of the target side navigation bar, so as to achieve a seamless connection effect.
[0129] In yet another alternative embodiment, such as Figure 4 As shown, the device may further include: The fourth judgment module 306 is used to determine whether the target side navigation bar meets the preset exit trigger conditions.
[0130] The navigation bar hiding control module 307 is used to control the target side navigation bar to perform a corresponding width zeroing operation and a corresponding transparency zeroing operation when the fourth judgment module 306 determines that the target side navigation bar meets the exit trigger condition; when the target side navigation bar completes the animation collapse operation, it performs a corresponding hiding status flag update operation on the display status flag of the target side navigation bar; and performs a corresponding main content area transfer operation based on the determined current focus information.
[0131] It is evident that implementation Figure 4 The described device can also perform corresponding target side navigation bar hiding / showing control operations when the target side navigation bar meets the exit trigger conditions. This helps improve the rationality, accuracy, and timeliness of the target side navigation bar hiding operation, thereby improving the accuracy and reliability of the target side navigation bar hiding control, and improving the efficiency and timeliness of the target side navigation bar hiding control. This helps ensure that the exit operation of the target side navigation bar is natural and smooth and does not cause any obstacles to use.
[0132] Example 4 Please see Figure 5 , Figure 5 This is a schematic diagram of the structure of another electronic device disclosed in an embodiment of the present invention. Wherein, Figure 5 The described electronic device may include a server, wherein the server includes a local server or a cloud server, and the embodiments of the present invention are not limited thereto. Figure 5 As shown, the electronic device may include: Memory 401 storing executable program code; Processor 402 coupled to memory 401; Furthermore, it may also include an input interface 403 coupled to the processor 402 and an output interface 404; The processor 402 calls the executable program code stored in the memory 401 to execute the steps in the intelligent access method for the side navigation bar described in Embodiment 1 or Embodiment 2.
[0133] Example 5 This invention discloses a computer storage medium storing a computer program for electronic data interchange, wherein the computer program causes a computer to perform the steps in the intelligent access method for a side navigation bar described in Embodiment 1 or Embodiment 2.
[0134] Example 6 This invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform the steps in the intelligent access method for the side navigation bar described in Embodiment 1 or Embodiment 2.
[0135] Example 7 This invention discloses an intelligent access system for a side navigation bar, comprising the intelligent access device for a side navigation bar described in Embodiment 3, and a network-attached storage device communicatively connected to the device; or, The system includes the electronic device described in Embodiment 4, and a network-attached storage device communicatively connected to the electronic device.
[0136] The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0137] Through the detailed description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, including read-only memory (ROM), random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-Erasable Programmable Read-Only Memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0138] Finally, it should be noted that the intelligent access method, device, and system for side navigation bars disclosed in the embodiments of the present invention are merely preferred embodiments of the present invention and are only used to illustrate the technical solutions of the present invention, not to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. An intelligent access method for side navigation bars, characterized in that, The method is applied to an electronic device with an application installed, and the electronic device is communicatively connected to a network-attached storage device. The electronic device can access target data in the network-attached storage device through the application. The method includes: When a focus failure event is detected, focus context information is determined based on the focus failure event; Based on the focus context information, determine whether the target side navigation bar meets the preset shallow trigger response conditions; When it is determined that the target side navigation bar meets the shallow trigger response condition, it is determined whether the target side navigation bar meets the preset deep trigger response condition. When it is determined that the target side navigation bar meets the deep trigger response condition, it is determined whether the focus failure event meets other preset focus behavior cause conditions; When it is determined that the focus failure event does not meet the other focus behavior conditions, the current display state of the target side navigation bar is determined; when the current display state is not displayed, the corresponding animation display operation is performed on the target side navigation bar; based on the target side navigation bar, the corresponding target focus transfer operation is performed to obtain the focus transfer result, and based on the focus transfer result, the corresponding target menu display operation is performed.
2. The intelligent access method for the side navigation bar according to claim 1, characterized in that, The step of determining whether the target side navigation bar meets the preset deep trigger response conditions includes: Based on the determined application global configuration item information, determine whether the target side navigation bar meets the preset function activation state conditions; When it is determined that the target side navigation bar does not meet the function activation state conditions, it is determined that the target side navigation bar does not meet the preset deep trigger response conditions. When it is determined that the target side navigation bar meets the function activation state conditions, it is determined whether the target side navigation bar meets the preset current page display permission conditions based on the determined current page routing configuration information. When it is determined that the target side navigation bar meets the current page display permission conditions, it is determined that the target side navigation bar meets the preset deep trigger response conditions; When it is determined that the target side navigation bar does not meet the current page display permission conditions, it is determined that the target side navigation bar does not meet the preset deep trigger response conditions.
3. The intelligent access method for the side navigation bar according to claim 1, characterized in that, The step of determining whether the target side navigation bar meets the preset shallow trigger response conditions based on the focus context information includes: Based on the focus context information, determine the focus movement direction information and determine the expected pop-up display location information of the target side navigation bar based on the current display screen; Based on the focus movement direction information and the expected pop-up display location information, determine the degree of positive intent of the user to activate the target side navigation bar; Determine whether the positive intention level is greater than or equal to a preset positive intention level threshold; When it is determined that the positive intent level is greater than or equal to the positive intent level threshold, the target side navigation bar is determined to meet the preset shallow trigger response condition. When it is determined that the positive intent level is less than the positive intent level threshold, it is determined that the target side navigation bar does not meet the preset shallow trigger response conditions.
4. The intelligent access method for the side navigation bar according to claim 1, characterized in that, The determination of whether the focus failure event meets other preset focus behavior conditions includes: Based on the focus failure event, determine the currently focused element and whether the currently focused element meets the preset condition that the application cannot directly identify the component; When it is determined that the currently focused element meets the condition that the application cannot directly identify the component, the focus failure event is determined to meet the preset conditions caused by other focus behaviors. When it is determined that the currently focused element does not meet the condition that the application cannot directly identify the component, it is determined that the focus failure event does not meet the preset conditions caused by other focus behaviors.
5. The intelligent access method for the side navigation bar according to claim 4, characterized in that, The determination of whether the currently focused element meets the preset conditions for components that the application cannot directly identify includes: Determine the width of the element view corresponding to the currently focused element, and determine whether the currently focused element belongs to the system keyboard based on the element view width and the preset regular interface element size information; When it is determined that the currently focused element belongs to the system keyboard, it is determined that the currently focused element meets the preset condition that the application cannot directly recognize the component. When it is determined that the currently focused element does not belong to the system keyboard, it is determined that the currently focused element does not meet the preset condition that the application cannot directly recognize the component.
6. The intelligent access method for the side navigation bar according to any one of claims 1-5, characterized in that, The step of performing a corresponding target focus transfer operation based on the target side navigation bar, obtaining a focus transfer result, and performing a corresponding target menu display operation based on the focus transfer result includes: Based on the determined initial selected menu item, the position index information of the initial selected menu item based on the target side navigation bar is determined; Determine whether the target menu list corresponding to the initially selected menu item meets the preset scrolling display requirements. When it is determined that the target menu list meets the scrolling display requirement, the target scroll offset is determined according to the position index information, and the corresponding menu scrolling operation is performed to display at the target position according to the target scroll offset. When it is determined that the target menu list does not meet the scrolling display requirements, the corresponding target page menu item display operation is performed according to the position index information.
7. The intelligent access method for the side navigation bar according to claim 6, characterized in that, The step of performing corresponding animation display operations on the target side navigation bar includes: Perform corresponding flag update operations on the display status flags of the target side navigation bar; Based on the determined expected navigation bar width configuration information, control the target side navigation bar to perform the corresponding navigation bar slide-in operation; Based on the determined expected navigation bar transparency configuration information, control the target side navigation bar to perform the corresponding fade-in effect operation; Based on the determined expected navigation bar background configuration information, the target side navigation bar is controlled to perform corresponding visual hierarchy differentiation operations.
8. The intelligent access method for the side navigation bar according to any one of claims 1-5, characterized in that, The method further includes: Determine whether the target side navigation bar meets the preset exit trigger condition; When it is determined that the target side navigation bar meets the exit trigger condition, the target side navigation bar is controlled to perform a corresponding width reset operation and a corresponding transparency reset operation; when the target side navigation bar completes the animation collapse operation, the target side navigation bar's display status flag is updated accordingly; based on the determined current focus information, the corresponding main content area transfer operation is performed.
9. An intelligent access device for a side navigation bar, characterized in that, The device includes an electronic device having an application installed thereon, and the electronic device being communicatively connected to a network-attached storage device (NAT). The electronic device can access target data in the NAT via the application. The device includes: The focus determination module is used to determine focus context information based on the focus failure event when a focus failure event is detected. The first judgment module is used to determine whether the target side navigation bar meets the preset shallow trigger response conditions based on the focus context information. The second judgment module is used to determine whether the target side navigation bar meets the preset deep trigger response condition when the first judgment module determines that the target side navigation bar meets the shallow trigger response condition. The third judgment module is used to determine whether the focus failure event meets other preset focus behavior conditions when the second judgment module determines that the target side navigation bar meets the deep trigger response conditions. The navigation bar display control module is used to determine the current display state of the target side navigation bar when the third judgment module determines that the focus failure event does not meet the other focus behavior conditions; when the current display state is a non-display state, to perform corresponding animation display operations on the target side navigation bar; based on the target side navigation bar, to perform corresponding target focus transfer operations to obtain focus transfer results, and based on the focus transfer results, to perform corresponding target menu display operations.
10. An electronic device, characterized in that, The electronic device includes: Memory containing executable program code; A processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the intelligent access method for the side navigation bar as described in any one of claims 1-8.
11. A computer storage medium, characterized in that, The computer storage medium stores computer instructions, which, when invoked, are used to execute the intelligent access method for the side navigation bar as described in any one of claims 1-8.
12. An intelligent access system for side navigation bars, characterized in that, The system includes the intelligent access device for the side navigation bar as described in claim 9, and a network-attached storage device communicatively connected to the device; or, The system includes the electronic device as described in claim 10, and a network-attached storage device communicatively connected to the electronic device.