Vehicle machine screen wallpaper switching method and device, computer equipment and storage medium

By introducing the concepts of base and top images in the screen wallpaper switching of the car computer, and combining the blurring process, the existing wallpaper switching problems are solved, and a richer visual experience and smoother interactivity are achieved.

CN119937883APending Publication Date: 2025-05-06DEEPAL AUTOMOBILE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510042199.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-10
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

The existing automotive screen wallpaper switching method has a single effect, lacking a sense of layering and visual appeal, and high-definition large images take a long time during processing and loading, affecting the user experience.

Method used

By introducing the concepts of base map and top map, the rendering operation is combined with the sliding proportions of touch operations, and the wallpaper is blurred to achieve a sense of hierarchy and rich visual effects.

Benefits of technology

It improves the visual appeal and natural fluency of wallpaper switching, meets users' needs for personalization and interactiveness, reduces wallpaper loading time, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119937883A_ABST
    Figure CN119937883A_ABST
Patent Text Reader

Abstract

The invention relates to the field of communication, and discloses a switching method and device of in-vehicle infotainment device screen wallpaper, computer equipment and a storage medium, and the method comprises the following steps: detecting a touch operation aiming at an in-vehicle infotainment device screen; according to the touch operation, rendering operation is executed on a base picture and a top picture of the vehicle machine wallpaper, the base picture is a currently displayed wallpaper picture, and the top picture is a next wallpaper picture to be switched; when the rendering operation is executed, performing blurring processing on the in-vehicle entertainment product wallpaper to obtain the blurred in-vehicle entertainment product wallpaper; and displaying the blurred vehicle-mounted terminal wallpaper on a vehicle-mounted terminal screen. The problems that the switching effect of the screen wallpaper of the vehicle-mounted terminal is single, and layering sense and visual attraction are lacked are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communications, and in particular to a method and device for switching wallpaper on a vehicle screen, a computer device and a storage medium. Background Art

[0002] With the development of automobile intelligence, the importance of car computer systems in cars has become increasingly prominent. As the main interface for users to interact with the car computer system, the aesthetics and interactivity of its wallpaper are crucial to improving the user experience. Car computer screen wallpaper can not only add personalized colors to the car environment, but also affect the user's driving mood and operating convenience to a certain extent.

[0003] However, the existing methods for switching wallpapers on car screens have many shortcomings. On the one hand, the switching effect is relatively simple, lacking innovation and diversity, and it is difficult to meet users' pursuit of personalization and visual effects. On the other hand, traditional switching usually only involves a single picture, and the concept of base and top pictures is not introduced, which makes the switching process lack a sense of hierarchy and the visual effect is not rich enough. At the same time, the existing technology lacks effective visual processing methods such as blurring, which makes the wallpaper switching appear stiff and lacks visual appeal. In addition, since car wallpapers are usually large high-definition pictures, it will take a long time to process and load, affecting the user experience. Summary of the invention

[0004] In view of this, the embodiments of the present invention provide a method, device, computer equipment and storage medium for switching car screen wallpaper to solve the problem that the switching effect of the car screen wallpaper is single and lacks layering and visual appeal.

[0005] In a first aspect, an embodiment of the present invention provides a method for switching a wallpaper of a vehicle screen, the method comprising:

[0006] Detect touch operations on the vehicle screen;

[0007] Rendering the base image and the top image of the vehicle computer wallpaper according to the touch operation, wherein the base image is the wallpaper image currently displayed, and the top image is the wallpaper image to be switched next;

[0008] When performing the rendering operation, blurring the vehicle computer wallpaper to obtain the blurred vehicle computer wallpaper;

[0009] The blurred vehicle computer wallpaper is displayed on the vehicle computer screen.

[0010] Further, the rendering operation on the base image and the top image of the vehicle computer wallpaper according to the touch operation includes:

[0011] Calculate the sliding ratio of the touch point corresponding to the touch operation;

[0012] The moving ratio of the vehicle wallpaper is calculated based on the sliding ratio of the touch point, and a rendering operation is performed on the base image and the top image in the vehicle wallpaper according to the moving ratio.

[0013] Further, the calculating the moving ratio of the vehicle wallpaper based on the sliding ratio of the touch point includes:

[0014] Obtaining a preset sliding range of the touch point;

[0015] Comparing the sliding ratio with the preset sliding range to obtain a comparison result;

[0016] A first movement ratio of the base image and a second movement ratio of the top image in the vehicle wallpaper are determined according to the comparison result.

[0017] Further, determining a first movement ratio of the bottom image and a second movement ratio of the top image in the vehicle wallpaper according to the comparison result includes:

[0018] If the comparison result is that the sliding ratio is less than the first threshold of the preset sliding range, determining the first moving ratio of the bottom image as the preset minimum value, and calculating the second moving ratio of the top image using the first formula, wherein the preset sliding range includes a first threshold and a second threshold, and the first threshold is less than the second threshold;

[0019] Or, if the comparison result is that the sliding ratio is greater than or equal to the first threshold of the preset sliding range and less than the second threshold of the preset sliding range, the first moving ratio of the bottom image is calculated using the second formula, and the second moving ratio of the top image is calculated using the first formula;

[0020] Or, if the comparison result is that the sliding ratio is greater than or equal to the second threshold of the preset sliding range, the first moving ratio of the base image is calculated using the second formula, and the second moving ratio of the top image is determined to be a preset maximum value.

[0021] Furthermore, the rendering operation is performed on the base image and the top image in the vehicle wallpaper according to the movement ratio, including:

[0022] Obtaining the positive and negative signs of the movement ratio and the preset movement distance;

[0023] Determine the moving direction corresponding to the positive and negative signs of the moving ratio according to the association relationship between the preset sign and the preset direction;

[0024] Calculating the drawing coordinates of the vehicle wallpaper using the preset moving distance and the moving direction;

[0025] A rendering operation is performed on the vehicle computer wallpaper according to the drawing coordinates and the moving direction.

[0026] Furthermore, the blurring the vehicle wallpaper to obtain the blurred vehicle wallpaper includes:

[0027] Get the preset wallpaper width and the sliding ratio corresponding to the touch operation;

[0028] Calculating a blurring start position of the vehicle wallpaper according to the preset wallpaper width and the sliding ratio;

[0029] Calculating the transparency of each position to be blurred in the vehicle wallpaper based on the blur starting position, and determining the blur direction according to the moving direction of the vehicle wallpaper;

[0030] The vehicle computer wallpaper is blurred according to the transparency of the position to be blurred and the blurring direction to obtain the blurred vehicle computer wallpaper.

[0031] Furthermore, the calculating of the transparency of each position to be blurred in the vehicle wallpaper based on the blur starting position includes:

[0032] Get the preset blur length;

[0033] Determine a blur ending position according to the blur length and the blur starting position;

[0034] Detecting whether the position to be blurred in the next frame reaches the blur ending position;

[0035] When the blur ending position is not reached, the transparency of the next frame's blur position is calculated using a third formula.

[0036] Furthermore, the method further comprises:

[0037] Detecting whether the vehicle wallpaper is loaded for the first time;

[0038] If the vehicle wallpaper is loaded for the first time, traverse each pixel of the vehicle wallpaper, extract key information of each pixel, and associate the key information with the corresponding pixel as a virtualization record and store it in a preset space;

[0039] If the vehicle computer wallpaper is not loaded for the first time, the blur record of the previous frame associated with the vehicle computer wallpaper in the preset space is queried, the key information of the pixel to be processed is determined according to the blur record of the previous frame, and the blur operation is performed on the vehicle computer wallpaper based on the key information of the pixel to be processed.

[0040] In a second aspect, an embodiment of the present invention provides a device for switching wallpaper of a vehicle screen, the device comprising:

[0041] A detection module, used to detect touch operations on the vehicle screen;

[0042] An execution module, configured to perform a rendering operation on a base image and a top image of the vehicle computer wallpaper according to the touch operation, wherein the base image is a currently displayed wallpaper image, and the top image is a next wallpaper image to be switched;

[0043] A processing module, used for blurring the vehicle wallpaper when performing a rendering operation to obtain a blurred vehicle wallpaper;

[0044] The display module is used to display the blurred vehicle computer wallpaper on the vehicle computer screen.

[0045] In a third aspect, an embodiment of the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, computer instructions being stored in the memory, and the processor executing the method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0046] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method of the first aspect or any corresponding embodiment thereof.

[0047] In a fifth aspect, an embodiment of the present invention provides a vehicle, comprising: a wallpaper switching system and a controller; wherein the controller stores instructions for controlling the operation of the wallpaper switching system, and the wallpaper switching system is used to execute the method of the above-mentioned first aspect or any corresponding embodiment thereof according to the instructions of the controller.

[0048] The method provided in the embodiment of the present application has the following beneficial effects:

[0049] The method provided in the embodiment of the present application realizes the layered sense of switching the wallpaper of the car screen by introducing the concepts of the base image and the top image, avoids the simple switching of a single image, and greatly enriches the visual effect of the wallpaper switching. In the rendering operation, the wallpaper is blurred, which not only enhances the visual appeal, but also makes the switching process more natural and smooth, effectively solving the problem of the single switching effect of the car screen wallpaper, lack of layering and visual appeal, and bringing a more pleasant visual experience to users.

[0050] Secondly, this method accurately calculates the sliding ratio of the touch point and combines it with the preset sliding range to finely control the movement ratio of the bottom image and the top image according to the situation. This strategy ensures that the wallpaper switching effect is highly matched with the user's touch operation, which not only improves the accuracy and sensitivity of user interaction, but also meets the user's diverse needs for wallpaper switching speed and amplitude under different operation strengths, enhancing the user's sense of control and satisfaction with the wallpaper switching process.

[0051] The method provided in the embodiment of the present application accurately determines the drawing coordinates and the moving direction according to the positive and negative signs of the moving ratio and the preset moving distance, so that the rendering effects of the base map and the top map are more in line with the user's operational expectations. This feature further enhances the intuitiveness and smoothness of user interaction and improves the overall interactive experience. In addition, based on the width value of the car screen and the sliding ratio, the blurring starting position is accurately calculated, and the target transparency is dynamically determined according to the preset blurring length and the position to be blurred, and a soft blurring process is performed according to the blurring direction. This processing strategy not only makes the wallpaper switching process softer and more natural, avoiding the visual discomfort caused by abrupt switching, but also further improves the overall visual effect, bringing a more comfortable visual experience to users.

[0052] The method provided in the embodiment of the present application adopts different processing strategies for wallpapers that are loaded for the first time and those that are not loaded for the first time. For wallpapers that are loaded for the first time, key information is extracted and stored by traversing the pixels, providing a solid foundation for subsequent processing; for wallpapers that are not loaded for the first time, the blurring record of the previous frame is directly queried to perform blurring operations. This strategy not only improves the efficiency of image processing, but also optimizes resource usage, avoids the problems of excessive time consumption and high memory overhead, and provides users with a more efficient and stable wallpaper switching function. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0054] Figure 1 is a flowchart of a method for switching a car screen wallpaper according to an embodiment of the present invention;

[0055] Figure 2 is a schematic diagram of a change in blurring processing of a car wallpaper according to an embodiment of the present invention;

[0056] Figure 3 is a schematic diagram of the process of loading a wallpaper image on a vehicle screen according to an embodiment of the present invention;

[0057] Figure 4 is a structural block diagram of a device for switching wallpaper of a vehicle screen according to an embodiment of the present invention;

[0058] Figure 5 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0059] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0060] According to an embodiment of the present invention, a method, apparatus, computer device and storage medium for switching wallpaper of a vehicle screen are provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0061] In this embodiment, a method for switching the wallpaper of a vehicle screen is provided. Figure 1 is a flow chart of a method for switching a vehicle screen wallpaper according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:

[0062] Step S11, detecting a touch operation on the vehicle computer screen.

[0063] In an embodiment of the present application, detecting touch operations on the vehicle screen is the starting point of the entire vehicle wallpaper processing process, which aims to discover the user's touch actions on the vehicle screen to provide a basis for subsequent operations. These operations include calculating the sliding ratio of the touch point according to the touch operation, and then processing the rendering and blurring of the vehicle wallpaper.

[0064] Step S12, performing rendering operation on the base image and the top image of the vehicle computer wallpaper according to the touch operation, wherein the base image is the wallpaper image currently displayed, and the top image is the wallpaper image to be switched next.

[0065] In the embodiment of the present application, the rendering operation is performed on the base image and the top image of the car wallpaper according to the touch operation, including the following steps A1-A2:

[0066] Step A1, calculating the sliding ratio of the touch point corresponding to the touch operation.

[0067] In the embodiment of the present application, step A1 includes the following steps:

[0068] Step A11, obtaining the starting position and ending position of the touch point in the touch event.

[0069] Specifically, the starting position is the specific position when the user's finger presses the screen, and the ending position is the specific position after the user's finger moves on the screen. By obtaining the starting and ending positions of the touch point, the user's touch trajectory on the screen can be determined. For example, if the user quickly slides his finger from left to right on the screen, the distance between the starting position and the ending position will be relatively large; if the user only touches the screen lightly without moving his finger, the starting position and the ending position are very close or even the same.

[0070] Step A12, determining a first horizontal coordinate corresponding to the starting position and a second horizontal coordinate corresponding to the ending position according to a preset coordinate axis.

[0071] Specifically, the car screen establishes a coordinate axis with the upper left corner as the origin, with the right as the positive direction of the X-axis and the downward as the positive direction of the Y-axis. According to the preset coordinate axis, the coordinate value of the starting position of the touch point on the X-axis is determined, that is, the first horizontal coordinate; at the same time, the coordinate value of the ending position of the touch point on the X-axis is determined, that is, the second horizontal coordinate. By determining the horizontal coordinate, the position of the touch point can be quantified into a specific value for subsequent calculation of the horizontal movement distance of the finger. For example, if the first horizontal coordinate of the starting position is 100 and the second horizontal coordinate of the ending position is 200, it means that the user has moved a certain distance to the right in the horizontal direction.

[0072] Step A13, obtaining the width value of the vehicle screen, and calculating the sliding ratio of the touch point based on the width value, the first horizontal coordinate and the second horizontal coordinate.

[0073] Specifically, the width value (width) of the vehicle screen is obtained. The width value is a fixed value, which represents the size of the vehicle screen in the horizontal direction. The sliding ratio P of the touch point is calculated by the following formula:

[0074]

[0075] Among them, P is the sliding ratio, width is the width of the car screen, moveX is the first horizontal coordinate corresponding to the starting position, and downX is the second horizontal coordinate corresponding to the ending position.

[0076] As an example, if the width of the car screen is 800 pixels, the first horizontal coordinate of the starting position is 300, and the second horizontal coordinate of the ending position is 400, then the sliding ratio is 0.125 (i.e. P = (400-300) ÷ 800 = 0.125), which means that the finger moves 12.5% ​​of the screen width to the right. This sliding ratio will be used to determine the movement ratio of the car wallpaper and perform blur processing and other operations.

[0077] Step A2, calculating the movement ratio of the vehicle wallpaper based on the sliding ratio of the touch point, and performing rendering operations on the base image and the top image in the vehicle wallpaper according to the movement ratio.

[0078] It should be noted that in the car wallpaper, the base image is the currently displayed image, and the top image is the next image to be switched. When the user slides, the top image gradually appears, and the base image is replaced with the sliding degree. This design can achieve a smooth switching effect, allowing users to experience a coherent visual experience. By determining the movement ratio by sliding the touch point, the display ratio and position of the base image and the top image can be accurately controlled to avoid abrupt changes in the picture. When the sliding ratio is small, the base image and the top image change little, giving the user a hint to switch; when the sliding ratio is large, the base image is replaced by the top image to complete the switch. This method increases the fun and interactivity of car operation and improves the user experience.

[0079] In the embodiment of the present application, the moving ratio of the vehicle wallpaper is calculated based on the sliding ratio of the touch point, including the following steps B1-B3:

[0080] Step B1, obtaining a preset sliding range of the touch point.

[0081] Specifically, the preset sliding range is composed of a first threshold and a second threshold, wherein the first threshold is less than the second threshold. The two thresholds represent different sliding ranges, respectively, which are used to subsequently determine the movement ratio of the base map and the top map. The first threshold is usually set to 0.2 (i.e. 20%), indicating that the first 20% of the sliding progress does not cause the base map to move; the second threshold is usually set to 0.8 (i.e. 80%), indicating that the base map reaches the maximum movement distance at 80% of the sliding progress, and the top map starts or has completed its movement. In addition, the choice of threshold can be adjusted according to the actual application scenario. For example, if you want the base map to start moving earlier or later, you can adjust the first threshold accordingly; if you want the top map to move faster or slower, you can adjust the second threshold.

[0082] Step B2, comparing the sliding ratio with the preset sliding range to obtain a comparison result.

[0083] Specifically, the sliding ratio is compared with the first threshold and the second threshold specified in the preset sliding range to obtain a comparison result, wherein the comparison result includes: the sliding ratio is less than the first threshold, that is, lower than the preset sliding range; the sliding ratio is greater than the first threshold and less than the second threshold, that is, within the preset sliding range; the sliding ratio is greater than the second threshold, that is, higher than the preset sliding ratio. Each comparison result corresponds to a moving ratio determination method.

[0084] Step B3, determining a first movement ratio of the bottom image and a second movement ratio of the top image in the vehicle wallpaper according to the comparison result.

[0085] In the embodiment of the present application, step B3 includes the following steps B31-B33:

[0086] Step B31, if the comparison result is that the sliding ratio is less than the first threshold of the preset sliding range, the first moving ratio of the base image is determined to be the preset minimum value, and the second moving ratio of the top image is calculated using the first formula, wherein the preset sliding range includes the first threshold and the second threshold, and the first threshold is less than the second threshold.

[0087] Specifically, the comparison result is that the sliding ratio is lower than the preset sliding range, that is, when the sliding ratio is less than the first threshold (such as 20%) (ie, P<θ1), the bottom image does not move, that is, its movement ratio is 0 (minimum value). At this time, the movement ratio of the top image is calculated according to the sliding ratio, but since the bottom image does not move, the movement ratio of the top image can be calculated by the first formula, which is as follows:

[0088]

[0089] Wherein, moveP is the moving ratio, P is the sliding ratio of the contact point, θ1 is the first threshold, and θ2 is the second threshold.

[0090] Step B32, if the comparison result is that the sliding ratio is greater than or equal to the first threshold of the preset sliding range and less than the second threshold of the preset sliding range, the first moving ratio of the base image is calculated using the second formula, and the second moving ratio of the top image is calculated using the first formula.

[0091] Specifically, the comparison result is that the sliding ratio is within the preset sliding range, that is, when the sliding ratio is between the first threshold and the second threshold (that is, θ1≤P<θ2), the base map starts to move, and its first movement ratio is calculated according to the sliding ratio and the second formula. The second formula is as follows:

[0092]

[0093] Wherein, moveP is the moving ratio, P is the sliding ratio of the contact point, and θ2 is the second threshold.

[0094] At the same time, the top image also continues to move, and its second movement ratio is calculated according to the first formula of step B2. At this stage, the bottom image and the top image are both moving, but the movement speed and ratio are different.

[0095] Step B33, if the comparison result is that the sliding ratio is greater than or equal to the second threshold of the preset sliding range, the first moving ratio of the bottom image is calculated using the second formula, and the second moving ratio of the top image is determined to be the preset maximum value.

[0096] Specifically, the comparison result is that the sliding ratio is higher than the preset sliding range, that is, when the sliding ratio is greater than or equal to the second threshold (such as 80%) (ie, P ≥ θ2), the bottom image continues to move and reaches its maximum moving distance (calculated according to the second formula). At this time, the top image also reaches its final position, that is, the moving ratio is the maximum value (usually 1 or -1, indicating that it is completely moved to one side).

[0097] The method provided in the embodiment of the present application determines the movement ratio of the bottom image and the top image by comparing the sliding ratio with the preset sliding range. These steps work together to realize the function of controlling the movement and switching of the car wallpaper according to the user's sliding operation. By adjusting the calculation formula of the threshold and the movement ratio, the sliding effect and user experience can be flexibly customized.

[0098] In the embodiment of the present application, the rendering operation is performed on the base image and the top image in the vehicle wallpaper according to the moving ratio, including the following steps C1-C4:

[0099] Step C1, obtaining the positive and negative signs of the movement ratio and the preset movement distance.

[0100] Specifically, since the positive and negative signs determine the direction of wallpaper movement, it is necessary to determine the positive and negative signs of the movement ratio (moveP). The positive and negative signs of the movement ratio can be obtained through simple conditional judgments. For example, if moveP>0, it means that the finger slides from left to right and the movement ratio is positive; conversely, if moveP<0, it means that the finger slides from right to left and the movement ratio is negative. The preset movement distance (Distance) is the maximum distance the image moves, usually set to one-fifth of the screen width.

[0101] Step C2, determining the moving direction corresponding to the positive and negative signs of the moving ratio according to the association relationship between the preset sign and the preset direction.

[0102] Specifically, the positive and negative signs of the movement ratio are used as quantitative information to infer the wallpaper movement direction expected by the user. The preset symbols include positive and negative symbols, which establish a mapping relationship with specific movement directions. This mapping is based on the design of user operation and wallpaper movement logic, and aims to convert the user's touch operation on the screen (the movement ratio sign obtained by calculation) into the visual movement direction of the wallpaper on the screen.

[0103] As an example, a positive sign corresponds to the wallpaper moving from left to right, and a negative sign corresponds to the wallpaper moving from right to left. This means that when the calculated movement ratio is a positive value, based on this preset association, it can be inferred that the user is performing an operation intention to slide the screen from left to right, so the wallpaper should move from left to right; conversely, when the movement ratio is a negative value, it indicates that the user's operation is to slide the screen from right to left, and the wallpaper should move from right to left accordingly. This association relationship is a key part of the entire wallpaper movement control logic. It enables the system to accurately respond to the user's touch operation and provides directional guidance for the subsequent calculation of drawing coordinates and the realization of dynamic movement effects of wallpaper.

[0104] Step C3, using the preset moving distance and moving direction to calculate the drawing coordinates of the car wallpaper.

[0105] Specifically, when the moving ratio is a positive value, it means that the user wants to move the wallpaper from left to right. At this time, the first drawing coordinates of the car wallpaper (the coordinates X1 of the bottom image and the coordinates X2 of the top image) are calculated according to the moving ratio moveP and the preset moving distance Distance. The specific calculation formula is as follows:

[0106] X1=Distance*moveP1

[0107] X2=Distance(1-moveP1)

[0108] By adjusting the value of moveP, the bottom image does not move when the sliding ratio is 20%, and then as the sliding ratio increases, the bottom image and the top image gradually move to the right. After calculating the drawing coordinates of the bottom image and the top image, the image is rendered according to the new coordinates to achieve the effect of moving from left to right.

[0109] When the moving ratio is a negative value, it means that the user wants to move the wallpaper from right to left. At this time, the second drawing coordinates of the car wallpaper (the coordinates X1 of the bottom image and the coordinates X2 of the top image) are calculated according to the moving ratio moveP and the preset moving distance Distance. The specific calculation formula is as follows:

[0110] X1=-(Distance*moveP1)

[0111] X2=-Distance(1+moveP1)

[0112] By adjusting the value of moveP, the base image remains stationary when the sliding ratio is at the first 20%. Then, as the sliding ratio increases, the base image and the top image gradually move to the left. After calculating the drawing coordinates of the base image and the top image, the image is rendered according to the new coordinates to achieve a moving effect from right to left.

[0113] Step C4, performing rendering operation on the vehicle computer wallpaper according to the drawing coordinates and the moving direction.

[0114] Specifically, the value of moveP is adjusted to ensure that the bottom image does not move within the first 20% of the sliding range. Then, as the sliding ratio increases, the bottom image and the top image gradually move in the determined moving direction until they reach 80% of the sliding range and stop moving. After calculating the drawing coordinates of the bottom image and the top image, the bottom image and the top image are rendered according to the new coordinates to achieve the moving effect of sliding in the direction of the finger sliding.

[0115] Step S13, when performing the rendering operation, blurring the vehicle computer wallpaper to obtain the blurred vehicle computer wallpaper.

[0116] In the embodiment of the present application, blurring the vehicle wallpaper to obtain the blurred vehicle wallpaper includes the following steps D1-D4:

[0117] Step D1, obtaining a preset wallpaper width and a sliding ratio corresponding to a touch operation.

[0118] Specifically, the preset wallpaper width is an important basic parameter in the entire blurring process, which is related to the physical size of the car screen, the display resolution or the original settings of the wallpaper, and is used to calculate the starting position of blurring. The sliding ratio refers to the ratio of the current sliding distance to the total slidable distance of the screen when the user performs a touch and slide operation on the car screen. By obtaining this ratio, it is possible to combine the preset wallpaper width to determine the starting position of the blurring of the car wallpaper under different sliding conditions, thereby achieving a dynamic blurring effect that matches the user's touch operation. For example, if the user slides his finger from right to left, the sliding ratio increases, and the blurring starting position will change accordingly based on this ratio and the preset wallpaper width.

[0119] Step D2, calculating the blur starting position of the vehicle wallpaper according to the preset wallpaper width and the sliding ratio.

[0120] Specifically, when your finger slides on the car screen, the percentage of the slide and the width of the screen will determine where the blur should start. The calculation method varies depending on the sliding direction:

[0121] When sliding from right to left (i.e. P>0), it means that the finger slides from left to right. At this time, the calculation formula for the blur starting position is:

[0122] Start=(1-P)*width

[0123] Among them, Start is the starting position of blur, P is the sliding ratio, and width is the width value of the car screen.

[0124] As you slide your finger to the right, the blur starting point moves from the right edge of the screen to the left.

[0125] When sliding from left to right (i.e. P<0), it means that the finger slides from right to left. At this time, the calculation formula for the blur starting position is:

[0126] Start=P*-1*width

[0127] Among them, Start is the starting position of blur, P is the sliding percentage, and width is the width of the car screen.

[0128] As you slide your finger to the left, the blur starting point moves from the left edge of the screen to the right.

[0129] In this way, it can be ensured that the starting position of the blur is closely related to the sliding motion of the finger, thereby providing a smooth visual effect.

[0130] Step D3, calculating the transparency of each position to be blurred in the vehicle wallpaper based on the blur starting position, and determining the blur direction according to the moving direction of the vehicle wallpaper.

[0131] In the embodiment of the present application, the transparency of each position to be blurred in the vehicle wallpaper is calculated based on the blur starting position, including the following steps E1-E4:

[0132] Step E1, obtaining a preset blur length.

[0133] Specifically, the preset blur length is a preset value, indicating the blur range or length, and is usually set to one fifth of the screen width.

[0134] Step E2, determining the blur ending position according to the blur length and the blur starting position.

[0135] Specifically, the difference between the blur starting position (Start) and the preset blur length (Length) is calculated. This difference represents the blur ending position, that is, blurring starts from the starting position and ends at this position. The calculation formula is:

[0136] d=Start+Length

[0137] Where d is the difference between the blur start position and the preset blur length, Start is the blur start position, and Length is the preset blur length. This difference will be used to determine the target transparency of the pixel point later.

[0138] Step E3, detecting whether the position to be blurred in the next frame reaches the blur ending position.

[0139] Specifically, the position to be blurred in the next frame (Column) refers to the position of the pixel currently being processed, which is located between the blur starting position and the blur ending position. Compare the position to be blurred with the blur starting position and the difference calculated previously (i.e., blur ending position). The purpose of the comparison is to determine the specific position of the position to be blurred within the blur range, thereby determining its target transparency. If the position to be blurred is greater than the blur starting position and less than or equal to the difference, it means that the position is within the blur range. If the position to be blurred is less than or equal to the blur starting position, it means that the position is outside the blur range and does not need to be blurred. If the position to be blurred is greater than the difference, it means that the position is also outside the blur range and also does not need to be blurred.

[0140] Step E4, when the blur end position is not reached, the transparency of the position to be blurred in the next frame is calculated using the third formula.

[0141] Specifically, if the position to be blurred is greater than the blur starting position and is not within the blur range (i.e., greater than the difference), it means that the position does not need to be blurred, so its target transparency should be set to the maximum transparency (usually 255, indicating complete opacity). This step ensures that the non-blurred area maintains its original clarity. If the position to be blurred is less than or equal to the difference, and is also less than or equal to the blur starting position, this means that the position is at the end of the blur range and should be completely blurred. Therefore, the target transparency is set to the minimum transparency (usually 0, indicating complete transparency). This step ensures that the blur effect gradually increases within the specified range.

[0142] If the position to be blurred is between the blur starting position and the difference, it is within the blur range, and the target transparency needs to be calculated based on its specific position. The third formula is used here for calculation:

[0143] For blurring from left to right:

[0144]

[0145] For blur from right to left:

[0146]

[0147] Among them, Alpha is the target transparency, Start is the blur starting position, Column is the position to be blurred, and Length is the preset blur length. This formula linearly interpolates the transparency value according to the distance between the position to be blurred and the blur starting position and end position to ensure a smooth transition of the blur effect.

[0148] The method provided in the embodiment of the present application can dynamically calculate the blur starting position, blur length and target transparency of each pixel point according to the sliding ratio of the finger and the width of the vehicle screen, thereby achieving the blur processing effect of the vehicle wallpaper. This processing method not only provides a smooth visual effect, but also enhances the interactivity between the user and the vehicle system.

[0149] In the embodiment of the present application, the blur direction is determined according to the moving direction of the car wallpaper, and the implementation method includes:

[0150] Method 1, based on the general rules of horizontal and vertical movement: If the car wallpaper moves from left to right, the blurring direction is from right to left. The blurring process can be imagined as a "visual smear" effect. When the wallpaper moves to the right, the blurring starts from the right, giving the user a feeling that the wallpaper gradually becomes clear from a distance, just like an object approaches the observer from the right side of the screen, the right part becomes clear first, and the left part becomes blurred and gradually disappears. If the car wallpaper moves from right to left, the blurring direction is from left to right. At this time, as the wallpaper slides to the left, the blurring starts from the left, simulating the visual effect of an object entering the field of view from the left and gradually becoming clear, while the right part gradually becomes blurred.

[0151] Method 2, based on the diagonal movement rule: the blur direction is from the lower left to the upper right. This diagonal blur is opposite to the wallpaper movement direction, and can also produce a spatial depth effect in the diagonal movement, making the wallpaper movement more three-dimensional. For example, in some game interfaces with dynamic effects or car themes of a specific style, this diagonal blur can enhance the dynamic sense and visual impact of the picture.

[0152] Method 3: Dynamic adjustment based on composite moving direction:

[0153] Diagonal movement (mixed horizontal and vertical components): When the wallpaper moves in a diagonal direction with both horizontal and vertical components, the blur direction can be dynamically determined based on the ratio of the horizontal and vertical movement components. For example, if the horizontal rightward movement component is larger, the blur direction is more inclined to be from right to left; if the vertical downward movement component is larger, the blur direction is more inclined to be from bottom to top. Through this dynamic adjustment, a reasonable blur effect can be maintained in complex diagonal movement situations, making the inverse relationship between the blur direction and the movement direction more consistent with visual logic and improving user experience.

[0154] Complex curve movement (caused by multi-touch or special gestures): For some complex touch operations, such as the curved movement path generated by multi-touch, the movement path can be segmented. Each small segment is approximately a straight line segment, and the blur direction is determined according to the movement direction of the small segment, and a smooth transition is performed between adjacent small segments to ensure that the entire blur process still maintains a coherent and natural visual effect under complex movement trajectories. This method can cope with a variety of user operation methods and provide more flexible and high-quality blur effects.

[0155] Step D4, blurring the vehicle computer wallpaper according to the transparency of the position to be blurred and the blurring direction, to obtain the blurred vehicle computer wallpaper.

[0156] As an example, Figure 2 As shown, the dotted line marked area is the position of the previous frame blur processing, and the solid line marked area is the current frame blur position. As the finger slides from left to right on the car screen, the blur starting position gradually moves from the right edge of the screen to the left, and as the sliding continues, the new area gradually enters the blur range, and the original blurred area may be further processed or restored to normal display according to its position. This dynamic blur processing method allows users to experience a smoother and more natural visual experience when operating the car wallpaper, enhancing the interactivity between the user and the car system. At the same time, by accurately calculating the target transparency of each pixel and processing it according to the blur direction, the smooth transition and authenticity of the blur effect can be ensured.

[0157] Step S14, displaying the blurred car computer wallpaper on the car computer screen.

[0158] In the embodiment of the present application, after a series of complex processes such as detection of touch operation, rendering of wallpaper base and top images according to touch operation, and blurring, the final result of blurring is presented. By interacting with the display module of the vehicle screen, according to the display parameters of the screen (such as resolution, refresh rate, color mode, etc.) and adopting a suitable display update mechanism (such as double buffering technology to avoid flickering and freezing), the blurred wallpaper containing pixel information, transparency information, etc. is accurately mapped to the corresponding position of the screen, and the wallpaper sliding and blurring effects generated by the user's touch operation are intuitively presented to the user, completing the last link of the user's interaction with the vehicle system, and bringing the user a smooth, natural and interactive visual experience.

[0159] In the embodiment of the present application, the method further includes the following steps F1-F3:

[0160] Step F1, checking whether the vehicle wallpaper is loaded for the first time.

[0161] Specifically, in order to determine whether the current car wallpaper is loaded into the memory for the first time, it can be achieved by checking whether there is already pixel information or blur records associated with the wallpaper in the memory. If it is the first time loading, some initialization work is required, including parsing the image and traversing all pixels to extract key information; if it is not the first time loading, the previously stored information can be used to optimize the processing process.

[0162] Step F2, if the car wallpaper is loaded for the first time, traverse each pixel of the car wallpaper, extract key information of each pixel, and associate the key information with the corresponding pixel as a virtual record and store it in a preset space.

[0163] Specifically, when it is determined that the car wallpaper is loaded for the first time, traverse each pixel of the wallpaper, that is, decode the picture and access its pixel data. For each pixel, extract its key information, such as color value (RGB value or ARGB value), position information, etc., which are necessary for subsequent blur processing. The extracted key information needs to be associated with the corresponding pixel and stored in a preset space. This space can be a data structure in memory, such as a two-dimensional array, a hash table, or a custom image data structure. The purpose of associative storage is to be able to quickly locate specific pixels and their key information in subsequent processing. Among them, blur records refer to information about how each pixel is blurred, including its original key information and blur parameters (such as transparency). These records will be used to restore or update the state of the pixel in subsequent frames.

[0164] Step F3, if the car wallpaper is not loaded for the first time, query the blur record of the previous frame associated with the car wallpaper in the preset space, determine the key information of the pixel to be processed according to the blur record of the previous frame, and perform a blur operation on the car wallpaper based on the key information of the pixel to be processed.

[0165] Specifically, when it is determined that the car wallpaper is not loaded for the first time, the blur record of the previous frame associated with the wallpaper in the preset space is first queried, which contains the key information and blur status of the previously processed pixels. By comparing the blur records of the current frame and the previous frame, it can be determined which pixels need to be updated or reprocessed. This usually involves checking whether the position, color value or transparency of the pixel has changed. Based on the key information and blur parameters of the pixel to be processed, a blur operation is performed on the car wallpaper. This may include adjusting the transparency, color value of the pixel, or applying other visual effects to create the desired blur effect. When performing a blur operation, the previously stored blur records can also be used to optimize the processing process, such as reducing the amount of calculation by only updating the pixels that have changed.

[0166] The method provided in the embodiment of the present application can effectively manage the loading and blurring process of the car wallpaper, thereby improving the processing speed and user experience. In particular, when processing high-definition large images, this optimization method can significantly reduce memory overhead and processing time.

[0167] Figure 3 FIG. 1 is a schematic diagram of a process of loading a wallpaper image on a vehicle screen according to an embodiment of the present invention. Figure 3 As shown, the process includes:

[0168] The first is the initialization stage, which loads three pictures and stores them in the cache. These three pictures serve as permanent resources and lay the foundation for subsequent wallpaper switching.

[0169] Then, when the user swipes, different actions are triggered:

[0170] If the user slides to the right, the system will search for the next image in the cache pool and load it. If there is no next image, a new image will be loaded and put into the cache pool, and the relationship between the currently displayed image and the next image will be updated.

[0171] If the user slides to the left, the currently displayed image will change to the previous image. The new previous image is obtained from the cache pool. If there is no previous image in the cache pool, the new previous image is loaded and put into the cache pool, and the relationship between the current image and the next image is updated at the same time.

[0172] When the sliding ends, the sliding position will be restored and the corresponding image processing will be performed according to the sliding direction.

[0173] Specifically, the cache pool always keeps three resident images, and displays the images in a lazy loading form of "destroy one and load another". This method can effectively control memory overhead and prevent a sharp increase in memory due to too many images. Through such a carefully designed process, the smooth switching and efficient loading of the car screen wallpaper can be achieved, while the memory resources can be reasonably managed, thereby improving the user experience.

[0174] In this embodiment, a switching device for the car screen wallpaper is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and will not be repeated here. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0175] This embodiment provides a device for switching wallpaper of a vehicle screen. Figure 4 As shown, including:

[0176] A detection module 41 is used to detect a touch operation on the vehicle screen;

[0177] An execution module 42 is used to perform a rendering operation on a base image and a top image of the vehicle computer wallpaper according to the touch operation, wherein the base image is a currently displayed wallpaper image, and the top image is a next wallpaper image to be switched;

[0178] The processing module 43 is used to perform blur processing on the vehicle wallpaper when performing the rendering operation to obtain the blurred vehicle wallpaper;

[0179] The display module 44 is used to display the blurred vehicle computer wallpaper on the vehicle computer screen.

[0180] In an optional embodiment of the present application, the execution module 42 is used to calculate the sliding ratio of the touch point corresponding to the touch operation; calculate the movement ratio of the car wallpaper based on the sliding ratio of the touch point, and perform rendering operations on the base image and the top image in the car wallpaper according to the movement ratio.

[0181] In an optional embodiment of the present application, the execution module 42 is used to obtain a preset sliding range of the touch point; compare the sliding ratio with the preset sliding range to obtain a comparison result; and determine the first movement ratio of the base image and the second movement ratio of the top image in the car wallpaper according to the comparison result.

[0182] In an optional embodiment of the present application, the execution module 42 is used to determine that the first moving ratio of the base image is a preset minimum value, and use the first formula to calculate the second moving ratio of the top image if the comparison result is that the sliding ratio is less than the first threshold of the preset sliding range; or, if the comparison result is that the sliding ratio is greater than or equal to the first threshold of the preset sliding range and less than the second threshold of the preset sliding range, use the second formula to calculate the first moving ratio of the base image, and use the first formula to calculate the second moving ratio of the top image; or, if the comparison result is that the sliding ratio is greater than or equal to the second threshold of the preset sliding range, use the second formula to calculate the first moving ratio of the base image, and determine that the second moving ratio of the top image is a preset maximum value.

[0183] In an optional embodiment of the present application, the execution module 42 is used to obtain the positive and negative signs of the moving ratio and the preset moving distance; determine the moving direction corresponding to the positive and negative signs of the moving ratio according to the association between the preset sign and the preset direction; calculate the drawing coordinates of the car wallpaper using the preset moving distance and the moving direction; and perform rendering operations on the car wallpaper according to the drawing coordinates and the moving direction.

[0184] In an optional implementation of the present application, the processing module 43 is used to obtain a preset wallpaper width and a sliding ratio corresponding to a touch operation; calculate the blurring starting position of the vehicle wallpaper according to the preset wallpaper width and the sliding ratio; calculate the transparency of each position to be blurred in the vehicle wallpaper based on the blurring starting position, and determine the blurring direction according to the moving direction of the vehicle wallpaper; blur the vehicle wallpaper according to the transparency of the position to be blurred and the blurring direction to obtain the blurred vehicle wallpaper.

[0185] In an optional embodiment of the present application, the processing module 43 is used to obtain a preset blur length; determine the blur end position based on the blur length and the blur start position; detect whether the blur position of the next frame reaches the blur end position; when the blur end position is not reached, calculate the transparency of the blur position of the next frame using the third formula.

[0186] In an optional embodiment of the present application, the device also includes: a storage module, used to detect whether the car computer wallpaper is loaded for the first time; if the car computer wallpaper is loaded for the first time, traversing each pixel point of the car computer wallpaper, extracting the key information of each pixel point, and associating the key information with the corresponding pixel point as a blur record and storing it in a preset space; if the car computer wallpaper is not loaded for the first time, querying the blur record of the previous frame associated with the car computer wallpaper in the preset space, determining the key information of the pixel point to be processed according to the blur record of the previous frame, and performing a blur operation on the car computer wallpaper based on the key information of the pixel point to be processed.

[0187] See also Figure 5 , Figure 5 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 5 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system).

[0188] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0189] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.

[0190] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created by the use of a computer device based on the presentation of a small program landing page, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0191] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0192] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.

[0193] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0194] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A method for switching a car screen wallpaper, characterized in that: The method comprises: Detect touch operations on the vehicle screen; Rendering the base image and the top image of the vehicle computer wallpaper according to the touch operation, wherein the base image is the wallpaper image currently displayed, and the top image is the wallpaper image to be switched next; When performing the rendering operation, blurring the vehicle computer wallpaper to obtain the blurred vehicle computer wallpaper; The blurred vehicle computer wallpaper is displayed on the vehicle computer screen.

2. The method according to claim 1, characterized in that The performing a rendering operation on the base image and the top image of the vehicle computer wallpaper according to the touch operation includes: Calculate the sliding ratio of the touch point corresponding to the touch operation; The moving ratio of the vehicle wallpaper is calculated based on the sliding ratio of the touch point, and a rendering operation is performed on the base image and the top image in the vehicle wallpaper according to the moving ratio.

3. The method according to claim 2, characterized in that The calculating the moving ratio of the vehicle wallpaper based on the sliding ratio of the touch point includes: Obtaining a preset sliding range of the touch point; Comparing the sliding ratio with the preset sliding range to obtain a comparison result; A first movement ratio of the base image and a second movement ratio of the top image in the vehicle wallpaper are determined according to the comparison result.

4. The method according to claim 3, characterized in that The determining, according to the comparison result, a first movement ratio of the bottom image and a second movement ratio of the top image in the vehicle wallpaper includes: If the comparison result is that the sliding ratio is less than the first threshold of the preset sliding range, determining the first moving ratio of the bottom image as the preset minimum value, and calculating the second moving ratio of the top image using the first formula, wherein the preset sliding range includes a first threshold and a second threshold, and the first threshold is less than the second threshold; Or, if the comparison result is that the sliding ratio is greater than or equal to the first threshold of the preset sliding range and less than the second threshold of the preset sliding range, the first moving ratio of the bottom image is calculated using the second formula, and the second moving ratio of the top image is calculated using the first formula; Or, if the comparison result is that the sliding ratio is greater than or equal to the second threshold of the preset sliding range, the first moving ratio of the base image is calculated using the second formula, and the second moving ratio of the top image is determined to be a preset maximum value.

5. The method according to claim 2, characterized in that: The performing rendering operation on the base image and the top image in the vehicle wallpaper according to the movement ratio includes: Obtaining the positive and negative signs of the movement ratio and the preset movement distance; Determine the moving direction corresponding to the positive and negative signs of the moving ratio according to the association relationship between the preset sign and the preset direction; Calculating the drawing coordinates of the vehicle wallpaper using the preset moving distance and the moving direction; A rendering operation is performed on the vehicle computer wallpaper according to the drawing coordinates and the moving direction.

6. The method according to claim 1, characterized in that The blurring the vehicle wallpaper to obtain the blurred vehicle wallpaper includes: Get the preset wallpaper width and the sliding ratio corresponding to the touch operation; Calculating a blurring start position of the vehicle wallpaper according to the preset wallpaper width and the sliding ratio; Calculating the transparency of each position to be blurred in the vehicle wallpaper based on the blur starting position, and determining the blur direction according to the moving direction of the vehicle wallpaper; The vehicle computer wallpaper is blurred according to the transparency of the position to be blurred and the blurring direction to obtain the blurred vehicle computer wallpaper.

7. The method according to claim 6, characterized in that The calculating the transparency of each position to be blurred in the vehicle wallpaper based on the blur starting position includes: Get the preset blur length; Determine a blur ending position according to the blur length and the blur starting position; Detecting whether the position to be blurred in the next frame reaches the blur ending position; When the blur ending position is not reached, the transparency of the next frame's blur position is calculated using a third formula.

8. The method according to claim 1, characterized in that The method further comprises: Detecting whether the vehicle wallpaper is loaded for the first time; If the vehicle wallpaper is loaded for the first time, traverse each pixel of the vehicle wallpaper, extract key information of each pixel, and associate the key information with the corresponding pixel as a virtualization record and store it in a preset space; If the vehicle computer wallpaper is not loaded for the first time, the blur record of the previous frame associated with the vehicle computer wallpaper in the preset space is queried, the key information of the pixel to be processed is determined according to the blur record of the previous frame, and the blur operation is performed on the vehicle computer wallpaper based on the key information of the pixel to be processed.

9. A device for switching wallpaper of a vehicle screen, characterized in that: The device comprises: A detection module, used to detect touch operations on the vehicle screen; An execution module, configured to perform a rendering operation on a base image and a top image of the vehicle computer wallpaper according to the touch operation, wherein the base image is a currently displayed wallpaper image, and the top image is a next wallpaper image to be switched; A processing module, used for blurring the vehicle wallpaper when performing a rendering operation to obtain a blurred vehicle wallpaper; The display module is used to display the blurred vehicle computer wallpaper on the vehicle computer screen.

10. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method according to any one of claims 1 to 8 by executing the computer instructions.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 8.

12. A vehicle, characterized in that: The vehicle includes: a wallpaper switching system and a controller; wherein the controller stores instructions for controlling the operation of the wallpaper switching system, and the wallpaper switching system is used to execute the method for switching the vehicle screen wallpaper according to any one of claims 1 to 8 according to the instructions of the controller.