CN110333835B - Vehicle-mounted data image display method, system, electronic equipment and computer readable medium - Google Patents
Vehicle-mounted data image display method, system, electronic equipment and computer readable medium Download PDFInfo
- Publication number
- CN110333835B CN110333835B CN201910385002.XA CN201910385002A CN110333835B CN 110333835 B CN110333835 B CN 110333835B CN 201910385002 A CN201910385002 A CN 201910385002A CN 110333835 B CN110333835 B CN 110333835B
- Authority
- CN
- China
- Prior art keywords
- vehicle
- map
- rendering
- data
- image
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 238000009877 rendering Methods 0.000 claims abstract description 172
- 238000012545 processing Methods 0.000 claims description 24
- 238000004590 computer program Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 13
- 239000000872 buffer Substances 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 230000010354 integration Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1454—Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T15/00—3D [Three Dimensional] image rendering
- G06T15/005—General purpose rendering architectures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
- G06T17/05—Geographic models
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Geometry (AREA)
- Software Systems (AREA)
- Computer Graphics (AREA)
- Remote Sensing (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Navigation (AREA)
- Processing Or Creating Images (AREA)
Abstract
The present disclosure provides a display method of a vehicle-mounted data image, the method comprising: acquiring a vehicle-mounted data source, wherein the vehicle-mounted data source comprises various vehicle-mounted data; rendering the plurality of vehicle-mounted data through the same map rendering engine to obtain a vehicle-mounted data image corresponding to each vehicle-mounted data; and transmitting each vehicle-mounted data image to corresponding display equipment for display. The disclosure also provides a display of the vehicle-mounted data image, an electronic device and a computer readable medium.
Description
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to a vehicle-mounted data image display method, a vehicle-mounted data image display system, electronic equipment and a computer readable medium.
Background
With the rapid development of internet technology and the increasing demand of users for multimedia services, a "multi-screen interactive" service has been developed. The multi-screen interaction refers to that based on a certain transmission protocol, the multi-screen interaction can be mutually compatible and cross over between different operating systems and different terminal devices, and the transmission of multimedia contents such as video, audio and pictures to a plurality of terminals can be realized in a network connection mode, the display contents of different terminal screens can be synchronized, and a series of operations such as control devices can be realized through an intelligent terminal.
Disclosure of Invention
The embodiment of the disclosure provides a display method, a system, electronic equipment and a computer readable medium of a vehicle-mounted data image.
In a first aspect, an embodiment of the present disclosure provides a method for displaying an on-vehicle data image, including:
acquiring a vehicle-mounted data source, wherein the vehicle-mounted data source comprises various vehicle-mounted data;
rendering the plurality of vehicle-mounted data through the same map rendering engine to obtain a vehicle-mounted data image corresponding to each vehicle-mounted data;
and transmitting each vehicle-mounted data image to corresponding display equipment for display.
In some embodiments, the vehicle data includes meter map data; rendering the plurality of vehicle-mounted data by the same map rendering engine to obtain a vehicle-mounted data image corresponding to each vehicle-mounted data, wherein the rendering comprises the following steps: rendering the instrument map data through the map engine to obtain an instrument map image;
rendering the instrument map data through the map engine to obtain an instrument map image, wherein the rendering comprises the following steps:
creating a first virtual display device;
taking the first virtual display device as a rendering environment, and performing rendering processing on the instrument map data through the map rendering engine to obtain a virtual instrument map image;
and coding the virtual instrument map image to obtain the instrument map image.
In some embodiments, the creating a first virtual display device includes:
acquiring a first Surface through a media code decoder;
and calling a display manager to create a first virtual display device by using the first Surface as a parameter through a prestored first virtual display creation method.
In some embodiments, the in-vehicle data includes home map card data; rendering the plurality of vehicle-mounted data by the same map rendering engine to obtain a vehicle-mounted data image corresponding to each vehicle-mounted data, wherein the rendering comprises the following steps: rendering the home page map card data through the map engine to obtain a home page map card image;
rendering the home map card data through the map engine to obtain a home map card image, wherein the rendering comprises the following steps:
creating a second virtual display device;
and taking the second virtual display device as a rendering environment, and performing rendering processing on the home page map card data through the map rendering engine to obtain a home page map card image.
In some embodiments, the creating a second virtual display device includes:
acquiring a surface view provided by a home map card application;
acquiring a second Surface through a Surface holder of the Surface view;
and calling a display manager to create a second virtual display device by using the second Surface as a parameter through a pre-stored second virtual display creation method.
In some embodiments, the in-vehicle data includes in-vehicle map data; the rendering processing is carried out on a plurality of vehicle-mounted data through the same map rendering engine to obtain corresponding vehicle-mounted data images, and the method comprises the following steps:
and obtaining the map data of the vehicle, and rendering the map data of the vehicle by the map rendering engine to obtain a map image of the vehicle.
In a second aspect, an embodiment of the present disclosure provides a display system for an in-vehicle data image, including:
the system comprises an acquisition module, a storage module and a control module, wherein the acquisition module is used for acquiring a vehicle-mounted data source, and the vehicle-mounted data source comprises various vehicle-mounted data;
the rendering module is used for rendering the plurality of vehicle-mounted data acquired by the acquisition module through the same map rendering engine to acquire a vehicle-mounted data image corresponding to each vehicle-mounted data;
and the output module is used for outputting the vehicle-mounted data image rendered by the rendering module to the display equipment.
In some embodiments, the vehicle data includes meter map data; the rendering module comprises:
a first creation unit configured to create a first virtual display device;
the first rendering unit is used for taking the first virtual display device as a rendering environment, and performing rendering processing on the instrument map data through the map rendering engine to obtain a virtual instrument map image;
and the coding processing unit is used for coding the virtual instrument map image to obtain the instrument map image.
In some embodiments, the first creation unit comprises:
the first acquisition subunit is used for acquiring a first Surface through the media code decoder;
and the first creation subunit is used for calling the display manager to create the first virtual display device by taking the first Surface as a parameter through a prestored first virtual display creation method.
In some embodiments, the in-vehicle data includes home map card data; the rendering module comprises:
a second creation unit configured to create a second virtual display device;
and the second rendering unit is used for taking the second virtual display device as a rendering environment, and performing rendering processing on the home page map card data through the map rendering engine to obtain a home page map card image.
In some embodiments, the second creation unit includes:
the second acquisition subunit is used for acquiring surface view provided by the home map card application;
the third acquisition subunit is used for acquiring a second Surface through a Surface holder of the Surface view;
and the second creation subunit is used for calling the display manager to create a second virtual display device by taking the second Surface as a parameter through a prestored second virtual display creation method.
In some embodiments, the in-vehicle data includes: map data of the vehicle; the rendering module includes:
and the third rendering unit is used for rendering the vehicle map data through the map rendering engine to obtain a vehicle map image.
In a third aspect, embodiments of the present disclosure provide an electronic device, comprising:
one or more processors;
and a storage device having one or more programs stored thereon, which when executed by the one or more processors, cause the one or more processors to implement the methods described above.
In a fourth aspect, embodiments of the present disclosure provide a computer readable medium having stored thereon a computer program which, when executed by a processor, implements the method described above.
Because the display method of the vehicle-mounted data image provided by the embodiment of the disclosure can render different vehicle-mounted data through the same map rendering engine, the vehicle-mounted integration level can be greatly improved, and the vehicle-mounted data image rendering step can be simplified, so that the display method of the vehicle-mounted data image of the embodiment of the disclosure is easier to realize.
Drawings
The accompanying drawings are included to provide a further understanding of embodiments of the disclosure, and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure, without limitation to the disclosure. The above and other features and advantages will become more readily apparent to those skilled in the art by describing in detail exemplary embodiments with reference to the attached drawings, in which:
fig. 1 is a flowchart of a display method of an in-vehicle data image according to an embodiment of the present disclosure;
FIG. 2 is a specific flowchart of the vehicle data including meter map data in step S2 of an embodiment of the present disclosure;
FIG. 3 is a specific flowchart of step S21 in an embodiment of the present disclosure;
fig. 4 is a specific flowchart of the vehicle-mounted data including the home map card data in step S2 in the embodiment of the present disclosure;
FIG. 5 is a specific flowchart of step S24 in an embodiment of the present disclosure;
fig. 6 is a specific flowchart of the vehicle-mounted data including the vehicle-to-machine map data in step S2 of the embodiment of the present disclosure;
FIG. 7 is a block diagram of a display system for vehicle data according to an embodiment of the present disclosure;
FIG. 8 is a block diagram of a specific architecture of a rendering module when the vehicle data in an embodiment of the disclosure includes instrument map data;
fig. 9 is a specific structural block diagram of a first creation unit of an embodiment of the present disclosure;
fig. 10 is a specific structural block diagram of a rendering module when the vehicle-mounted data in the embodiment of the disclosure includes home map card data;
FIG. 11 is a block diagram showing a specific structure of a second creation unit according to an embodiment of the present disclosure
Fig. 12 is a specific block diagram of a rendering module when the vehicle-mounted data in the embodiment of the disclosure includes vehicle map data.
Detailed Description
In order to better understand the technical solutions of the present invention for those skilled in the art, the following describes in detail the method, system, electronic device and computer readable medium for displaying a vehicle-mounted data image provided in the present invention with reference to the accompanying drawings.
Example embodiments will be described more fully hereinafter with reference to the accompanying drawings, but may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used herein, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
Embodiments described herein may be described with reference to plan and/or cross-sectional views with the aid of idealized schematic diagrams of the present disclosure. Accordingly, the example illustrations may be modified in accordance with manufacturing techniques and/or tolerances. Thus, the embodiments are not limited to the embodiments shown in the drawings, but include modifications of the configuration formed based on the manufacturing process. Thus, the regions illustrated in the figures have schematic properties and the shapes of the regions illustrated in the figures illustrate the particular shapes of the regions of the elements, but are not intended to be limiting.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and the present disclosure, and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The embodiment of the disclosure provides a display method of a vehicle-mounted data image, which comprises the following steps: acquiring a vehicle-mounted data source comprising a plurality of different vehicle-mounted data; and rendering the plurality of vehicle-mounted data by using the same map rendering engine to obtain vehicle-mounted data images corresponding to the vehicle-mounted data, and transmitting the vehicle-mounted data images to corresponding display equipment for display. That is, in the method of the embodiment of the present disclosure, one map rendering engine may perform rendering processing on various kinds of in-vehicle data.
The vehicle-mounted data image in the embodiment of the disclosure can include, but is not limited to, an instrument map image such as a vehicle speed and a mileage displayed on an instrument panel in a vehicle, and a vehicle map image and a front page map card image on the vehicle, wherein the vehicle map and the front page map image are different applications on the vehicle. In this way, the instrument map image rendered by the map rendering engine is transmitted to the instrument panel for display; the map rendering engine renders to obtain a map image of the vehicle and a map card image of the front page, and the map image and the map card image are transmitted to the vehicle for display.
Wherein, for the method of the embodiment of the disclosure, the execution subject is a display system of the vehicle-mounted data image, and the system can be integrated in a vehicle; of course, the system may also be a stand-alone structure.
In the method for displaying an in-vehicle data image according to the embodiment of the present disclosure, the in-vehicle data image includes: the instrument map image, the home map card image, and the car machine map image are described as examples.
Fig. 1 is a flowchart of a display method of an in-vehicle data image according to an embodiment of the present disclosure.
In a first aspect, an embodiment of the present disclosure provides a method for displaying an on-vehicle data image, referring to fig. 1, the method specifically includes the following steps:
s1, acquiring a vehicle-mounted data source, wherein the vehicle-mounted data source comprises various vehicle-mounted data, and specifically comprises: instrument map data, home map card data, and car map data.
Specifically, the speed acquisition module acquires the speed information of the vehicle in real time, and the calculation module can calculate the mileage of the vehicle according to the speed information of the vehicle; the GPS positioning module can acquire the position information of the vehicle; the information is transmitted to a display system of the vehicle-mounted data image as a vehicle-mounted data source.
And S2, rendering the instrument map data, the home page map card data and the car machine map data through the same map engine to obtain an instrument map image corresponding to the instrument map data, a home page map card image corresponding to the home page map card data and a car machine map image corresponding to the car machine map data image.
It should be noted that, step S2 requires support of multiple map rendering engines, that is, one map rendering engine can perform rendering processing on multiple map data at the same time. Therefore, the display system of the in-vehicle data image starts the map rendering engine before performing this step; the display system of the vehicle-mounted data image starts up and runs the map rendering engine, and the supporting main mode of rendering map content is as follows: the starting logic mode of the map application of the vehicle-mounted machine is modified, so that the initialization of a map rendering engine can be completed without an interface for explicitly starting the map application, and map content is rendered to target equipment; when the display system of the vehicle-mounted data image is started, the multi-screen map service of the vehicle-mounted data image is actively bound, namely, background initialization of the application can be triggered, monitoring of the virtual display equipment is started, and at the moment, support of outputting map content to the third-party display equipment can be completed.
In step S2, the display system of the vehicle-mounted data image outputs the instrument map data, the home page map card data and the vehicle map data acquired in step S1 to a map rendering engine, and the map rendering engine provides rendering environments for the instrument map data, the home page map card data and the vehicle map data respectively, and performs rendering processing on the instrument map data, the home page map card data and the vehicle map data in different rendering environments, so as to obtain an instrument map image, a home page map card image and a vehicle map image.
And S3, transmitting the instrument map image, the home page map card image and the car machine map image to corresponding display equipment for display.
In step S3, the display system of the vehicle-mounted data image transmits the meter map image rendered in step S2 to the dashboard for display, and transmits the home map card image and the vehicle map image to the vehicle for display.
Because the display method of the vehicle-mounted data image provided by the embodiment of the disclosure can render different vehicle-mounted data through the same map rendering engine, the vehicle-mounted integration level can be greatly improved, and the vehicle-mounted data image rendering step can be simplified, so that the display method of the vehicle-mounted data image of the embodiment of the disclosure is easier to realize.
Fig. 2 is a specific flowchart of the vehicle-mounted data including the meter map data in step S2 of the embodiment of the present disclosure.
Referring to fig. 2, in some embodiments step S2 includes: rendering the instrument map data through a map engine to obtain an instrument map image; the method specifically comprises the following steps:
s21, creating a first virtual display device.
Specifically, in order to be able to render the meter map image, the display system of the vehicle-mounted data image needs to provide a rendering environment for the map rendering engine, and at this time, the dashboard needs to be abstracted to be the first virtual display device, so in step S21, the display system of the vehicle-mounted data image creates the first virtual display device.
FIG. 3 is a specific flowchart of step S21 in an embodiment of the present disclosure; referring to fig. 3, in some embodiments, step S21 may specifically include the following steps:
s211, acquiring a first Surface through a media code decoder.
Specifically, the display system of the vehicle-mounted data image acquires one Surface, i.e., a first Surface, through a media code decoder (MediaCodec). The MediaCodec class may be used, among other things, to use some basic multimedia codec (audio video codec component) that is part of the Android-based multimedia support infrastructure, typically used with MediaExtractor, mediaSync, mediaMuxer, mediaCrypto, mediaDrm, image, surface, and AudioTrack. A codec may process input data to produce output data, and the codec uses a set of input and output buffers to process data asynchronously. The user can create an empty input buffer, fill the data and send it to the codec for processing. The codec uses the input data to convert and then outputs to an empty output buffer. And finally, the user acquires the data of the output buffer area, consumes the data in the output buffer area and releases the data back to the coder-decoder. The codec repeats these operations if there is more data to continue processing.
S212, calling a display manager to create a first virtual display device through a prestored first virtual display creation method by taking the first Surface as a parameter.
Specifically, the display system of the vehicle-mounted data image may call the display manager (DisplayManager) to create the first virtual display device by using the first Surface acquired in step S211 as a parameter through a pre-stored method of creating a virtual display (createvualdisplay).
The DisplayManager is used for providing an external interface so as to realize mirror image display of different displays; createVirtualDisplay refers to a method of creating a virtual display.
And S22, using the first virtual equipment as a rendering environment, and rendering the instrument map data through a map rendering engine to obtain a virtual instrument map image.
Specifically, in the display system of the vehicle-mounted data image in step S22, the first virtual display device created in step S21 is used as a rendering environment, and map data is rendered in the environment by the map rendering engine to obtain a virtual meter map image, it should be understood that the virtual meter map image obtained at this time is adapted to the first virtual display device, and the display system of the vehicle-mounted data image is integrated in the vehicle, so that if the virtual meter map image is displayed on the dashboard, the video format of the virtual meter map image needs to be encoded, so that the meter map image can be displayed on the dashboard, that is, step S23 described below is performed.
S23, coding the virtual instrument map image to obtain the instrument map image.
Specifically, in step S23, the display system of the vehicle-mounted data image encodes the virtual instrument map image into the h.264 video format, and specifically, may call the corresponding interface of the video stream encoding shape of the media code decoder (MediaCodec).
Fig. 4 is a specific flowchart of the vehicle-mounted data including the home map card data in step S2 in the embodiment of the present disclosure.
Referring to fig. 4, in some embodiments, step S2 includes: rendering the home page map card data through a map engine to obtain a home page map card image, wherein the method specifically comprises the following steps:
s24, creating a second virtual display device.
Specifically, in order to render the top page map card image, the display system of the vehicle-mounted data image needs to provide a rendering environment for the map rendering engine, and at this time, the top page map card application needs to be abstracted into the second virtual display device.
Fig. 5 is a specific flowchart of step S24 in the embodiment of the present disclosure.
Referring to fig. 5, in some embodiments, step S24 may specifically include the steps of:
s241, acquiring a surface view provided by the home map card application.
Specifically, the home map card application is an application on the vehicle, so that the home map card application only needs to provide a surface view as a display window. Therefore, in step S241, the display system of the in-vehicle data image needs to acquire the surface view provided by the home map card application.
The surface view is an insert for drawing an image, and is provided with two interfaces, namely a surface holder and a Runneable; used in the embodiments of the present disclosure is a surface holder interface in which the methods to be implemented correspond to the lifecycle of surface view, i.e., create, change, and destroy, respectively.
S242, acquiring a second Surface through a Surface holder of the Surface view.
Specifically, in step S242, the display system of the vehicle-mounted data image acquires a Surface, that is, a second Surface, through the Surface holder of the Surface view acquired in step S242.
S243, calling the display manager to create a second virtual display device through a pre-stored second virtual display creation method by taking the second Surface as a parameter.
Specifically, the display system of the vehicle-mounted data image may call the display manager (DisplayManager) to create the first virtual display device by using the second Surface acquired in step S242 as a parameter through a second method of creating virtual display stored in advance.
And S25, using the second virtual display device as a rendering environment, and rendering the home page map card data through a map rendering engine to obtain a home page map card image.
Specifically, in the display system of the vehicle-mounted data image in step S25, the second virtual display device created in step S24 is used as a rendering environment, and map data is rendered in the rendering environment by a map rendering engine, so as to obtain a top page map card image. Here, since the home map card application is one application in the car machine, the video format of the home map card image obtained in step S25 is adapted to the car machine, so that conversion of the video format is not required.
Fig. 6 is a specific flowchart of the vehicle-mounted data including the vehicle-mounted map data in step S2 of the embodiment of the present disclosure.
Referring to fig. 6, in some embodiments, step S2 includes:
and S26, acquiring vehicle map data, and rendering the vehicle map data through a map rendering engine to obtain a vehicle map image.
Specifically, in step S26, the Display system of the vehicle-mounted data image may use Display for creation of the presentation when the Display content/data change of public is monitored, and may add and Display mapghlsourfaceview when the presentation is created and displayed. Wherein, mapGL is a new technology added for Google map by combining the latest WebGL technology. It allows the user to actually view the scene in a three D mode in the browser, rather than just some planar images taken at a particular angle as was previously seen. That is, the display system of the vehicle-mounted data image may directly render the acquired vehicle map data by the map rendering engine to obtain the vehicle map image. Because the display system of the vehicle-mounted data image is integrated in the vehicle, the video format of the vehicle map image is matched with the vehicle, so that the vehicle map image can be directly displayed on the vehicle.
It should be noted that, the step S2 may include the steps S21-S26, and the rendering steps of steps S21-S23, the rendering steps of steps S24-S25, and the rendering steps of step S26 in the step S2 are performed in different rendering environments, but the three rendering processes are performed simultaneously and not sequentially.
Fig. 7 is a block diagram of a display system of in-vehicle data according to an embodiment of the present disclosure.
In a second aspect, referring to fig. 7, an embodiment of the present disclosure provides a display system of vehicle-mounted data, including: the device comprises an acquisition module 1, a rendering module 2 and an output module 2.
The vehicle-mounted data acquisition system comprises an acquisition module 1, a data acquisition module and a data acquisition module, wherein the acquisition module 1 is used for acquiring a vehicle-mounted data source, and the vehicle-mounted data source comprises various vehicle-mounted data; the rendering module 2 is used for rendering the various vehicle-mounted data acquired by the acquisition module 1 through the same map rendering engine to obtain a vehicle-mounted data image corresponding to each vehicle-mounted data; the output module 2 is configured to output the vehicle-mounted data image rendered by the rendering module 2 to a display device.
According to the display system of the vehicle-mounted data image, which is provided by the embodiment of the disclosure, the rendering module 2 can render different vehicle-mounted data through the same map rendering engine, so that the vehicle-mounted integration level can be greatly improved, and the vehicle-mounted data image rendering step can be simplified, so that the display method of the vehicle-mounted data image is easier to realize.
It should be noted that, the acquiring module 1 in the embodiment of the present disclosure may be used to perform the step S1 in the above embodiment; the rendering module 2 may be configured to perform step S2 in the above-described embodiment; the output module 2 may be used to perform step S3 in the above-described embodiments.
Fig. 8 is a specific block diagram of the rendering module 2 when the in-vehicle data in the embodiment of the present disclosure includes meter map data; in some embodiments, referring to fig. 8, the rendering module 2 may include: a first creation unit 21, a first rendering unit 22, an encoding processing unit 23.
Wherein the first creation unit 21 is configured to create a first virtual display device; the first rendering unit 22 is configured to use the first virtual display device as a rendering environment, and perform rendering processing on the instrument map data through the map rendering engine to obtain a virtual instrument map image; the encoding processing unit 23 is configured to encode the virtual map image of the meter to obtain the map image of the meter.
It should be noted here that the first creation unit 21 in the embodiment of the present disclosure may be used to perform step S21 in the above-described embodiment; the first rendering unit 22 may be used to perform step S22 in the above-described embodiments; the encoding processing unit 23 may be configured to perform step S23 in the above-described embodiment.
Fig. 9 is a specific structural block diagram of the first creation unit 21 of the embodiment of the present disclosure; in some embodiments, referring to fig. 9, the first creation unit 21 may specifically include a first acquisition subunit 211 and a first creation subunit 212.
Wherein, the first obtaining subunit 211 is configured to obtain a first Surface through a media code decoder; the first creating subunit 212 is configured to call the display manager to create a first virtual display device by using the first Surface as a parameter through a pre-stored first method for creating a virtual display.
It should be noted that, in the embodiment of the present disclosure, the first obtaining subunit 211 may be used to perform step S211 in the above embodiment; the first creation subunit 212 may be configured to perform step S212 in the above-described embodiment.
Fig. 10 is a specific block diagram of the rendering module 2 when the vehicle-mounted data in the embodiment of the disclosure includes the home map card data; in some embodiments, referring to fig. 10, the rendering module 2 may include: a second creation unit 24 and a second rendering unit 25.
Wherein the second creation unit 24 is configured to create a second virtual display device; the second rendering unit 25 is configured to use the second virtual display device as a rendering environment, and perform rendering processing on the home map card data by using the map rendering engine, so as to obtain a home map card image.
It should be noted that the second creating unit 24 may be configured to perform step S24 in the above embodiment; the second rendering unit 25 may be used to perform step S25 in the above-described embodiments.
Fig. 11 is a specific structural block diagram of the second creation unit 24 of the embodiment of the present disclosure. In some embodiments, referring to fig. 11, the second creation unit 24 includes: a second acquisition subunit 241, a third acquisition subunit 242, and a second creation subunit 243.
The second obtaining subunit 241 is configured to obtain a surface view provided by the home map card application; the third obtaining subunit 242 is configured to obtain the second Surface through a Surface Holder of the Surface view; the second creating subunit 243 is configured to call the display manager to create a second virtual display device by using the second Surface as a parameter through a pre-stored second method for creating a virtual display.
It should be noted that, the second obtaining subunit 241 may be configured to perform step S241 in the foregoing embodiment; the third acquisition subunit 242 may be configured to perform step S242 in the foregoing embodiment; the second creation subunit 243 may be configured to perform step S243 in the above-described embodiment.
Fig. 12 is a specific block diagram of the rendering module 2 when the vehicle-mounted data in the embodiment of the present disclosure includes vehicle map data; in some embodiments, referring to fig. 12, the rendering module 2 may include: and a third rendering unit 26.
The third rendering unit 26 is configured to render the vehicle map data through the map rendering engine, so as to obtain a vehicle map image.
It should be noted that the third rendering unit 26 may be configured to perform the step S26.
It should be understood that, when the in-vehicle data includes the instrument map data, the home map card data, and the car map data, the rendering module 2 should include the first creation unit 21, the second creation unit 24, the first rendering unit 22, the second rendering unit 25, the third rendering unit 26, and the encoding processing unit 23 described above.
In a third aspect, embodiments of the present disclosure provide an electronic device, comprising:
one or more processors;
and a storage device on which one or more programs are stored, which when executed by the one or more processors, cause the one or more processors to implement any one of the above-described methods of displaying an on-vehicle data image.
In a fourth aspect, an embodiment of the present disclosure provides a computer-readable medium having stored thereon a computer program which, when executed by a processor, implements any one of the above-described display methods of an in-vehicle data image.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, functional modules/units in the apparatus, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between the functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed cooperatively by several physical components. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted in a generic and descriptive sense only and not for purpose of limitation. In some instances, it will be apparent to one skilled in the art that features, characteristics, and/or elements described in connection with a particular embodiment may be used alone or in combination with other embodiments unless explicitly stated otherwise. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the disclosure as set forth in the appended claims.
Claims (10)
1. A display method of an in-vehicle data image, comprising:
acquiring a vehicle-mounted data source, wherein the vehicle-mounted data source comprises various vehicle-mounted data;
rendering the plurality of vehicle-mounted data through the same map rendering engine to obtain a vehicle-mounted data image corresponding to each vehicle-mounted data;
transmitting each vehicle-mounted data image to corresponding display equipment for display; wherein the vehicle-mounted data includes instrument map data; rendering the plurality of vehicle-mounted data by the same map rendering engine to obtain a vehicle-mounted data image corresponding to each vehicle-mounted data, wherein the rendering comprises the following steps: rendering the instrument map data through the map engine to obtain an instrument map image;
rendering the instrument map data through the map engine to obtain an instrument map image, wherein the rendering comprises the following steps:
creating a first virtual display device;
taking the first virtual display device as a rendering environment, and performing rendering processing on the instrument map data through the map rendering engine to obtain a virtual instrument map image;
coding the virtual instrument map image to obtain an instrument map image; wherein the creating a first virtual display device comprises:
acquiring a first Surface through a media code decoder;
and calling a display manager to create a first virtual display device by using the first Surface as a parameter through a prestored first virtual display creation method.
2. The method of claim 1, wherein the in-vehicle data comprises home map card data; rendering the plurality of vehicle-mounted data by the same map rendering engine to obtain a vehicle-mounted data image corresponding to each vehicle-mounted data, wherein the rendering comprises the following steps: rendering the home page map card data through the map engine to obtain a home page map card image;
rendering the home map card data through the map engine to obtain a home map card image, wherein the rendering comprises the following steps:
creating a second virtual display device;
and taking the second virtual display device as a rendering environment, and performing rendering processing on the home page map card data through the map rendering engine to obtain a home page map card image.
3. The method of claim 2, wherein the creating a second virtual display device comprises:
acquiring a surface view provided by a home map card application;
acquiring a second Surface through a Surface holder of the Surface view;
and calling a display manager to create a second virtual display device by using the second Surface as a parameter through a pre-stored second virtual display creation method.
4. The method of claim 1, wherein the in-vehicle data comprises in-vehicle map data; the rendering processing is carried out on a plurality of vehicle-mounted data through the same map rendering engine to obtain corresponding vehicle-mounted data images, and the method comprises the following steps:
and obtaining the map data of the vehicle, and rendering the map data of the vehicle by the map rendering engine to obtain a map image of the vehicle.
5. A display system of an in-vehicle data image, comprising:
the system comprises an acquisition module, a storage module and a control module, wherein the acquisition module is used for acquiring a vehicle-mounted data source, and the vehicle-mounted data source comprises various vehicle-mounted data;
the rendering module is used for rendering the plurality of vehicle-mounted data acquired by the acquisition module through the same map rendering engine to acquire a vehicle-mounted data image corresponding to each vehicle-mounted data;
the output module is used for outputting the vehicle-mounted data image rendered by the rendering module to the display equipment; wherein the vehicle-mounted data includes instrument map data; the rendering module comprises:
a first creation unit configured to create a first virtual display device;
the first rendering unit is used for taking the first virtual display device as a rendering environment, and performing rendering processing on the instrument map data through the map rendering engine to obtain a virtual instrument map image;
the coding processing unit is used for coding the virtual instrument map image to obtain an instrument map image; wherein the first creation unit includes:
the first acquisition subunit is used for acquiring a first Surface through the media code decoder;
and the first creation subunit is used for calling the display manager to create the first virtual display device by taking the first Surface as a parameter through a prestored first virtual display creation method.
6. The system of claim 5, wherein the in-vehicle data comprises home map card data; the rendering module comprises:
a second creation unit configured to create a second virtual display device;
and the second rendering unit is used for taking the second virtual display device as a rendering environment, and performing rendering processing on the home page map card data through the map rendering engine to obtain a home page map card image.
7. The system of claim 6, wherein the second creation unit comprises:
the second acquisition subunit is used for acquiring Surface View provided by the home map card application;
the third acquisition subunit is used for acquiring a second Surface through a Surface holder of the Surface view;
and the second creation subunit is used for calling the display manager to create a second virtual display device by taking the second Surface as a parameter through a prestored second virtual display creation method.
8. The system of claim 6, wherein the onboard data comprises: map data of the vehicle; the rendering module includes:
and the third rendering unit is used for rendering the vehicle map data through the map rendering engine to obtain a vehicle map image.
9. An electronic device, comprising:
one or more processors;
storage means having stored thereon one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-4.
10. A computer readable medium having stored thereon a computer program which, when executed by a processor, implements the method according to any of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910385002.XA CN110333835B (en) | 2019-05-09 | 2019-05-09 | Vehicle-mounted data image display method, system, electronic equipment and computer readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910385002.XA CN110333835B (en) | 2019-05-09 | 2019-05-09 | Vehicle-mounted data image display method, system, electronic equipment and computer readable medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110333835A CN110333835A (en) | 2019-10-15 |
CN110333835B true CN110333835B (en) | 2023-07-25 |
Family
ID=68140025
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910385002.XA Active CN110333835B (en) | 2019-05-09 | 2019-05-09 | Vehicle-mounted data image display method, system, electronic equipment and computer readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110333835B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008108296A (en) * | 2006-10-23 | 2008-05-08 | Toshiba Corp | Information reproducing device and information reproducing method |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3780982B2 (en) * | 2002-07-05 | 2006-05-31 | ソニー株式会社 | Video display system, video display method, and display device |
KR20150111632A (en) * | 2014-03-26 | 2015-10-06 | 삼성전자주식회사 | Fingerprint identifying method and electronic device thereof |
CN104977018B (en) * | 2015-07-10 | 2018-12-07 | 钛马信息网络技术有限公司 | In-vehicle navigation apparatus and mobile device and its air navigation aid, navigation system |
CN107870794B (en) * | 2016-09-23 | 2021-01-19 | 深圳联友科技有限公司 | Vehicle machine sub-region display method and device |
CN106855881B (en) * | 2016-12-16 | 2021-01-08 | 北京奇鱼时代科技有限公司 | Multi-map switching method and device based on mobile equipment |
US10688378B2 (en) * | 2017-07-04 | 2020-06-23 | James Andrew Aman | Physical-virtual game board and content delivery system |
CN108920606B (en) * | 2018-06-28 | 2020-10-23 | 腾讯大地通途(北京)科技有限公司 | Map data processing method, map data processing device, terminal equipment and storage medium |
CN109388467B (en) * | 2018-09-30 | 2022-12-02 | 阿波罗智联(北京)科技有限公司 | Map information display method, map information display device, computer equipment and storage medium |
-
2019
- 2019-05-09 CN CN201910385002.XA patent/CN110333835B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008108296A (en) * | 2006-10-23 | 2008-05-08 | Toshiba Corp | Information reproducing device and information reproducing method |
Also Published As
Publication number | Publication date |
---|---|
CN110333835A (en) | 2019-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111634188B (en) | Method and device for projecting screen | |
CN109634599B (en) | Page view display method, device, equipment and storage medium | |
KR102657674B1 (en) | 3D video processing methods, devices, readable storage media and electronic devices | |
CN109684589B (en) | Client comment data processing method and device and computer storage medium | |
CN111258519B (en) | Screen split implementation method, device, terminal and medium | |
CN111291244A (en) | House resource information display method, device, terminal and storage medium | |
CN111597466A (en) | Display method and device and electronic equipment | |
CN111158541B (en) | Space display method and device, electronic equipment and medium | |
CN114745514A (en) | Video signal expansion method, video signal expansion device, computer equipment and storage medium | |
CN110333835B (en) | Vehicle-mounted data image display method, system, electronic equipment and computer readable medium | |
CN112579218B (en) | User interface display method and device, computer readable medium and electronic equipment | |
CN110619615A (en) | Method and apparatus for processing image | |
CN115082368A (en) | Image processing method, device, equipment and storage medium | |
CN115272060A (en) | Transition special effect diagram generation method, device, equipment and storage medium | |
CN106873929B (en) | Image refreshing method and device based on virtual reality technology | |
CN114332224A (en) | Method, device and equipment for generating 3D target detection sample and storage medium | |
CN114419298A (en) | Virtual object generation method, device, equipment and storage medium | |
CN212737762U (en) | Display system, passenger cabin and car of passenger cabin | |
CN111212296B (en) | Live broadcast room gift list configuration method, device, medium and electronic equipment | |
CN115712372A (en) | Content display method, device, equipment, medium and vehicle | |
CN111954069A (en) | Double-screen interactive display method and system for automobile console video | |
CN112417276A (en) | Paging data acquisition method and device, electronic equipment and computer readable storage medium | |
CN110868697A (en) | Interconnection method and device for vehicle machine and multiple mobile devices and storage medium | |
JP7390436B2 (en) | Navigation methods, devices, electronic devices, computer readable storage media and computer programs | |
CN116893762A (en) | Session information display method and device, electronic equipment 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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20211011 Address after: 100176 101, floor 1, building 1, yard 7, Ruihe West 2nd Road, Beijing Economic and Technological Development Zone, Daxing District, Beijing Applicant after: Apollo Intelligent Connectivity (Beijing) Technology Co., Ltd. Address before: 100085 third floor, *** building, No. 10, Shangdi 10th Street, Haidian District, Beijing Applicant before: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |