Vehicle data display method, device, equipment and medium
By obtaining and reading the storage address of data generated by applications running on high-performance core under real-time core control, and sending data to the display device through the display controller, the problem of high-performance core data not being displayed under real-time core control is solved, and the normal display of data and the improvement of picture fluency is achieved.
Patent Information
- Application Number
- CN202411832767.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-12
- Publication Date
- 2025-04-04
AI Technical Summary
When the display controller is controlled by the real-time core, the data generated by the applications running on the high-performance core cannot be displayed normally, resulting in the graphics processing task being unable to be carried out.
Under the conditions of real-time core control, the data storage address of the vehicle data generated by the application running on the high-performance core is obtained, and the data is read from the corresponding storage space, and the data is sent to the display device through the display controller to achieve zero-copy data transmission.
In the case of real-time core control display controllers, data generated by applications running on high-performance cores can be displayed normally, improving picture fluency.
Smart Images

Figure CN119760197A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of vehicle technology and display technology, and in particular relates to a vehicle data display method, device, equipment and medium. Background Art
[0002] In the prior art, a chip is often composed of one or more real-time cores and a high-performance core, but there is usually only one display controller inside the chip, and the display controller can only be assigned to the real-time core or the high-performance core at the same time. Considering the safety requirements of the vehicle, the display controller is generally assigned to the real-time core for control, but the data generated by the application running on the high-performance core cannot be displayed. Summary of the invention
[0003] Embodiments of the present application provide a vehicle data display method, apparatus, device, and medium, which can normally display relevant data generated by an application running on a high-performance core when a display controller is assigned to a real-time core.
[0004] In a first aspect, an embodiment of the present application provides a vehicle data display method, which is applied to a target system, wherein the target system includes a multi-core processing chip, the multi-core processing chip includes a real-time core, a high-performance core and a display controller, and the method includes: when the real-time core controls the display controller, obtaining a data storage address of vehicle data to be displayed, the vehicle data to be displayed being vehicle data generated by a target application running on the high-performance core; reading the vehicle data to be displayed from a first storage space corresponding to the data storage address; and sending the vehicle data to be displayed to a display device through the display controller, so that the display device displays the vehicle data to be displayed.
[0005] In a second aspect, an embodiment of the present application provides a vehicle data display device, which is applied to a target system, wherein the target system includes a multi-core processing chip, the multi-core processing chip includes a real-time core, a high-performance core and a display controller, and the device includes: an acquisition module, which is used to acquire the data storage address of vehicle data to be displayed when the real-time core controls the display controller, and the vehicle data to be displayed is the vehicle data generated by the target application running on the high-performance core; a reading module, which is used to read the vehicle data to be displayed from the first storage space corresponding to the data storage address; and a sending module, which is used to send the vehicle data to be displayed to the display device through the display controller, so that the display device displays the vehicle data to be displayed.
[0006] In a third aspect, an electronic device is provided, comprising: a memory for storing computer program instructions; and a processor for reading and running the computer program instructions stored in the memory to execute the vehicle data display method provided by any optional implementation of the first aspect.
[0007] In a fourth aspect, a computer storage medium is provided, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, a vehicle data display method provided by any optional implementation of the first aspect is implemented.
[0008] In a fifth aspect, a computer program product is provided. The computer program product includes a computer program. When the computer program is executed by a processor, it implements the vehicle data display method provided by any optional implementation method of the first aspect.
[0009] In an embodiment of the present application, when the real-time core controls the display controller, the data storage address of the vehicle data to be displayed can be obtained through the target system, and the vehicle data to be displayed can be read from the first storage space corresponding to the data storage address, and then the vehicle data to be displayed can be sent to the display device through the display controller, so that the display device can display the vehicle data to be displayed. The above-mentioned vehicle data to be displayed is the vehicle data generated by the target application running on the high-performance core. In this way, when the display controller is assigned to the real-time core for control, the data storage address of the vehicle data generated by the target application running on the high-performance core can be obtained by directly reading and displaying it, thereby realizing the normal display of the data generated by the target application running on the high-performance core, and obtaining the data for display in the above-mentioned zero-copy manner, thereby improving the smoothness of the picture. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0011] Figure 1 is a schematic diagram of the structure of the target system provided in the embodiment of the present application;
[0012] Figure 2 This is one of the flowcharts of a vehicle data display method provided in an embodiment of the present application;
[0013] Figure 3 This is a second flow chart of a vehicle data display method provided in an embodiment of the present application;
[0014] Figure 4 This is one of the structural schematic diagrams of a vehicle data display device provided in an embodiment of the present application;
[0015] Figure 5 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0016] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0017] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0018] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0019] As described in the background technology, since there is only one display controller inside the chip, but the display controller can only be assigned to the real-time core or high-performance core control in the chip at the same time, the display controller is generally assigned to the high-performance core for control. However, as the requirements of autonomous driving technology on vehicle real-time and safety are becoming more and more stringent, the display controller is assigned to the real-time core for control in the prior art. However, this will cause the application running on the high-performance core to be unable to run the graphics system, that is, it will cause the relevant data generated by the application running on the high-performance core to be unable to be displayed.
[0020] Specifically, when the display controller is controlled by a high-performance core, since the high-performance core can provide sufficient performance and functions to support complex graphics processing tasks, including memory management and display control, the kernel space in the operating system can enable the Direct Rendering Manager (DRM) driver in the kernel space. After the DRM driver is enabled in the kernel space, it will provide a device node for the user space in the operating system, so that the DRM driver and the display controller can smoothly transmit the graphics data generated by the application, thereby achieving high-quality graphics display.
[0021] However, when the display controller is controlled by the real-time core, since the real-time core focuses more on real-time performance and reliability rather than graphics processing functions, the display controller lacks the hardware features and software interfaces required to support the DRM driver. That is, when the display controller is controlled by the real-time core, the DRM driver cannot be enabled in the kernel space, and thus cannot provide a device node for the user control, so that the DRM driver and the display controller can transmit related graphics data for subsequent display.
[0022] Based on this, in order to solve the problem in the prior art that the relevant data generated by the application running on the high-performance core cannot be displayed when the display controller is controlled by the real-time core, the embodiments of the present application provide a vehicle data display method, device, equipment and medium, which can obtain the data storage address of the vehicle data to be displayed through the target system when the real-time core controls the display controller, and read the vehicle data to be displayed from the first storage space corresponding to the data storage address, and then send the vehicle data to be displayed to the display device through the display controller, so that the display device can display the vehicle data to be displayed. The above-mentioned vehicle data to be displayed is the vehicle data generated by the target application running on the high-performance core. In this way, when the display controller is assigned to the real-time core for control, the vehicle data to be displayed can be directly read and displayed by obtaining the data storage address of the vehicle data generated by the target application running on the high-performance core, thereby realizing the normal display of the data generated by the target application running on the high-performance core, and obtaining the data for display in the above-mentioned zero-copy manner, thereby improving the smoothness of the picture.
[0023] It should be noted that since the vehicle data display method provided in the embodiment of the present application is applied to a target system, in order to facilitate the subsequent understanding of the vehicle data display method provided in the embodiment of the present application, before introducing the vehicle data display method provided in the embodiment of the present application, the target system provided in the embodiment of the present application is first described in detail in conjunction with the accompanying drawings.
[0024] Figure 1 It is a structural diagram of a target system provided in an embodiment of the present application.
[0025] like Figure 1 As shown, the target system 10 includes a multi-core processing chip 11 and an operating system 12. The multi-core processing chip 11 is connected to the operating system 12. It should be noted that since the above operating system can be a Linux system, the operating system can be composed of a user space and a kernel space, which can be specifically as follows: Figure 1 shown.
[0026] Continue as Figure 1 As shown, the multi-core processing chip 11 may include a real-time core 111 , a high-performance core 112 , a display controller 113 , a graphics processor 114 and a memory 115 .
[0027] The real-time core 111 refers to a core in a multi-core processing chip that is responsible for managing and scheduling real-time tasks. For example, the real-time core 111 may be ARMv7-R. The high-performance core 112 refers to a core in a multi-core processing chip that has higher performance and computing power. The high-performance core 112 may be ARMv8-A. The real-time core 111 and the high-performance core 112 may be one or more. The embodiment of the present application does not specifically limit the number of real-time cores and high-performance cores.
[0028] The display controller 113 is used to control the display device to display relevant data. The graphics processor 114 is used to process image data. The memory 115 can be a static random access memory (SRAM), which is not specifically limited here.
[0029] Then as Figure 1 As shown, the operating system 12 may include a target application 121, an application rendering component 122, a synthesizer 123, a display service program 124, a memory management system 125, and a virtual display driver component 126. The synthesizer 123 may also include an image rendering component 1231, a synthesis plug-in 1232, and a parameter configuration component 1233.
[0030] The target application 121 may be an application program running on the high-performance core 112, which is used to generate application image data, and the application image data may include at least one image data. Furthermore, the target application 121 may apply for storage space for storing application image data from the memory 115 when it is started.
[0031] The above-mentioned application rendering component 122 is used to perform preliminary rendering of the application image data of the target application. The application rendering component 122 includes OpenGL for Embedded Systems (OpenGL ES), and shares the storage address of the storage space used to store the application image data with the synthesizer 123 through the wayland protocol, so that the synthesizer can further process the application image data.
[0032] The above-mentioned synthesizer 123 can be Weston, which is an open source Wayland synthesizer and a reference implementation of the Wayland display server protocol. Wayland and Weston together constitute a new graphics stack architecture. The image rendering component 1231 in the synthesizer 123 is a component used to process OpenGraphics Library (OpenGL) rendering in the Weston synthesizer. It is responsible for rendering the application image data received by the Weston synthesizer using the OpenGL ES rendering pipeline, obtaining the vehicle data to be displayed and finally outputting it to the display device. The above-mentioned synthesis plug-in 1232 is used to add off-screen rendering capabilities to the above-mentioned image rendering component 1231. The above-mentioned parameter configuration component 1233 is used to configure display configuration parameters, which determine whether the application image data is directly output to the display device or off-screen rendering.
[0033] The above-mentioned display service program 124 is used to apply for storage space for storing vehicle data to be displayed from the above-mentioned memory 115, and share the data storage address of the storage space for storing vehicle data to be displayed with the synthesizer, and after the vehicle data to be displayed is stored in the storage space, the data storage address of the storage space is fed back to the real-time core. It should be noted here that the embodiment of the present application also provides a newly added wayland protocol protocol, which realizes the creation of an off-screen rendering buffer and a callback function for the buffer to be available using the storage space applied for by the display service program.
[0034] The memory management system 125 may be ION, which is a memory management subsystem in the Linux operating system. ION supports multiple types of memory pools (heaps), each of which may have different characteristics, such as continuity from physical memory, cache properties, etc. The device may allocate memory from different memory pools as needed, and the memory buffer allocated by ION may be shared between different processes. ION provides cache control of the buffer to ensure consistency between the CPU and other hardware modules.
[0035] The virtual display driver component 126 is used to enable the synthesizer 123 and ensure the normal operation of the graphics processor 114. It should also be noted that since the display controller 113 is used to control the display device to display relevant data, Figure 1 As shown, the target system 10 can be connected to the display device 20 through a display interface, and more specifically, the display controller 113 can be connected to the display device 20 through a display interface. The display interface can be a high-definition multimedia interface (HDMI), a display serial interface (DSI), etc., which is not specifically limited here.
[0036] In addition, it should be noted that, since the vehicle data display method provided in the embodiment of the present application involves a real-time core and a high-performance core, an inter-processor communication (IPC) is also provided in the embodiment of the present application, which is used in a multi-core processor system, and is a mechanism for data exchange and synchronization between different processor cores. In the embodiment of the present application, the Mailboxes mechanism can be used to transmit messages and signals between ARMv8-A and ARMv7-R.
[0037] based on Figure 1 The structural schematic diagram of the target system is shown, and the vehicle data display method provided in the embodiment of the present application is described in detail below in conjunction with the accompanying drawings.
[0038] Figure 2 It is a flow chart of a vehicle data display method provided in an embodiment of the present application.
[0039] like Figure 2 As shown, the execution subject of the method may be a target system, which may include a multi-core processing chip. It should be noted that a multi-core processing chip refers to a single processor chip with two or more cores (kernels or computing engines) integrated therein. The multi-core processing chip includes a real-time core, a high-performance core, and a display controller. Based on this, the method may specifically include the following steps:
[0040] S210, when the real-time core controls the display controller, obtaining a data storage address of the vehicle data to be displayed.
[0041] The vehicle data to be displayed is vehicle data generated by a target application running on the high-performance core. In addition, the data storage address of the vehicle data to be displayed may refer to the address of a storage space used to store the vehicle data to be displayed.
[0042] Specifically, in the case where the real-time core controls the display controller, that is, the display controller is controlled by the real-time core to display relevant data, the target system can obtain the data storage address of the vehicle data to be displayed.
[0043] S220, reading the vehicle data to be displayed from the first storage space corresponding to the data storage address.
[0044] Specifically, after obtaining the data storage address of the vehicle data to be displayed, the target system can read the corresponding vehicle data to be displayed from the first storage space corresponding to the data storage address based on the data storage address of the vehicle data to be displayed.
[0045] S230, sending the vehicle data to be displayed to the display device through the display controller, so that the display device displays the vehicle data to be displayed.
[0046] Specifically, after the target system reads and obtains the vehicle data to be displayed, the vehicle data to be displayed may be sent to the display device through the display controller, so that the display device displays the vehicle data to be displayed read from the first storage space.
[0047] In an embodiment of the present application, when the real-time core controls the display controller, the data storage address of the vehicle data to be displayed can be obtained through the target system, and the vehicle data to be displayed can be read from the first storage space corresponding to the data storage address, and then the vehicle data to be displayed can be sent to the display device through the display controller, so that the display device can display the vehicle data to be displayed. The above-mentioned vehicle data to be displayed is the vehicle data generated by the target application running on the high-performance core. In this way, when the display controller is assigned to the real-time core for control, the data storage address of the display data generated by the target application running on the high-performance core can be obtained by directly reading and displaying it, thereby realizing the normal display of the data generated by the target application running on the high-performance core, and obtaining the data for display in the above-mentioned zero-copy manner, thereby improving the smoothness of the picture.
[0048] In relation to the above S210, since the above target system includes a multi-core processing chip, in one embodiment, the step of obtaining the data storage address of the vehicle data to be displayed specifically includes:
[0049] The data storage address of the vehicle data to be displayed is obtained through the multi-core processing chip.
[0050] Based on this, the above S220 specifically includes:
[0051] The vehicle data to be displayed is read from the first storage space corresponding to the data storage address through the multi-core processing chip.
[0052] In this embodiment, since the above-mentioned target system includes a multi-core processing chip, when the real-time core controls the display controller, the data storage address of the vehicle data to be displayed can be obtained through the multi-core processing chip, and the vehicle data to be displayed can be read from the first storage space corresponding to the data storage address through the multi-core processing chip, so that the vehicle data to be displayed can be displayed subsequently. In this way, when the display controller is assigned to the real-time core for control, the data generated by the target application running on the high-performance core can be displayed normally.
[0053] In order to introduce the vehicle data display method provided by the embodiment of the present application in more detail, in one embodiment, since the multi-core processing chip includes a real-time core, the step of obtaining the data storage address of the vehicle data to be displayed specifically includes:
[0054] Obtain the data storage address of the vehicle data to be displayed through the real-time core;
[0055] Based on this, the above S220 specifically includes:
[0056] The vehicle data to be displayed is read from the first storage space corresponding to the data storage address through the real-time core.
[0057] It should be noted that after the target system reads the vehicle data to be displayed from the first storage space corresponding to the data storage address through the real-time core, it can transmit the vehicle data to be displayed to the display controller through the real-time core, so that the vehicle data to be displayed can be subsequently sent to the display device through the display controller for the display device to display the vehicle data to be displayed.
[0058] In this embodiment, since the multi-core processing chip includes a real-time core, when the real-time core controls the display controller, the target system can obtain the data storage address of the vehicle data to be displayed through the real-time core, and after obtaining the data storage address of the vehicle data to be displayed, the real-time core reads the vehicle data to be displayed from the first storage space corresponding to the data storage address. In this way, when the display controller is assigned to the real-time core for control, the data generated by the target application running on the high-performance core can be displayed normally.
[0059] Since the vehicle data display method provided in the embodiment of the present application needs to obtain the data storage address of the vehicle data to be displayed, it is necessary to store the vehicle data to be displayed and determine the data storage address of the vehicle data to be displayed before this step. Therefore, in one embodiment, the above-mentioned target system may also include an operating system, and the operating system may refer to a Linux system, which is not specifically limited here. Based on this, before the above-mentioned step of obtaining the data storage address of the vehicle data to be displayed, the vehicle data display method provided in the embodiment of the present application may also include the following steps:
[0060] Acquire application image data of a target application through an operating system;
[0061] The application image data is merged and processed by a multi-core processing chip to obtain the vehicle data to be displayed;
[0062] The vehicle data to be displayed is stored in the first storage space through the multi-core processing chip, and the data storage address of the first storage space is determined.
[0063] The target application may be any application that needs to display relevant data, and is not specifically limited here. It should also be noted that since the operating system may be a Linux system, and the Linux system may be divided into a user space and a kernel space, the target application may be a related application running in the user space, and is not specifically limited here.
[0064] In addition, the above-mentioned application image data may be one image data or may include at least two image data. If the above-mentioned application image data includes one image data, the vehicle data to be displayed obtained after the merging process includes the image data; if the above-mentioned application image data includes at least two image data, the above-mentioned merging process refers to the process of merging two or more image data into one image, and accordingly, the vehicle data to be displayed obtained after the merging process may include the above-mentioned image data after the two or more image data are merged into one image, which will not be described in detail here.
[0065] Specifically, since the target system may include an operating system and a multi-core processing chip, the target system can obtain application image data of the target application through the operating system, and merge and process the application image data through the multi-core processing chip to obtain vehicle data to be displayed, and then store the vehicle data to be displayed in the first storage space through the multi-core processing chip, and determine the data storage address of the first storage space, that is, determine the data storage address of the vehicle data to be displayed.
[0066] In this embodiment, the target application's application image data can be obtained through the target system's operating system, and the application image data can be merged through the multi-core processing chip, and the merged vehicle data to be displayed can be stored. In this way, the subsequent target system can directly read the vehicle data to be displayed through the data storage address for display, thereby realizing the normal display of the data generated by the target application running on the high-performance core.
[0067] In order to describe the vehicle data display method provided by the embodiment of the present application in more detail and accurately, in one embodiment, after obtaining the application image data of the target application through the operating system, the vehicle data display method provided by the embodiment of the present application may further include the following steps:
[0068] The application image data is rendered by the operating system, and the application image data after the initial rendering is stored in the second storage space.
[0069] The above-mentioned application image data may include at least one image data, and correspondingly, the second storage space may include at least one subspace, each subspace being used to store one image data.
[0070] Based on this, the above-mentioned step of merging and processing the application image data through the multi-core processing chip to obtain the vehicle data to be displayed may specifically include the following steps:
[0071] reading application image data from the second storage space through the multi-core processing chip;
[0072] Rendering the application image data through a multi-core processing chip to obtain the application image data after being rendered again;
[0073] The application image data is merged and processed through a multi-core processing chip to obtain the vehicle data to be displayed.
[0074] Specifically, after obtaining application image data of the target application through the operating system, the target system can render the application image data through the operating system to obtain application image data after initial rendering, and store the application image data after initial rendering to a second storage space. Based on this, the target system can read the application image data from the second storage space through a multi-core processing chip, and can re-render the application image data through the multi-core processing chip to obtain application image data after re-rendering, and then can merge the application image data through the multi-core processing chip to obtain vehicle data to be displayed.
[0075] In this embodiment, the application image data obtained can be rendered by the operating system, and the rendered application image data can be stored in the second storage space, and then the application image data can be read from the second storage space by the multi-core processing chip for re-rendering and merging. In this way, not only can the application image data be rendered twice by the operating system and the multi-core processing chip to optimize the presentation effect of the application image data, but also the image data reading and merging process can be efficiently realized, significantly shortening the image processing time.
[0076] In the above embodiment, the operating system needs to obtain application image data and perform operations such as rendering and storage on the application image data. In order to accurately describe the above process, in one embodiment, the above operating system may include the above target application and the application rendering component; based on this, the above step of obtaining the application image data of the target application through the operating system may specifically include:
[0077] Obtain application image data through the target application;
[0078] Based on this, the above step of rendering the application image data through the operating system and storing the application image data after the initial rendering in the second storage space may specifically include:
[0079] The target application calls the application rendering component to render the application image data, and stores the application image data after the initial rendering in the second storage space.
[0080] Specifically, since the above-mentioned operating system may include a target application and an application rendering component, based on this, the target system can obtain the application image data generated by the target application through the target application, and call the above-mentioned application rendering component through the target application to render the application image data, and store the application image data after the initial rendering in the second storage space.
[0081] In this embodiment, the target application in the operating system can obtain the application image data generated by itself, and the target application calls the application rendering component to render the application image data, and stores the rendered application image data in the second storage space. In this way, before storing the application image data, the image quality of the application image data can be improved by rendering, and the presentation effect of the application image data can be optimized.
[0082] It should also be noted that, in one embodiment, the operating system may include a synthesizer, which may include an image rendering component and a synthesis plug-in. Based on this, before reading the application image data from the second storage space through the multi-core processing chip, the method may also include:
[0083] transmitting, by the target application, a storage address of the second storage space to the synthesizer;
[0084] The image rendering component calls the synthesis plug-in to transmit the storage address of the second storage space to the multi-core processing chip.
[0085] Based on this, the above-mentioned reading of the application image data from the second storage space by the multi-core processing chip may specifically include:
[0086] The application image data is read from the second storage space based on the storage address of the second storage space by the multi-core processing chip.
[0087] Specifically, after the target application stores the application image data in the second storage space, the target system can transmit the storage address of the second storage space to the synthesizer through the target application, and then the synthesizer can call the synthesis plug-in to transmit the storage address of the second storage space to the multi-core processing chip, so that the multi-core processing chip can read the application image data from the second storage space based on the storage address of the second storage space.
[0088] It should be noted that the embodiment of the present application provides a wayland protocol, based on which the above-mentioned target application can transmit the storage address of the second storage space to the synthesizer through the wayland protocol.
[0089] In this embodiment, after the target application stores application image data in the second storage space, the storage address of the second storage space can be shared with the compositor, so that the image rendering component in the compositor can call the synthesis plug-in to transmit the storage address of the second storage space to the multi-core processing chip, so that the multi-core processing chip can accurately read the application image data based on the storage address of the second storage space.
[0090] Based on this, in one embodiment, the above step of transmitting the storage address of the second storage space to the multi-core processing chip through the image rendering component calling the synthesis plug-in may specifically include the following steps:
[0091] Get display configuration parameters through the image rendering component;
[0092] When the display configuration parameter is the target configuration parameter, the image rendering component calls the synthesis plug-in to transmit the storage address of the second storage space to the multi-core processing chip.
[0093] The display configuration parameters are used to determine whether to output the application image data to a display or to render it off-screen. The target configuration parameters may indicate whether to render the application image data off-screen.
[0094] Specifically, the target system can obtain the display configuration parameters through the image rendering component, and then, when the display configuration parameters are the target configuration parameters, the image rendering component calls the synthesis plug-in to transmit the storage address of the second storage space to the multi-core processing chip.
[0095] In this embodiment, only when the acquired display configuration parameters are target configuration parameters can the image rendering component call the synthesis plug-in to transmit the storage address of the second storage space to the multi-core processing chip. In this way, the application image data can be processed by off-screen rendering, so that the application image data can be effectively and accurately read later.
[0096] Based on this, in order to accurately describe the vehicle data display method provided by the embodiment of the present application, in one embodiment, the above-mentioned operating system may include a synthesizer, and the synthesizer may include an image rendering component and a synthesis plug-in. Based on this, before rendering the application image data by the multi-core processing chip to obtain the re-rendered application image data, the vehicle data display method provided by the embodiment of the present application may also include the following steps:
[0097] Get rendering parameters through the image rendering component;
[0098] The synthesis plug-in is called through the image rendering component to transmit the rendering parameters to the multi-core processing chip.
[0099] Based on this, the above step of rendering the application image data by the multi-core processing chip to obtain the re-rendered application image data may specifically include:
[0100] The application image data is rendered based on the rendering parameters by a multi-core processing chip to obtain the application image data after being rendered again.
[0101] Specifically, since the above-mentioned operating system may include a synthesizer, the synthesizer may include an image rendering component and a synthesis plug-in. Based on this, the target system can obtain rendering parameters through the image rendering component, and call the synthesis plug-in through the image rendering component to transmit the rendering parameters for re-rendering the application image data to the multi-core processing chip. In this way, the target system can render the application image data based on the rendering parameters through the multi-core processing chip to obtain the application image data after re-rendering.
[0102] In this embodiment, since the operating system includes a synthesizer, and the synthesizer includes an image rendering component and a synthesis plug-in, based on this, the rendering parameters can be obtained through the image rendering component, and the image rendering component is used to call the synthesis plug-in to transmit the rendering parameters to the multi-core processing chip, so that the subsequent multi-core processing chip can re-render the read application image data based on the rendering parameters. In this way, the image quality of the application image data can be further improved.
[0103] In addition, in one embodiment, the above step of rendering the application image data by the image rendering component may be specifically performed as follows:
[0104] Get display configuration parameters through the image rendering component;
[0105] When the display configuration parameters are target configuration parameters, the synthesis plug-in is called through the image rendering component to transmit the rendering parameters to the multi-core processing chip.
[0106] The display configuration parameters are used to determine whether to output the application image data to a display or to render it off-screen. The target configuration parameters may indicate whether to render the application image data off-screen.
[0107] Specifically, the target system can obtain rendering configuration parameters through the image rendering component, and then, when the display configuration parameters are target configuration parameters, the image rendering component can call the synthesis plug-in to transmit the rendering parameters to the multi-core processing chip.
[0108] In this embodiment, the rendering configuration parameters can be obtained through the image rendering component, and when the display configuration parameters are the target configuration parameters, the image rendering component calls the synthesis plug-in to transmit the rendering parameters to the multi-core processing chip. In this way, the application image data can be processed by off-screen rendering, so that the application image data can be effectively and accurately rendered later.
[0109] In order to accurately obtain the above rendering configuration parameters, in one embodiment, the above synthesizer may further include a parameter configuration component. Based on this, the step of obtaining the rendering configuration parameters through the image rendering component may specifically include:
[0110] The image rendering component reads the rendering configuration parameters from the parameter configuration component.
[0111] In this embodiment, since the above-mentioned synthesizer can also include a parameter configuration component, the target system can read the rendering configuration parameters from the parameter configuration component through the image rendering component, so that the application image data can be subsequently rendered and processed based on the rendering configuration parameters through the image rendering component.
[0112] In addition, in one embodiment, the multi-core processing chip includes a graphics processor. Based on this, the step of merging the application image data through the multi-core processing chip to obtain the vehicle data to be displayed may specifically include:
[0113] The application image data is merged and processed by the graphics processor to obtain the vehicle data to be displayed. Based on this, the above step of obtaining the multi-core processing chip to store the vehicle data to be displayed in the first storage space and determining the data storage address of the first storage space specifically includes:
[0114] The vehicle data to be displayed is stored in the first storage space through the graphics processor, and the data storage address of the first storage space is determined.
[0115] Specifically, since the multi-core processing chip includes a graphics processor, based on this, the target system can merge the application image data through the graphics processor to obtain the vehicle data to be displayed, and can store the vehicle data to be displayed in the first storage space through the graphics processor, and determine the data storage address of the first storage space.
[0116] It should be noted that, in the above-mentioned process of merging the application image data through the graphics processor to obtain the vehicle data to be displayed, the target system first reads the application image data from the second storage space through the graphics processor, and renders the application image data through the graphics processor to obtain the application image data after re-rendering, and then the application image data can be merged through the graphics processor to obtain the vehicle data to be displayed, that is: the target system can perform texture sampling on the address of the application image data stored in the second storage space through the graphics processor, and then perform synthesis processing to obtain the vehicle data to be displayed.
[0117] In this embodiment, since the multi-core processing chip may include a graphics processor, the application image data can be merged through the graphics processor, and the vehicle data to be displayed obtained after the merger can be stored, so that the vehicle data to be displayed can be directly read through the data storage address for display, thereby achieving the normal display of the data generated by the target application running on the high-performance core.
[0118] Based on this, in order to describe in detail the vehicle data display method provided in the embodiment of the present application, in one embodiment, the above-mentioned operating system further includes a display service program. Based on this, the data storage address of the vehicle data to be displayed is obtained through the real-time core, specifically including:
[0119] When the synthesizer obtains the notification output by the graphics processor, the data storage address of the first storage space is transmitted to the display service program through the synthesizer;
[0120] The data storage address of the first storage space is transmitted to the real-time core through the display service program.
[0121] The notification is used to notify the synthesizer that the vehicle data to be displayed has been synthesized and stored in the first storage space.
[0122] Specifically, the target system can store the vehicle data to be displayed in the first storage space through the graphics processor and determine the data storage address of the first storage space, and then notify the synthesizer through the graphics processor that the vehicle data to be displayed has been synthesized and stored in the first storage space. In this way, when the synthesizer obtains the notification output by the graphics processor, the data storage address of the first storage space is transmitted to the display service program through the synthesizer, and then the data storage address of the first storage space can be transmitted to the real-time core through the display service program through IPC. Since the first storage space is used to store the vehicle data to be displayed, the real-time core can obtain the data storage address for storing the vehicle data to be displayed.
[0123] It should also be noted here that, when the target system applies for the first storage space for storing the vehicle data to be displayed by calling the display service program through the operating system, the data storage address of the first storage space for storing the vehicle data to be displayed can be shared with the synthesizer through the display service program, and the synthesizer can transmit the data storage address of the first storage space to the multi-core processing chip while transmitting the storage address and rendering parameters of the second storage space to the multi-core processing chip, so that after the graphics processor obtains the vehicle data to be displayed, it can store the vehicle data to be displayed in the first storage space and notify the synthesizer. In this way, when the synthesizer obtains the notification output by the graphics processor, the target system can transmit the data storage address of the first storage space to the display service program through the synthesizer, and then can transmit the data storage address of the first storage space to the real-time core through the display service program through IPC.
[0124] In this embodiment, after the graphics processor stores the vehicle data to be displayed in the first storage space and determines the data storage address of the first storage space, the graphics processor can notify the synthesizer that the vehicle data to be displayed has been merged and stored, and then the synthesizer can transmit the data storage address of the first storage space to the display service program, and the display service program can notify the real-time core of the storage address of the first storage space. In this way, the real-time core can accurately obtain the storage address of the vehicle data to be displayed.
[0125] In the vehicle data display method provided in the embodiment of the present application, it is necessary to store the vehicle data to be displayed in the first storage space. Therefore, it is necessary to apply for the first storage space before storing the vehicle data to be displayed in the first storage space. Based on this, in one embodiment, the multi-core processing chip may also include a memory. Thus, before storing the vehicle data to be displayed in the first storage space through the multi-core processing chip and determining the data storage address of the first storage space, the vehicle data display method provided in the embodiment of the present application may also include the following steps:
[0126] In response to a start-up instruction of the target system, a first storage space for storing the vehicle data to be displayed is obtained by dividing the storage space of the memory through the operating system.
[0127] Specifically, since the multi-core processing chip may include a memory, based on this, the target system can respond to its own startup instruction and obtain the first storage space for storing the vehicle data to be displayed from the storage space of the memory through the operating system.
[0128] In this embodiment, the first storage space can be pre-divided from the storage space in the multi-core processor. In this way, after the vehicle data to be displayed is obtained, the vehicle data to be displayed can be directly stored in the first storage space, so that the vehicle data to be displayed can be directly read therefrom for display later, thereby realizing the normal display of the data generated by the target application running on the high-performance core.
[0129] Based on this, in one embodiment, the above operating system may also include a memory management system and a display service program;
[0130] In response to the start-up instruction of the target system, the first storage space for storing the vehicle data to be displayed is obtained by dividing the storage space of the memory through the operating system, specifically including:
[0131] In response to a startup instruction of the target system, the operating system calls the memory management system to divide the storage space of the memory to obtain a third storage space for enabling the operating system;
[0132] By calling the display service program through the operating system, a first storage space for storing the vehicle data to be displayed is obtained by dividing the third storage space;
[0133] The third storage space may include the first storage space.
[0134] Specifically, the target system can respond to the startup instruction of the target system and obtain a third storage space for enabling the operating system by calling the memory management system through the operating system, and the third storage space can include the above-mentioned first storage space. In this way, the target system can obtain a first storage space for storing vehicle data to be displayed by calling the display service program through the operating system.
[0135] In addition, it should be noted that the first storage space may include a plurality of subspaces, each of which may be used to store the vehicle data to be displayed, so that the plurality of subspaces may be used cyclically.
[0136] In this embodiment, when starting the target system, the storage space that can enable the operating system can be applied for first, and then the storage space for storing the vehicle data to be displayed can be applied for after the operating system can run normally. In this way, the vehicle data to be displayed can be directly read from the storage space for display, thereby realizing the normal display of the data generated by the target application running on the high-performance core.
[0137] In another embodiment, before the step of storing the application image data in the second storage space through the operating system, the vehicle data display method provided in the embodiment of the present application may further include the following steps:
[0138] In response to a start-up instruction of the target application, a second storage space for storing application image data is obtained by dividing the storage space of the memory through the target application.
[0139] Specifically, the target system can respond to the start-up instruction of the target application and obtain the second storage space for storing the application image data of the target application by dividing the storage space of the memory through the target application.
[0140] In this embodiment, the second storage space can be pre-divided from the storage space in the multi-core processor, so that the application image data can be directly stored in the second storage space after the application image data is obtained.
[0141] In order to describe the vehicle data display method provided by the embodiment of the present application in more detail, in one embodiment, the above operating system may further include a virtual display driver. Based on this, before obtaining the application image data of the target application through the synthesizer, the vehicle data display method provided by the embodiment of the present application may further include:
[0142] Enable the compositor via the virtual display driver.
[0143] In this embodiment, the synthesizer can be enabled through a virtual display driver in the operating system so that the subsequent synthesizer can operate normally.
[0144] In addition, in one embodiment, the operating system may further include a virtual display driver. Based on this, before the application image data is merged and processed by the graphics processor to obtain the vehicle data to be displayed, the vehicle data display method provided in the embodiment of the present application may further include the following steps:
[0145] A target input / output control function corresponding to the graphics processor is constructed based on the initial input / output control function through a virtual display driver.
[0146] The initial input / output control function is stored in a virtual display driver, and the target input / output control function is used to start a graphics processor.
[0147] In this embodiment, the target system can construct a target input / output control function corresponding to the graphics processor based on the initial input / output control function through the virtual display driver in the operating system, so that the graphics processor can be started normally later.
[0148] In order to fully and completely describe the vehicle data display method provided by the embodiment of the present application, in one embodiment, Figure 3 As shown, the vehicle data display method provided in the embodiment of the present application may include the following steps:
[0149] S301, in response to a startup instruction of a target system, the operating system calls a memory management system to divide a storage space of a memory to obtain a third storage space for enabling the operating system.
[0150] S302: The operating system calls a display service program to divide the third storage space to obtain a first storage space for storing vehicle data to be displayed.
[0151] S303 , in response to a start instruction of the target application, a second storage space for storing application image data is obtained by dividing the storage space of the memory through the target application.
[0152] S304: Acquire application image data through the target application.
[0153] S305: Render the application image data by calling the application rendering component through the target application, and store the application image data after the initial rendering in the second storage space.
[0154] S306: Transmit the storage address of the second storage space to the synthesizer through the target application.
[0155] S307, obtaining rendering parameters and display configuration parameters through the image rendering component.
[0156] S308: When the display configuration parameter is the target configuration parameter, the image rendering component calls the synthesis plug-in to transmit the storage address and rendering parameters of the second storage space to the multi-core processing chip.
[0157] S309: Read application image data from the second storage space based on the storage address of the second storage space through the graphics processor.
[0158] S310, rendering application image data based on rendering parameters by a graphics processor to obtain re-rendered application image data.
[0159] S311, merging the application image data through a graphics processor to obtain vehicle data to be displayed.
[0160] S312, storing the vehicle data to be displayed in the first storage space through the graphics processor, and determining the data storage address of the first storage space.
[0161] S313: When the real-time core controls the display controller and the synthesizer obtains a notification output by the graphics processor, the data storage address of the first storage space is transmitted to the display service program through the synthesizer.
[0162] S314, transmitting the data storage address of the first storage space to the real-time core through the display service program.
[0163] S315, reading the vehicle data to be displayed from the first storage space corresponding to the data storage address through the real-time core.
[0164] S316, transmitting the vehicle data to be displayed to the display controller through the real-time core.
[0165] S317, sending the vehicle data to be displayed to the display device through the display controller, so that the display device displays the vehicle data to be displayed.
[0166] It should be noted that in the implementation Figure 3 Before the method steps shown, it is necessary to start the virtual display service program to ensure the normal operation of the graphics processor and the synthesizer.
[0167] Specifically, in response to the startup instruction of the target system, the operating system can call the memory management system to divide the third storage space for enabling the operating system from the storage space of the memory, and then the operating system calls the display service program to divide the first storage space for storing the vehicle data to be displayed from the third storage space. And in response to the startup instruction of the target application, the target application divides the second storage space for storing the application image data from the storage space of the memory.
[0168] When the storage space is applied for in advance, the target system can obtain application image data through the target application, and render the application image data by calling the application rendering component through the target application, and store the application image data after the initial rendering in the second storage space, and then transmit the storage address of the second storage space to the synthesizer through the target application, and obtain the rendering parameters through the image rendering component in the synthesizer, and read the display configuration parameters from the parameter configuration component, and when the display configuration parameters are the target configuration parameters, call the synthesis plug-in through the image rendering component to transmit the storage address and rendering parameters of the above-mentioned second storage space to the multi-core processing chip.
[0169] In this way, since the multi-core processing chip includes a graphics processor, based on this, the target system can read the application image data from the second storage space based on the storage address of the second storage space through the graphics processor, and render the application image data based on the rendering parameters through the graphics processor to obtain the application image data after re-rendering, and merge the application image data through the graphics processor to obtain the vehicle data to be displayed, and store the vehicle data to be displayed in the first storage space through the graphics processor, and determine the data storage address of the first storage space.
[0170] Subsequently, when the real-time core controls the display and the synthesizer obtains the notification of the graphics processor output, the target system can transmit the data storage address of the first storage space to the display service program through the synthesizer, and transmit the data storage address of the first storage space to the real-time core through the display service program. In this way, the real-time core can obtain the data storage address of the vehicle data to be displayed, and then the target system can read the corresponding vehicle data to be displayed from the first storage space corresponding to the data storage address through the real-time core, and transmit the vehicle data to be displayed to the display controller through the real-time core, and then the vehicle data to be displayed can be sent to the display device through the display controller, so that the display device can display the vehicle data to be displayed.
[0171] In this embodiment, when the display controller is assigned to the real-time core for control, the vehicle data to be displayed can be directly read and displayed by obtaining the data storage address of the vehicle data to be displayed generated by the target application running on the high-performance core that is pre-stored, thereby achieving normal display of the data generated by the target application running on the high-performance core, and obtaining data for display by the above-mentioned zero-copy method, thereby improving the smoothness of the picture.
[0172] Based on the same inventive concept, the embodiment of the present application provides a vehicle data display device for use in a target system, the target system may include a multi-core processing chip, the multi-core processing chip includes a real-time core, a high-performance core and a display controller, specifically combined with Figure 4 The vehicle data display device provided in the embodiment of the present application is described in detail.
[0173] Figure 4 It is a structural schematic diagram of a vehicle data display device provided in an embodiment of the present application.
[0174] like Figure 4 As shown, the vehicle data display device 400 may include:
[0175] An acquisition module 410 is used to acquire a data storage address of vehicle data to be displayed when the real-time core controls the display controller, where the vehicle data to be displayed is vehicle data generated by a target application running on the high-performance core;
[0176] A reading module 420, configured to read the vehicle data to be displayed from the first storage space corresponding to the data storage address;
[0177] The sending module 430 is used to send the vehicle data to be displayed to the display device through the display controller, so that the display device displays the vehicle data to be displayed.
[0178] In one embodiment, the target system further includes an operating system, and the vehicle data display device provided in the embodiment of the present application further includes:
[0179] The acquisition module is further used to acquire application image data of the target application through the operating system;
[0180] A merging module, used to merge the application image data through a multi-core processing chip to obtain vehicle data to be displayed;
[0181] The storage module is used to store the vehicle data to be displayed in the first storage space through the multi-core processing chip and determine the data storage address of the first storage space.
[0182] In one embodiment, the vehicle data display device provided by the embodiment of the present application may further include:
[0183] The rendering module is used to render the application image data through the operating system, and store the application image data after the initial rendering in the second storage space;
[0184] Based on this, the above reading module is also used to read the application image data from the second storage space through the multi-core processing chip;
[0185] The rendering module is further used to render the application image data through a multi-core processing chip to obtain the application image data after re-rendering;
[0186] The above-mentioned merging module is specifically used to merge the application image data through a multi-core processing chip to obtain the vehicle data to be displayed.
[0187] In one embodiment, the operating system includes a synthesizer, which may include an image rendering component and a synthesis plug-in. Based on this, the vehicle data display device provided in the embodiment of the present application also includes:
[0188] The acquisition module is also used to acquire rendering parameters through the image rendering component;
[0189] A calling module is used to call the synthesis plug-in through the image rendering component and transmit rendering parameters to the multi-core processing chip;
[0190] Based on this, the rendering module is specifically used to render the application image data based on the rendering parameters through the multi-core processing chip to obtain the application image data after re-rendering.
[0191] In one embodiment, the acquisition module is further used to acquire display configuration parameters through an image rendering component;
[0192] The above-mentioned calling module is specifically used to call the synthesis plug-in through the image rendering component to transmit the rendering parameters to the multi-core processing chip when the display configuration parameters are the target configuration parameters.
[0193] In one embodiment, the multi-core processing chip may further include a graphics processor. Based on this, the merging module is specifically used to merge the application image data through the graphics processor to obtain the vehicle data to be displayed;
[0194] The storage module is specifically used to store the vehicle data to be displayed in the first storage space through the graphics processor, and determine the data storage address of the first storage space.
[0195] In one embodiment, the multi-core processing chip may further include a memory. Based on this, the vehicle data display device provided in the embodiment of the present application further includes:
[0196] The partitioning module is used to respond to the startup instruction of the target system and obtain a first storage space for storing the vehicle data to be displayed from the storage space of the memory through the operating system.
[0197] Based on this, in one embodiment, the operating system further includes a memory management system and a display service program. Based on this, the division module is specifically used for:
[0198] In response to a startup instruction of the target system, the operating system calls the memory management system to divide the storage space of the memory to obtain a third storage space for enabling the operating system, wherein the third storage space includes the first storage space;
[0199] In response to the start-up instruction of the target application, the operating system calls the display service program component to divide the third storage space to obtain the first storage space for storing the vehicle data to be displayed.
[0200] In one embodiment, the above operating system may further include a virtual display driver; the vehicle data display device provided in the embodiment of the present application further includes:
[0201] The construction module is used to construct a target input / output control function corresponding to the graphics processor based on the initial input / output control function through the virtual display driver, and the target input / output control function is used to start the graphics processor.
[0202] In an embodiment of the present application, when the real-time core controls the display controller, the data storage address of the vehicle data to be displayed can be obtained through the target system, and the vehicle data to be displayed can be read from the first storage space corresponding to the data storage address, and then the vehicle data to be displayed can be sent to the display device through the display controller, so that the display device can display the vehicle data to be displayed. The above-mentioned vehicle data to be displayed is the vehicle data generated by the target application running on the high-performance core. In this way, when the display controller is assigned to the real-time core for control, the data storage address of the vehicle data to be displayed generated by the target application running on the high-performance core can be obtained by directly reading and displaying it, thereby realizing the normal display of the data generated by the target application running on the high-performance core, and obtaining the data for display in the above-mentioned zero-copy manner, thereby improving the smoothness of the picture.
[0203] Each module in the vehicle data display device provided in the embodiment of the present application can be implemented as follows: Figure 2 or Figure 3 The method steps of the illustrated embodiment can achieve the corresponding technical effects, and for the sake of brevity, they will not be repeated here.
[0204] Figure 5 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.
[0205] The electronic device may include a processor 501 and a memory 502 storing computer program instructions.
[0206] Specifically, the processor 501 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0207] The memory 502 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 502 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. Where appropriate, the memory 502 may include a removable or non-removable (or fixed) medium. Where appropriate, the memory 502 may be inside or outside the electronic device. In a particular embodiment, the memory 502 is a non-volatile solid-state memory.
[0208] The memory may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical / tangible memory storage devices. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.
[0209] The processor 501 implements any one of the vehicle data display methods in the above embodiments by reading and executing computer program instructions stored in the memory 502 .
[0210] In one example, the electronic device may further include a communication interface 503 and a bus 510. Figure 5 As shown, the processor 501, the memory 502, and the communication interface 503 are connected via a bus 510 and communicate with each other.
[0211] The communication interface 503 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0212] Bus 510 includes hardware, software or both, and the parts of electronic equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 510 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the application considers any suitable bus or interconnection.
[0213] In addition, in combination with the vehicle data display method in the above embodiment, the embodiment of the present application can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by the processor, the vehicle data display method provided in the embodiment of the present application is implemented.
[0214] An embodiment of the present application also provides a computer program product, which includes a computer program, and the computer program is executed by a processor to implement the vehicle data display method provided in the embodiment of the present application.
[0215] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0216] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0217] The above are only specific implementation methods of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A vehicle data display method, characterized in that: Applied to a target system, the target system includes a multi-core processing chip, the multi-core processing chip includes a real-time core, a high-performance core and a display controller; the method includes: In the case where the real-time core controls the display controller, obtaining a data storage address of vehicle data to be displayed, wherein the vehicle data to be displayed is vehicle data generated by a target application running on the high-performance core; Read the vehicle data to be displayed from the first storage space corresponding to the data storage address; The vehicle data to be displayed is sent to a display device through the display controller, so that the display device displays the vehicle data to be displayed.
2. The method according to claim 1, characterized in that: The target system also includes an operating system; before obtaining the data storage address of the vehicle data to be displayed, the method also includes: Acquiring application image data of the target application through the operating system; The application image data is merged and processed by the multi-core processing chip to obtain the vehicle data to be displayed; The vehicle data to be displayed is stored in the first storage space through the multi-core processing chip, and a data storage address of the first storage space is determined.
3. The method according to claim 2, characterized in that After obtaining the application image data of the target application through the operating system, the method further includes: Rendering the application image data through the operating system, and storing the application image data after the initial rendering in a second storage space; The merging and processing the application image data by the multi-core processing chip to obtain the vehicle data to be displayed includes: Reading the application image data from the second storage space through the multi-core processing chip; Rendering the application image data by the multi-core processing chip to obtain the application image data after being rendered again; The application image data is merged and processed by the multi-core processing chip to obtain the vehicle data to be displayed.
4. The method according to claim 3, characterized in that The operating system includes a synthesizer; the synthesizer includes an image rendering component and a synthesis plug-in; before rendering the application image data by the multi-core processing chip to obtain the re-rendered application image data, the method also includes: Acquiring rendering parameters through the image rendering component; Calling the synthesis plug-in through the image rendering component to transmit the rendering parameters to the multi-core processing chip; The step of rendering the application image data by the multi-core processing chip to obtain the re-rendered application image data includes: The application image data is rendered by the multi-core processing chip based on the rendering parameters to obtain the application image data after re-rendering.
5. The method according to claim 4, characterized in that The step of calling the synthesis plug-in through the image rendering component and transmitting the rendering parameters to the multi-core processing chip includes: Acquiring display configuration parameters through the image rendering component; In the case where the display configuration parameters are target configuration parameters, the synthesis plug-in is called by the image rendering component to transmit the rendering parameters to the multi-core processing chip.
6. The method according to claim 2, characterized in that The multi-core processing chip further includes a graphics processor; the merging and processing of the application image data by the multi-core processing chip to obtain the vehicle data to be displayed includes: Merging the application image data by the graphics processor to obtain the vehicle data to be displayed; The storing the to-be-displayed vehicle data in the first storage space by the multi-core processing chip and determining the data storage address of the first storage space includes: The vehicle data to be displayed is stored in the first storage space by the graphics processor, and a data storage address of the first storage space is determined.
7. The method according to claim 6, characterized in that The operating system also includes a virtual display driver; Before the graphics processor performs merging processing on the application image data to obtain the vehicle data to be displayed, the method further includes: The target input / output control function corresponding to the graphics processor is constructed by the virtual display driver based on the initial input / output control function, and the target input / output control function is used to start the graphics processor.
8. The method according to any one of claims 2 to 7, characterized in that The multi-core processing chip further includes a memory, and the operating system further includes a memory management system and a display service program; before storing the vehicle data to be displayed in the first storage space through the multi-core processing chip and determining the data storage address of the first storage space, the method further includes: In response to a startup instruction of the target system, the operating system calls the memory management system to divide the storage space of the memory to obtain a third storage space for enabling the operating system, wherein the third storage space includes the first storage space; The operating system calls the display service program to divide the third storage space to obtain a first storage space for storing the vehicle data to be displayed.
9. A vehicle data display device, characterized in that: Applied to a target system, the target system includes a multi-core processing chip, the multi-core processing chip includes a real-time core, a high-performance core and a display controller; the device includes: An acquisition module, configured to acquire a data storage address of vehicle data to be displayed when the real-time core controls the display controller, wherein the vehicle data to be displayed is vehicle data generated by a target application running on the high-performance core; A reading module, used for reading the vehicle data to be displayed from the first storage space corresponding to the data storage address; A sending module is used to send the vehicle data to be displayed to the display device through the display controller, so that the display device displays the vehicle data to be displayed.
10. An electronic device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; The processor reads and executes the computer program instructions to implement the vehicle data display method according to any one of claims 1-8.
11. A computer storage medium, characterized in that: The computer storage medium stores computer instructions, and when the computer program instructions are executed by a processor, the vehicle data display method according to any one of claims 1 to 8 is implemented.