View effect switching method and device of vehicle-mounted software and vehicle machine

By dynamically adjusting the content coloring parameters in the view mode, flexible view effect switching of the vehicle software UI is realized, which solves the problem of increased development workload caused by multiple sets of view resources in the existing technology, and improves user experience and flexibility.

CN118672707APending Publication Date: 2024-09-20GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410830170.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

The existing vehicle software UI design needs to provide multiple sets of view resources for day and night modes, resulting in increased development workload and inflexible switching of view effects.

Method used

By responding to the view mode switching command, the target view mode is determined, and based on the relationship between the view mode and the content's coloring parameters, the content's coloring parameters are dynamically adjusted to achieve switching of view effects and reduce the demand for view resources.

Benefits of technology

It reduces the workload of switching and replacing view resources in vehicle software development, improves the flexibility and user experience of view effects, and reduces dependence on multiple view resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118672707A
    Figure CN118672707A
Patent Text Reader

Abstract

The invention discloses a view effect switching method and device of vehicle-mounted software and a vehicle machine. The method comprises the following steps: in response to a view mode switching instruction, determining a target view mode indicated to be switched by the view mode switching instruction; determining a target coloring parameter of the target content in the target view mode based on a corresponding relation between a coloring parameter of the target content to be displayed and the view mode in a view interface of target vehicle-mounted software to be displayed; setting the target coloring parameter for the target content; and displaying a view interface of the target vehicle-mounted software after the target content is colored by the target coloring parameter. According to the method, the target content to be displayed is adaptively colored according to the determined target view mode, and view resources of multiple different view modes do not need to be prepared, so that the development workload of cutting and replacing views of different modes of the vehicle-mounted software is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of automobile intelligent cockpits, and in particular to a method and device for switching view effects of vehicle-mounted software, and a vehicle computer. Background Art

[0002] In the design of in-vehicle software user interfaces, as the user experience is increasingly valued, switching the visual effects of the user interface according to light intensity has become an important design consideration. If the light is dim, such as when driving at night, the strong screen light may interfere with the user's vision and even cause glare, causing discomfort to the user.

[0003] In the prior art, when designing a software user interface (UI), in order to adapt to different lighting environments, the UI usually provides two sets of view resources for two different view modes, day mode and night mode. For example, the day mode uses a bright interface design, which is suitable for use in a well-lit environment and can ensure that the image content is clearly visible; the night mode uses a dark tone design, which is more suitable for use in a low-light environment to reduce eye fatigue and glare.

[0004] However, in the prior art, the UI needs to provide different view resources in day mode and night mode. The user experience (UE) switches and replaces the two view resources according to the light changes to display them in the view interface. Although this approach brings a better visual experience to users, it also means that when designing the in-vehicle software UI, it is necessary to design multiple view resources in different modes, and design the view mode switching process and view interface replacement process. As a result, the development workload of the in-vehicle software in the smart cockpit is also increased. Summary of the invention

[0005] Based on the above problems, the present application provides a method, device and vehicle computer for switching view effects of in-vehicle software. The purpose is to reduce the development workload of in-vehicle software while ensuring the user's view effect switching experience by proposing a new solution for switching view effects of in-vehicle software in different modes.

[0006] The embodiments of the present application disclose the following technical solutions:

[0007] In a first aspect, the present application provides a method for switching view effects of an in-vehicle software, comprising:

[0008] In response to a view mode switching instruction, determining a target view mode to be switched by the view mode switching instruction;

[0009] Determining target shading parameters of the target content to be displayed in the target view mode based on the correspondence between the shading parameters of the target content to be displayed and the view mode in the view interface of the target vehicle-mounted software to be displayed;

[0010] Setting the target shading parameters for the target content;

[0011] The view interface of the target vehicle-mounted software is displayed after the target content is colored with the target coloring parameters.

[0012] Optionally, in the method as described above, in response to the view mode switching instruction, determining the target view mode to be switched indicated by the view mode switching instruction comprises:

[0013] extracting current ambient light intensity level information according to the view mode switching instruction;

[0014] Query whether there is a view mode that matches the current ambient light intensity level information;

[0015] If so, the queried view mode that matches the current ambient light intensity level information is determined as the target view mode that the view mode switching instruction indicates to switch.

[0016] Optionally, the method as described above further comprises:

[0017] In response to the triggering of the view mode creation operation, a view mode creation interface is displayed; the view mode creation interface includes multiple editing areas; the multiple editing areas include a first editing area, a second editing area and a third editing area; the first editing area corresponds to the name of the created view mode, the second editing area corresponds to the shading parameters of the foreground content in the created view mode, and the third editing area corresponds to the shading parameters of the background content in the created view mode;

[0018] In response to the editing operation on the first editing area, the second editing area and the third editing area, the name of the view mode edited by the user, the coloring parameter of the foreground content and the coloring parameter of the background content are displayed in the first editing area, the second editing area and the third editing area respectively;

[0019] In response to a triggering operation on a save control in the view mode creation interface, editing information of the created view mode is saved.

[0020] Optionally, in the above method, in response to an editing operation on the second editing area, displaying the coloring parameters of the foreground content edited by the user in the second editing area includes:

[0021] In response to a trigger operation on the second editing area, a color panel is displayed; the color panel includes a plurality of color selection areas of different colors;

[0022] In response to a selection operation on a first target color selection area on the color panel, displaying coloring parameters corresponding to the first target color selection area in the second editing area as coloring parameters of the foreground content edited by the user;

[0023] In response to the editing operation on the third editing area, displaying the coloring parameters of the background content edited by the user in the third editing area includes:

[0024] In response to a triggering operation on the third editing area, displaying the color panel;

[0025] In response to a selection operation on a second target color selection area on the color panel, coloring parameters corresponding to the second target color selection area are displayed in the third editing area as coloring parameters of the foreground content edited by the user.

[0026] Optionally, the method as described above further includes:

[0027] In response to an editing operation on the first editing area, extracting a keyword in the name of the view mode edited by the user;

[0028] Based on the keyword, displaying a foreground color panel matching the keyword in the second editing area, and displaying a background color panel matching the keyword in the third editing area;

[0029] In response to the editing operation on the second editing area, displaying the coloring parameters of the foreground content edited by the user in the second editing area includes:

[0030] In response to a selection operation on a first target color selection area on the foreground color panel, displaying coloring parameters corresponding to the first target color selection area in the second editing area as coloring parameters of the foreground content edited by the user;

[0031] In response to the editing operation on the third editing area, displaying the coloring parameters of the background content edited by the user in the third editing area includes:

[0032] In response to a selection operation on a second target color selection area on the background color panel, coloring parameters corresponding to the second target color selection area are displayed in the third editing area as coloring parameters of the foreground content edited by the user.

[0033] Optionally, in the method described above, after saving the edit information of the created view mode, the method further includes:

[0034] In response to a triggering operation on an automatic view mode creation function, the second view mode is created by using the shading parameters of the foreground content of the first view mode that has been created as the shading parameters of the background content of the second view mode to be created, and by using the shading parameters of the background content of the first view mode as the shading parameters of the foreground content of the second view mode to be created.

[0035] Optionally, in the method described above, the determining of the target shading parameters of the target content to be displayed in the target view mode based on the correspondence between the shading parameters of the target content to be displayed and the view mode in the view interface of the target vehicle-mounted software to be displayed includes:

[0036] Determining the content type of the target content to be displayed;

[0037] If the content type is foreground content, determining the shading parameters of the foreground content in the target view mode as target shading parameters of the target content according to the correspondence between the shading parameters of the foreground content and the view mode;

[0038] If the content type is background content, then according to the correspondence between the shading parameters of the background content and the view mode, the shading parameters of the background content in the target view mode are determined as the target shading parameters of the target content.

[0039] Optionally, in the method as described above, setting the target shading parameter for the target content includes:

[0040] Query the resource code of the target content;

[0041] If the resource code contains a shading field of the target content, and the shading field is empty, then adding the target shading parameter to the shading field;

[0042] If the resource code includes a shading field of the target content, and the current value of the shading field is different from the target shading parameter, replacing the current value with the target shading parameter;

[0043] If the resource code does not include the shading field of the target content, a code is added whose value of the shading field is the target shading parameter.

[0044] In a second aspect, the present application provides a view effect switching device for vehicle-mounted software, comprising:

[0045] A view mode determination module, configured to determine, in response to a view mode switching instruction, a target view mode to be switched according to the view mode switching instruction;

[0046] A shading parameter determination module, configured to determine a target shading parameter of the target content to be displayed in the target view mode based on a correspondence between the shading parameter of the target content to be displayed and the view mode in the view interface of the target vehicle-mounted software to be displayed;

[0047] A coloring parameter setting module, used to set the target coloring parameters for the target content;

[0048] The display module is used to display the view interface of the target vehicle-mounted software after the target content is colored with the target coloring parameters.

[0049] In a third aspect, the present application provides a vehicle computer, including a host and a screen connected to each other;

[0050] The host is configured to, in response to a view mode switching instruction, determine a target view mode to be switched by the view mode switching instruction; determine a target shading parameter of the target content to be displayed in the target view mode based on a correspondence between a shading parameter of the target content to be displayed and the view mode in a view interface of the target vehicle-mounted software to be displayed; and set the target shading parameter for the target content;

[0051] The screen is used to display the view interface of the target vehicle-mounted software after the target content is colored with the target coloring parameters.

[0052] Compared with the prior art, this application has the following beneficial effects:

[0053] The present application determines the target view mode to be switched by the received view mode switching instruction; then determines the target shading parameters of the target content to be displayed under the view mode according to the correspondence between the shading parameters and the view mode configured in the view interface of the target vehicle software to be displayed; after setting the target shading parameters for the target content, the view interface after the target content is colored is displayed. The technical solution of the present application can meet the needs of different view modes and present different visual effects based on a set of view resources. The switching of view effects can be achieved through coloring. Therefore, the technical solution of the present application reduces the demand for view resources, and also reduces the development workload of cutting and replacing different visual effects of the smart cockpit vehicle software. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0055] Figure 1A A schematic flow chart of an embodiment of a method for switching view effects of an in-vehicle software provided in an embodiment of the present application;

[0056] Figure 1B is a schematic diagram of the resource code of the target content in this embodiment;

[0057] Figure 2 A flowchart of another embodiment of a method for switching view effects of an in-vehicle software provided in an embodiment of the present application;

[0058] Figure 3 A flowchart of another embodiment of a method for switching view effects of an in-vehicle software provided in an embodiment of the present application;

[0059] Figure 4 A schematic diagram showing the color panel of the view mode creation interface in this embodiment;

[0060] Figure 5 This is a visual effect diagram of the in-car music player software in daytime mode created by the user in this embodiment;

[0061] Figure 6 This is a visual effect diagram of the in-car music player software in the night mode created by the user in this embodiment;

[0062] Figure 7 A flowchart of another embodiment of a method for switching view effects of an in-vehicle software provided in an embodiment of the present application;

[0063] Figure 8 A schematic diagram of the structure of an embodiment of a view effect switching device for vehicle-mounted software provided in an embodiment of the present application;

[0064] Fig. 9 A schematic diagram of the structure of an embodiment of a vehicle computer provided in an embodiment of the present application. DETAILED DESCRIPTION

[0065] As described above, in the current in-vehicle software UI design, in order to adapt to different lighting environments, two independent view modes are usually provided, that is, day mode and night mode each correspond to a set of view resources. In a well-lit environment, the view interface displays the visual effect image corresponding to the day mode; when the light becomes darker, the view interface switches from day mode to night mode and displays the corresponding visual effect image. Therefore, in the process of in-vehicle software UI design, it is necessary to provide multiple sets of view resources in different modes, and design the cutting process of different view modes and the view interface replacement process to ensure that the system can automatically switch to the corresponding mode when the light changes.

[0066] After research, the inventor provides a method, device and vehicle computer for switching view effects of vehicle-mounted software to solve the technical problem in the prior art that the workload of vehicle-mounted software development is high in order to achieve view effects of different view modes.

[0067] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0068] See also Figure 1A , which is a flow chart of an embodiment of a method for switching the view effect of an in-vehicle software provided by an embodiment of the present application. The method includes:

[0069] S101: In response to a view mode switching instruction, determining a target view mode that the view mode switching instruction indicates to switch to.

[0070] The view mode switching instructions include, but are not limited to, one or more of light gear switching operations, voice triggering instructions, instructions generated by light changes, and manual triggering instructions.

[0071] In one example, the light gear switching operation is used as a view mode switching instruction. If it is detected that the user switches the vehicle's light gear from no light to low beam, a view mode switching instruction is triggered. At this time, the vehicle computer determines that the light has changed significantly and the view mode needs to be switched, and switches the day mode to the night mode. In response to the detected light gear switching operation, it is determined that the target view mode to be switched by the view mode switching instruction is the night mode.

[0072] In another example, the voice trigger command is used as a view mode switching command. When the external light changes from bright to dark and the user wants to switch the view mode to night mode, the user wakes up the smart device through intelligent voice and speaks a voice trigger command such as "switch current view mode" or "switch to night mode". The vehicle computer responds to the received voice trigger command and determines that the target view mode to be switched indicated by the view mode switching command is night mode.

[0073] In another example, the instruction generated by the light change is used as the view mode switching instruction. If the external light intensity is monitored to have a significant change, a view mode switching instruction corresponding to switching to the day mode or night mode is automatically generated, and then the target view mode indicated by the view mode switching instruction is determined according to the instruction.

[0074] In another example, the manual trigger instruction is used as the view mode switching instruction. The vehicle computer interface displays the view mode switching icon. When the user needs to switch the view mode, the user touches the view mode switching icon on the user interface. The vehicle computer responds to the received manual trigger instruction, thereby determining the target view mode to be switched by the instruction.

[0075] S102: Determine target shading parameters of the target content in the target view mode based on the correspondence between the shading parameters of the target content to be displayed and the view mode in the view interface of the target vehicle-mounted software to be displayed.

[0076] Among them, the view interface of the target vehicle-mounted software to be displayed can be the view interface of the current vehicle-mounted software being displayed, or it can be other view interfaces that may be displayed by the current vehicle-mounted software before receiving the next view mode switching instruction, or any possible view interface that may be displayed in the next vehicle-mounted software to be displayed.

[0077] The target content, here, refers to the content to be displayed on the view interface of the target vehicle software to be displayed. For example, it can be an icon or text, or even a background, etc. The specific type of the target content is not limited here.

[0078] In the embodiment of the present application, the correspondence between the coloring parameters of the target content to be displayed and the view mode can be pre-configured and stored. In specific implementation, different target content to be displayed and the coloring parameters in the corresponding view mode can be configured for each view mode. Taking the day mode as an example, for the text or icon in the target content to be displayed, the corresponding coloring is set to black, and the coloring parameter is #000000; if the target content to be displayed includes a background picture, the corresponding coloring is set to white, and the coloring parameter is #ffffff.

[0079] It should be noted that only a few types of coloring and coloring parameters are listed in this embodiment. It is understandable that the coloring parameters are not limited to the values ​​of the simple color level, but can also include coloring parameters such as transparency, which are not listed here one by one.

[0080] Based on the pre-established correspondence between the shading parameters of the target content to be displayed and the view mode, when the target view mode is known, the target shading parameters of the target content under the target view mode can be determined based on the correspondence, so as to realize content shading through S103.

[0081] S103: Setting target shading parameters for the target content.

[0082] In this embodiment, the corresponding target shading parameter is set for each target content according to the target shading parameter of the target content in the determined target view mode. For example, if the target shading parameter of the determined target content is #ffffff, the shading parameter of the target content is set to #ffffff so that the corresponding view effect can be displayed.

[0083] S104: Displaying a view interface of the target vehicle-mounted software after the target content is colored with the target coloring parameters.

[0084] In this embodiment, the view colored according to the target coloring parameters of the target content in the target view mode is displayed as a view interface on the user interface of the current vehicle-mounted software.

[0085] In this embodiment, the target view mode that the view mode switching instruction indicates to switch is determined by the received view mode switching instruction, and then based on the correspondence between the shading parameters of the target content to be displayed and the view mode configured in the view interface of the target vehicle software to be displayed, the target shading parameters of the target content in the target view mode are determined, and then the target shading parameters are set for the target content, and finally the view interface of the target vehicle software after shading is displayed. Compared with the prior art, the method of the present application, after determining the target view mode that indicates the switch, colors the view interface of the target vehicle software to be displayed according to the correspondence between the shading parameters of the target content to be displayed and the view mode configured, and displays the colored view interface of the target vehicle software, thereby realizing the switching of different modes of visual effect diagrams for a view interface of a target vehicle software to be displayed, without the need to prepare multiple view resources for displaying view interfaces of different modes, and reducing the development workload of cutting and replacing multiple view resources in the design and development of vehicle software UI.

[0086] Further, based on the above embodiment, a specific implementation of “determining target shading parameters of target content in target view mode based on the correspondence between shading parameters of target content to be displayed and view mode in the view interface of target vehicle-mounted software to be displayed” in S102 includes:

[0087] The content type of the target content to be displayed is determined.

[0088] The content types of the target content include but are not limited to foreground content and background content.

[0089] Specifically, the foreground content includes text and / or icons; the background content is a background image.

[0090] If the content type is foreground content, the shading parameters of the foreground content in the target view mode are determined as target shading parameters of the target content according to the correspondence between the shading parameters of the foreground content and the view mode.

[0091] In this embodiment, taking the daytime mode as an example, when the content type of the target content is determined to be foreground content, the text or icon in the target content to be displayed is the foreground content, then the target shading parameter corresponding to the text or icon to be displayed in the target view mode is determined to be #000000.

[0092] If the content type is background content, the shading parameters of the background content in the target view mode are determined as target shading parameters of the target content according to the correspondence between the shading parameters of the background content and the view mode.

[0093] In this embodiment, taking the day mode as an example, when the content type of the target content is determined to be background content, the background image in the target content to be displayed is the background scene content, and the target coloring parameter corresponding to the background image to be displayed in the target view mode is determined to be #ffffff.

[0094] In this embodiment, by the content type of the target content to be displayed, when it is determined that the content type is foreground content, the coloring parameters of the foreground content in the target view mode are used as the target coloring parameters of the target content, and when it is determined that the content type is background content, the coloring parameters of the background content in the target view mode are used as the target coloring parameters of the target content. Compared with the prior art, the method of the present application determines the target coloring parameters corresponding to the target content of different content types according to the corresponding relationship between the view mode and the coloring parameters of the target content by determining the different content types of the target content, thereby achieving a clear distinction between different types of content in the view interface and adaptively adjusting the coloring parameters, which can significantly improve the readability of the content and provide users with a more comfortable and friendly interface experience.

[0095] Further, based on the above embodiment, a specific implementation of “setting target coloring parameters for target content” in S103 includes:

[0096] Query the resource code of the target content.

[0097] In this embodiment, according to the target content to be set and the corresponding target coloring parameters, the resource code corresponding to the target content is queried.

[0098] If the resource code contains a shading field for the target content, and the shading field is empty, the target shading parameters are added to the shading field.

[0099] The target content coloring field is a field corresponding to the target content color set in the resource code.

[0100] In this embodiment, taking the target coloring parameter of the target content as white as an example, when the queried resource code contains a coloring field corresponding to the target content, but the coloring field is empty, the coloring parameter #ffffff corresponding to white is added to the corresponding coloring field.

[0101] If the resource code contains a shading field for the target content, and the current value of the shading field is different from the target shading parameter, the current value is replaced by the target shading parameter.

[0102] In this embodiment, taking the target coloring parameter of the target content as white as an example, when the queried resource code contains a coloring field corresponding to the target content, and the coloring field is #000000, it is replaced with the coloring parameter #ffffff corresponding to white.

[0103] If the resource code does not contain the target content's shading field, add code whose shading field value is the target shading parameter.

[0104] In this embodiment, Figure 1B is the resource code of the target content in this embodiment, such as Figure 1B As shown, taking the target tinting parameter of the target content as white as an example, if the queried resource code does not contain the tinting field corresponding to the target content, the tint attribute is used to add the code of the target tinting parameter to the corresponding code position, wherein the tinting field is the tinting parameter #ffffff corresponding to white, and the corresponding code is android:tint="#ffffff".

[0105] In the embodiment of the present application, the Tint property of the Android system can be used to achieve coloring, which can reduce the size of the Android application package (APK) of the vehicle-mounted software. Among them, Tint is a technology that can change the color of the view, which is implemented using a color filter. By setting the color filter, we can change the drawing effect of the view, including color, transparency, etc. Through Tint, we can dynamically change the view color. The specific setting code is as follows:

[0106] 1. How to set content images

[0107] The android:tint attribute is tinting, allowing users to set a color filter for the image in the view. This color will be mixed with the original color of the image, thus changing the overall hue of the image. This attribute is usually set using a hexadecimal color code (such as #FF0000 for red) or a color resource.

[0108] The android:tintMode attribute is a tinting mode that defines how the tint color is mixed with the original image color. It uses a value in the PorterDuff.Mode enumeration to specify the blending mode. Different blending modes produce different visual effects.

[0109] The corresponding dynamic setting method:

[0110] void setImageTintList(@Nullable ColorStateList tint)

[0111] void setImageTintMode(@Nullable PorterDuff.Mode tintMode);

[0112] 2. How to set the background image

[0113] The android:backgroundTint attribute is used to set a color filter for the background of the view. This attribute is usually used to change the background color of controls such as buttons and floating action buttons.

[0114] The android:backgroundTintMode attribute is used to define how the backgroundTint color is blended with the original background color. It uses a value from the PorterDuff.Mode enumeration to specify the blending mode.

[0115] The corresponding dynamic setting method:

[0116] void setBackgroundTintList(@Nullable ColorStateList tint)

[0117] void setBackgroundTintMode(@Nullable PorterDuff.Mode tintMode)

[0118] 3. How to set the foreground image

[0119] The android:foregroundTint attribute is usually used to set the color of foreground images (such as text, icons, etc.). If you use a view that supports foregroundTint (such as some custom ImageView or TextView), you can use this attribute to change the foreground color.

[0120] The android:foregroundTintMod attribute defines how the foregroundTint color is blended with the original foreground color. It uses a value from the PorterDuff.Mode enumeration to specify the blending mode.

[0121] The corresponding dynamic setting method:

[0122] void setForegroundTintList(@Nullable ColorStateList tint)

[0123] void setForegroundTintMode(@Nullable PorterDuff.Mode tintMode)

[0124] 4. How to set the top, bottom, left, and right pictures

[0125] The android:drawableTint attribute allows you to set a color filter for an icon (Drawable). For example, if you need to change the color of a Drawable, you can use the android:drawableTint attribute to achieve this.

[0126] The android:drawableTintMode attribute defines how the drawableTint color is blended with the original Drawable color. It uses a value from the PorterDuff.Mode enumeration to specify the blending mode.

[0127] The corresponding dynamic setting method:

[0128] void setCompoundDrawableTintList(@Nullable ColorStateList tint)

[0129] void setCompoundDrawableTintMode(@Nullable PorterDuff.Mode tintMo de)

[0130] In this embodiment, by querying the resource code of the target content, if the resource code contains a shading field for the target content, and the shading field is empty, the target shading parameters are added to the shading field. If the resource code contains a shading field for the target content, and the current value of the shading field is different from the target shading parameters, the current value is replaced by the target shading parameters. If the resource code does not contain a shading field for the target content, a code whose value of the shading field is the target shading parameter is added. Compared with the prior art, the method of the present application only needs to dynamically change the shading of the target content of an image by modifying the shading field for the target content in the resource code according to the correspondence between the view mode and the shading parameters of the target content, so as to adapt to different scenarios or requirements, and reduce the workload of UI design and development.

[0131] See also Figure 2 , which is a flowchart of another embodiment of a method for switching the view effect of an in-vehicle software provided by an embodiment of the present application. Based on the above embodiment, a specific implementation of "responding to the view mode switching instruction, determining the target view mode indicated by the view mode switching instruction" in S101 includes:

[0132] S1011: Extracting current ambient light intensity level information according to the view mode switching instruction.

[0133] Specifically, when the received view mode switching instruction is an unclear instruction, the current ambient light intensity level information is extracted from the ambient light intensity level information storage file according to the received view mode switching instruction. The current ambient light intensity level information can be measured by a light intensity detector or sensor, and the corresponding ambient light intensity level information is stored in a file, a database or a memory.

[0134] The ambient light intensity level is divided according to the different light intensities. For example, the ambient light intensity level may include a weak light area, a medium light area, and a strong light area. The light intensity range of the weak light area may be 0-1000 lux; the light intensity range of the medium light area may be 1000-2000 lux; and the light intensity range of the strong light area may be 2000-10000 lux.

[0135] S1012: Check whether there is a view mode matching the current ambient light intensity level information, if so, proceed to S1013.

[0136] In this embodiment, after the current ambient light intensity level information is obtained, in the predefined correspondence between ambient light intensity levels and view modes, the current light intensity level is compared with the light intensity level range corresponding to each view mode to find out whether there is a view mode matching the light intensity level.

[0137] S1013: Determine the queried view mode that matches the current ambient light intensity level information as the target view mode to be switched as indicated by the view mode switching instruction.

[0138] In this embodiment, when it is found that the current light intensity level exists within the predefined light intensity levels, the view mode corresponding to the current light intensity level is used as the target view mode to be switched by the view mode switching instruction.

[0139] In this embodiment, the current ambient light intensity level information is extracted according to the view mode switching instruction, and it is queried whether there is a view mode matching the current ambient light intensity level information. If so, the queried view mode matching the current ambient light intensity level information is determined as the target view mode switched by the view mode switching instruction. Compared with the prior art, the method of the present application extracts the ambient light intensity level information and queries the view modes corresponding to the configured different ambient light intensity level information, so as to use the queried matching view mode as the target view mode switched by the view mode switching instruction. In the case where the view mode switching instruction is unclear, the automatic switching of the view mode is realized without the need for manual operation by the user, thereby improving the intelligence and flexibility of the vehicle software operation.

[0140] Combination Figure 2 As shown, after executing S1011-S1013, the previous embodiment may be referred to and S1012-S1014 may be continued to realize the display of the latest view effect of the vehicle-mounted software after the view mode is switched.

[0141] See also Figure 3 , which is a flow chart of another embodiment of a method for switching the view effect of an in-vehicle software provided by an embodiment of the present application. Based on the above embodiment, before S101 "responding to the view mode switching instruction, determining the target view mode to be switched by the view mode switching instruction", the method further includes:

[0142] S301: In response to triggering of a view mode creation operation, display a view mode creation interface; the view mode creation interface includes multiple editing areas; the multiple editing areas include a first editing area, a second editing area, and a third editing area.

[0143] In this embodiment, when the user touches the view mode creation icon of the user interface to trigger the view mode creation operation, in response to the received view mode creation operation, the view mode creation interface is displayed on the user interface.

[0144] The first editing area corresponds to the name of the created view mode, the second editing area corresponds to the shading parameters of the foreground content in the created view mode, and the third editing area corresponds to the shading parameters of the background content in the created view mode.

[0145] S302: In response to the editing operations on the first editing area, the second editing area and the third editing area, the name of the view mode edited by the user, the coloring parameters of the foreground content and the coloring parameters of the background content are displayed in the first editing area, the second editing area and the third editing area respectively.

[0146] In this embodiment, in response to the user typing in the name of the created view mode in the view mode name editing area, selecting shading parameters of the foreground content under the created view mode in the foreground content editing area, and selecting shading parameters of the background content under the created view mode in the background content editing area in the user interface, the view mode name typed by the user, the shading parameters of the foreground content, and the shading parameters of the background content selected by the user are displayed in the view mode name editing area, the foreground content editing area, and the background editing area of ​​the user interface, respectively.

[0147] S303: In response to a triggering operation on a save control in the view mode creation interface, save editing information of the created view mode.

[0148] In this embodiment, in response to the user confirming the currently created view mode and clicking the trigger operation of the save control in the view mode creation interface, the editing information of the newly created view mode is stored in a corresponding file or database for the user to use next time.

[0149] In this embodiment, by responding to the triggering of the view mode creation operation, the view mode creation interface is displayed; in response to the editing operation of the first editing area, the second editing area and the third editing area in the view mode creation interface, the view mode name edited by the user, the coloring parameters of the foreground content and the background content are respectively displayed in the corresponding areas; in response to the triggering operation of the save control in the view mode creation interface, the editing information of the created view mode is saved. Compared with the prior art, the method of the present application realizes the user's customized creation of the view mode name, the coloring parameters of the foreground content and the background content of the view mode according to personal preferences through the view mode creation interface. Through the intuitive view mode creation interface, the user can easily understand and operate, thereby quickly completing the creation of the view mode.

[0150] Further, based on the above embodiment, a specific implementation of "in response to the editing operation on the second editing area, displaying the coloring parameters of the foreground content edited by the user in the second editing area" in S302 includes:

[0151] In response to a trigger operation on the second editing area, a color panel is displayed.

[0152] Figure 4 A schematic diagram showing the color panel of the view mode creation interface in this embodiment is shown as follows: Figure 4 As shown, the first editing area 401 is the view mode name editing area, the second editing area 402 is the foreground content coloring parameter editing area, and the third editing area 403 is the background content coloring parameter editing area. The color panel corresponding to the second editing area 402 is displayed as shown in the figure, and the color panel includes multiple color selection areas of different colors.

[0153] In response to a selection operation on the first target color selection area on the color panel, coloring parameters corresponding to the first target color selection area are displayed in the second editing area as coloring parameters of the foreground content edited by the user.

[0154] Among them, the first target color selection area is the foreground color panel displayed in the user interface.

[0155] In this embodiment, in response to the user selecting the color of the foreground content in the created view mode in the foreground content editing area of ​​the user interface, the coloring parameters corresponding to the color of the foreground content selected by the user are displayed in the foreground content editing area of ​​the user interface.

[0156] At the same time, a specific implementation of “in response to the editing operation on the third editing area, displaying the coloring parameters of the background content edited by the user in the third editing area” in S302 includes:

[0157] In response to a trigger operation on the third editing area, a color panel is displayed.

[0158] Among them, the color panel includes multiple color selection areas of different colors.

[0159] In response to the selection operation of the second target color selection area on the color panel, the coloring parameters corresponding to the second target color selection area are displayed in the third editing area as the coloring parameters of the background content edited by the user.

[0160] Among them, the second target color selection area is the background color panel displayed in the user interface.

[0161] In this embodiment, in response to the user selecting the color of the background content in the created view mode in the background content editing area of ​​the user interface, the coloring parameters corresponding to the background content color selected by the user are displayed in the background content editing area of ​​the user interface.

[0162] Specifically, Figure 5 This is a visual effect diagram of the car music player software in daytime mode created by the user in this embodiment. Figure 5As shown, in daytime mode, the foreground content of the in-car music player software, such as text and icons, is colored black, and the background image is colored in a blue-white gradient color. Figure 6 This is a visual effect diagram of the car music player software in the dark mode created by the user in this embodiment. Figure 6 As shown, in the night mode, the foreground content of the car music player software, such as text and icons, is colored white, and the background image is colored black.

[0163] In this embodiment, in response to the trigger operation on the second editing area, the color panel is displayed. In response to the selection operation on the first target color selection area on the color panel, the coloring parameters corresponding to the first target color selection area are displayed in the second editing area as the coloring parameters of the foreground content edited by the user; in response to the trigger operation on the third editing area, the color panel is displayed; in response to the selection operation on the second target color selection area on the color panel, the coloring parameters corresponding to the second target color selection area are displayed in the third editing area as the coloring parameters of the foreground content edited by the user. Compared with the prior art, the method of the present application displays the color panel on the user interface, and when the user selects a color, the coloring parameters corresponding to the selected color are displayed in the corresponding editing area. Without the user knowing the coloring parameters, the user can quickly customize the coloring parameters of the foreground content and background content by selecting a color, thereby improving the user's experience and facilitating the user to create a view mode.

[0164] Further, based on the above embodiment, after S303 “responding to a triggering operation of saving a control in the view mode creation interface, saving the editing information of the created view mode”, the method further includes:

[0165] In response to a triggering operation on an automatic view mode creation function, the second view mode is created by using the shading parameters of the foreground content of the first view mode that has been created as the shading parameters of the background content of the second view mode to be created, and by using the shading parameters of the background content of the first view mode as the shading parameters of the foreground content of the second view mode to be created.

[0166] In this embodiment, when the user has created the first view mode, the user clicks the view mode automatic creation function icon to trigger the automatic creation of the second view mode according to the first view mode. For example, if the first view mode created by the user is the day mode, and the foreground content corresponding to the day mode is colored black and the background content is colored white; in response to the user's triggering operation of the view mode automatic creation function, the automatically created second view mode is the night mode, and the coloring parameters of the foreground content in the day mode, that is, the coloring parameters corresponding to black, are used as the coloring parameters of the background content in the night mode; and the coloring parameters of the background content in the day mode, that is, the coloring parameters corresponding to white, are used as the coloring parameters of the background content in the night mode, thereby creating the night mode.

[0167] In this embodiment, through the triggering operation of the view mode automatic creation function, the coloring parameters of the foreground content and the background content of the created first view mode are used as the coloring parameters of the background content and the foreground content of the second view mode to be created, respectively, so as to create the second view mode. Compared with the prior art, the method of the present application exchanges the coloring parameters of the foreground content and the background content of the first view mode through the view mode automatic creation function after the first view mode is created, so as to automatically create the second view mode, thereby realizing the rapid creation of the view mode, improving the efficiency of the view mode creation, and improving the convenience and flexibility of the user in creating the view mode.

[0168] See also Figure 7 , which is a flowchart of another embodiment of a method for switching the view effect of an in-vehicle software provided by an embodiment of the present application. Based on the above embodiment, after S301 "in response to the triggering of the view mode creation operation, displaying the view mode creation interface; the view mode creation interface includes multiple editing areas; the multiple editing areas include a first editing area, a second editing area and a third editing area", the method also includes:

[0169] S701: In response to an editing operation on a first editing area, extracting keywords in the name of a view mode edited by a user.

[0170] In this embodiment, when the user enters the name of the user-defined view mode in the first editing area of ​​the user interface, in response to the editing operation on the first editing area, the name of the user-defined view mode is subjected to keyword extraction processing. For example, when the name of the view mode entered by the user in the user interface is "bright mode", the keywords extracted therein are "bright" and "bright".

[0171] S702: Based on the keyword, display a foreground color panel matching the keyword in the second editing area, and display a background color panel matching the keyword in the third editing area.

[0172] In this embodiment, for example, if the keywords extracted from the name of the view mode are "bright" or "light", the user-defined view mode is considered to be a view mode used in a well-lit environment, usually with a dark foreground content and a light background content; the pre-configured color panel of the foreground content corresponding to the keywords such as "bright" or "light" is dark, while the color panel of the background content is light. When the keywords extracted from the view mode name are related to the daytime mode, a dark foreground color panel is displayed in the foreground content editing area, and a light background color panel is displayed in the background content editing area.

[0173] At the same time, a specific implementation of “in response to the editing operation on the second editing area, displaying the coloring parameters of the foreground content edited by the user in the second editing area” in S302 includes:

[0174] S703: In response to the selection operation of the first target color selection area on the foreground color panel, displaying the coloring parameters corresponding to the first target color selection area in the second editing area as the coloring parameters of the foreground content edited by the user.

[0175] The first target color selection area is a foreground color panel displayed on the user interface that matches the keyword.

[0176] In this embodiment, in response to the user selecting the color of the foreground content in the created view mode in the foreground content editing area of ​​the user interface, the coloring parameters corresponding to the color of the foreground content selected by the user are displayed in the foreground content editing area of ​​the user interface.

[0177] At the same time, a specific implementation of “in response to the editing operation on the third editing area, displaying the coloring parameters of the background content edited by the user in the third editing area” in S302 includes:

[0178] S704: In response to the selection operation of the second target color selection area on the background color panel, the coloring parameters corresponding to the second target color selection area are displayed in the third editing area as the coloring parameters of the background content edited by the user.

[0179] Among them, the second target color selection area is a background color panel matching the keyword displayed in the user interface.

[0180] In this embodiment, in response to the user selecting the color of the background content in the created view mode in the background content editing area of ​​the user interface, the coloring parameters corresponding to the background content color selected by the user are displayed in the background content editing area of ​​the user interface.

[0181] In this embodiment, in response to an editing operation on the first editing area, keywords in the view mode name edited by the user are extracted, a foreground color panel matching the extracted keywords is displayed in the second editing area, and a background color panel matching the keywords is displayed in the third editing area. In response to a selection operation on a first target color selection area on the foreground color panel, shading parameters corresponding to the first target color selection area are displayed in the second editing area as shading parameters for the foreground content edited by the user. In response to a selection operation on a second target color selection area on the background color panel, shading parameters corresponding to the second target color selection area are displayed in the third editing area as shading parameters for the foreground content edited by the user. Compared with the prior art, the method of the present application displays corresponding color panels in the foreground content and background content editing areas respectively according to the keywords in the view mode name edited by the user, so that the user can quickly select more suitable and practical shading parameters for the target content setting, which reduces the time for the user to search and filter colors, improves the efficiency of view mode creation, and avoids the situation where the view effect is poor due to inappropriate selection of shading parameters for the foreground and background contents. See. Figure 8 , which is a schematic diagram of an embodiment of a view effect switching device for vehicle-mounted software provided by an embodiment of the present application. The view effect switching device 80 for vehicle-mounted software includes: a view mode determination module 81, a shading parameter determination module 82, a shading parameter setting module 83 and a display module 84.

[0182] Specifically, the view mode determination module 81 is used to determine the target view mode indicated by the view mode switching instruction in response to the view mode switching instruction; the shading parameter determination module 82 is used to determine the target shading parameters of the target content to be displayed in the target view mode based on the correspondence between the shading parameters of the target content to be displayed and the view mode in the view interface of the target vehicle-mounted software to be displayed; the shading parameter setting module 83 is used to set the target shading parameters for the target content; and the display module 84 is used to display the view interface of the target vehicle-mounted software after the target content is colored with the target shading parameters.

[0183] A view effect switching device for vehicle-mounted software provided in an embodiment of the present application can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar and will not be repeated here.

[0184] Furthermore, the view mode determination module 81 is specifically used to extract the current ambient light intensity level information according to the view mode switching instruction; query whether there is a view mode that matches the current ambient light intensity level information; if so, determine the queried view mode that matches the current ambient light intensity level information as the target view mode indicated by the view mode switching instruction.

[0185] A view effect switching device for vehicle-mounted software provided in an embodiment of the present application can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar and will not be repeated here.

[0186] Furthermore, the view effect switching device 80 of the vehicle-mounted software also includes: a view mode creation module 85.

[0187] The view mode creation module 85 is used to display the view mode creation interface in response to the triggering of the view mode creation operation; the view mode creation interface includes multiple editing areas; the multiple editing areas include a first editing area, a second editing area and a third editing area; the first editing area corresponds to the name of the created view mode, the second editing area corresponds to the shading parameters of the foreground content under the created view mode, and the third editing area corresponds to the shading parameters of the background content under the created view mode; in response to the editing operations on the first editing area, the second editing area and the third editing area, the name of the view mode edited by the user, the shading parameters of the foreground content and the shading parameters of the background content are displayed in the first editing area, the second editing area and the third editing area respectively; in response to the triggering operation of the save control in the view mode creation interface, the editing information of the created view mode is saved.

[0188] A view effect switching device for vehicle-mounted software provided in an embodiment of the present application can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar and will not be repeated here.

[0189] Further, the view mode creation module 85 is specifically used to display the color panel in response to a trigger operation on the second editing area; in response to a selection operation on the first target color selection area on the color panel, display the coloring parameters corresponding to the first target color selection area in the second editing area as the coloring parameters of the foreground content edited by the user; in response to a trigger operation on the third editing area, display the color panel; in response to a selection operation on the second target color selection area on the color panel, display the coloring parameters corresponding to the second target color selection area in the third editing area as the coloring parameters of the foreground content edited by the user.

[0190] A view effect switching device for vehicle-mounted software provided in an embodiment of the present application can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar and will not be repeated here.

[0191] Furthermore, the view mode creation module 85 is specifically used to extract keywords in the name of the view mode edited by the user in response to an editing operation on the first editing area; based on the keywords, display the foreground color panel matching the keywords in the second editing area, and display the background color panel matching the keywords in the third editing area; in response to a selection operation on the first target color selection area on the foreground color panel, display the coloring parameters corresponding to the first target color selection area in the second editing area as the coloring parameters of the foreground content edited by the user; in response to a selection operation on the second target color selection area on the background color panel, display the coloring parameters corresponding to the second target color selection area in the third editing area as the coloring parameters of the foreground content edited by the user.

[0192] A view effect switching device for vehicle-mounted software provided in an embodiment of the present application can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar and will not be repeated here.

[0193] Furthermore, the view mode creation module 85 is specifically used to, after saving the editing information of the created view mode, in response to a triggering operation on the view mode automatic creation function, use the shading parameters of the foreground content of the created first view mode as the shading parameters of the background content of the second view mode to be created, and use the shading parameters of the background content of the first view mode as the shading parameters of the foreground content of the second view mode to be created, thereby creating the second view mode.

[0194] A view effect switching device for vehicle-mounted software provided in an embodiment of the present application can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar and will not be repeated here.

[0195] Furthermore, the shading parameter determination module 82 is specifically used to determine the content type of the target content to be displayed; if the content type is foreground content, then based on the correspondence between the shading parameters of the foreground content and the view mode, the shading parameters of the foreground content in the target view mode are determined as the target shading parameters of the target content; if the content type is background content, then based on the correspondence between the shading parameters of the background content and the view mode, the shading parameters of the background content in the target view mode are determined as the target shading parameters of the target content.

[0196] A view effect switching device for vehicle-mounted software provided in an embodiment of the present application can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar and will not be repeated here.

[0197] Furthermore, the coloring parameter setting module 83 is specifically used to query the resource code of the target content; if the resource code contains a coloring field for the target content and the coloring field is empty, the target coloring parameters are added to the coloring field; if the resource code contains a coloring field for the target content and the current value of the coloring field is different from the target coloring parameters, the current value is replaced by the target coloring parameters; if the resource code does not contain a coloring field for the target content, the value of the coloring field is added as the code for the target coloring parameters.

[0198] See also Fig. 9 , which is a schematic diagram of a vehicle computer according to an embodiment of the present application. The vehicle computer 90 comprises: a host 91 and a screen 92 connected to each other.

[0199] Specifically, the host 91 is used to respond to the view mode switching instruction and determine the target view mode that the view mode switching instruction indicates to switch; based on the correspondence between the coloring parameters of the target content to be displayed and the view mode in the view interface of the target vehicle-mounted software to be displayed, determine the target coloring parameters of the target content under the target view mode; set the target coloring parameters for the target content; the screen 92 is used to display the view interface of the target vehicle-mounted software after the target content is colored with the target coloring parameters.

[0200] A vehicle computer provided in an embodiment of the present application can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be repeated here.

[0201] It should be noted that each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device embodiment described above is merely schematic, in which the unit described as a separate component may or may not be physically separated, and the component prompted as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative work.

[0202] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for switching view effects of vehicle-mounted software, characterized in that: include: In response to a view mode switching instruction, determining a target view mode to be switched by the view mode switching instruction; Determining target shading parameters of the target content to be displayed in the target view mode based on the correspondence between the shading parameters of the target content to be displayed and the view mode in the view interface of the target vehicle-mounted software to be displayed; Setting the target shading parameters for the target content; The view interface of the target vehicle-mounted software is displayed after the target content is colored with the target coloring parameters.

2. The method according to claim 1, characterized in that The step of determining, in response to the view mode switching instruction, a target view mode to be switched by the view mode switching instruction comprises: extracting current ambient light intensity level information according to the view mode switching instruction; Query whether there is a view mode that matches the current ambient light intensity level information; If so, the queried view mode that matches the current ambient light intensity level information is determined as the target view mode that the view mode switching instruction indicates to switch.

3. The method according to claim 1, characterized in that The method further comprises: In response to the triggering of the view mode creation operation, a view mode creation interface is displayed; the view mode creation interface includes multiple editing areas; the multiple editing areas include a first editing area, a second editing area and a third editing area; the first editing area corresponds to the name of the created view mode, the second editing area corresponds to the shading parameters of the foreground content in the created view mode, and the third editing area corresponds to the shading parameters of the background content in the created view mode; In response to the editing operation on the first editing area, the second editing area and the third editing area, the name of the view mode edited by the user, the coloring parameter of the foreground content and the coloring parameter of the background content are displayed in the first editing area, the second editing area and the third editing area respectively; In response to a triggering operation on a save control in the view mode creation interface, editing information of the created view mode is saved.

4. The method according to claim 3, characterized in that In response to the editing operation on the second editing area, displaying the coloring parameters of the foreground content edited by the user in the second editing area includes: In response to a trigger operation on the second editing area, a color panel is displayed; the color panel includes a plurality of color selection areas of different colors; In response to a selection operation on a first target color selection area on the color panel, displaying coloring parameters corresponding to the first target color selection area in the second editing area as coloring parameters of the foreground content edited by the user; In response to the editing operation on the third editing area, displaying the coloring parameters of the background content edited by the user in the third editing area includes: In response to a triggering operation on the third editing area, displaying the color panel; In response to a selection operation on a second target color selection area on the color panel, coloring parameters corresponding to the second target color selection area are displayed in the third editing area as coloring parameters of the background content edited by the user.

5. The method according to claim 3, characterized in that: Also includes: In response to an editing operation on the first editing area, extracting a keyword in the name of the view mode edited by the user; Based on the keyword, displaying a foreground color panel matching the keyword in the second editing area, and displaying a background color panel matching the keyword in the third editing area; In response to the editing operation on the second editing area, displaying the coloring parameters of the foreground content edited by the user in the second editing area includes: In response to a selection operation on a first target color selection area on the foreground color panel, displaying coloring parameters corresponding to the first target color selection area in the second editing area as coloring parameters of the foreground content edited by the user; In response to the editing operation on the third editing area, displaying the coloring parameters of the background content edited by the user in the third editing area includes: In response to a selection operation on a second target color selection area on the background color panel, coloring parameters corresponding to the second target color selection area are displayed in the third editing area as coloring parameters of the background content edited by the user.

6. The method according to claim 3, characterized in that After saving the edit information of the created view mode, the method further includes: In response to a triggering operation on an automatic view mode creation function, the second view mode is created by using the shading parameters of the foreground content of the first view mode that has been created as the shading parameters of the background content of the second view mode to be created, and by using the shading parameters of the background content of the first view mode as the shading parameters of the foreground content of the second view mode to be created.

7. The method according to any one of claims 3 to 6, characterized in that: The determining of the target shading parameters of the target content to be displayed in the target view mode based on the correspondence between the shading parameters of the target content to be displayed and the view mode in the view interface of the target vehicle-mounted software to be displayed includes: Determining the content type of the target content to be displayed; If the content type is foreground content, determining the shading parameters of the foreground content in the target view mode as target shading parameters of the target content according to the correspondence between the shading parameters of the foreground content and the view mode; If the content type is background content, then according to the correspondence between the shading parameters of the background content and the view mode, the shading parameters of the background content in the target view mode are determined as the target shading parameters of the target content.

8. The method according to claim 1, characterized in that: The setting the target shading parameter for the target content includes: Query the resource code of the target content; If the resource code contains a shading field of the target content, and the shading field is empty, then adding the target shading parameter to the shading field; If the resource code includes a shading field of the target content, and the current value of the shading field is different from the target shading parameter, replacing the current value with the target shading parameter; If the resource code does not include the shading field of the target content, a code is added whose value of the shading field is the target shading parameter.

9. A view effect switching device for vehicle-mounted software, characterized in that: include: A view mode determination module, configured to determine, in response to a view mode switching instruction, a target view mode to be switched according to the view mode switching instruction; A shading parameter determination module, configured to determine a target shading parameter of the target content to be displayed in the target view mode based on a correspondence between the shading parameter of the target content to be displayed and the view mode in the view interface of the target vehicle-mounted software to be displayed; A coloring parameter setting module, used to set the target coloring parameters for the target content; The display module is used to display the view interface of the target vehicle-mounted software after the target content is colored with the target coloring parameters.

10. A vehicle computer, characterized in that: Includes a host computer and a screen connected to each other; The host is used to determine, in response to the view mode switching instruction, a target view mode to be switched according to the view mode switching instruction; Determining target shading parameters of the target content to be displayed in the target view mode based on the correspondence between the shading parameters of the target content to be displayed and the view mode in the view interface of the target vehicle-mounted software to be displayed; Setting the target shading parameters for the target content; The screen is used to display the view interface of the target vehicle-mounted software after the target content is colored with the target coloring parameters.