Vehicle machine system navigation bar processing method and system, terminal and storage medium

By combining the accessibility function of the Android system and the WindowManager service, we create a navigation bar and realize automatic style and display effect switching, the problem of complex and customized functions of the navigation bar of the vehicle computer system is solved, and the effect of simplifying development and enhancing customized capabilities is achieved.

CN120010984APending Publication Date: 2025-05-16SUZHOU ZHIXING CHANGLIAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510098301.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-22
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

The processing and implementation process of the navigation bar of the vehicle machine system in the prior art is complicated, and there are limitations in realizing customized functions, which is difficult to meet the personalized needs of users.

Method used

By combining the accessibility services of the Android system and the WindowManager service, we create a navigation bar by adding windows, and automatically switch different navigation bar styles and display effects according to the currently opened application interface.

Benefits of technology

It realizes independent development and management of the navigation bar, breaks away from the dependence of the native system System UI application, simplifies the development process, enhances the implementation of customized functions, and is suitable for complex vehicle-mounted full-screen application function adaptation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120010984A_ABST
    Figure CN120010984A_ABST
Patent Text Reader

Abstract

The invention discloses a method and system for processing a navigation bar of a vehicle-mounted infotainment system, a terminal and a storage medium, and the method comprises the steps: obtaining a navigation bar creation demand of a user, carrying out file configuration according to the navigation bar creation demand to obtain a configuration result, and detecting the starting condition of a barrier-free function in a starting action completion broadcast to obtain a detection result; if the monitoring result is that the barrier-free function is started, carrying out connection processing on a barrier-free service corresponding to the barrier-free function to obtain a connection judgment result, and creating a corresponding navigation bar; if it is detected that an interface change event exists in the window where the navigation bar is located, conducting synchronous change processing on the navigation bar according to the interface change event to obtain a navigation bar change result. According to the method, the navigation bar is created by combining the barrier-free function service of the system and the Window Manager service adding window, and different navigation bar styles and display effects can be automatically switched according to the currently opened application interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle-mounted navigation bar processing, and in particular to a method, system, terminal and computer-readable storage medium for processing a vehicle-mounted navigation bar. Background Art

[0002] At present, the processing of the vehicle's on-board system navigation bar usually uses the SystemUI application source code and SystemUI application Plugin function that comes with the on-board system; for the development of the navigation bar through the SystemUI application source code, this implementation method requires developers to have some understanding of the SystemUI application source code architecture and be familiar with the SystemUI startup loading process, which makes this implementation method difficult for novices to implement. Also, because the SystemUI application source code is large in size and involves many functions, various system bugs will occur during modification, and the application packaging and compilation must be performed using a Linux system server, which is not convenient for using conventional AndroidStudio development tools for application development.

[0003] For navigation bar development using the SystemUI application plugin function, the implementation method requires importing the SystemUIPluginLib jar package (Java Archive, a platform-independent file format mainly used for the distribution and deployment of Java applications), configuring the SystemUI application whitelist through the jar package, implementing the specified interface functions, and some customized functions require the SystemUI application to be modified synchronously; although conventional AndroidStudio development tools can be used for application development, the implementation steps are cumbersome and require some understanding of the SystemUI application functions. There are certain limitations in implementing customized functions and it is only suitable for simple navigation bar function development.

[0004] Therefore, the prior art still needs to be improved and developed. Summary of the invention

[0005] The main purpose of the present invention is to provide a method, system, terminal and storage medium for processing the navigation bar of a vehicle system, aiming to solve the problems in the prior art that the processing of the navigation bar of a vehicle system is complicated and there are limitations in realizing customized functions.

[0006] To achieve the above object, the present invention provides a method for processing a navigation bar of a vehicle system, and the method for processing a navigation bar of a vehicle system comprises the following steps:

[0007] Acquire the user's navigation bar creation requirement, perform file configuration according to the navigation bar creation requirement, obtain a configuration result, and detect the activation of the barrier-free function in the power-on action completion broadcast according to the configuration result to obtain a detection result;

[0008] Acquire the user's navigation bar creation requirement, perform file configuration according to the navigation bar creation requirement, obtain a configuration result, and detect the activation of the barrier-free function in the power-on action completion broadcast according to the configuration result to obtain a detection result;

[0009] When it is detected that an interface change event occurs in the window where the navigation bar is located, a synchronous change process is performed on the navigation bar according to the interface change event to obtain a navigation bar change result.

[0010] Optionally, the method for processing the navigation bar of the vehicle system, wherein the obtaining of the user's navigation bar creation requirements, performing file configuration according to the navigation bar creation requirements to obtain configuration results, and detecting the activation of the barrier-free function in the boot action completion broadcast according to the configuration results to obtain the detection results, specifically includes:

[0011] Obtaining the user's navigation bar creation requirements, performing file configuration according to the navigation bar creation requirements, obtaining configuration results, and obtaining the native navigation bar configuration attribute values ​​of the vehicle system according to the configuration results;

[0012] If the native navigation bar configuration attribute value is consistent with the expected value, the power-on action completion broadcast is monitored. If the power-on action completion broadcast is detected, the activation status of the accessibility function in the power-on action completion broadcast is detected to obtain a detection result.

[0013] Optionally, the method for processing the navigation bar of the vehicle system, wherein if the detection result is that the barrier-free function has been activated, determining whether the barrier-free service corresponding to the barrier-free function is successfully connected, obtaining a connection determination result, and creating a corresponding navigation bar according to the connection determination result, specifically includes:

[0014] If the detection result is that the barrier-free function has been activated, then detecting the activation status of the navigation bar application in the barrier-free function;

[0015] If it is detected that the navigation bar application has been started, determining whether the accessibility service corresponding to the accessibility function is successfully connected, and obtaining a connection determination result;

[0016] If the connection determination result is that the barrier-free service is successfully connected, creating a corresponding window service according to the connection determination result, and configuring different window parameters according to the window service;

[0017] A plurality of window information are set according to all the window parameters, and a navigation bar is created according to all the window information, wherein the window information includes window type, behavior options, window height and window display position.

[0018] Optionally, the method for processing the navigation bar of the vehicle system, wherein if it is detected that the navigation bar application has been started, determining whether the accessibility service corresponding to the accessibility function is successfully connected, and obtaining a connection determination result, further comprises:

[0019] Obtaining a service interface of the barrier-free service, monitoring a callback status of the service interface, obtaining an interface callback result, and determining whether the barrier-free service is successfully connected according to the interface callback result;

[0020] If the interface callback result is that the service interface has not been called, it is determined that the barrier-free service connection has failed, and a corresponding connection abnormality reminder is issued;

[0021] If the interface callback result is that the service interface has been called, it is determined that the barrier-free service connection is successful.

[0022] Optionally, the method for processing the navigation bar of the vehicle system, wherein if the connection judgment result is that the barrier-free service is successfully connected, a corresponding window service is created according to the connection judgment result, and different window parameters are configured according to the window service, specifically including:

[0023] If the connection determination result is that the barrier-free service is successfully connected, creating a corresponding window service according to the connection determination result;

[0024] Obtaining an active running task list of the window service, extracting a top active application in the active running task list, and performing a full-screen detection on the top active application;

[0025] If the top active application does not need to be displayed in full screen, a navigation bar creation instruction is generated, and different window parameters are configured according to the navigation bar creation instruction.

[0026] Optionally, the method for processing the navigation bar of the vehicle system, wherein when an interface change event is detected in the window where the navigation bar is located, the navigation bar is synchronously changed according to the interface change event to obtain a navigation bar change result, specifically includes:

[0027] If the interface change event is an application full-screen display event, when it is detected that the window where the navigation bar is located has an application full-screen display event, a navigation bar hiding instruction is generated according to the application full-screen display event;

[0028] The navigation bar is synchronously hidden according to the navigation bar hiding instruction to obtain a navigation bar change result.

[0029] Optionally, the method for processing the navigation bar of the vehicle system, wherein when an interface change event is detected in the window where the navigation bar is located, the navigation bar is synchronously changed according to the interface change event to obtain a navigation bar change result, specifically includes:

[0030] If the interface change event is an application interface switching event, when it is detected that the window where the navigation bar is located has an application interface switching event, a navigation bar information switching instruction is generated according to the application interface switching event;

[0031] The navigation bar style and display effect of the navigation bar are synchronously switched according to the navigation bar information switching instruction to obtain a navigation bar change result.

[0032] Optionally, in the method for processing the navigation bar of the vehicle system, the processing system of the navigation bar of the vehicle system includes:

[0033] A function detection module is used to obtain a user's navigation bar creation requirement, perform file configuration according to the navigation bar creation requirement, obtain a configuration result, and detect the activation of the barrier-free function in the boot action completion broadcast according to the configuration result to obtain a detection result;

[0034] A navigation bar creation module, used to obtain a user's navigation bar creation requirement, perform file configuration according to the navigation bar creation requirement, obtain a configuration result, and detect the activation of the barrier-free function in the power-on action completion broadcast according to the configuration result to obtain a detection result;

[0035] The navigation bar changing module is used to, when detecting that an interface change event exists in the window where the navigation bar is located, synchronously change the navigation bar according to the interface change event to obtain a navigation bar change result.

[0036] In addition, to achieve the above-mentioned purpose, the present invention also provides a terminal, wherein the terminal includes: a memory, a processor, and a processing program for the vehicle system navigation bar stored in the memory and executable on the processor, and when the processing program for the vehicle system navigation bar is executed by the processor, the steps of the processing method for the vehicle system navigation bar as described above are implemented.

[0037] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a processing program for the vehicle system navigation bar, and when the processing program for the vehicle system navigation bar is executed by the processor, the steps of the processing method for the vehicle system navigation bar as described above are implemented.

[0038] In the present invention, the user's navigation bar creation requirements are obtained, and file configuration is performed according to the navigation bar creation requirements to obtain configuration results, and the startup status of the barrier-free function in the boot action completion broadcast is detected according to the configuration results to obtain detection results; the user's navigation bar creation requirements are obtained, and file configuration is performed according to the navigation bar creation requirements to obtain configuration results, and the startup status of the barrier-free function in the boot action completion broadcast is detected according to the configuration results to obtain detection results; when it is detected that the window where the navigation bar is located has an interface change event, the navigation bar is synchronously changed according to the interface change event to obtain the navigation bar change result. The present invention creates a navigation bar by combining the system's barrier-free function service and the WindowManager service to add a window, and can also automatically switch different navigation bar styles and display effects according to the currently opened application interface. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 It is a flow chart of a preferred embodiment of a method for processing a navigation bar of a vehicle system of the present invention;

[0040] Figure 2 It is a structural diagram of a preferred embodiment of a processing system of a vehicle system navigation bar of the present invention;

[0041] Figure 3 It is a schematic diagram of the operating environment of a preferred embodiment of the terminal of the present invention. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0043] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back, etc.), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0044] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present invention, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0045] The method for processing the navigation bar of the vehicle system according to the preferred embodiment of the present invention is as follows: Figure 1 As shown, the processing method of the vehicle system navigation bar includes the following steps:

[0046] Step S10, obtaining the user's navigation bar creation requirements, performing file configuration according to the navigation bar creation requirements, obtaining configuration results, and detecting the activation of the barrier-free function in the boot action completion broadcast according to the configuration results to obtain detection results.

[0047] The step S10 comprises:

[0048] Step S11, obtaining the user's navigation bar creation requirements, performing file configuration according to the navigation bar creation requirements, obtaining configuration results, and obtaining the native navigation bar configuration attribute values ​​of the vehicle system according to the configuration results;

[0049] Step S12: If the native navigation bar configuration attribute value is consistent with the expected value, the power-on action completion broadcast is monitored; if the power-on action completion broadcast is detected, the activation status of the barrier-free function in the power-on action completion broadcast is detected to obtain a detection result.

[0050] Specifically, in view of the problem that the implementation process of the vehicle system navigation bar in the prior art is complicated and there are limitations in realizing customized functions, in the embodiment of the present invention, by using the Accessibility Service provided by the barrier-free function in the Android system, i.e., barrier-free auxiliary service, combined with the system Window Manager, i.e., window service, a corresponding navigation bar is added. This implementation method is separated from the native system System UI application and can be implemented independently, without the need for System UI application development experience. Application development can also be carried out using the Android Studio development tool, which is convenient for developers to develop navigation bar applications. In terms of common vehicle-mounted full-screen application function adaptation, the traditional implementation method has the situation that individual applications cannot cooperate with the modification. In this case, the use of barrier-free auxiliary service can actively adapt the display of the navigation bar of the full-screen application, because the barrier-free auxiliary service can register barrier-free events through onAccessibilityEvent (onAccessibilityEvent is a callback method in the barrier-free auxiliary service class, which is used to receive auxiliary function events sent by the system, and is mainly used to process various auxiliary function events, including window state changes, touch events, and sliding events, etc.), monitor the window interface changes, and directly control the display of the floating box of the navigation bar.

[0051] The specific processing process is to obtain the user's navigation bar creation requirements, configure the file according to the navigation bar creation requirements, and obtain the configuration result, that is, to configure the system.prop file through the system to add the configuration property of disabling the native navigation bar (qemu.hw.mainkeys=1), and the purpose of adding the configuration property of disabling the native navigation bar is because the created navigation bar needs to be used later, so the native navigation bar is prohibited from being displayed to avoid overlapping display; after that, it is necessary to determine whether the configuration property of disabling the native navigation bar is successfully added, and the configuration property value of the native navigation bar of the vehicle system is obtained according to the configuration result, wherein the corresponding vehicle system in the embodiment of the present invention is the Android system; If the native navigation bar configuration attribute value is inconsistent with the expected value, it means that the disabled native navigation bar configuration attribute has not been successfully added, and the user needs to be reminded to add it again; if the native navigation bar configuration attribute value is consistent with the expected value, it means that the disabled native navigation bar configuration attribute has been successfully added; and after the boot is completed, the Android system will send a boot action completion broadcast, the corresponding full name is android.intent.action.BOOT_COMPLETED broadcast; the boot action completion broadcast is monitored, and if the boot action completion broadcast is detected, the startup status of the accessibility function in the boot action completion broadcast is detected to obtain the detection result.

[0052] Furthermore, if the detection result is that the accessibility function is not enabled, Settings.Secure.putInt(contentResolver,"accessibility_enabled",1) is used to enable the accessibility function.

[0053] Step S20: If the detection result is that the barrier-free function has been activated, determine whether the barrier-free service corresponding to the barrier-free function is successfully connected, obtain a connection determination result, and create a corresponding navigation bar according to the connection determination result.

[0054] The step S20 comprises:

[0055] Step S21: If the detection result is that the barrier-free function has been activated, then the activation status of the navigation bar application in the barrier-free function is detected;

[0056] Step S22: if it is detected that the navigation bar application has been started, determining whether the accessibility service corresponding to the accessibility function is successfully connected, and obtaining a connection determination result;

[0057] Step S23: if the connection judgment result is that the barrier-free service is successfully connected, then creating a corresponding window service according to the connection judgment result, and configuring different window parameters according to the window service;

[0058] Step S24, setting a plurality of window information according to all the window parameters, and creating a navigation bar according to all the window information, wherein the window information includes window type, behavior options, window height and window display position.

[0059] Specifically, after obtaining the detection result of the startup status of the accessibility function, if the monitoring result is that the accessibility function has been started, the startup status of the navigation bar application in the accessibility function is detected; if it is detected that the navigation bar application is not started, Settings.Secure.putString(contentResolver,"enabled_accessibility_services","navigation bar application package name") is used to start the navigation bar application; if it is detected that the navigation bar application has been started, the accessibility service corresponding to the accessibility function is connected to obtain a connection judgment result; thereafter, it is necessary to determine whether the accessibility service is successfully connected, specifically, obtaining the service interface of the accessibility service, monitoring the callback status of the service interface, obtaining the interface callback result, and determining whether the accessibility service is successfully connected according to the interface callback result; if the interface callback result is that the service interface has not been called, it is determined that the accessibility service connection has failed, and a corresponding connection exception reminder is issued; if the interface callback result is that the service interface has been called, it is determined that the accessibility service connection has been successful.

[0060] If the connection judgment result is that the accessibility service is successfully connected, a corresponding window service is created according to the connection judgment result, and different window parameters are configured according to the window service. Specifically, an activity running task list of the window service is obtained, the TopActivity application (top activity application) in the activity running task list is extracted, and a full-screen detection is performed on the top activity application; if the top activity application does not need to be displayed in full screen, a navigation bar creation instruction is generated, and different window parameters are configured according to the navigation bar creation instruction; thereafter, a plurality of window information are set according to all the window parameters, wherein the window information includes window type, behavior options, window height and window display position, for example, the window type is set by configuring the window parameter LayoutParams.type, various behavior options are set by configuring the window parameter LayoutParams.flags, the window height is set by configuring the window parameter LayoutParams.height, and the window display position is set by configuring the window parameter LayoutParams.gravity; finally, a navigation bar is created according to all the window information.

[0061] Furthermore, the corresponding accessibility event is subsequently registered through the callback method. When a window change is detected, the top active application is detected to determine the window service, whether to add the navigation bar using the add window method or to remove the navigation bar by calling the remove window method.

[0062] Step S30: When it is detected that an interface change event occurs in the window where the navigation bar is located, the navigation bar is synchronously changed according to the interface change event to obtain a navigation bar change result.

[0063] Specifically, in an embodiment of the present invention, the interface change event includes an application full-screen display event and an application interface switching event; if the interface change event is an application full-screen display event, when it is detected that the window where the navigation bar is located has an application full-screen display event, a navigation bar hiding instruction is generated according to the application full-screen display event; the navigation bar is synchronously hidden according to the navigation bar hiding instruction to obtain a navigation bar change result. Afterwards, if the interface change event is an application interface switching event, when it is detected that the window where the navigation bar is located has an application interface switching event, a navigation bar information switching instruction is generated according to the application interface switching event; the navigation bar style and display effect of the navigation bar are synchronously switched according to the navigation bar information switching instruction to obtain a navigation bar change result, for example, the opened application needs to display a navigation bar style of a white icon button, and the default is to display a black icon style, then the black icon button is switched to a white icon button, or the opened application needs to display a navigation bar with 4 buttons, and the default is 5 buttons, then the 5 buttons are switched to 4, or a button of the opened application needs the navigation bar to be enlarged, then the navigation bar is enlarged.

[0064] In the present invention, the present invention creates a navigation bar by combining the system's accessibility function service and the WindowManager service to add a window. When the application interface needs to be displayed in full screen, the navigation bar can be automatically controlled to be displayed or hidden. Different navigation bar styles and display effects can be automatically switched according to the currently opened application interface. The navigation bar buttons can also be controlled to be disabled and enabled according to the currently opened application.

[0065] Furthermore, if Figure 2 As shown, based on the above-mentioned processing method of the vehicle system navigation bar, the present invention also provides a processing system of the vehicle system navigation bar, wherein the processing system of the vehicle system navigation bar includes:

[0066] The function detection module 51 is used to obtain the user's navigation bar creation requirements, perform file configuration according to the navigation bar creation requirements, obtain configuration results, and detect the activation of the barrier-free function in the boot action completion broadcast according to the configuration results to obtain the detection results;

[0067] A navigation bar creation module 52 is used to determine whether the accessibility service corresponding to the accessibility function is successfully connected if the detection result shows that the accessibility function has been started, obtain a connection determination result, and create a corresponding navigation bar according to the connection determination result;

[0068] The navigation bar changing module 53 is used to, when detecting that an interface change event occurs in the window where the navigation bar is located, perform synchronous change processing on the navigation bar according to the interface change event to obtain a navigation bar change result.

[0069] Furthermore, if Figure 3 As shown, based on the above-mentioned method for processing the navigation bar of the vehicle system, the present invention also provides a terminal accordingly, and the terminal includes a processor 10, a memory 20 and a display 30. Figure 3 Only some components of the terminal are shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.

[0070] In some embodiments, the memory 20 may be an internal storage unit of the terminal, such as a hard disk or memory of the terminal. In other embodiments, the memory 20 may also be an external storage device of the terminal, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the terminal. Furthermore, the memory 20 may also include both an internal storage unit of the terminal and an external storage device. The memory 20 is used to store application software and various types of data installed in the terminal, such as the program code of the installation terminal. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, the memory 20 stores a processing program 40 for the navigation bar of the vehicle system, and the processing program 40 for the navigation bar of the vehicle system can be executed by the processor 10, thereby realizing the processing method of the navigation bar of the vehicle system in the present application.

[0071] In some embodiments, the processor 10 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run the program code or process data stored in the memory 20, such as executing the processing method of the navigation bar of the vehicle system.

[0072] In some embodiments, the display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 30 is used to display information on the terminal and to display a visual user interface. The components of the terminal communicate with each other via a system bus.

[0073] In one embodiment, when the processor 10 executes the processing program 40 of the vehicle system navigation bar in the memory 20, the following steps are implemented:

[0074] Acquire the user's navigation bar creation requirement, perform file configuration according to the navigation bar creation requirement, obtain a configuration result, and detect the activation of the barrier-free function in the power-on action completion broadcast according to the configuration result to obtain a detection result;

[0075] Acquire the user's navigation bar creation requirement, perform file configuration according to the navigation bar creation requirement, obtain a configuration result, and detect the activation of the barrier-free function in the power-on action completion broadcast according to the configuration result to obtain a detection result;

[0076] When it is detected that an interface change event occurs in the window where the navigation bar is located, a synchronous change process is performed on the navigation bar according to the interface change event to obtain a navigation bar change result.

[0077] The obtaining of the user's navigation bar creation requirement, performing file configuration according to the navigation bar creation requirement, obtaining a configuration result, and detecting the activation of the barrier-free function in the boot action completion broadcast according to the configuration result to obtain a detection result specifically includes:

[0078] Obtaining the user's navigation bar creation requirements, performing file configuration according to the navigation bar creation requirements, obtaining configuration results, and obtaining the native navigation bar configuration attribute values ​​of the vehicle system according to the configuration results;

[0079] If the native navigation bar configuration attribute value is consistent with the expected value, the power-on action completion broadcast is monitored. If the power-on action completion broadcast is detected, the activation status of the accessibility function in the power-on action completion broadcast is detected to obtain a detection result.

[0080] If the detection result is that the barrier-free function has been activated, determining whether the barrier-free service corresponding to the barrier-free function is successfully connected, obtaining a connection determination result, and creating a corresponding navigation bar according to the connection determination result specifically includes:

[0081] If the detection result is that the barrier-free function has been activated, then detecting the activation status of the navigation bar application in the barrier-free function;

[0082] If it is detected that the navigation bar application has been started, determining whether the accessibility service corresponding to the accessibility function is successfully connected, and obtaining a connection determination result;

[0083] If the connection determination result is that the barrier-free service is successfully connected, creating a corresponding window service according to the connection determination result, and configuring different window parameters according to the window service;

[0084] A plurality of window information are set according to all the window parameters, and a navigation bar is created according to all the window information, wherein the window information includes window type, behavior options, window height and window display position.

[0085] If it is detected that the navigation bar application has been started, it is determined whether the accessibility service corresponding to the accessibility function is successfully connected to obtain a connection determination result, and then it also includes:

[0086] Obtaining a service interface of the barrier-free service, monitoring a callback status of the service interface, obtaining an interface callback result, and determining whether the barrier-free service is successfully connected according to the interface callback result;

[0087] If the interface callback result is that the service interface has not been called, it is determined that the barrier-free service connection has failed, and a corresponding connection abnormality reminder is issued;

[0088] If the interface callback result is that the service interface has been called, it is determined that the barrier-free service connection is successful.

[0089] If the connection judgment result is that the barrier-free service is successfully connected, then a corresponding window service is created according to the connection judgment result, and different window parameters are configured according to the window service, specifically including:

[0090] If the connection determination result is that the barrier-free service is successfully connected, creating a corresponding window service according to the connection determination result;

[0091] Obtaining an active running task list of the window service, extracting a top active application in the active running task list, and performing a full-screen detection on the top active application;

[0092] If the top active application does not need to be displayed in full screen, a navigation bar creation instruction is generated, and different window parameters are configured according to the navigation bar creation instruction.

[0093] When it is detected that the window where the navigation bar is located has an interface change event, the navigation bar is synchronously changed according to the interface change event to obtain a navigation bar change result, which specifically includes:

[0094] If the interface change event is an application full-screen display event, when it is detected that the window where the navigation bar is located has an application full-screen display event, a navigation bar hiding instruction is generated according to the application full-screen display event;

[0095] The navigation bar is synchronously hidden according to the navigation bar hiding instruction to obtain a navigation bar change result.

[0096] When it is detected that the window where the navigation bar is located has an interface change event, the navigation bar is synchronously changed according to the interface change event to obtain a navigation bar change result, which specifically includes:

[0097] If the interface change event is an application interface switching event, when it is detected that the window where the navigation bar is located has an application interface switching event, a navigation bar information switching instruction is generated according to the application interface switching event;

[0098] The navigation bar style and display effect of the navigation bar are synchronously switched according to the navigation bar information switching instruction to obtain a navigation bar change result.

[0099] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a processing program for a vehicle system navigation bar, and when the processing program for the vehicle system navigation bar is executed by a processor, the steps of the processing method for the vehicle system navigation bar as described above are implemented.

[0100] In summary, the present invention provides a method, system, terminal and storage medium for processing a navigation bar of a vehicle system, the method comprising: obtaining a user's navigation bar creation requirement, performing file configuration according to the navigation bar creation requirement, obtaining a configuration result, and detecting the activation of the barrier-free function in the broadcast after the power-on action is completed according to the configuration result to obtain a detection result; obtaining a user's navigation bar creation requirement, performing file configuration according to the navigation bar creation requirement, obtaining a configuration result, and detecting the activation of the barrier-free function in the broadcast after the power-on action is completed according to the configuration result to obtain a detection result; when it is detected that an interface change event exists in the window where the navigation bar is located, the navigation bar is synchronously changed according to the interface change event to obtain a navigation bar change result. The present invention creates a navigation bar by combining the system's barrier-free function service and the WindowManager service to add a window, and can also automatically switch different navigation bar styles and display effects according to the currently opened application interface.

[0101] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or terminal including the element.

[0102] Of course, those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the program can be stored in a computer-readable storage medium that can be read by a computer, and the program can include the processes of the above-mentioned method embodiments when executed. The computer-readable storage medium can be a memory, a disk, an optical disk, etc.

[0103] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.

Claims

1. A method for processing a navigation bar of a vehicle system, characterized in that: The processing method of the vehicle system navigation bar includes: Acquire the user's navigation bar creation requirement, perform file configuration according to the navigation bar creation requirement, obtain a configuration result, and detect the activation of the barrier-free function in the boot action completion broadcast according to the configuration result to obtain a detection result; If the detection result is that the barrier-free function has been activated, determining whether the barrier-free service corresponding to the barrier-free function is successfully connected, obtaining a connection determination result, and creating a corresponding navigation bar according to the connection determination result; When it is detected that an interface change event occurs in the window where the navigation bar is located, a synchronous change process is performed on the navigation bar according to the interface change event to obtain a navigation bar change result.

2. The method for processing the navigation bar of the vehicle system according to claim 1, characterized in that: The obtaining of the user's navigation bar creation requirement, performing file configuration according to the navigation bar creation requirement, obtaining a configuration result, and detecting the activation of the barrier-free function in the boot action completion broadcast according to the configuration result to obtain a detection result specifically includes: Obtaining the user's navigation bar creation requirements, performing file configuration according to the navigation bar creation requirements, obtaining configuration results, and obtaining the native navigation bar configuration attribute values ​​of the vehicle system according to the configuration results; If the native navigation bar configuration attribute value is consistent with the expected value, the power-on action completion broadcast is monitored. If the power-on action completion broadcast is detected, the activation status of the accessibility function in the power-on action completion broadcast is detected to obtain a detection result.

3. The method for processing the navigation bar of a vehicle system according to claim 1, characterized in that: If the detection result is that the barrier-free function has been activated, determining whether the barrier-free service corresponding to the barrier-free function is successfully connected, obtaining a connection determination result, and creating a corresponding navigation bar according to the connection determination result, specifically includes: If the detection result is that the barrier-free function has been activated, then detecting the activation status of the navigation bar application in the barrier-free function; If it is detected that the navigation bar application has been started, determining whether the accessibility service corresponding to the accessibility function is successfully connected, and obtaining a connection determination result; If the connection determination result is that the barrier-free service is successfully connected, creating a corresponding window service according to the connection determination result, and configuring different window parameters according to the window service; A plurality of window information are set according to all the window parameters, and a navigation bar is created according to all the window information, wherein the window information includes window type, behavior options, window height and window display position.

4. The method for processing the navigation bar of the vehicle system according to claim 3, characterized in that: If it is detected that the navigation bar application has been started, determining whether the accessibility service corresponding to the accessibility function is successfully connected, and obtaining a connection determination result, and then further comprising: Obtaining a service interface of the barrier-free service, monitoring a callback status of the service interface, obtaining an interface callback result, and determining whether the barrier-free service is successfully connected according to the interface callback result; If the interface callback result is that the service interface has not been called, it is determined that the barrier-free service connection has failed, and a corresponding connection abnormality reminder is issued; If the interface callback result is that the service interface has been called, it is determined that the barrier-free service connection is successful.

5. The method for processing the navigation bar of the vehicle system according to claim 3, characterized in that: If the connection judgment result is that the barrier-free service is successfully connected, then creating a corresponding window service according to the connection judgment result, and configuring different window parameters according to the window service, specifically including: If the connection determination result is that the barrier-free service is successfully connected, creating a corresponding window service according to the connection determination result; Obtaining an active running task list of the window service, extracting a top active application in the active running task list, and performing a full-screen detection on the top active application; If the top active application does not need to be displayed in full screen, a navigation bar creation instruction is generated, and different window parameters are configured according to the navigation bar creation instruction.

6. The method for processing the navigation bar of a vehicle system according to claim 1, characterized in that: When it is detected that an interface change event occurs in the window where the navigation bar is located, the navigation bar is synchronously changed according to the interface change event to obtain a navigation bar change result, which specifically includes: If the interface change event is an application full-screen display event, when it is detected that the window where the navigation bar is located has an application full-screen display event, a navigation bar hiding instruction is generated according to the application full-screen display event; The navigation bar is synchronously hidden according to the navigation bar hiding instruction to obtain a navigation bar change result.

7. The method for processing the navigation bar of a vehicle system according to claim 1, characterized in that: When it is detected that an interface change event occurs in the window where the navigation bar is located, the navigation bar is synchronously changed according to the interface change event to obtain a navigation bar change result, which specifically includes: If the interface change event is an application interface switching event, when it is detected that the window where the navigation bar is located has an application interface switching event, a navigation bar information switching instruction is generated according to the application interface switching event; The navigation bar style and display effect of the navigation bar are synchronously switched according to the navigation bar information switching instruction to obtain a navigation bar change result.

8. A processing system for a navigation bar of a vehicle system, characterized in that: The processing system of the vehicle system navigation bar includes: A function detection module is used to obtain a user's navigation bar creation requirement, perform file configuration according to the navigation bar creation requirement, obtain a configuration result, and detect the activation of the barrier-free function in the boot action completion broadcast according to the configuration result to obtain a detection result; a navigation bar creation module, configured to determine whether the accessibility service corresponding to the accessibility function is successfully connected if the detection result indicates that the accessibility function has been activated, obtain a connection determination result, and create a corresponding navigation bar according to the connection determination result; The navigation bar changing module is used to, when detecting that an interface change event exists in the window where the navigation bar is located, synchronously change the navigation bar according to the interface change event to obtain a navigation bar change result.

9. A terminal, characterized in that: The terminal includes: a memory, a processor, and a processing program for the vehicle system navigation bar stored in the memory and executable on the processor. When the processing program for the vehicle system navigation bar is executed by the processor, the steps of the processing method for the vehicle system navigation bar as described in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a processing program for the vehicle system navigation bar, and when the processing program for the vehicle system navigation bar is executed by a processor, the steps of the processing method for the vehicle system navigation bar as described in any one of claims 1-7 are implemented.