CN115658201A - Method, device, equipment and medium for generating vehicle-mounted display picture - Google Patents

Method, device, equipment and medium for generating vehicle-mounted display picture Download PDF

Info

Publication number
CN115658201A
CN115658201A CN202211320728.3A CN202211320728A CN115658201A CN 115658201 A CN115658201 A CN 115658201A CN 202211320728 A CN202211320728 A CN 202211320728A CN 115658201 A CN115658201 A CN 115658201A
Authority
CN
China
Prior art keywords
display
vehicle
font
file
color
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211320728.3A
Other languages
Chinese (zh)
Inventor
詹斌
张英鹏
刘大全
杨玲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Changan Automobile Co Ltd
Original Assignee
Chongqing Changan Automobile Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Changan Automobile Co Ltd filed Critical Chongqing Changan Automobile Co Ltd
Priority to CN202211320728.3A priority Critical patent/CN115658201A/en
Publication of CN115658201A publication Critical patent/CN115658201A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method, a device, equipment and a medium for generating a vehicle-mounted display picture, which can be applied to the technical field of automobiles, wherein the method comprises the steps of designing and outputting a display file of the vehicle-mounted display picture, wherein the display file comprises picture data, font data and color data; packaging the display files according to a preset protocol format to generate display configuration files; compressing the display configuration file to generate a display compressed file, and storing the display compressed file; selecting a display category through a vehicle-mounted theme application, and downloading the corresponding display compressed file according to the display category; and decompressing the display compressed file, extracting the display configuration file, and generating display data of the vehicle-mounted display picture according to the display configuration file. The method and the device can update the picture, font and color of the display interface of the vehicle-mounted screen, and realize the on-line switching of the theme skin of the vehicle-mounted display picture on the premise of not restarting a vehicle-mounted system.

Description

Method, device, equipment and medium for generating vehicle-mounted display picture
Technical Field
The application relates to the technical field of automobiles, in particular to a method, a device, equipment and a medium for generating a vehicle-mounted display picture.
Background
With the development of automobile technology, more and more liquid crystal screens are used in an automobile cabin, and a solution rendered by Kanzi One software is generally adopted for vehicle-mounted display pictures such as an instrument panel, an air-conditioning adjusting panel and a vehicle control panel in the automobile cabin. Interface theme skins of the vehicle-mounted display pictures are solidified and stored in a vehicle-mounted system when the automobile leaves a factory. When the interface theme skin is updated on the traditional vehicle-mounted display picture, after-sale service engineers are required to update through a professional updating tool, the updating operation is complex, and the requirement of a user on updating at any time cannot be met. With the rapid development of cabin experience, online skin changing is a necessary requirement, and therefore, a technical scheme for updating a vehicle-mounted display picture is required to be developed so as to solve the problem of updating operation of pictures, characters and colors of an interface theme skin.
Disclosure of Invention
In view of the above-mentioned shortcomings of the prior art, the present invention provides a method, an apparatus, a device and a medium for generating an on-board display screen to solve the above-mentioned technical problems.
The invention provides a method for generating a vehicle-mounted display picture, which comprises the following steps of
Designing and outputting a display file of a vehicle-mounted display picture, wherein the display file comprises picture data, font data and color data;
packaging the display files according to a preset protocol format to generate display configuration files;
compressing the display configuration file to generate a display compressed file, and storing the display compressed file;
selecting a display category through a vehicle theme application, and downloading the corresponding display compressed file according to the display category;
and decompressing the display compressed file, extracting the display configuration file, and generating display data of the vehicle-mounted display picture according to the display configuration file.
In an embodiment of the present invention, the step of packaging the display file includes:
configuring a resource number and a storage path of the picture data;
configuring the font style, the font color and the font size of the font data;
configuring color values of the color data.
In an embodiment of the present invention, the step of saving the display compressed file includes:
and uploading the display compressed file to a server, wherein the server stores a plurality of display compressed files.
In an embodiment of the present invention, the display file further includes a skin preview, and the vehicle-mounted theme application displays the skin preview for a user to select.
In an embodiment of the present invention, the step of generating the display data of the in-vehicle display screen according to the display configuration file includes:
binding a picture node in interface rendering software with a resource number, and initializing the value of the resource number;
setting the value of the resource number as the storage path in the display configuration file, and displaying the picture corresponding to the display configuration file by the picture node.
In an embodiment of the present invention, the step of generating the display data of the in-vehicle display screen according to the display configuration file includes:
binding font nodes in interface rendering software with font key values, and initializing the font key values;
and setting the font key value into the value of the font style, the value of the font color and the value of the font size in the display configuration file, and displaying the font style, the font color and the font size corresponding to the display configuration file by the font node.
In an embodiment of the present invention, the step of generating the display data of the in-vehicle display screen according to the display configuration file includes:
binding color nodes in interface rendering software with color key values, and initializing the color key values;
and setting the color key value as the color value in the display configuration file, wherein the color node displays the color corresponding to the display configuration file.
The present invention also provides an apparatus for generating a vehicle-mounted display screen, the apparatus comprising:
the system comprises a design module, a display module and a display module, wherein the design module is used for designing and outputting a display file of a vehicle-mounted display picture, and the display file comprises picture data, font data and color data;
the packaging module is used for packaging the display file according to a preset protocol format to generate a display configuration file;
the uploading module is used for compressing the display configuration file to generate a display compressed file and storing the display compressed file;
the downloading module is used for selecting display categories through the vehicle-mounted theme application and downloading the corresponding display compressed files according to the display categories;
and the rendering module is used for decompressing the display compressed file, extracting the display configuration file and generating display data of the vehicle-mounted display picture according to the display configuration file.
The present invention also provides an electronic device, characterized in that the electronic device includes:
one or more processors;
a storage device for storing one or more programs that, when executed by the one or more processors, cause the electronic apparatus to implement the method for generating an in-vehicle display screen according to any one of claims 1 to 7.
The present invention also provides a computer-readable storage medium characterized by having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to execute the method for generating an in-vehicle display screen according to any one of claims 1 to 7.
The invention provides a method, a device, equipment and a medium for generating a vehicle-mounted display picture, which can be used for generating the vehicle-mounted display picture, updating pictures, fonts and colors of a screen display interface in an automobile cabin, quickly switching theme skins of the vehicle-mounted display picture on line and improving the development efficiency of the vehicle-mounted display picture.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. In the drawings:
FIG. 1 is a schematic diagram of an application environment of a method for generating a vehicle-mounted display screen according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating a method for generating a vehicle-mounted display screen according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating one embodiment of step S202 in FIG. 2;
FIG. 4 is a flowchart illustrating an embodiment of step S205 in FIG. 2;
fig. 5 is a timing chart of in-vehicle display screen configuration picture data shown in an exemplary embodiment of the present invention;
FIG. 6 is a timing diagram illustrating in-vehicle display configuration font data in accordance with an exemplary embodiment of the present invention;
FIG. 7 is a timing diagram illustrating in-vehicle display configuration color data according to an exemplary embodiment of the present invention;
fig. 8 is a block diagram showing a generation apparatus of an in-vehicle display screen according to an exemplary embodiment of the present invention;
FIG. 9 is a block diagram of a computer system suitable for use with the electronic device to implement an embodiment of the invention.
Detailed Description
Other advantages and effects of the present invention will become apparent to those skilled in the art from the disclosure of the present specification, wherein the following description is made for the embodiments of the present invention with reference to the accompanying drawings and the preferred embodiments. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, and are not intended to limit the scope of the present invention.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
In the following description, numerous details are set forth to provide a more thorough explanation of embodiments of the present invention, however, it will be apparent to one skilled in the art that embodiments of the present invention may be practiced without these specific details, and in other embodiments, well-known structures and devices are shown in block diagram form, rather than in detail, in order to avoid obscuring embodiments of the present invention.
First, the vehicle-mounted display is gradually moving from the initial single input/output to the directional glasses for digital multi-modal human-machine interaction as the main human-machine interaction interface of the smart car. The Kanzi One software is an integrated automobile HMI (Human Machine Interaction) tool chain, has excellent (User Interface) design work flow, and can greatly improve the development efficiency of vehicle-mounted display pictures. Kanzi One software can be compatible with an android system, so that an automobile cockpit can be fused with various infotainment operating systems, and the Kanzi One software has a professional automobile graphic engine with powerful functions and can realize 3D rendering of a vehicle-mounted display picture.
Referring to fig. 1, fig. 1 is a schematic view of an application environment of a method for generating a vehicle-mounted display screen according to an embodiment of the invention. Wherein the client 101 may communicate with the server 102 via a network. The server 102 may store a plurality of display profiles. The client 101 can select the skin through the vehicle-mounted theme application, download the corresponding display configuration file from the server 102, and perform 3D rendering of the vehicle-mounted display image according to the display configuration file, thereby realizing the replacement of the theme skin of the vehicle-mounted display image. The present invention is described in detail below with reference to specific examples.
Referring to fig. 2, fig. 2 is a schematic flow chart of a method for generating a vehicle-mounted display screen according to an embodiment of the present invention, which may include the following steps:
step S201, designing and outputting a display file of the vehicle-mounted display picture, wherein the display file comprises picture data, font data and color data.
In some embodiments, a set of theme skin display files should include corresponding pictures, fonts, and colors. When a developer designs and develops a theme skin of a new vehicle-mounted display screen, parameters of pictures, fonts and colors included in the theme skin in the vehicle-mounted display screen are defined, and then a User Interface (UI) designer designs the skin. And the UI designer designs an overall preview of the picture according to the content and the size required to be displayed by the vehicle-mounted display picture, and then respectively outputs picture data, font data and color data according to the defined skin parameters.
Step S202, packaging the display file according to a preset protocol format to generate a display configuration file.
In some embodiments, in order to enable the car-in-car system of the car to read the display file, a protocol format of a theme skin may be preset, and all display files included in a set of theme skins are packaged according to the preset protocol format, so as to generate a display configuration file corresponding to the theme skin. In this embodiment, according to the preset protocol format, the display file may configure a resource coding and storage path of the picture data, a font name, a font style, a font color, a font size of the font data, a color value of each region of the vehicle-mounted display screen of the color data, and the like. After the configuration is completed, the display files can be packaged into theme skin display configuration files which can be read by the vehicle machine system.
Step S203, the display configuration file is compressed to generate a display compressed file, and the display compressed file is saved.
In some embodiments, after a developer completes a set of theme skin development work, the developer can compress the skin configuration file to generate a display compressed file. And uploading the display compressed file to a cloud server, wherein the display compressed files of a plurality of theme skins can be stored in the cloud server. The compression operation of the configuration file is displayed, the integrity of the configuration file in transmission can be ensured, and the file is prevented from being lost or damaged in the uploading and downloading processes.
And step S204, selecting a display type through the vehicle-mounted theme application, and downloading the corresponding display compressed file according to the display type.
In some embodiments, when a user needs to change the theme skin of the vehicle-mounted display screen, the skin preview of the theme skin can be browsed through the vehicle-mounted theme application in the vehicle-mounted system of the client. After a user selects one theme skin, the vehicle-mounted theme application can send a corresponding downloading request for displaying the compressed file to the cloud server through the Internet of vehicles. And the cloud server responds to the downloading request and transmits the display compressed file to the terminal vehicle machine system.
And S205, decompressing the display compressed file, extracting the display configuration file, and generating display data of the vehicle-mounted display picture according to the display configuration file.
In some embodiments, the in-vehicle system may perform a file check on the display compressed file after receiving the file to ensure the integrity and security of the transmitted file. And then decompressing the display compressed file to obtain a display configuration file. And finally, generating display data of the vehicle-mounted display picture by interface rendering software in the vehicle-mounted system, wherein the display data is the theme skin of the vehicle-mounted system. And analyzing the display configuration file and rendering the picture by calling an interface of interface rendering software, and then displaying the picture on the vehicle-mounted display picture.
Referring to fig. 3, fig. 3 is a flowchart illustrating an embodiment of step S202 in fig. 2. The present embodiment includes steps S301 to S303, and the detailed description is as follows:
and S301, configuring a resource number and a storage path of the picture data.
In some embodiments, the predetermined protocol format of the picture data may be "imgs":
"Skin_IMG_BG","path":"skin/0/background.png"},{"resourceId":
"Skin _ IMG _ Lightoff", "path": skin/0/light-off. Png "}. Wherein, resource id can represent the resource number of the picture data that needs to be replaced in the Skin, and then Skin _ IMG _ BG and Skin _ IMG _ lightoff are the values of the resource number. It should be noted that, in this embodiment, the resource code needs to be defined in Kanzi One software. And path can represent a storage path of the picture data, and then skin/0/background.png and skin/0/light-off.png are values of the storage path. And configuring the resource number and the storage path of the picture data according to the preset protocol format of the picture data.
Step S302, configuring the font style, font color and font size of the font data.
In some embodiments, the predetermined protocol format for font data may be "font": name { "name": menu, "" font ": arial," "color": 0x000000, "" size ": 18" } { "name": alert, "" font ": black body," "color": 0x00ff00, "" size ": 20" }. Where name can represent the font name to be replaced in the skin, then Arial and bold are the values of the font name. color can represent the font color in the skin that needs to be replaced, and 0x000000 and 0x00ff00 are the values of the font color. size represents the font size to be changed in the skin, and 18 and 20 are the values of font size. And configuring the font style, the font color and the font size of the font data according to the preset protocol format of the font data.
Step S303, color values of the color data are arranged.
In some embodiments, the pre-set protocol format for font data may be "color":
"smallButtonBg", "value": 0x000000"}, {" name ": middlebutterbuttonbg", "value": 0x00ff00"}, · where name may represent the color name of the desired change in the skin, then smallButtonBg and middlebutterbuttonbg are the values of the color names. value may represent the color value of the skin that needs to be replaced, and 0x000000 and 0x00ff00 are the values of the color values. And configuring the font data according to the preset protocol format of the font data. And configuring the color values of the color data according to the preset protocol format of the color data.
Referring to fig. 4, fig. 4 is a flowchart illustrating an embodiment of step S205 in fig. 2. The present embodiment includes steps S401 to S406, and the detailed description is as follows:
step S401, binding the picture node in the interface rendering software with the resource number, and initializing the value of the resource number.
Referring to fig. 5, fig. 5 is a timing diagram illustrating vehicle-mounted display screen configuration picture data according to an exemplary embodiment of the invention. In this embodiment, first, a picture node in interface rendering software is bound to a resource number, and a value of the resource number is initialized. At this time, the value of the resource number is the storage path of the default picture, and the picture node displays the default picture.
And S402, setting the value of the resource number as a storage path in the display configuration file, and displaying the picture corresponding to the display configuration file by the picture node.
Referring to fig. 5, after initializing the value of the resource number, the display configuration file may be analyzed to obtain the storage path of the picture data in the skin. Calling an API (Application Programming Interface) Interface provided by Interface rendering software, and setting the value of the resource number as the acquired storage path. Because the corresponding resource number is bound to the picture node in the interface rendering software, the picture node automatically displays the picture corresponding to the latest path after the picture storage path corresponding to the resource number is modified, and the picture data configuration can be completed.
And S403, binding font nodes in the interface rendering software with the font key values, and initializing the font key values.
Referring to fig. 6, fig. 6 is a timing chart illustrating font data of a vehicle-mounted display screen configuration according to an exemplary embodiment of the present invention. In this embodiment, a font node in the interface rendering software is first bound with a font key value, and the value of the font key value is initialized. At this time, the font node displays the default font. In this embodiment, the font key value may include a titleFontName, a titleefontsize, a titleefontcolor, and the like.
Step S404, the font key value is set as the value of the font style, the value of the font color and the value of the font size in the display configuration file, and the font node displays and displays the font style, the font color and the font size corresponding to the configuration file.
Referring to fig. 6, after the font key value is completed, the display configuration file may be parsed to obtain the font-related data of the font data in the skin. And calling an API (application program interface) provided by interface rendering software, and setting the font key value as the acquired font related data. The font-related data may include font style, font color, and font size. Because the font node in the interface rendering software is bound with the corresponding font key value, after the font key value is updated, the font node is automatically displayed as the latest style font, and the font data configuration can be completed.
Step S405, binding color nodes in the interface rendering software with the color key values, and initializing the color key values.
Referring to fig. 7, fig. 7 is a timing chart illustrating color data of a vehicle-mounted display screen configuration according to an exemplary embodiment of the present invention. In this embodiment, first, color nodes in the interface rendering software are bound with color key values, and the color key values are initialized. At this time, the color node displays the default color. In this embodiment, the color key value may be, for example, titleBarBackground or the like.
Step S406, setting the color key value as a color value in the display configuration file, and displaying a color corresponding to the display configuration file by the color node.
Referring to fig. 7, after initializing the value of the resource number, the display configuration file may be parsed to obtain the color value of the color data in the skin. And calling an API (application programming interface) provided by interface rendering software, and setting the color key value as the acquired color value. Because the color node in the interface rendering software is bound with the corresponding color key value, the color node is automatically displayed as the latest color value after the color value corresponding to the color key value is modified, and the color data configuration can be completed.
Please refer to fig. 8. Fig. 8 is a block diagram of an apparatus for generating a vehicle-mounted display screen according to an exemplary embodiment of the present invention, and may include a design module 801, a packaging module 802, an uploading module 803, a downloading module 804, and a rendering module 805, and each functional module is described in detail as follows.
The design module 801 is configured to design and output a display file of the in-vehicle display screen, where the display file includes picture data, font data, and color data.
In some embodiments, a set of theme skin display files should include corresponding pictures, fonts, and colors. When a developer designs and develops a theme skin of a new vehicle-mounted display screen, parameters of pictures, fonts and colors included in the theme skin in the vehicle-mounted display screen are defined through the design module 801, and then a UI designer designs the skin. The UI designer designs a preview of the entire screen according to the content and size to be displayed on the in-vehicle display screen, and then outputs picture data, font data, and color data through the design module 801 according to the defined skin parameters.
The packaging module 802 is configured to package the display file according to a preset protocol format, and generate a display configuration file.
In some embodiments, in order to enable the car-in-car system of the car to read the display files, a protocol format of a theme skin may be preset, and the packaging module 802 is used to package all the display files included in a set of theme skins according to the preset protocol format, so as to generate the display configuration file corresponding to the theme skin. In this embodiment, according to the preset protocol format, the display file may configure a resource coding and storage path of the picture data, a font name, a font style, a font color, a font size of the font data, a color value of each region of the vehicle-mounted display screen of the color data, and the like. After the configuration is completed, the display files can be packaged into theme skin display configuration files which can be read by the vehicle machine system.
In a specific embodiment, the packing module 802 may be further specifically configured to:
configuring a resource number and a storage path of the picture data;
configuring font style, font color and font size of font data;
color values of the color data are configured.
And the uploading module 803 is configured to compress the display configuration file, generate a display compressed file, and store the display compressed file.
In some embodiments, after a developer completes a set of theme skin development work, the developer may compress its skin configuration file to generate a display compressed file. The display compressed file is uploaded to a cloud server by using an uploading module 803, and the cloud server can store the display compressed files of a plurality of theme skins. The compression operation of the configuration file is displayed, the integrity of the configuration file in transmission can be ensured, and the file is prevented from being lost or damaged in the uploading and downloading processes.
And the downloading module 804 is used for selecting the display category through the vehicle-mounted theme application and downloading the corresponding display compressed file according to the display category.
In some embodiments, when a user needs to change the theme skin of the vehicle-mounted display screen, the skin preview of the theme skin can be browsed through the vehicle-mounted theme application in the vehicle-mounted system of the client. After a user selects one theme skin, the vehicle-mounted theme application can send a corresponding downloading request for displaying the compressed file to the cloud server through the Internet of vehicles. The cloud server responds to the download request, and the download module 804 transmits the display compressed file to the terminal vehicle system.
The rendering module 805 is configured to decompress the display compressed file, extract the display configuration file, and generate display data of the vehicle-mounted display image according to the display configuration file.
In some embodiments, the in-vehicle system may perform file verification on the display compressed file after receiving the display compressed file, so as to ensure the integrity and security of the transmitted file. And then decompressing the display compressed file to obtain a display configuration file. And finally, generating display data of the vehicle-mounted display picture by interface rendering software in the vehicle-mounted system, wherein the display data is the theme skin of the vehicle-mounted system. The rendering module 805 parses the display configuration file and renders a picture by calling an interface of the interface rendering software, and then displays the picture on the vehicle-mounted display screen.
In a particular embodiment, the rendering module 805 is further specifically configured to:
binding a picture node in interface rendering software with a resource number, and initializing the value of the resource number;
setting the value of the resource number as a storage path in a display configuration file, and displaying a picture corresponding to the display configuration file by a picture node;
binding font nodes in interface rendering software with font key values, and initializing the font key values;
setting the font key value as a value for displaying a font style, a value for font color and a value for font size in the configuration file, and displaying the font style, the font color and the font size corresponding to the configuration file by a font node;
binding color nodes in the interface rendering software with color key values, and initializing the color key values;
and setting the color key value as a color value in the display configuration file, and displaying the color corresponding to the display configuration file by the color node.
An embodiment of the present application further provides an electronic device, including: one or more processors; a storage device, configured to store one or more programs, which when executed by the one or more processors, cause the electronic device to implement the method for generating an in-vehicle display screen provided in the foregoing embodiments.
Please refer to fig. 9. FIG. 9 is a block diagram of a computer system suitable for use with the electronic device to implement an embodiment of the invention. It should be noted that the computer system 900 of the electronic device shown in fig. 9 is only an example, and should not bring any limitation to the functions and the scope of the application of the embodiments.
As shown in fig. 9, the computer system 900 includes a Central Processing Unit (CPU) 901, which can perform various appropriate actions and processes, such as executing the methods described in the above embodiments, according to a program stored in a Read-Only Memory (ROM) 902 or a program loaded from a storage portion 908 into a Random Access Memory (RAM) 903. In the RAM 903, various programs and data necessary for system operation are also stored. The CPU 901, ROM 902, and RAM 903 are connected to each other via a bus 904. An Input/Output (I/O) interface 905 is also connected to bus 904.
The following components are connected to the I/O interface 905: an input portion 906 including a keyboard, a mouse, and the like; an output section 907 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section 908 including a hard disk and the like; and a communication section 909 including a Network interface card such as a LAN (Local Area Network) card, a modem, or the like. The communication section 909 performs communication processing via a network such as the internet. The drive 910 is also connected to the I/O interface 905 as necessary. A removable medium 911 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 910 as necessary, so that a computer program read out therefrom is mounted into the storage section 908 as necessary.
In particular, according to embodiments of the present application, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising a computer program for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 909, and/or installed from the removable medium 911. The computer program executes various functions defined in the system of the present application when executed by a Central Processing Unit (CPU) 901.
It should be noted that the computer readable medium shown in the embodiments of the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer readable storage medium may be, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), a flash Memory, an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer-readable signal medium may comprise a propagated data signal with a computer-readable computer program embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. Each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
Another aspect of the present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to execute the method for generating an in-vehicle display screen as described above. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist separately without being incorporated in the electronic device.
Another aspect of the application also provides a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and executes the computer instructions, so that the computer device executes the method for generating the in-vehicle display screen provided in the above-described embodiments.
In summary, the present invention provides a method, an apparatus, a device, and a medium for generating a vehicle-mounted display screen, which can implement design configuration, package uploading, downloading, and analysis of a theme display file by defining a protocol format of a display configuration file. The method and the device can configure the screen display interface in the automobile cabin, including updating pictures, fonts and colors, and realize the on-line quick and dynamic switching of the theme skin of the display interface on the premise that the automobile machine system does not need to be restarted. Meanwhile, the invention uses the modular design, so that the design and manufacturing of the skin and the switching operation process are relatively independent, and the development efficiency of developers is greatly improved.
The foregoing embodiments are merely illustrative of the principles of the present invention and its efficacy, and are not to be construed as limiting the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (10)

1. A method for generating an on-vehicle display screen, the method comprising:
designing and outputting a display file of a vehicle-mounted display picture, wherein the display file comprises picture data, font data and color data;
packaging the display files according to a preset protocol format to generate display configuration files;
compressing the display configuration file to generate a display compressed file, and storing the display compressed file;
selecting a display category through a vehicle-mounted theme application, and downloading the corresponding display compressed file according to the display category;
and decompressing the display compressed file, extracting the display configuration file, and generating display data of the vehicle-mounted display picture according to the display configuration file.
2. The method for generating an in-vehicle display screen according to claim 1, wherein the step of packaging the display file includes:
configuring a resource number and a storage path of the picture data;
configuring font style, font color and font size of the font data;
configuring color values of the color data.
3. The method for generating an in-vehicle display screen according to claim 1, wherein the step of saving the display compressed file comprises:
and uploading the display compressed file to a server, wherein the server stores a plurality of display compressed files.
4. The method according to claim 1, wherein the display file further comprises a skin preview, and the in-vehicle theme application displays the skin preview for selection by a user.
5. The method for generating an in-vehicle display screen according to claim 2, wherein the step of generating display data of the in-vehicle display screen according to the display configuration file comprises:
binding a picture node in interface rendering software with a resource number, and initializing the value of the resource number;
setting the value of the resource number as the storage path in the display configuration file, and displaying the picture corresponding to the display configuration file by the picture node.
6. The method for generating an in-vehicle display screen according to claim 2, wherein the step of generating display data of the in-vehicle display screen according to the display configuration file comprises:
binding font nodes in interface rendering software with font key values, and initializing the font key values;
and setting the font key value into the value of the font style, the value of the font color and the value of the font size in the display configuration file, and displaying the font style, the font color and the font size corresponding to the display configuration file by the font node.
7. The method for generating an in-vehicle display screen according to claim 2, wherein the step of generating display data of the in-vehicle display screen according to the display configuration file comprises:
binding color nodes in interface rendering software with color key values, and initializing the color key values;
and setting the color key value as the color value in the display configuration file, wherein the color node displays the color corresponding to the display configuration file.
8. An apparatus for generating an in-vehicle display screen, the apparatus comprising:
the system comprises a design module, a display module and a display module, wherein the design module is used for designing and outputting a display file of a vehicle-mounted display picture, and the display file comprises picture data, font data and color data;
the packaging module is used for packaging the display file according to a preset protocol format to generate a display configuration file;
the uploading module is used for compressing the display configuration file to generate a display compressed file and storing the display compressed file;
the downloading module is used for selecting display categories through the vehicle-mounted theme application and downloading the corresponding display compressed files according to the display categories;
and the rendering module is used for decompressing the display compressed file, extracting the display configuration file and generating display data of the vehicle-mounted display picture according to the display configuration file.
9. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a storage device for storing one or more programs that, when executed by the one or more processors, cause the electronic apparatus to implement the method for generating an in-vehicle display screen according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which, when executed by a processor of a computer, causes the computer to execute the method of generating an in-vehicle display screen according to any one of claims 1 to 7.
CN202211320728.3A 2022-10-26 2022-10-26 Method, device, equipment and medium for generating vehicle-mounted display picture Pending CN115658201A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211320728.3A CN115658201A (en) 2022-10-26 2022-10-26 Method, device, equipment and medium for generating vehicle-mounted display picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211320728.3A CN115658201A (en) 2022-10-26 2022-10-26 Method, device, equipment and medium for generating vehicle-mounted display picture

Publications (1)

Publication Number Publication Date
CN115658201A true CN115658201A (en) 2023-01-31

Family

ID=84991277

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211320728.3A Pending CN115658201A (en) 2022-10-26 2022-10-26 Method, device, equipment and medium for generating vehicle-mounted display picture

Country Status (1)

Country Link
CN (1) CN115658201A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116107978A (en) * 2023-04-12 2023-05-12 北京尽微致广信息技术有限公司 File export method and device, storage medium and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116107978A (en) * 2023-04-12 2023-05-12 北京尽微致广信息技术有限公司 File export method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN105573787A (en) Software upgrade method and device based on vehicular T-Box
CN108965471B (en) Method for improving browser memory on smart television
CN111722885B (en) Program running method and device and electronic equipment
CN115658201A (en) Method, device, equipment and medium for generating vehicle-mounted display picture
CN109766319B (en) Compression task processing method and device, storage medium and electronic equipment
CN110727869A (en) Page construction method and device
CN111240769A (en) Page starting method, device, equipment and storage medium
CN112307403A (en) Page rendering method, device, storage medium and terminal
CN108733370B (en) Stylized display method, device, terminal and storage medium of native APP
CN114115923A (en) Operating system building method and system
CN113645369A (en) Display method and device of multiple screens, computer readable storage medium and terminal
CN115794285A (en) Online theme switching method, device, equipment and medium
CN115373618B (en) Multi-screen display method and device, vehicle machine and storage medium
CN113596347A (en) Image display method and image display device
CN116433835A (en) Construction method, device and medium of three-dimensional augmented reality operation system
CN115878226A (en) H5 offline package loading method and device
CN115562763A (en) Data distribution service calling method, system, electronic equipment and readable storage medium
CN116027961A (en) Interaction method, system, computer equipment and storage medium for nested split screen of vehicle-mounted application
CN109857503B (en) Page interaction effect self-adaption method and device and electronic equipment
CN113504870A (en) Hypervisor intelligent cockpit input method sharing system and method
CN111199519B (en) Method and device for generating special effect package
CN113642107A (en) Method and device for realizing pure digital simulation system of unmanned aerial vehicle
CN112214712A (en) Automatic browser switching method and device, storage medium and electronic equipment
CN111803939B (en) Image rendering method and device and electronic equipment
AU2024200289A1 (en) Skin changing method and apparatus for display interface, vehicle and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination