Display method and display device of vehicle wallpaper and vehicle
By responding to the third-party wallpaper selection operation in the vehicle cockpit, obtaining and displaying the logo of the target screen, and calling the system interface to display the third-party wallpaper, the problem of lack of wallpaper resources is solved and the user experience is improved.
Patent Information
- Application Number
- CN202410801714.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-10-11
AI Technical Summary
In the existing technology, wallpaper resources for vehicle cockpits are scarce, and wallpaper resources in third-party wallpaper applications cannot be applied in vehicle cockpits, affecting user experience.
By responding to the wallpaper selection operation in the third-party application, the preview interface is displayed, the identification of the target screen is obtained, and the system interface of the target screen is called to display the third-party wallpaper on the target screen to ensure that the wallpaper resources are applied in the vehicle cockpit.
It realizes the application of third-party wallpaper resources to the vehicle cockpit, improves the user experience, and meets the wallpaper setting needs of multi-screen and single-screen.
Smart Images

Figure CN118760384A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicles, and more specifically, to a method for displaying vehicle wallpaper, a display device, and a vehicle in the field of vehicles. Background Art
[0002] At present, the multi-screen configuration of vehicle cockpits has become the mainstream trend of vehicle cockpit design, including the central control screen, the co-pilot screen, the rear screen (the rear armrest screen and the rear entertainment screen), etc. In the existing technology, cockpit wallpaper applications are usually independently developed by automobile manufacturers, and wallpaper resources are relatively scarce, which affects the user experience.
[0003] There are rich and high-quality wallpaper resources in third-party applications (for example, third-party wallpaper malls); but due to inconsistent standards, the wallpaper resources in third-party wallpaper applications cannot be applied in vehicle cockpits; therefore, how to apply the wallpaper resources in third-party wallpaper applications in vehicle cockpits to improve user experience is a technical problem that needs to be solved at present. Summary of the invention
[0004] The present application provides a method for displaying vehicle wallpapers, a display device and a vehicle. The method can respond to the selection operation and the setting operation of the target wallpaper in a third-party application, and display the target wallpaper in the target screen by calling the corresponding target system interface identified by the target screen; ensuring that the third-party wallpapers can be applied in the vehicle cabin, thereby improving the user experience.
[0005] In a first aspect, a vehicle display method is provided, the display method comprising:
[0006] In response to a selection operation of a target wallpaper in a third-party application, displaying a preview interface of the target wallpaper;
[0007] If a wallpaper setting operation for a target screen among at least one screen in the vehicle is detected in the preview interface, an identifier of the target screen is obtained; wherein the wallpaper setting operation is used to set the wallpaper of the target screen;
[0008] The target wallpaper is displayed on the target screen by calling a target system interface corresponding to the identifier of the target screen.
[0009] In an embodiment of the present application, in response to a selection operation of a target wallpaper in a third-party application, a preview interface is displayed; if a wallpaper setting operation for a target screen is detected in the preview interface, an identifier of the target screen is obtained; and a target system interface corresponding to the identifier is called to display the target wallpaper on the target screen; since the wallpaper setting operation is a wallpaper setting operation for a target screen in at least one screen in the vehicle; therefore, the target screen for wallpaper setting can be determined through the wallpaper setting operation; and according to the interface of the target system corresponding to the identifier of the target screen, the target wallpaper is displayed on the target screen; that is, it is ensured that when there are multiple screens or a single screen in the vehicle, the identifier of the target screen can be obtained, and the target system interface corresponding to the identifier is called to display the target wallpaper on the target screen of the vehicle; so as to realize the application of wallpaper resources in third-party applications to the vehicle cockpit, thereby improving the user experience.
[0010] In combination with the first aspect, in some implementations of the first aspect, in response to a selection operation of a target wallpaper in a third-party application, displaying a preview interface of the target wallpaper includes:
[0011] In response to the selection operation of the target wallpaper in the third-party application, acquiring wallpaper data of the target wallpaper; wherein the wallpaper data includes the wallpaper type of the target wallpaper and the image data of the target wallpaper;
[0012] Based on the wallpaper data, the preview interface of the target wallpaper is displayed.
[0013] In an embodiment of the present application, in response to the selection operation of the target wallpaper in the third-party application, the wallpaper data of the target wallpaper is obtained, that is, the wallpaper type and image data of the target wallpaper are obtained; and the preview interface of the target wallpaper is displayed based on the wallpaper data. Due to the different wallpaper types, the displayed preview interface is different; for example, the wallpaper preview interface of the dynamic wallpaper type is different from the wallpaper preview interface of the static wallpaper type; therefore, the preview interface of the target wallpaper is displayed based on the wallpaper data to ensure that the displayed content of the preview interface is more accurate.
[0014] In combination with the first aspect and the above implementations, in some implementations of the first aspect, displaying the preview interface of the target wallpaper based on the wallpaper data includes:
[0015] If the wallpaper type is a dynamic wallpaper type, transmitting the wallpaper data of the target wallpaper to a wallpaper preview application, and displaying the preview interface of the target wallpaper in the wallpaper preview application;
[0016] If the wallpaper type is a static wallpaper type, the wallpaper data is intercepted and transmitted to the wallpaper preview application, and the preview interface of the target wallpaper is displayed in the wallpaper preview application.
[0017] In an embodiment of the present application, if the wallpaper type is a dynamic wallpaper type, the wallpaper data is transmitted to a wallpaper preview application, and a preview interface is displayed in the wallpaper preview application; because in the prior art, if the wallpaper type is a static wallpaper type, in response to a wallpaper selection operation, the wallpaper data is set as a screen wallpaper; it cannot be previewed in the wallpaper preview application; therefore, in order to prevent the wallpaper data from being directly set as a screen wallpaper, the wallpaper data is intercepted and the wallpaper data is transmitted to the wallpaper preview application; thereby ensuring that the static wallpaper can be previewed in the wallpaper preview application; so that when the target wallpaper is a dynamic wallpaper type or a static wallpaper type, both wallpaper preview and wallpaper setting operations for the target screen can be implemented.
[0018] In combination with the first aspect and the above implementation manner, in some implementation manners of the first aspect, if a wallpaper setting operation for a target screen among at least one screen in the vehicle is detected in the preview interface, obtaining an identifier of the target screen includes:
[0019] When there are at least two screens in the vehicle, the wallpaper setting operation includes a screen selection operation, determining the target screen in response to the screen selection operation, and acquiring an identifier of the target screen;
[0020] If there is a single screen in the vehicle, based on the wallpaper setting operation, the identifier of the single screen is determined as the identifier of the target screen
[0021] In an embodiment of the present application, when there are at least two screens in the vehicle, the wallpaper setting operation includes a screen selection operation; the identification of the target screen is determined in response to the selection operation of the target screen among the at least two screens; if there is a single screen in the vehicle, the identification of the single screen is determined as the identification of the target screen based on the wallpaper setting operation; that is, when there is a single screen in the vehicle, the screen selection operation is no longer responded to; ensuring that different methods can be used to determine the identification of the target screen according to the different number of screens in the vehicle.
[0022] In combination with the first aspect and the above implementation manner, in some implementation manners of the first aspect, displaying the target wallpaper on the target screen by calling the target system interface corresponding to the identifier of the target screen includes:
[0023] Creating a wallpaper engine based on the identifier of the target screen and the wallpaper type; the identifier of the target screen corresponds to the wallpaper engine one by one;
[0024] Based on the image data, a target wallpaper of the target screen is drawn by the wallpaper engine, and the target wallpaper is displayed on the target screen.
[0025] In an embodiment of the present application, a wallpaper engine corresponding to the identifier is created based on the identifier of the target screen and the wallpaper type, and a target wallpaper of the target screen is drawn through the wallpaper engine; that is, for the target screen, a wallpaper engine of the target wallpaper type for drawing the target screen is created to ensure that the target wallpaper can be displayed on the target screen.
[0026] In combination with the first aspect and the above implementations, in some implementations of the first aspect, before calling the target system interface corresponding to the identifier of the target screen to create the wallpaper engine, the method further includes:
[0027] Creating a wallpaper service corresponding to the wallpaper type, wherein the wallpaper service includes a method for creating the wallpaper engine;
[0028] The step of creating a wallpaper engine based on the identifier of the target screen and the wallpaper type includes:
[0029] The wallpaper engine is created based on the creation method, the identifier of the target screen and the wallpaper type.
[0030] In an embodiment of the present application, before creating a wallpaper engine, it is necessary to create a wallpaper service corresponding to the wallpaper type, and based on the wallpaper engine creation method in the wallpaper service, create a wallpaper engine corresponding to the identifier of the target screen; ensure that the wallpaper engine can be obtained, and that the target wallpaper can be drawn on the target screen through the wallpaper engine.
[0031] In combination with the first aspect and the above implementations, in some implementations of the first aspect, the following further includes:
[0032] Acquire first color information of the target wallpaper and second color information of a display component in the target screen;
[0033] If the similarity between the first color information and the second color information is greater than a preset threshold, the image parameters of the target wallpaper are adjusted; wherein the image parameters include at least one of the transparency, blur and hue of the target wallpaper.
[0034] In an embodiment of the present application, if the similarity between the first color information of the target wallpaper and the second color information of the display component in the target screen is greater than a preset threshold, it indicates that the color information of the target wallpaper is similar to the color information of the display component; that is, when the user uses the display component, if other areas in the target screen are accidentally touched, the display component cannot respond to the user operation; therefore, the image parameters of the target wallpaper are adjusted so that the target wallpaper does not interfere with the user operation.
[0035] In combination with the first aspect and the above implementations, in some implementations of the first aspect, the further
[0036] Acquire the size of the target screen; the size of the target screen includes the length and width of the target screen;
[0037] The original size of the target wallpaper is adjusted based on the size of the target screen to obtain a target size of the target wallpaper, so that the target size is adapted to the size of the target screen.
[0038] In an embodiment of the present application, since the target wallpaper is a wallpaper in a third-party application, the original size of the target wallpaper may be inconsistent with the size of the target screen; therefore, the original size of the target wallpaper is adjusted based on the size of the target screen so that the adjusted target size matches the size of the target screen.
[0039] In a second aspect, a display device for a vehicle wallpaper is provided, the display device comprising:
[0040] A first display module, configured to display a preview interface of the target wallpaper in response to a selection operation of the target wallpaper in the third-party application;
[0041] an acquisition module, configured to acquire an identifier of a target screen among at least one screen in the vehicle if a wallpaper setting operation for the target screen is detected in the preview interface; wherein the wallpaper setting operation is used to set the wallpaper of the target screen;
[0042] The second display module is used to display the target wallpaper on the target screen by calling the target system interface corresponding to the identifier of the target screen.
[0043] In a third aspect, a vehicle is provided, comprising a memory and a processor, wherein the memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle executes the display method in the above-mentioned first aspect or any possible implementation of the first aspect.
[0044] In a fourth aspect, a computer program product is provided, comprising: a computer program code, which, when executed on a computer, enables the computer to execute the display method in the first aspect or any possible implementation of the first aspect.
[0045] In a fifth aspect, a computer-readable storage medium is provided, which stores instructions. When the instructions are executed on an electronic device, the electronic device executes the display method in the above-mentioned first aspect or any possible implementation manner of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 This is a schematic diagram of a scenario provided by an embodiment of the present application;
[0047] Figure 2 is a schematic diagram of a wallpaper setting interface provided in an embodiment of the present application;
[0048] Figure 3 is a schematic flow chart of a method for displaying vehicle wallpaper provided in an embodiment of the present application;
[0049] Figure 4 is a schematic flow chart of another method for displaying vehicle wallpaper provided in an embodiment of the present application;
[0050] Figure 5 It is a structural schematic diagram of a display device for vehicle wallpaper provided in an embodiment of the present application;
[0051] Figure 6 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION
[0052] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0053] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0054] In the prior art, the multi-screen configuration of the vehicle cockpit has become the mainstream trend of vehicle cockpit design, including the central control screen, the co-pilot screen, the rear screen (the rear armrest screen and the rear entertainment screen), etc. Existing cockpit wallpaper applications are usually independently developed by automobile manufacturers, and wallpaper resources are relatively scarce, which affects the user experience.
[0055] There are abundant and high-quality wallpaper resources in third-party applications (e.g., third-party wallpaper malls); however, due to the lack of unified standards, the wallpaper resources in third-party wallpaper applications cannot be applied to vehicle cockpits; in addition, third-party wallpapers in the prior art are usually applied to terminal devices such as mobile phones or tablets of different models; however, since such terminal devices only have a single screen, in response to the wallpaper setting operation, the wallpaper is set as the wallpaper of a single screen. Therefore, the third-party wallpapers in the prior art cannot realize screen selection. Therefore, how to apply the wallpaper resources in third-party wallpaper applications in vehicle cockpits to improve user experience is a technical problem that needs to be solved at present.
[0056] In view of this, the present application provides a method, a display device and a vehicle for displaying vehicle wallpapers. Through the embodiments of the present application, if a wallpaper setting operation on a target screen in a vehicle is detected, the identifier of the target screen is obtained, and the target wallpaper is displayed in the target screen by calling the target system interface corresponding to the identifier; ensuring that wallpaper resources in third-party applications can be applied in the vehicle cabin, thereby improving the user experience.
[0057] Figure 1 It is a schematic diagram of a scenario provided in an embodiment of the present application.
[0058] For example, Figure 1 The scene 100 in the third-party application is a schematic diagram of the scene of setting wallpaper. Figure 1 As shown in (a) in the figure, the vehicle includes a central control screen 110 , and the user can set the wallpaper of the central control screen 110 , or set the wallpaper of the co-pilot screen or the rear screen in the central control screen 110 .
[0059] For example, the user clicks on the wallpaper mall (such as Figure 1 ), enter the wallpaper mall display interface (as shown in (a) in the figure) Figure 1 As shown in (b) in the figure); the wallpaper mall is a third-party application; that is, the wallpaper mall is a wallpaper application installed by the user in the vehicle system, which is different from the wallpaper application configured by the vehicle when it leaves the factory.
[0060] It should be noted that the display interface of the wallpaper mall is thumbnails of different wallpapers. The above is a schematic description of the display interface of the wallpaper mall, and this application does not limit this.
[0061] Figure 2 It is a schematic diagram of a wallpaper setting interface provided in an embodiment of the present application.
[0062] For example, Figure 2 The display interface 200 shown is a schematic diagram of a wallpaper setting interface; wherein the wallpaper setting interface includes a wallpaper preview interface (such as Figure 2 (a) in the figure), and the screen selection interface (as shown in Figure 2 , as shown in (b) in the figure).
[0063] For example, after the user clicks on the target wallpaper in the wallpaper mall (such as Figure 1 (b) in the figure), enter the wallpaper preview interface (as shown in Figure 2 When the user clicks Apply Now, if there are multiple screens in the vehicle, a pop-up window (such as Figure 2 (b) in the figure); according to the user's selection of the target screen in the pop-up window, the wallpaper is set as the wallpaper of the target screen. For example, if the user selects the central control screen, the wallpaper in the above preview interface is set as the wallpaper of the central control screen.
[0064] It should be noted that the above is an example of the display content of the wallpaper setting interface, and this application does not limit this.
[0065] Combine the following Figure 3 and Figure 4 The method for displaying vehicle wallpaper provided in the embodiment of the present application is described in detail.
[0066] Figure 3 It is a schematic flow chart of a method for displaying vehicle wallpaper provided in an embodiment of the present application.
[0067] For example, Figure 3 The display method 300 shown may be executed by a vehicle; or may be executed by a vehicle system in a vehicle; or may be executed by a processor or chip in a vehicle.
[0068] like Figure 3 As shown, the vehicle wallpaper display method 300 includes S310 to S330, and S310 to S330 are described in detail below.
[0069] S310: In response to a selection operation of a target wallpaper in a third-party application, a preview interface of the target wallpaper is displayed.
[0070] Exemplarily, a selection operation of a target wallpaper in a third-party wallpaper application is detected; in response to the selection operation, a preview interface of the target wallpaper is displayed; wherein the preview interface of the target wallpaper is as follows: Figure 2 As shown in (a) in .
[0071] In one implementation, in response to the selection operation of the target wallpaper in the third-party application, displaying the preview interface of the target wallpaper includes:
[0072] In response to a selection operation of a target wallpaper in a third-party application, acquiring wallpaper data of the target wallpaper; wherein the wallpaper data includes a wallpaper type of the target wallpaper and image data of the target wallpaper;
[0073] Based on the wallpaper data, a preview interface of the target wallpaper is displayed.
[0074] Exemplarily, the wallpaper data includes wallpaper type and image data, and the wallpaper type is associated with the user's wallpaper selection operation. For example, when the user's wallpaper selection operation is used for wallpaper data of a dynamic wallpaper type, the wallpaper type is a dynamic wallpaper type; when the user's wallpaper selection operation is used for wallpaper data of a static wallpaper type, the wallpaper type is a static wallpaper type.
[0075] In the embodiment of the present application, the wallpaper data of the target wallpaper is obtained, that is, the wallpaper type and image data of the target wallpaper are obtained; and the preview interface of the target wallpaper is displayed based on the wallpaper data. Due to the difference in the wallpaper type, the displayed preview interface is different; for example, the preview interface of the wallpaper of the dynamic wallpaper type is different from the preview interface of the static wallpaper type; therefore, the preview interface of the target wallpaper is displayed based on the wallpaper data to ensure that the displayed content of the preview interface is more accurate.
[0076] In one implementation, the step of displaying a preview interface of the target wallpaper based on the wallpaper data includes:
[0077] If the wallpaper type is a dynamic wallpaper type, the wallpaper data of the target wallpaper is transmitted to the wallpaper preview application, and a preview interface of the target wallpaper is displayed in the wallpaper preview application;
[0078] If the wallpaper type is a static wallpaper type, the wallpaper data is intercepted and transmitted to a wallpaper preview application, and a preview interface of the target wallpaper is displayed in the wallpaper preview application.
[0079] Exemplarily, if the wallpaper type of the target wallpaper is a dynamic wallpaper type, it means that the target wallpaper is a dynamic wallpaper in video format; in response to the selection operation of the target wallpaper, the wallpaper service is inherited by a third-party application, and the wallpaper resource or identifier corresponding to the dynamic wallpaper is passed as a parameter to the wallpaper preview application to realize the preview and setting of the dynamic wallpaper; for example: the wallpaper preview application can be LivePicker; LivePicker is the wallpaper preview application that comes with the Android open source project.
[0080] It should be noted that if the third-party wallpaper is a static wallpaper, the terminal device in the prior art will directly call the native system interface to set the static wallpaper as the screen wallpaper; it is impossible to preview the static wallpaper; that is, it is impossible to select the target screen.
[0081] Therefore, in an embodiment of the present application, if the wallpaper type of the target wallpaper is a static wallpaper type, it means that the target wallpaper is a static wallpaper in picture format; in response to the selection operation of the target wallpaper, the wallpaper data is intercepted so that the wallpaper data will not be directly set as the wallpaper of the target screen; and the wallpaper data is passed to the wallpaper preview application through the system's wallpaper management interface (WallpaperManager) to pass the identifier of the picture, picture stream or picture resource, thereby realizing the preview of the static wallpaper; ensuring that after the preview, the static wallpaper can be displayed on the target screen when the wallpaper setting operation of the target screen is detected.
[0082] Among them, WallpaperManager is a class in the Android framework used to manage wallpapers. It provides functions such as setting wallpapers, obtaining wallpapers, and obtaining wallpaper information. It is an interface class for the interaction between wallpaper applications and the system; WallpaperManagerService is a specific class in the system that implements wallpaper-related functions and interacts with WallpaperManager.
[0083] Exemplarily, taking the dynamic wallpaper type as an example, the wallpaper service component (ComponentName) is passed in through the fixed conditions defined by Google to implement wallpaper service delivery, and the wallpaper preview application (LivePicker) that comes with the Android open source project is started.
[0084] Among them, ComponentName is a class in Android, which is used to represent the unique identifier of an application component (such as Activity, Service, BroadcastReceiver, etc.). It contains the class name and package name of the component, which can be used to find and start the component at runtime. In the Android system, all components have a ComponentName associated with them, which is used for communication and calling between different components.
[0085] Optionally, when intercepting wallpaper data, an interceptor can be added to the system framework layer to intercept wallpaper resources of static wallpaper type; wherein the interceptor is used to process or modify requests and responses. For example, if the wallpaper type is determined to be a static wallpaper type, the wallpaper data is intercepted by the interceptor; the wallpaper data cannot be transmitted to the system native interface; and the wallpaper data is transmitted to the wallpaper preview application for preview.
[0086] In an embodiment of the present application, if the wallpaper type is a dynamic wallpaper type, the wallpaper data is transmitted to a wallpaper preview application, and a preview interface is displayed in the wallpaper preview application; because in the prior art, if the wallpaper type is a static wallpaper type, in response to a wallpaper selection operation, the wallpaper data is set as a screen wallpaper; it cannot be previewed in the wallpaper preview application; therefore, in order to prevent the wallpaper data from being directly set as a screen wallpaper, the wallpaper data is intercepted and the wallpaper data is transmitted to the wallpaper preview application; thereby ensuring that the static wallpaper can be previewed in the wallpaper preview application; so that when the target wallpaper is a dynamic wallpaper type or a static wallpaper type, both wallpaper preview and wallpaper setting operations for the target screen can be implemented.
[0087] S320: If a wallpaper setting operation for a target screen among at least one screen in the vehicle is detected in the preview interface, an identifier of the target screen is obtained.
[0088] The wallpaper setting operation is used to set the wallpaper of the target screen.
[0089] For example, when the user sets the wallpaper, the Android system will detect all the screens on the vehicle and generate screen data, which may include the number of screens, screen ID, screen size, etc. The screen ID can be understood as the screen ID; the screen ID is the ID number set by the Android system for each screen, which is used to distinguish different screens. Therefore, different screens have different screen IDs; for example, the screen ID of the central control screen is 0, and the screen ID of the co-pilot screen is 1.
[0090] In one implementation, if a wallpaper setting operation for a target screen among at least one screen in the vehicle is detected in the preview interface, obtaining the identifier of the target screen includes:
[0091] When there are at least two screens in the vehicle, the wallpaper setting operation includes a screen selection operation, determining a target screen in response to the screen selection operation, and acquiring an identifier of the target screen;
[0092] If there is a single screen in the vehicle, based on the wallpaper setting operation, the identifier of the single screen is determined as the identifier of the target screen.
[0093] Exemplarily, when there are at least two screens in the vehicle, the wallpaper setting operation includes a screen selection operation; that is, if there are at least two screens in the vehicle, a pop-up window interface for screen selection is displayed in the third-party application (such as Figure 2As shown in b), in response to the user's wallpaper selection operation, a target screen is determined from at least two screens; and the identifier of the target screen is obtained; for example, the screens in the vehicle include a central control screen, a co-pilot screen and a rear screen; the screen identifier of the central control screen is 0, the screen identifier of the co-pilot screen is 1, and the screen identifier of the rear screen is 3; when it is detected that the user has performed a wallpaper selection operation on the central control screen, the screen identifier corresponding to the target screen is obtained as 0.
[0094] For example, if there is a single screen in the vehicle, the screen selection interface will not be displayed, but the identifier of the single screen will be used as the identifier of the target screen according to the wallpaper setting operation, that is, the default screen identifier of the single screen will be used as the identifier of the target screen. For example, if there is a single screen in the vehicle, which is the central control screen, and the screen identifier of the central control screen is 0, then based on the wallpaper setting operation, the central control screen is determined as the target screen, and the screen identifier of the target screen is 0.
[0095] It should be noted that the above is an example of the number of screens and screen logos in a vehicle, and this application does not limit this.
[0096] S330, displaying the target wallpaper on the target screen by calling the target system interface corresponding to the identifier of the target screen.
[0097] Exemplarily, the target system interface is a system interface with a target screen identifier; calling the target system interface is a process of creating a wallpaper engine through the target screen identifier and wallpaper type; the method of creating a wallpaper engine is described in detail below.
[0098] In one implementation, the above-mentioned displaying the target wallpaper on the target screen by calling the target system interface corresponding to the identifier of the target screen includes:
[0099] A wallpaper engine is created based on the target screen identifier and the wallpaper type; the target screen identifier corresponds to the wallpaper engine one by one;
[0100] Based on the image data, a target wallpaper of the target screen is drawn by a wallpaper engine, and the target wallpaper is displayed in the target screen.
[0101] The wallpaper engine is used to draw the wallpaper and render it on the screen. The screen ID corresponds to the wallpaper engine one by one. For example, when the screen ID is the ID of the central control screen, the wallpaper engine for the central control screen is created; when the screen ID is the ID of the co-pilot screen, the wallpaper engine for the co-pilot screen is created; and the wallpaper engine for the central control screen is used to draw the wallpaper for the central control screen, and the wallpaper engine for the co-pilot screen is used to draw the wallpaper for the co-pilot screen.
[0102] For example, when the target wallpaper of the target screen is drawn by the wallpaper engine, the image data of the target wallpaper can be converted into bitmap data. The bitmap data is used to record the pixel value of each pixel of the bitmap or the index value of the color table of the corresponding pixel. Different bitmaps have different numbers of bytes occupied by the bitmap data. For example, for a 24-bit bitmap, every three bytes represent one pixel. According to the bitmap data, the value of each pixel can be obtained to draw the wallpaper image.
[0103] It should be understood that since the wallpaper engine is created based on the target screen identifier and wallpaper type, the created wallpaper engine is used to draw the wallpaper of this type onto the target screen. For example, when the screen identifier is the identifier of the co-pilot screen (e.g., 1) and the wallpaper type is a dynamic wallpaper, the created wallpaper engine is used to draw the image data onto the co-pilot screen in a dynamic form.
[0104] In one implementation, before calling the target system interface corresponding to the identifier of the target screen and creating the wallpaper engine, the method further includes:
[0105] Create a wallpaper service corresponding to the wallpaper type, where the wallpaper service includes a method for creating a wallpaper engine;
[0106] Create a wallpaper engine based on the target screen's identity and wallpaper type, including:
[0107] Based on the creation method, the identity of the target screen and the wallpaper type, a wallpaper engine is created.
[0108] The wallpaper service is inherited from the native WallpaperService class of the Android system, which provides a wallpaper engine creation method onCreateEngine. The Android system creates a wallpaper engine for the target screen by calling the onCreateEngine method.
[0109] It should be understood that when the Android system calls the onCreateEngine method to create a wallpaper engine, since the parameters in the native onCreateEngine method are empty, the Android system will not pass the screen id as a parameter to the onCreateEngine method. The onCreateEngine method does not obtain the relevant data of the screen id, that is, it is impossible to create a wallpaper engine for the corresponding screen based on the screen id.
[0110] In an embodiment of the present application, a wallpaper engine is created based on the identification of the target screen (screen id parameter) and the wallpaper type; that is, the screen id parameter is added to the native onCreateEngine method. By adding the screen id parameter, the Android system can pass the specific screen id as a parameter to the onCreateEngine method when calling the onCreateEngine method. At the same time, a wallpaper data manager is customized to pass the wallpaper type and image data set by the user to the onCreateEngine method. Thus, the onCreateEngine method can create a corresponding wallpaper engine based on the screen id and wallpaper type.
[0111] Exemplarily, there are differences in the wallpaper engines corresponding to different wallpaper types; for example, when the wallpaper type is a dynamic wallpaper type, a dynamic wallpaper service is created, and in the dynamic wallpaper service, a wallpaper engine for drawing the dynamic wallpaper type can be created through a wallpaper engine creation method; when the wallpaper type is a static wallpaper type, a static wallpaper service is created, and in the static wallpaper service, a wallpaper engine for drawing the static wallpaper type can be created through a wallpaper engine creation method.
[0112] In an embodiment of the present application, before creating a wallpaper engine, it is necessary to create a wallpaper service corresponding to the wallpaper type, and based on the wallpaper engine creation method in the wallpaper service, create a wallpaper engine corresponding to the identifier of the target screen; ensure that the wallpaper engine can be obtained, and that the target wallpaper can be drawn on the target screen through the wallpaper engine.
[0113] In one implementation, the display method further includes: acquiring first color information of a target wallpaper and second color information of a display component in a target screen;
[0114] If the similarity between the first color information and the second color information is greater than a preset threshold, the image parameters of the target wallpaper are adjusted; wherein the image parameters include at least one of transparency, blur and hue of the target wallpaper.
[0115] Among them, the display component in the target screen is a control component, a display window or an application icon in the target screen; including but not limited to a music playback component, an air conditioning control component, a navigation display window, etc.
[0116] Exemplarily, if the similarity between the first color information of the target wallpaper and the color information of the display component is greater than a preset threshold; when the target wallpaper is displayed on the target screen, the control area of the display component in the screen cannot be accurately distinguished; for example, area A in the target screen is the control area of the display component; but since the first color information of the wallpaper and the color information of area A of the display component are highly similar; when using the display component, the user may accidentally touch other screen areas near area A in the target screen; resulting in the display component being unable to respond to user operations; therefore, this solution adjusts the image parameters of the target wallpaper so that the target wallpaper does not interfere with user operations.
[0117] Specifically, the first color information and the second color information are both represented by the RGB color space; that is, the values are divided into three color channels, which are the values of the three basic tones of red (R), green (G) and blue (B). That is, the RGB of the first color information and the second color information are taken as points in the space, and the distance value between the two points is calculated, and the distance value obtained is the color distance between the first color information and the second color information; the similarity between the first color information and the second color information can be reflected by the color distance; the larger the color distance, the smaller the similarity; the smaller the color distance, the greater the similarity. If the similarity is greater than the preset threshold, the image parameters of the wallpaper are adjusted; for example, the transparency of the target wallpaper is increased, the blurriness of the target wallpaper is increased, or the hue of the target wallpaper is changed; so that the adjusted target wallpaper does not affect the user operation on the target screen.
[0118] In one implementation, the display method further includes: acquiring the size of the target screen; the size of the target screen includes the length and width of the target screen;
[0119] The original size of the target wallpaper is adjusted based on the size of the target screen to obtain the target size of the target wallpaper, so that the target size is adapted to the size of the target screen.
[0120] It should be noted that since the target wallpaper is the wallpaper in a third-party application, and the wallpapers in third-party applications are usually used in terminal devices such as mobile phones, tablets and computers, and the screen size in the vehicle is not the same as the screen size of the above-mentioned terminal devices; that is, the original size of the target wallpaper may be inconsistent with the size of the target screen.
[0121] Exemplarily, when setting the target wallpaper as the wallpaper of the target screen; obtaining the target size of the target screen, including the length and width of the target screen; and adjusting the original size of the target wallpaper according to the size of the target screen; that is, adjusting the length and width of the target wallpaper.
[0122] For example, the target screen is 10.1 inches and the screen ratio is 16:9; the size of the target screen is approximately 217mm (millimeters) in length and 127mm in width; if the original size of the wallpaper is 160mm in length and 216mm in width; the original size of the wallpaper is scaled and cropped based on the size of the target screen; so that the size of the cropped target wallpaper matches the size of the target screen.
[0123] It should be noted that the above is an example of the size of the target screen and the original size of the target wallpaper, and this application does not impose any limitation on this.
[0124] In the above embodiment, in response to the selection operation of the target wallpaper in the third-party application, a preview interface is displayed; if a wallpaper setting operation for the target screen is detected in the preview interface, the identifier of the target screen is obtained; and the target system interface corresponding to the identifier is called to display the target wallpaper in the target screen; since the wallpaper setting operation is a wallpaper setting operation for the target screen in at least one screen in the vehicle; therefore, the target screen for wallpaper setting can be determined through the wallpaper setting operation; and according to the interface of the target system corresponding to the identifier of the target screen, the target wallpaper is displayed in the target screen; that is, it is ensured that when there are multiple screens or a single screen in the vehicle, the identifier of the target screen can be obtained, and the target system interface corresponding to the identifier is called to display the target wallpaper in the target screen of the vehicle; so as to realize the application of wallpaper resources in the third-party application to the vehicle cabin, thereby improving the user experience.
[0125] Figure 4 It is a schematic flow chart of another method for displaying vehicle wallpaper provided in an embodiment of the present application.
[0126] For example, Figure 4 The display method 400 shown may be executed by a vehicle; or may be executed by a vehicle system in a vehicle; or may be executed by a processor or chip in a vehicle.
[0127] like Figure 4 As shown, the vehicle wallpaper display method 400 includes S401 to S411, and S401 to S411 are described in detail below.
[0128] S401, responding to a wallpaper selection operation of a third-party application.
[0129] Optionally, the implementation of S401 can refer to Figure 3 The relevant description in S310 is not repeated here.
[0130] S402, determine whether the wallpaper type is a dynamic wallpaper type; if so, execute S403; if not, execute S404.
[0131] Exemplarily, whether the wallpaper type is a dynamic wallpaper can be determined by the file format of the incoming target wallpaper; if the file format of the target wallpaper is a picture file, such as JPEG, PNG and other formats, it indicates that the wallpaper type is a static wallpaper type; if the file format of the target wallpaper is a video file, such as MP4, GIF; it indicates that the target wallpaper is composed of a multi-frame image sequence, that is, the target wallpaper is a dynamic wallpaper type; or, if the wallpaper data includes an identifier for starting a dynamic wallpaper preview application; it indicates that the wallpaper type is a dynamic wallpaper type.
[0132] S403: delivering the wallpaper resource to the wallpaper preview application.
[0133] Exemplarily, a data packet carrying an action and a key with a specific identifier is constructed; and the data packet is passed to a wallpaper preview application; the wallpaper preview application displays a corresponding preview interface according to the data packet; wherein the action is used to start the wallpaper preview application; and the key is used to mark the data item to be passed, i.e., used to carry wallpaper data.
[0134] Optionally, the implementation of S403 can refer to Figure 3 The description of displaying the preview interface of the target wallpaper in the wallpaper preview application in S310 is not repeated here.
[0135] S404, calling the system native interface to set the wallpaper.
[0136] Exemplarily, calling the system native interface to set wallpaper means directly passing a picture, picture stream or resource ID to set the wallpaper through the system wallpaper management interface; a code example of calling the system native interface and passing in a wallpaper picture is: WallPaperManager.getInstance(context).setBitmap(bitmap).
[0137] S405: intercepting wallpaper data and transmitting the wallpaper data to a wallpaper preview application.
[0138] For example, when the wallpaper type is a static wallpaper type, the wallpaper data is intercepted; that is, the picture, picture stream or resource ID transmitted through the system wallpaper management interface in S404 is intercepted; and the wallpaper data is transmitted to the wallpaper preview application; so that the static wallpaper will not be directly set as the screen wallpaper.
[0139] Optionally, the implementation of S405 can refer to Figure 3 When the wallpaper type in S310 is a static wallpaper type, the relevant description of the preview interface is displayed; it will not be repeated here.
[0140] S406: The wallpaper preview application performs a preview according to the wallpaper type.
[0141] For example, different wallpaper types have different corresponding wallpaper preview interfaces; if the wallpaper type is a dynamic wallpaper type, the dynamic wallpaper is displayed in the preview interface of the wallpaper preview application; if the wallpaper type is a static wallpaper type, the static wallpaper is displayed in the preview interface of the wallpaper preview application.
[0142] S407, responding to the wallpaper setting operation of the user.
[0143] For example, Figure 2 As shown in (a) in the figure, the user's wallpaper setting operation can be to click Apply Now on the wallpaper preview interface.
[0144] S408, determine whether the vehicle has multiple screens; if so, execute S409; if not, execute S410.
[0145] For example, when the user sets the wallpaper, the Android system will detect all the screens in the vehicle and generate screen data, which may include the number of screens, screen IDs, screen sizes, and other data; therefore, it is possible to determine whether the vehicle has multiple screens based on the number of screens in the screen data. If there are multiple screens in the vehicle, the target screen is determined in response to the user's screen selection operation; if there are no multiple screens in the vehicle, a single screen is determined as the target screen.
[0146] S409: Determine a target screen in response to the user's screen selection operation.
[0147] S410: Determine a single screen as a target screen.
[0148] Optionally, the implementation of S409 and S410 can refer to Figure 3 The relevant description in S320 is not repeated here.
[0149] S411, calling a system interface corresponding to the target screen identifier to set the wallpaper as the wallpaper of the target screen.
[0150] Exemplarily, a system interface corresponding to the target screen identifier is called, and a wallpaper engine corresponding to the target screen identifier is created based on the target screen identifier; a target wallpaper of the target screen is drawn on the target screen by the wallpaper engine to set the wallpaper as the wallpaper of the target screen.
[0151] Optionally, the implementation of S411 can refer to Figure 3 The relevant description in S330 is omitted here.
[0152] In an embodiment of the present application, in response to a wallpaper selection operation of a third-party application; based on the wallpaper type, wallpaper data of a dynamic wallpaper type or wallpaper data of a static wallpaper type is passed to a wallpaper preview application; ensuring that preview of wallpaper data of different wallpaper types can be achieved; and based on the user's wallpaper setting operation, ensuring that when there are multiple screens or a single screen in the vehicle, the identification of the target screen can be obtained, and the target system interface corresponding to the identification is called to display the target wallpaper on the target screen of the vehicle; so as to realize the application of wallpaper resources in the third-party application to the vehicle cabin, thereby improving the user experience.
[0153] Combination of the above Figures 1 to 4 The vehicle wallpaper display method provided by the embodiment of the present application is described in detail; Figure 5 and Figure 6 The device embodiments of the present application are described in detail. It should be understood that the device in the embodiments of the present application can execute the various methods of the aforementioned embodiments of the present application, that is, the specific working processes of the following various products can refer to the corresponding processes in the aforementioned method embodiments.
[0154] Figure 5 It is a structural schematic diagram of a vehicle wallpaper display device provided in an embodiment of the present application.
[0155] For example, Figure 5 As shown, the vehicle display device 500 includes: The first display module 510 is used to display a preview interface of the target wallpaper in response to a selection operation of the target wallpaper in the third-party application; The acquisition module 520 is used to acquire the identifier of the target screen if a wallpaper setting operation for a target screen among at least one screen in the vehicle is detected in the preview interface; wherein the wallpaper setting operation is used to set the wallpaper of the target screen; The second display module 530 is configured to display a target wallpaper on a target screen by calling a target system interface corresponding to an identifier of the target screen.
[0156] The first display module 510 is used to display a preview interface of the target wallpaper in response to a selection operation of the target wallpaper in the third-party application;
[0157] The acquisition module 520 is used to acquire the identifier of the target screen if a wallpaper setting operation for a target screen among at least one screen in the vehicle is detected in the preview interface; wherein the wallpaper setting operation is used to set the wallpaper of the target screen;
[0158] The second display module 530 is configured to display a target wallpaper on a target screen by calling a target system interface corresponding to an identifier of the target screen.
[0159] Optionally, as an embodiment, the acquisition module 520 is specifically used for:
[0160] In response to a selection operation of a target wallpaper in a third-party application, acquiring wallpaper data of the target wallpaper; wherein the wallpaper data includes a wallpaper type of the target wallpaper and image data of the target wallpaper;
[0161] Based on the wallpaper data, a preview interface of the target wallpaper is displayed.
[0162] Optionally, as an embodiment, the first display module 510 is specifically used for:
[0163] If the wallpaper type is a dynamic wallpaper type, the wallpaper data of the target wallpaper is transmitted to the wallpaper preview application, and a preview interface of the target wallpaper is displayed in the wallpaper preview application;
[0164] If the wallpaper type is a static wallpaper type, the wallpaper data is intercepted and transmitted to a wallpaper preview application, and a preview interface of the target wallpaper is displayed in the wallpaper preview application.
[0165] Optionally, as an embodiment, the acquisition module 520 is specifically used for:
[0166] When there are at least two screens in the vehicle, the wallpaper setting operation includes a screen selection operation, determining a target screen in response to the screen selection operation, and acquiring an identifier of the target screen;
[0167] If there is a single screen in the vehicle, based on the wallpaper setting operation, the identifier of the single screen is determined as the identifier of the target screen.
[0168] Optionally, as an embodiment, the second display module 530 is specifically used for:
[0169] A wallpaper engine is created based on the target screen identifier and the wallpaper type; the target screen identifier corresponds to the wallpaper engine one by one;
[0170] Based on the image data, a target wallpaper of the target screen is drawn by a wallpaper engine, and the target wallpaper is displayed in the target screen.
[0171] Optionally, as an embodiment, the second display module 530 is specifically used for:
[0172] Create a wallpaper service corresponding to the wallpaper type, which includes a wallpaper engine
[0173] The creation method of
[0174] Create a wallpaper engine based on the target screen's identity and wallpaper type, including:
[0175] Based on the creation method, the identity of the target screen and the wallpaper type, a wallpaper engine is created.
[0176] Optionally, as an embodiment, the acquisition module 520 is further used to: acquire first color information of the target wallpaper and second color information of the display component in the target screen;
[0177] It also includes an adjustment module, which is specifically used to: if the similarity between the first color information and the second color information is greater than a preset threshold, adjust the image parameters of the target wallpaper; wherein the image parameters include at least one of the transparency, blur and hue of the target wallpaper.
[0178] Optionally, as an embodiment, the acquisition module 520 is further used to: acquire the size of the target screen; the size of the target screen includes the length and width of the target screen;
[0179] The adjustment module is also used to: adjust the original size of the target wallpaper based on the size of the target screen to obtain the target size of the target wallpaper; so that the target size is adapted to the size of the target screen.
[0180] It should be noted that the above vehicle display device is embodied in the form of a functional unit. The term "module" here can be implemented in the form of software and / or hardware, and is not specifically limited to this.
[0181] For example, a "module" may be a software program, a hardware circuit, or a combination of the two that implements the above functions. The hardware circuit may include an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a dedicated processor, or a group processor, etc.) and a memory for executing one or more software or firmware programs, a combined logic circuit, and / or other suitable components that support the described functions.
[0182] Therefore, the units of each example described in the embodiments of the present application can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.
[0183] Figure 6 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.
[0184] Exemplarily, vehicle 600 includes: a processor 610 , a memory 620 , and executable program code 630 .
[0185] Exemplarily, the vehicle 600 includes one or more processors 610, which can support the vehicle 600 to implement the method for displaying the vehicle wallpaper in the method embodiment. The processor 610 can be a general-purpose processor or a special-purpose processor. For example, the processor 610 can be a central processing unit (CPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, such as discrete gates, transistor logic devices, or discrete hardware components.
[0186] Exemplarily, the processor 610 may be used to control the vehicle 600, execute software programs, and process data of the software programs. The vehicle 600 may also include a communication unit to implement input (reception) and output (transmission) of signals.
[0187] Exemplarily, the vehicle 600 may include one or more memories 620 on which executable program code 630 is stored. The executable program code 630 can be executed by the processor 610 to generate instructions, so that the processor 610 executes the vehicle wallpaper display method described in the above method embodiment according to the instructions.
[0188] Optionally, data may be stored in the memory 620. Optionally, the processor 610 may read data stored in the memory 620, which may be stored at the same storage address as the executable program code 630, or may be stored at a different storage address from the executable program code 630.
[0189] Exemplarily, the processor 610 and the memory 620 may be provided separately or integrated together, for example, integrated on a system on chip (SOC) of the terminal device.
[0190] Exemplarily, the memory 620 can be used to store relevant programs of the method for displaying vehicle wallpaper provided in the embodiment of the present application, and the processor 620 can be used to call the executable program code 630 stored in the memory 620 when controlling the vehicle to execute the method for displaying vehicle wallpaper in the embodiment of the present application; for example, in response to the selection operation of the target wallpaper in the third-party application, the preview interface of the target wallpaper is displayed; if a wallpaper setting operation for the target screen in at least one screen in the vehicle is detected in the preview interface, the identifier of the target screen is obtained; wherein the wallpaper setting operation is used to set the wallpaper of the target screen; by calling the target system interface corresponding to the identifier of the target screen, the target wallpaper is displayed on the target screen.
[0191] The present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method for displaying vehicle wallpaper of any of the aforementioned embodiments.
[0192] Among them, computer-readable storage media may include but are not limited to any type of disk, including floppy disks, optical disks, digital versatile disks (Digital Video Disc, DVD), compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM), microdrives and magneto-optical disks, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable programmable read only memory (Electrically Erasable Programmable read only memory, EEPROM), dynamic random access memory (Dynamic Random Access Memory, DRAM), video random access memory (Video Random Access Memory, VRAM), flash memory devices, magnetic cards or optical cards, nanosystems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and / or data.
[0193] The present application also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement a method for displaying a vehicle wallpaper in the above-mentioned embodiment.
[0194] In addition, the electronic device provided in the embodiments of the present application may specifically be a chip, a component or a module, and the electronic device may include a connected processor and a memory; wherein the memory is used to store instructions, and when the electronic device is running, the processor may call and execute the instructions so that the chip executes a method for displaying a vehicle wallpaper in the above-mentioned embodiment.
[0195] Among them, the electronic device, computer-readable storage medium, computer program product or chip provided in this application are all used to execute the corresponding vehicle wallpaper display method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding vehicle wallpaper display method provided above, and will not be repeated here.
[0196] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0197] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0198] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which 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 displaying a vehicle wallpaper, characterized in that: The display method comprises: In response to a selection operation of a target wallpaper in a third-party application, displaying a preview interface of the target wallpaper; If a wallpaper setting operation for a target screen among at least one screen in the vehicle is detected in the preview interface, an identifier of the target screen is obtained; wherein the wallpaper setting operation is used to set the wallpaper of the target screen; The target wallpaper is displayed on the target screen by calling a target system interface corresponding to the identifier of the target screen.
2. The display method according to claim 1, characterized in that: The step of displaying a preview interface of the target wallpaper in response to a selection operation of the target wallpaper in the third-party application includes: In response to the selection operation of the target wallpaper in the third-party application, acquiring wallpaper data of the target wallpaper; wherein the wallpaper data includes the wallpaper type of the target wallpaper and the image data of the target wallpaper; Based on the wallpaper data, the preview interface of the target wallpaper is displayed.
3. The display method according to claim 2, characterized in that: The step of displaying the preview interface of the target wallpaper based on the wallpaper data includes: If the wallpaper type is a dynamic wallpaper type, transmitting the wallpaper data of the target wallpaper to a wallpaper preview application, and displaying the preview interface of the target wallpaper in the wallpaper preview application; If the wallpaper type is a static wallpaper type, the wallpaper data is intercepted and transmitted to the wallpaper preview application, and the preview interface of the target wallpaper is displayed in the wallpaper preview application.
4. The display method according to claim 1, characterized in that: If a wallpaper setting operation for a target screen among at least one screen in the vehicle is detected in the preview interface, obtaining an identifier of the target screen includes: When there are at least two screens in the vehicle, the wallpaper setting operation includes a screen selection operation, determining the target screen in response to the screen selection operation, and acquiring an identifier of the target screen; If there is a single screen in the vehicle, based on the wallpaper setting operation, the identifier of the single screen is determined as the identifier of the target screen.
5. The display method according to claim 2, characterized in that: The step of displaying the target wallpaper on the target screen by calling the target system interface corresponding to the identifier of the target screen includes: Creating a wallpaper engine based on the identifier of the target screen and the wallpaper type; the identifier of the target screen corresponds to the wallpaper engine one by one; Based on the image data, a target wallpaper of the target screen is drawn by the wallpaper engine, and the target wallpaper is displayed on the target screen.
6. The display method according to claim 5, characterized in that: Before calling the target system interface corresponding to the identifier of the target screen and creating the wallpaper engine, the method further includes: Creating a wallpaper service corresponding to the wallpaper type, wherein the wallpaper service includes a method for creating the wallpaper engine; The step of creating a wallpaper engine based on the identifier of the target screen and the wallpaper type includes: The wallpaper engine is created based on the creation method, the identifier of the target screen and the wallpaper type.
7. The display method according to any one of claims 1 to 6, characterized in that: Also includes: Acquire first color information of the target wallpaper and second color information of a display component in the target screen; If the similarity between the first color information and the second color information is greater than a preset threshold, the image parameters of the target wallpaper are adjusted; wherein the image parameters include at least one of the transparency, blur and hue of the target wallpaper.
8. The display method according to any one of claims 1 to 6, characterized in that: Also includes Acquire the size of the target screen; the size of the target screen includes the length and width of the target screen; The original size of the target wallpaper is adjusted based on the size of the target screen to obtain a target size of the target wallpaper, so that the target size is adapted to the size of the target screen.
9. A vehicle wallpaper display device, characterized in that: The display device comprises: A first display module, configured to display a preview interface of the target wallpaper in response to a selection operation of the target wallpaper in the third-party application; an acquisition module, configured to acquire an identifier of a target screen among at least one screen in the vehicle if a wallpaper setting operation for the target screen is detected in the preview interface; wherein the wallpaper setting operation is used to set the wallpaper of the target screen; The second display module is used to display the target wallpaper on the target screen by calling the target system interface corresponding to the identifier of the target screen.
10. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the vehicle executes the display method as claimed in any one of claims 1 to 8.
