A subject switching method, device, equipment, medium and product of a car machine system

By detecting theme switching events and acquiring target images in the vehicle infotainment system, and utilizing the interface management module and activation management module of the Android system for screenshotting and theme switching, the problem of asynchronous theme switching in the vehicle infotainment system is solved, improving the user experience and the reliability and fun of the switching process.

CN122220006APending Publication Date: 2026-06-16SHANGHAI PATEO ELECTRONIC EQUIPMENT MANUFACTURING CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHANGHAI PATEO ELECTRONIC EQUIPMENT MANUFACTURING CO LTD
Filing Date
2024-12-13
Publication Date
2026-06-16

AI Technical Summary

Technical Problem

The vehicle infotainment system cannot be fully synchronized during theme switching, resulting in a poor user experience, especially in scenarios such as tunnels and day-night transitions where frequent scene switching has a significant impact.

Method used

By detecting theme switching events, the target image is acquired and displayed on the display interface. At the same time, the theme switching event is responded to until the switching is completed. The system and application themes are switched to the target theme. The screenshot and theme switching are performed by using the interface management module, activation management module and window management module in the Android system.

🎯Benefits of technology

It achieves a seamless switching process between system and application themes, improving the user experience. The screenshot method is simple and reliable, supports dynamic image display, and enhances the fun and reliability of the switching process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122220006A_ABST
    Figure CN122220006A_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a theme switching method, device, equipment, medium and product of a car machine system. The method comprises: detecting a theme switching event, and acquiring a target image for the theme switching event; displaying the target image on a display interface, and simultaneously responding to the theme switching event to switch a system theme and an application theme of the car machine system from a first theme to a second theme; and switching the display interface from the target image to the second theme or the first theme until the theme switching event is completed. The scheme solves the problem of display asynchronization caused by inconsistent switching of the system theme and the application theme in the switching process, and improves user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to, but is not limited to, the field of data processing technology, and in particular to a method, apparatus, device, medium, and product for switching themes in a vehicle infotainment system. Background Technology

[0002] With the development of various control technologies, theme switching can now be performed based on actual needs. However, for in-vehicle infotainment systems, the switching process cannot be fully synchronized, resulting in a poor user experience.

[0003] For example, when the vehicle's infotainment system enters a tunnel or during the transition between day and night, it needs to switch between black and white themes. Since the vehicle's infotainment system switches between these scenarios more frequently than a mobile phone, this effect is becoming increasingly apparent. Summary of the Invention

[0004] In view of this, embodiments of this application provide at least one method, apparatus, device, medium, and product for switching themes in a vehicle infotainment system.

[0005] The technical solution of this application embodiment is implemented as follows:

[0006] In a first aspect, embodiments of this application provide a theme switching method for a vehicle infotainment system. The method includes: detecting a theme switching event and acquiring a target image for the theme switching event; displaying the target image on a display interface and simultaneously responding to the theme switching event by switching both the system theme and application theme of the vehicle infotainment system from a first theme to a second theme; until the theme switching event is completed, switching the display interface from the target image to the second theme or the first theme.

[0007] As can be seen, upon detecting a theme switching event, the system acquires the target image and displays it during the switching process. Simultaneously, the switching event is executed in the background until the switching is complete, at which point the target image is changed to either the first or second theme. This ensures that even if the system theme switching and the application theme switching are not synchronized, it will not affect the display; the user will not perceive the switching process, thus improving the user experience.

[0008] In some implementations, detecting a theme switching event and obtaining a target image for the theme switching event includes: detecting a theme switching event, taking a screenshot of the current display interface to obtain a target image; correspondingly, displaying the target image on the display interface while responding to the theme switching event includes: displaying a target image on the display interface while responding to the theme switching event.

[0009] As can be seen, this implementation method obtains the target image by taking a screenshot of the display interface before the switch, and then displays the target image during the switch. In this way, the display of theme switching is uninterrupted for the user, achieving a completely imperceptible switch, resulting in a high user experience. Moreover, the screenshot method is simple and reliable.

[0010] In some implementations, the vehicle infotainment system is an Android system, which includes core services and application services. Upon detecting a theme switching event, a screenshot of the current display interface is taken to obtain a target image. This process includes: detecting the theme switching through the interface management module in the core services; setting the system theme switching identifier as the first identifier upon detection; the first identifier indicating that a theme switching event has been detected; and identifying the system theme switching identifier through the activation management module in the core services. If the system theme switching identifier is identified as the first identifier, the window management module in the core services is invoked to take a screenshot of the current display interface to obtain a target image.

[0011] As can be seen, this implementation method explains how to take a screenshot to obtain the target image when the vehicle system is an Android system. The interface management module and the activation management module are connected through the system theme switching identifier, so that the target image can be obtained reliably through the cooperation of the interface management module, activation management module and window management module.

[0012] In some implementations, acquiring the target image for the theme switching event includes: acquiring multiple target images to characterize the switching process of the theme switching event; correspondingly, displaying the target image on the display interface and responding to the theme switching event includes: sequentially playing and displaying multiple target images on the display interface while responding to the theme switching event.

[0013] As can be seen, in this implementation method, multiple target images that represent the switching process of theme switching events are pre-stored, so that multiple target images are played and displayed sequentially during the switching process, realizing dynamic image display during the switching process and improving the fun of the display.

[0014] In some implementations, the vehicle infotainment system is an Android system, which includes core services and application services. In response to a theme switching event, the system theme and application theme of the vehicle infotainment system are switched from a first theme to a second theme. This includes: in response to the theme switching event, sending a first instruction to the system interface management module and application management module in the application services through the activation management module in the core services; based on the instruction, switching the system theme from the first theme to the second theme through the system interface management module; and based on the instruction, switching the application theme from the first theme to the second theme through the application management module.

[0015] As can be seen, in this implementation method, when the vehicle infotainment system is an Android system, theme switching is achieved through the cooperation of the activation management module, system interface management module, and application management module. The implementation process is convenient and reliable.

[0016] In some implementations, the vehicle infotainment system is an Android system, which includes core services and application services. The process continues until the theme switching event is completed, including: monitoring the theme switching process of the system interface management module and application management module through the activation management module in the core services to determine if the theme switching process is complete; setting the system theme switching identifier to a second identifier based on the system interface management module and application management module; the second identifier is used to characterize the completion of the theme switching event; and detecting the system theme switching identifier through the activation management module, determining that the theme switching event is complete when the system theme switching identifier is detected as the second identifier.

[0017] As can be seen, in this implementation, when the vehicle infotainment system is an Android system, the theme switching event is determined by the cooperation of the activation management module, system interface management module, and application management module. It is characterized by its simplicity and reliability.

[0018] In some implementations, responding to a theme switching event includes: switching the system theme of the vehicle infotainment system from a first theme to a second theme; determining that the system theme switching is complete, and switching the application theme of the vehicle infotainment system to the second theme following the system theme; or, switching the application theme of the vehicle infotainment system from a first theme to a second theme; determining that the application theme switching is complete, and switching the system theme from a first theme to a second theme; or, simultaneously switching both the system theme and the application theme from a first theme to a second theme.

[0019] As can be seen, the execution order of system theme switching and application theme switching can be configured based on actual needs in the theme switching event, which has the characteristics of flexible implementation and wide application range.

[0020] In some implementations, switching the display interface from the target image to the second theme or the first theme includes: if the theme switching event is successful, switching the display interface from the target image to the second theme; or if the theme switching event fails, switching the display interface from the target image to the first theme.

[0021] As can be seen, in this implementation, a successful switch will change the target image to the second theme; a failed switch will change the display interface from the target image to the first theme. This can meet display requirements in various situations and satisfy users' needs in various scenarios.

[0022] In some implementations, the first theme is a black or dark theme, and the second theme is a white or light theme; or, the first theme is a white or light theme, and the second theme is a black or dark theme.

[0023] As can be seen, this implementation method allows for the configuration of two themes during the switching process based on actual needs, making it flexible and widely applicable.

[0024] Secondly, embodiments of this application provide a theme switching device for a vehicle infotainment system, the device comprising:

[0025] The detection and acquisition unit is used to detect the topic switching event and acquire the target image for the topic switching event.

[0026] The first processing unit is used to display the target image on the display interface and respond to the theme switching event to switch both the system theme and application theme of the vehicle system from the first theme to the second theme.

[0027] The second processing unit will switch the display interface from the target image to the second theme or the first theme once the theme switching event is completed.

[0028] Thirdly, embodiments of this application provide an electronic device, including a memory and a processor. The memory stores a computer program that can run on the processor, and the processor executes the program to implement the method provided in the first aspect above.

[0029] Fourthly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method provided in the first aspect described above.

[0030] Fifthly, embodiments of this application provide a computer program product, which includes a computer program that, when executed by a processor, implements the method provided in the first aspect described above.

[0031] The implementation of the theme switching device, electronic device, computer-readable storage medium, and computer program product of the vehicle infotainment system has the same technical effect as the theme switching method of the vehicle infotainment system. For details, please refer to the description of the theme switching method of the vehicle infotainment system, which will not be elaborated here.

[0032] It should be understood that the above description and the following embodiments are merely exemplary and explanatory, and are not intended to limit the technical solutions of this application. Attached Figure Description

[0033] Figure 1 A schematic flowchart illustrating a first optional method for switching themes in a vehicle infotainment system provided in an embodiment of this application;

[0034] Figure 2 A schematic diagram of a second optional method for switching themes in a vehicle infotainment system provided in an embodiment of this application;

[0035] Figure 3 A schematic diagram of a third optional method for switching themes in a vehicle infotainment system provided in an embodiment of this application;

[0036] Figure 4A schematic diagram of a fourth optional method for switching themes in a vehicle infotainment system provided in an embodiment of this application;

[0037] Figure 5 A schematic flowchart illustrating a fifth optional method for switching themes in a vehicle infotainment system provided in an embodiment of this application;

[0038] Figure 6 This is a schematic diagram of an optional structure for the content displayed at a certain moment during the switching process provided in an embodiment of this application;

[0039] Figure 7 This is a schematic diagram of an optional structure of the vehicle infotainment system provided in an embodiment of this application;

[0040] Figure 8 This is a schematic diagram of an optional structure of the theme switching device for the vehicle infotainment system provided in an embodiment of this application;

[0041] Figure 9 This is a schematic diagram of an optional structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0042] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application are further described in detail below with reference to the accompanying drawings and embodiments. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0043] In the following description, references to "some embodiments" refer to a subset of all possible embodiments. It is understood that "some embodiments" may be the same or different subsets of all possible embodiments and may be combined with each other without conflict. The terms "first / second / third" are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first / second / third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.

[0044] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains. The terminology used herein is for descriptive purposes only and is not intended to limit the scope of this application.

[0045] This application provides a method, apparatus, device, medium, and product for theme switching in a vehicle infotainment system. In practical applications, the theme switching method of the vehicle infotainment system can be implemented by a theme switching device for the vehicle infotainment system. The functional entities in the theme switching device of the vehicle infotainment system can be implemented collaboratively by the hardware resources of the electronic device, such as computing resources like processors and communication resources (such as those used to support various communication methods such as optical fiber and cellular).

[0046] The following describes various embodiments of the theme switching method, apparatus, device, medium, and product of the vehicle infotainment system provided in this application.

[0047] In a first aspect, embodiments of this application provide a theme switching method for a vehicle infotainment system. The function implemented by this method can be achieved by a processor in an electronic device calling program code. Of course, the program code can be stored in a computer storage medium. It can be seen that the electronic device includes at least a processor and a storage medium.

[0048] The following describes the theme switching method of the vehicle system provided in this application embodiment, taking an electronic device as the execution subject as an example. (Reference) Figure 1 The process may include, but is not limited to, S101 to S303 described below.

[0049] S101, The electronic device detects a theme switching event and acquires a target image for the theme switching event.

[0050] The theme switching event is used to indicate that both the system theme and application theme of the vehicle infotainment system are switched from the first theme to the second theme.

[0051] This application does not limit the generation method of topic switching events, and can be configured according to actual needs.

[0052] In one possible implementation, the theme switching event is generated based on user actions. For example, a user modifies the theme configuration in the system, generating a theme switching event.

[0053] In another possible implementation, theme switching events can also be automatically generated. For example, a theme switching event is generated when a transition from daytime to nighttime is detected; or when a transition from a bright light source to a dark light source (e.g., a theme switching event that switches from a white theme to a black theme).

[0054] The first theme and the second theme are different. This application does not limit the theme types of the first and second themes; they can be configured according to actual needs. For example, the first theme can be a black theme, and the second theme can be a white theme.

[0055] The target image is the specified image to be displayed during theme switching. This application does not limit the number of target images; there may be one or more target images.

[0056] When there is only one target image, the theme switching process is displayed using a static target image; when there are multiple target images, the theme switching process is displayed using a dynamic target image.

[0057] S101 can be implemented as follows: The electronic device detects a theme switching event, and upon detecting the theme switching event, acquires a target image for the theme switching event. The method of acquiring the target image is not limited here and can be configured according to actual needs. For example, it can be read from a pre-stored image or obtained by taking a screenshot in real time.

[0058] S102. The electronic device displays the target image on the display interface and simultaneously responds to the theme switching event, switching both the system theme and application theme of the vehicle system from the first theme to the second theme.

[0059] The electronic device displays the target image on the display interface and simultaneously initiates a theme switching event, calling the relevant modules to switch the system theme of the vehicle system from the first theme to the second theme, and also to switch the application theme of the vehicle system from the first theme to the second theme.

[0060] It should be noted that the target image is displayed on the screen throughout the entire switching process.

[0061] S103. Once the theme switching event is completed, the electronic device will switch the display interface from the target image to the second theme or the first theme.

[0062] The electronic device first determines whether the theme switching event has been completed. If the theme switching event is confirmed to be complete, it then switches the display interface from the target image to either the second theme or the first theme. The specific theme switched to depends on the actual situation.

[0063] Simply put, the target image will stop being displayed after the switch is complete.

[0064] The first and second themes are used to define the display theme of the display interface. Therefore, the display content of the display interface is not limited. That is, the display content of the display interface is the content that needs to be displayed, but the display theme is either the first or the second theme.

[0065] The theme switching method of this embodiment includes: detecting a theme switching event and obtaining a target image for the theme switching event; displaying the target image on the display interface and simultaneously responding to the theme switching event by switching both the system theme and application theme of the vehicle system from a first theme to a second theme; until the theme switching event is completed, switching the display interface from the target image to the second theme or the first theme.

[0066] In this embodiment, upon detecting a theme switching event, a target image is acquired and displayed during the switching process. Simultaneously, the switching event is performed in the background until the switching is complete, at which point the target image is changed to either the first or second theme. This way, even if the system theme switching and the application theme switching are not synchronized, it will not affect the display; that is, the user will not perceive the switching process, thereby improving the user experience.

[0067] Switching display modes can include, but is not limited to, the following two situations:

[0068] Case 1: The target image is a single image, and the display is switched based on a static image;

[0069] Case 2: The target image consists of multiple images, which are dynamically switched and displayed.

[0070] The following describes the process of switching the display based on a static image, specifically case 1, where the target image is a single image.

[0071] In this process, a theme switching event is detected in S101. Obtaining the target image for the theme switching event can be implemented as follows: the electronic device detects the theme switching event, takes a screenshot of the current display interface, and obtains a target image.

[0072] Electronic devices detect theme switching events. When a theme switching event is detected, a screenshot of the current display interface is taken using screenshot software or a related module with interface functions to obtain a target image.

[0073] Correspondingly, in S102, the electronic device displays a target image on the display interface and responds to the theme switching event simultaneously, which can be implemented as follows: the electronic device displays a target image on the display interface and responds to the theme switching event simultaneously.

[0074] As can be seen, this implementation method obtains the target image by taking a screenshot of the display interface before the switch, and then displays the target image during the switch. In this way, the display of theme switching is uninterrupted for the user, achieving a completely imperceptible experience, resulting in a high user experience. Moreover, the screenshot method is simple and reliable.

[0075] The following describes the process of detecting a theme switching event, taking a screenshot of the current display interface, and obtaining a target image.

[0076] In one possible implementation, the in-vehicle infotainment system is an Android system, which includes core services and application services. (See reference) Figure 2 The process may include, but is not limited to, S201 and S202 described below.

[0077] In practice, the vehicle infotainment system can also be other systems, such as HarmonyOS, Apple OS, etc., which will not be listed here. For the specific implementation process, you can refer to the implementation process of Android and make corresponding adjustments.

[0078] Core services, also known as system core services, may include: activation management module, window management module, interface management module, power management module, input management module, etc.

[0079] Application services may include: system interface management module, various application services, system settings, etc.

[0080] S201. Electronic devices detect theme switching through the interface management module in the core service. When a theme switching event is detected, the system theme switching flag is set as the first flag.

[0081] The interface management module is used for interface management and can be used to detect theme switching.

[0082] The first identifier is used to indicate that a topic switching event has been detected.

[0083] The system topic switching identifier is a custom identifier used to represent various states during the topic switching process. This application embodiment does not limit the specific content of the first identifier and can be configured according to actual needs. For example, the first identifier can be 1.

[0084] The system theme switching identifier can be accessed by various modules, thereby transmitting the theme detection results of the interface management module to the activation management module through the system theme switching identifier.

[0085] S202. The electronic device identifies the system theme switching identifier through the activation management module in the core service. When the system theme switching identifier is identified as the first identifier, the window management module in the core service is called to take a screenshot of the current display interface and obtain a target image.

[0086] The activation management module is used to activate various functions. For example, the screenshot function of the window management module can be activated through the activation management module.

[0087] The window management module is used for managing windows. Screenshots can be taken through the window management module.

[0088] The electronic device can reset the first identifier to its initial value (e.g., 0).

[0089] As can be seen, this implementation method explains how to take a screenshot to obtain the target image when the vehicle system is an Android system. The interface management module and the activation management module are connected through the system theme switching identifier, so that the target image can be obtained reliably through the cooperation of the interface management module, activation management module and window management module.

[0090] The following describes the process of switching between multiple images in scenario 2, where the target image is multiple images.

[0091] In this process, in S101, acquiring the target image for the topic switching event can be implemented as: acquiring multiple target images for representing the switching process of the topic switching event.

[0092] Multiple target images can be pre-set and stored to characterize the switching process of a topic switching event.

[0093] In one possible implementation, an animation can be configured as multiple target images to dynamically display the theme switching process.

[0094] Here, a set of target images can be configured for multiple switching scenarios, meaning that this set of target images is used for all theme switching scenarios; or, a corresponding set of target images can be configured for each theme switching scenario, meaning that a set of target images corresponds to one theme switching scenario.

[0095] The scene switching can include, but is not limited to: switching from the first theme to the second theme; switching from the second theme to the first theme; switching from the second theme to the third theme; switching from the first theme to the third theme, etc.

[0096] In practice, since the number of themes supported by the system is limited, the switching scenes can also be listed. Therefore, for each switching scene, a target image suitable for that switching scene can be pre-configured.

[0097] For example, in a scenario where the first theme is a black theme and the second theme is a white theme, the corresponding set of target images can be multiple images that gradually transition from a black theme to a white theme (with alternating black and white images in between). This allows users to clearly perceive the transition from a black theme to a white theme, thus improving the user experience.

[0098] Correspondingly, in S102, the electronic device displays the target image on the display interface and responds to the theme switching event, which can be implemented as follows: multiple target images are played and displayed sequentially on the display interface, while responding to the theme switching event.

[0099] This application does not limit the frame rate for playing multiple target images, and can be configured according to actual needs.

[0100] The playback frame rate here can be a fixed value or an adjustable value.

[0101] For example, electronic devices can detect the current network status and select a matching playback frame rate based on that status. Higher network speeds correspond to higher playback frame rates, and lower network speeds correspond to lower playback frame rates.

[0102] As can be seen, in this implementation method, multiple target images that represent the switching process of theme switching events are pre-stored, so that multiple target images are played and displayed sequentially during the switching process, realizing dynamic image display during the switching process and improving the fun of the display.

[0103] The following describes the process of switching both the system theme and application theme of the vehicle system from the first theme to the second theme in response to the theme switching event in S102.

[0104] The vehicle infotainment system is based on Android and includes core services and application services.

[0105] In practice, the vehicle infotainment system can also be other systems, such as HarmonyOS, Apple OS, etc., which will not be listed here. For the specific implementation process, you can refer to the implementation process of Android and make corresponding adjustments.

[0106] refer to Figure 3 The process may include, but is not limited to, S301 to S303 described below.

[0107] S301. In response to the theme switching event, the electronic device sends the first instruction to the system interface management module and application management module in the application service through the activation management module in the core service.

[0108] The first instruction is used to instruct the system interface management module and the application management module to switch the system theme from the first theme to the second theme.

[0109] In response to a theme switching event, the electronic device generates a first instruction through the activation management module in the core service and sends the first instruction to the system interface management module and application management module in the application service.

[0110] S302. Based on the instruction of the first command, the electronic device switches the system theme from the first theme to the second theme through the system interface management module.

[0111] Based on the instruction of the first command, the electronic device changes the configuration information of the system theme in the system management module from the first theme to the second theme, and then calls the relevant files of the second theme to replace the relevant files of the first theme.

[0112] S303. Based on the instruction of the first command, the electronic device switches the application theme from the first theme to the second theme through the application management module.

[0113] Based on the instruction of the first command, the electronic device modifies the configuration information of the application theme in the application management module from the first theme to the second theme, and then calls the relevant files of the second theme to replace the relevant files of the first theme.

[0114] The execution order of S302 and S303 in this embodiment is not limited and can be configured according to actual needs. S302 can be executed first and then S303; S303 can be executed first and then S302; or S302 and S303 can be executed simultaneously.

[0115] As can be seen, in this implementation method, when the vehicle infotainment system is an Android system, theme switching is achieved through the cooperation of the activation management module, system interface management module, and application management module. The implementation process is convenient and reliable.

[0116] The process of electronic devices in S103 until the theme switching event is completed is explained below.

[0117] The vehicle infotainment system is based on Android and includes core services and application services.

[0118] In practice, the vehicle infotainment system can also be other systems, such as HarmonyOS, Apple OS, etc., which will not be listed here. For the specific implementation process, you can refer to the implementation process of Android and make corresponding adjustments.

[0119] refer to Figure 4 The process may include, but is not limited to, S401 to S403 described below.

[0120] S401. Electronic devices monitor the theme switching process of the system interface management module and application management module through the activation management module in the core service, and determine that the theme switching process is complete.

[0121] S401 can be implemented as follows: The electronic device monitors the theme switching process of the system interface management module and the application management module through the activation management module in the core service. When it is determined that the theme switching process of the system interface management module is completed and the theme switching process of the application management module is completed, the activation management module of the electronic device determines that the theme switching process is completed.

[0122] S402. The electronic device sets the system theme switching identifier to the second identifier based on the system interface management module and the application management module.

[0123] The second identifier is used to indicate that the topic switching event has been completed.

[0124] The embodiments of this application do not limit the specific content of the second identifier, and can be configured according to actual needs. For example, the second identifier can be 2.

[0125] The system theme switching identifier can be used to link the system interface management module, application management module, and activation management module.

[0126] S403. The electronic device detects the system theme switching identifier through the activation management module. If the system theme switching identifier is detected as the second identifier, the theme switching event is determined to be completed.

[0127] As can be seen, in this implementation, when the vehicle infotainment system is an Android system, the theme switching event is determined by the cooperation of the activation management module, system interface management module, and application management module. It is characterized by its simplicity and reliability.

[0128] The process of responding to topic switching events in S102 will be explained below.

[0129] The process may include, but is not limited to, any one of the following methods 1 to 3.

[0130] Method 1: Change the system theme of the vehicle infotainment system from the first theme to the second theme; once the system theme change is complete, change the application theme of the vehicle infotainment system to the second theme, following the system theme.

[0131] The electronic device modifies the theme parameters in the system theme, changing the theme parameters from the first theme to the second theme, and calls the relevant files of the second theme to replace the relevant files of the first theme. Then, it modifies the theme parameters in the system theme, changing the application theme parameters from the first theme to the second theme, and calls the relevant files of the second theme to replace the relevant files of the first theme.

[0132] There is no limit to the number of applications. If there are multiple applications, the application theme of each application needs to be changed from the first theme to the second theme.

[0133] In this way, the application theme automatically switches to the system theme, achieving simplicity and reliability.

[0134] Method 2: Switch the application theme of the vehicle system from the first theme to the second theme; confirm the application theme switch is complete, and switch the system theme from the first theme to the second theme.

[0135] Unlike Method 1, the execution order has changed. In Method 2, the application theme is switched first, and then the system theme is switched. This allows for a better personalized experience and visual effects in different application scenarios, while also improving the overall interactivity and the attractiveness of the application.

[0136] Method 3: Simultaneously switch the system theme and application theme from the first theme to the second theme.

[0137] Unlike methods 1 and 2, in method 3, both themes are switched together, thus improving the efficiency of theme switching.

[0138] As can be seen, the execution order of system theme switching and application theme switching can be configured based on actual needs in the theme switching event, which has the characteristics of flexible implementation and wide application range.

[0139] The process of switching the display interface of the electronic device in S103 from the target image to the second theme or the first theme will be explained below.

[0140] refer to Figure 5 The process may include, but is not limited to, S501 or S502 described below.

[0141] S501. The electronic device confirms that the theme switching event has been successfully completed and switches the display interface from the target image to the second theme.

[0142] S501 can be implemented as follows: The electronic device detects whether the theme switching event is successful. If the theme switching event is confirmed to be successful, the display interface is switched from the target image to the second theme. In this way, the displayed content is still displayed as required, but the content is displayed based on the colors and style of the second theme.

[0143] This application does not limit the specific implementation of detecting whether a theme switching event is successful, and can be configured according to actual needs. For example, in an Android system, the success of a theme switching event can be determined by activating the management module. That is, while determining whether the theme event is complete, each module needs to simultaneously reflect whether the switching result is successful or failed.

[0144] S502, if the electronic device determines that the theme switching event has failed, the display interface will be switched from the target image to the first theme.

[0145] If the theme switching event fails, the display interface will switch from the target image to the first theme.

[0146] In this case, the reason for the switching failure can also be output.

[0147] As can be seen, in this implementation, a successful switch will change the target image to the second theme; a failed switch will change the display interface from the target image to the first theme. This can meet display requirements in various situations and satisfy users' needs in various scenarios.

[0148] The first and second themes will now be explained.

[0149] In one possible implementation, the first theme is a black theme or a dark theme, and the second theme is a white theme or a light theme;

[0150] In another possible implementation, the first theme is a white theme or a light-colored theme, and the second theme is a black theme or a dark-colored theme.

[0151] Understandably, the first and second themes can also be other themes, such as black and white, color, dark, pink, warm, cool, etc., which will not be listed here.

[0152] As can be seen, this implementation method allows for the configuration of two themes during the switching process based on actual needs, making it flexible and widely applicable.

[0153] The following uses the Android system as an example to illustrate the theme switching process of the vehicle system provided in this application embodiment.

[0154] In the native Android system, when the System UI (System Bar) and other applications simultaneously switch UI modes (e.g., black and white theme), the application layer refreshes its UI first, followed by the System UI, resulting in a desynchronization issue. This leads to an unattractive display.

[0155] Because the vehicle's infotainment system needs to switch between black and white themes more frequently than a mobile phone when entering tunnels or during day-night cycles, problems are more likely to occur.

[0156] This implementation addresses the issue of desynchronization between System UI and other applications when switching between the standard Android black and white themes simultaneously. It improves the user experience without requiring additional adaptation work from other applications.

[0157] For example, the content displayed at a certain moment during the switching process can be referenced. Figure 6 The contents shown include the system interface status bar 601, the application display area 602, and the system interface navigation bar 603.

[0158] It can be seen that the display theme of the application display area 602 is different from that of the system interface status bar 601 and the system interface navigation bar 603, and the display is not synchronized.

[0159] The principle of this embodiment includes: before switching to a black and white theme, using screen freezing technology to capture the current screen as an image and display it in the foreground. After the System UI and other applications have completed the black and white theme switch, the screen is restored and the screenshot is removed. In the event of a timeout or an abnormal situation, the screen is restored and the screenshot is removed.

[0160] In this embodiment, the UI mode manager, activity manager, and window manager modules in the application service layer (equivalent to the above application service) System UI module (equivalent to the above interface management module) and the system core service layer (equivalent to the above core service) are modified.

[0161] The structure of the vehicle infotainment system can be referenced. Figure 7 The content shown includes application service 701 and system core service 702. Application service 701 may include: system bar 7011, home page 7012, navigation 7013, gallery 7014, system settings 7015, etc. System core service 702 may include: activation management 7021, window management 7022, UI mode management 7023, power management 7024, input management 7025, etc.

[0162] The switching process may include, but is not limited to, steps 1 through 7 below.

[0163] Step 1: In the application layer, call the UI mode management function of the Android core service to detect the black and white theme switching scene, set the custom system attribute identifier (equivalent to the above system switching identifier) ​​to the black and white theme switching scene, and notify the activation management to perform subsequent actions.

[0164] Step 2: After receiving the notification, the activation manager determines that the system attribute identifier is a black and white theme switching scene. The activation manager calls the window management to perform a screen freeze action, captures the current screen as an image, and displays it in the foreground. Then, it resets the custom system attribute black and white theme switching scene identifier.

[0165] Step 3: After the screen freeze action, activate the notification System UI to switch themes with other applications.

[0166] Step 4: Activate monitoring of other applications. Black and white theme switching complete.

[0167] Step 5: By modifying the system bar, after the black and white theme switch is completed, set the custom system property to complete the system bar theme switch.

[0168] Step 6: If the system detects that other applications have completed theme switching and the custom system property indicates that the theme switching is complete, restore the screen and remove the screenshot, and reset the custom system property to the theme switching completion indicator.

[0169] Step 7: Fault tolerance handling in case of abnormal scenarios in the application or system bar. In case of timeout in the application layer or system bar, restore the screen and remove the screenshot, reset the custom system property system bar theme switching completion indicator, and reset the custom system property black and white theme switching scenario indicator.

[0170] Secondly, embodiments of this application provide a theme switching device for a vehicle infotainment system, such as... Figure 8 As shown, the theme switching device 80 of the vehicle infotainment system includes: a detection and acquisition unit 801, a first processing unit 802, and a second processing unit 803. Wherein:

[0171] The detection and acquisition unit 801 is used to detect a topic switching event and acquire a target image for the topic switching event.

[0172] The first processing unit 802 is used to display the target image on the display interface and, in response to the theme switching event, switch both the system theme and the application theme of the vehicle system from the first theme to the second theme.

[0173] The second processing unit 803 will switch the display interface from the target image to the second theme or the first theme until the theme switching event is completed.

[0174] In some embodiments, the detection and acquisition unit 801 is further configured to: detect a theme switching event, take a screenshot of the current display interface, and obtain a target image;

[0175] Correspondingly, the second processing unit 803 is also used to: display a target image on the display interface, and respond to the theme switching event.

[0176] In some embodiments, the vehicle system is an Android system, which includes core services and application services; the detection and acquisition unit 801 is further configured to: perform theme switching detection through the interface management module in the core service, and set the system theme switching identifier as a first identifier when a theme switching event is detected; the first identifier is used to indicate that a theme switching event has been detected; identify the system theme switching identifier through the activation management module in the core service, and when the system theme switching identifier is identified as the first identifier, call the window management module in the core service to take a screenshot of the current display interface to obtain a target image.

[0177] In some embodiments, the detection and acquisition unit 801 is further configured to: acquire multiple target images for characterizing the switching process of the topic switching event;

[0178] Correspondingly, the second processing unit 803 is also used to: sequentially play and display multiple target images on the display interface, while responding to theme switching events.

[0179] In some embodiments, the first processing unit 802 is further configured to: in response to a theme switching event, send a first instruction to the system interface management module and the application management module in the application service through the activation management module in the core service; based on the instruction, switch the system theme from the first theme to the second theme through the system interface management module; and based on the instruction, switch the application theme from the first theme to the second theme through the application management module.

[0180] In some embodiments, the vehicle system is an Android system, and the vehicle system includes core services and application services; the second processing unit 803 is further configured to: monitor the theme switching process of the system interface management module and the application management module through the activation management module in the core service, and determine that the theme switching process is complete; set the system theme switching identifier to a second identifier based on the system interface management module and the application management module; the second identifier is used to characterize the completion of the theme switching event; detect the system theme switching identifier through the activation management module, and determine that the theme switching event is complete when the system theme switching identifier is detected as the second identifier.

[0181] In some embodiments, the first processing unit 802 is further configured to: switch the system theme of the vehicle infotainment system from a first theme to a second theme; determine that the system theme has been switched, and switch the application theme of the vehicle infotainment system from the first theme to the second theme in accordance with the system theme; or, switch the application theme of the vehicle infotainment system from the first theme to the second theme; determine that the application theme has been switched, and switch the system theme from the first theme to the second theme; or, simultaneously perform the switching of both the system theme and the application theme from the first theme to the second theme.

[0182] In some embodiments, the second processing unit 803 is further configured to: determine that the theme switching event is successful and switch the display interface from the target image to the second theme; determine that the theme switching event is unsuccessful and switch the display interface from the target image to the first theme.

[0183] In some embodiments, the first theme is a black theme or dark theme, and the second theme is a white theme or light theme; or, the first theme is a white theme or light theme, and the second theme is a black theme or dark theme.

[0184] It should be noted that the data processing device provided in this application embodiment includes all the units included, which can be implemented by a processor in an electronic device; of course, it can also be implemented by specific logic circuits; in the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field-programmable gate array (FPGA), etc.

[0185] The descriptions of the above device embodiments are similar to those of the above method embodiments, and have similar beneficial effects. For technical details not disclosed in the device embodiments of this application, please refer to the descriptions of the method embodiments of this application for understanding.

[0186] It should be noted that, in the embodiments of this application, if the above-described data processing method is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, or the part that contributes to the related technology, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), magnetic disks, or optical disks. Thus, the embodiments of this application are not limited to any specific hardware and software combination.

[0187] Thirdly, embodiments of this application provide an electronic device, including a memory and a processor. The memory stores a computer program that can run on the processor. When the processor executes the program, it implements the steps in the theme switching method of the vehicle system provided in the above embodiments.

[0188] In one example, reference Figure 9 The electronic device 90, as shown, includes: a processor 901, at least one communication bus 902, a user interface 903, at least one external communication interface 904, and a memory 905. The communication bus 902 is configured to enable communication between these components. The user interface 903 may include a display screen, and the external communication interface 904 may include standard wired and wireless interfaces.

[0189] The memory 905 is configured to store instructions and applications executable by the processor 901, and can also cache data to be processed or already processed by the processor 901 and various modules in the electronic device (e.g., image data, audio data, voice communication data and video communication data), which can be implemented by flash memory or random access memory (RAM).

[0190] Fourthly, embodiments of this application provide a storage medium, namely a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the steps in the theme switching method of the vehicle system provided in the above embodiments.

[0191] Fifthly, embodiments of this application provide a computer program product, which includes a computer program that, when executed by a processor, implements the steps in the theme switching method of the vehicle infotainment system provided in the first aspect.

[0192] It should be noted that the descriptions of the above embodiments of storage media, devices, and computer program products are similar to the descriptions of the above method embodiments, and have similar beneficial effects. For technical details not disclosed in the embodiments of the storage media, devices, and computer program products of this application, please refer to the descriptions of the method embodiments of this application for understanding.

[0193] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in some embodiments" appearing throughout the specification do not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above-described processes do not imply a sequential order of execution; the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above-described embodiments are merely descriptive and do not represent the superiority or inferiority of the embodiments.

[0194] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0195] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.

[0196] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units. They may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.

[0197] In addition, each functional unit in the various embodiments of this application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.

[0198] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media that can store program code, such as mobile storage devices, read-only memory (ROM), magnetic disks, or optical disks.

[0199] Alternatively, if the integrated units described above are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, or the parts that contribute to related technologies, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROMs, magnetic disks, or optical disks.

[0200] The above are merely embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for switching themes in a vehicle infotainment system, characterized in that, The method includes: A theme switching event is detected, and a target image for the theme switching event is acquired; The target image is displayed on the display interface, and in response to the theme switching event, the system theme and application theme of the vehicle system are both switched from the first theme to the second theme. Until the theme switching event is completed, the display interface will be switched from the target image to the second theme or the first theme.

2. The method according to claim 1, characterized in that, The step of detecting a topic switching event and acquiring a target image for the topic switching event includes: Upon detecting a theme switching event, a screenshot of the current display interface is taken to obtain the target image; Correspondingly, displaying the target image on the display interface and simultaneously responding to the theme switching event includes: Display the target image on the display interface and respond to the theme switching event.

3. The method according to claim 2, characterized in that, The vehicle infotainment system is an Android system, and the system includes core services and application services; when a theme switching event is detected, a screenshot of the current display interface is taken to obtain the target image, including: The theme switching event is detected by the interface management module in the core service. When the theme switching event is detected, the system theme switching flag is set to the first flag. The first flag is used to indicate that the theme switching event has been detected. The activation management module in the core service identifies the system theme switching identifier. If the system theme switching identifier is identified as the first identifier, the window management module in the core service is invoked to take a screenshot of the current display interface to obtain the target image.

4. The method according to claim 1, characterized in that, The step of acquiring the target image for the theme switching event includes: Acquire multiple target images to characterize the switching process of the topic switching event; Correspondingly, displaying the target image on the display interface and simultaneously responding to the theme switching event includes: The multiple target images are played and displayed sequentially on the display interface, while simultaneously responding to the theme switching event.

5. The method according to any one of claims 1 to 4, characterized in that, The vehicle infotainment system is an Android system, and includes core services and application services; in response to the theme switching event, the system theme and application theme of the vehicle infotainment system are switched from the first theme to the second theme, including: In response to the theme switching event, a first instruction is sent from the activation management module in the core service to the system interface management module and the application management module in the application service; Based on the instruction from the first command, the system theme is switched from the first theme to the second theme through the system interface management module; Based on the instruction from the first command, the application theme is switched from the first theme to the second theme through the application management module.

6. The method according to any one of claims 1 to 4, characterized in that, The vehicle infotainment system is an Android system, and the vehicle infotainment system includes core services and application services; the process until the theme switching event is completed includes: The activation management module in the core service monitors the theme switching process of the system interface management module and the application management module to determine that the theme switching process is complete. Based on the system interface management module and the application management module, the system theme switching identifier is set as a second identifier; the second identifier is used to indicate that the theme switching event is completed. The activation management module detects the system theme switching identifier. If the system theme switching identifier is detected to be the second identifier, the theme switching event is determined to be complete.

7. The method according to any one of claims 1 to 4, characterized in that, The response to the topic switching event includes: Switch the system theme of the vehicle infotainment system from the first theme to the second theme; Once the system theme switch is complete, the application theme of the vehicle system will follow the system theme and switch from the first theme to the second theme. or, Switch the application theme of the vehicle system from the first theme to the second theme; Once the application theme switch is complete, the system theme is switched from the first theme to the second theme. or, Simultaneously, the system theme and the application theme are switched from the first theme to the second theme.

8. The method according to any one of claims 1 to 4, characterized in that, The step of switching the display interface from the target image to the second theme or the first theme includes: Once the theme switching event is confirmed to be successful, the display interface is switched from the target image to the second theme. If the theme switching event fails, the display interface will be switched from the target image to the first theme.

9. The method according to any one of claims 1 to 4, characterized in that, The first theme is a black theme or a dark theme, and the second theme is a white theme or a light theme; or, The first theme is a white theme or a light-colored theme, and the second theme is a black theme or a dark-colored theme.

10. A theme switching device for a vehicle infotainment system, characterized in that, The device includes: The detection and acquisition unit is used to detect a topic switching event and acquire a target image for the topic switching event. The first processing unit is used to display the target image on the display interface, and simultaneously respond to the theme switching event to switch both the system theme and application theme of the vehicle system from the first theme to the second theme. The second processing unit, until the theme switching event is completed, switches the display interface from the target image to the second theme or the first theme.

11. An electronic device, characterized in that, The electronic device includes a memory and a processor. The memory stores a computer program or instructions. When the computer program or instructions are executed by the processor, they implement the method described in any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program or instructions, which, when executed by a processor, implement the method described in any one of claims 1 to 9.

13. A computer program product, characterized in that, The computer program product includes a computer program or instructions, which, when executed by a processor, implement the method described in any one of claims 1 to 9.