CN110333835A - Display methods, system, electronic equipment and the computer-readable medium of vehicle-mounted data image - Google Patents
Display methods, system, electronic equipment and the computer-readable medium of vehicle-mounted data image Download PDFInfo
- Publication number
- CN110333835A CN110333835A CN201910385002.XA CN201910385002A CN110333835A CN 110333835 A CN110333835 A CN 110333835A CN 201910385002 A CN201910385002 A CN 201910385002A CN 110333835 A CN110333835 A CN 110333835A
- Authority
- CN
- China
- Prior art keywords
- vehicle
- map
- rendering
- image
- mounted data
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 238000009877 rendering Methods 0.000 claims abstract description 157
- 238000012545 processing Methods 0.000 claims abstract description 56
- 241001269238 Data Species 0.000 claims abstract description 23
- 238000003860 storage Methods 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 15
- 238000005516 engineering process Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 5
- 238000000429 assembly Methods 0.000 description 4
- 230000000712 assembly Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000000151 deposition Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 239000011800 void material Substances 0.000 description 2
- 229910017435 S2 In Inorganic materials 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000009466 transformation 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
Present disclose provides a kind of display methods of vehicle-mounted data image, this method comprises: obtaining vehicle-mounted data source, the vehicle-mounted data source includes a variety of vehicle-mounted datas;By a variety of vehicle-mounted datas, rendering processing is carried out by same map rendering engine, obtains vehicle-mounted data image corresponding with each vehicle-mounted data;By each vehicle-mounted data image, it is transmitted in corresponding display equipment and is shown.The disclosure additionally provides display, electronic equipment and the computer-readable medium of a kind of vehicle-mounted data image.
Description
Technical field
The embodiment of the present disclosure is related to field of computer technology, the in particular to display methods, system of vehicle-mounted data image, electricity
Sub- equipment and computer-readable medium.
Background technique
Increasingly raising along with the fast development and user of Internet technology to multimedia service demand, " multi-screen is mutual
It is dynamic " class business comes into being." multi-screen interactive " refers to based on certain transport protocol, at different operating system and different ends
Can be compatible across operation between end equipment, by way of network connection, realize the multimedias such as video, audio, picture
Content can synchronize the display content of different terminals screen to the transmission of multiple terminals, can be realized and be controlled by intelligent terminal
The sequence of operations such as equipment.
Summary of the invention
The embodiment of the present disclosure provides the display methods of vehicle-mounted data image a kind of, system, electronic equipment and computer-readable
Medium.
In a first aspect, the embodiment of the present disclosure provides a kind of display methods of vehicle-mounted data image comprising:
Vehicle-mounted data source is obtained, the vehicle-mounted data source includes a variety of vehicle-mounted datas;
By a variety of vehicle-mounted datas, rendering processing is carried out by same map rendering engine, is obtained and each vehicle-mounted data
Corresponding vehicle-mounted data image;
By each vehicle-mounted data image, it is transmitted in corresponding display equipment and is shown.
In some embodiments, the vehicle-mounted data includes instrument map datum;It is described by a variety of vehicle-mounted datas, by same
One map rendering engine carries out rendering processing, obtains vehicle-mounted data image corresponding with each vehicle-mounted data, comprising: will be described
Instrument map datum carries out rendering processing by the engine map, obtains instrument map image;
It is described that the instrument map datum is carried out rendering processing by the engine map, obtains instrument map image,
Include:
Create the first virtual display device;
Using first virtual display device as rendering contexts, and to the instrument by the map rendering engine
Diagram data carries out rendering processing, obtains virtual instrument map image;
Virtual instrument map image is subjected to coded treatment, obtains instrument map image.
In some embodiments, the first virtual display device of the creation, comprising:
The first Surface is obtained by media code decoder;
Using the first Surface as parameter, call display manager virtual aobvious by pre-stored first creation
The method shown creates the first virtual display device.
In some embodiments, the vehicle-mounted data includes homepage map card data;It is described by a variety of vehicle-mounted datas, lead to
It crosses same map rendering engine and carries out rendering processing, obtain vehicle-mounted data image corresponding with each vehicle-mounted data, comprising: will
The homepage map card data carries out rendering processing by the engine map, obtains homepage map card image;
It is described by the homepage map card data, rendering processing is carried out by the engine map, obtains homepage map
Card image, comprising:
Create the second virtual display device;
Using second virtual display device as rendering contexts, and to the homepage by the map rendering engine
Graph card sheet data carries out rendering processing, obtains homepage map card image.
In some embodiments, the second virtual display device of the creation, comprising:
Obtain the SurfaceView that the application of homepage map card provides;
The 2nd Surface is obtained by the SurfaceHolder of SurfaceView;
Using the 2nd Surface as parameter, call display manager virtual aobvious by pre-stored second creation
The method shown creates the second virtual display device.
In some embodiments, the vehicle-mounted data includes vehicle device map datum;It is described by a variety of vehicle-mounted datas, by same
One map rendering engine carries out rendering processing, obtains corresponding vehicle-mounted data image, comprising:
Vehicle device map datum is obtained, rendering processing is carried out to vehicle device map datum by the map rendering engine, is obtained
Vehicle device map image.
Second aspect, the embodiment of the present disclosure provide a kind of display system of vehicle-mounted data image, comprising:
Module is obtained, for obtaining vehicle-mounted data source, the vehicle-mounted data source includes a variety of vehicle-mounted datas;
Rendering module, for passing through same map rendering engine for a variety of vehicle-mounted datas acquired in the acquisition module
Rendering processing is carried out, vehicle-mounted data image corresponding with each vehicle-mounted data is obtained;
Display equipment is given in output module, the vehicle-mounted data image for rendering the rendering module, output.
In some embodiments, the vehicle-mounted data includes instrument map datum;The rendering module, comprising:
First creating unit, for creating the first virtual display device;
First rendering unit is used for using first virtual display device as rendering contexts, and passes through the map wash with watercolours
Dye engine carries out rendering processing to the instrument map datum, obtains virtual instrument map image;
Coding processing unit obtains instrument map image for virtual instrument map image to be carried out coded treatment.
In some embodiments, first creating unit includes:
First obtains subelement, for obtaining the first Surface by media code decoder;
First creation subelement, for calling display manager by depositing in advance using the first Surface as parameter
The method that first creation of storage is virtually shown creates the first virtual display device.
In some embodiments, the vehicle-mounted data includes homepage map card data;The rendering module, comprising:
Second creating unit, for creating the second virtual display device;
Second rendering unit is used for using second virtual display device as rendering contexts, and passes through the map wash with watercolours
Dye engine carries out rendering processing to the homepage map card data, obtains homepage map card image.
In some embodiments, second creating unit, comprising:
Second obtains subelement, the SurfaceView provided for obtaining the application of homepage map card;
Third obtains subelement, for obtaining the 2nd Surface by the SurfaceHolder of SurfaceView;
Second creation subelement, for calling display manager by depositing in advance using the 2nd Surface as parameter
The method that second creation of storage is virtually shown creates the second virtual display device.
In some embodiments, the vehicle-mounted data includes: vehicle device map datum;The rendering module includes:
Third rendering unit carries out wash with watercolours to vehicle device map datum by the map rendering engine for vehicle device map datum
Dye processing, obtains vehicle device map image.
The third aspect, the embodiment of the present disclosure provide a kind of electronic equipment comprising:
One or more processors;
Storage device is stored thereon with one or more programs, when one or more of programs are by one or more
A processor executes, so that one or more of processors realize above-mentioned method.
Fourth aspect, the embodiment of the present disclosure provide a kind of computer-readable medium, are stored thereon with computer program, described
Above-mentioned method is realized when program is executed by processor.
The display methods of vehicle-mounted data image as provided in the embodiment of the present disclosure can be rendered by same map
Engine carries out rendering processing to different vehicle-mounted datas, so as to greatly promote vehicle-mounted integrated level, and can simplify
Vehicle-mounted data image rendering step, so that the display methods of the vehicle-mounted data image of the embodiment of the present disclosure is more easily implemented.
Detailed description of the invention
Attached drawing is used to provide to further understand the embodiment of the present disclosure, and constitutes part of specification, with this public affairs
The embodiment opened is used to explain the disclosure together, does not constitute the limitation to the disclosure.By reference to attached drawing to detailed example reality
It applies example to be described, the above and other feature and advantage will become apparent those skilled in the art, in the accompanying drawings:
Fig. 1 is the flow chart of the display methods of the vehicle-mounted data image of the embodiment of the present disclosure;
Fig. 2 be the embodiment of the present disclosure step S2 in vehicle-mounted data include instrument map datum specific flow chart;
Fig. 3 is the specific flow chart of the step S21 of the embodiment of the present disclosure;
Fig. 4 be the embodiment of the present disclosure step S2 in vehicle-mounted data include homepage map card data detailed process
Figure;
Fig. 5 is the specific flow chart of the step S24 in the embodiment of the present disclosure;
Fig. 6 be the embodiment of the present disclosure step S2 in vehicle-mounted data include vehicle device map datum specific flow chart;
Fig. 7 is the structural block diagram of the display system of the vehicle-mounted data of the embodiment of the present disclosure;
Fig. 8 is vehicle-mounted data in the embodiment of the present disclosure when including instrument map datum, the specific structure frame of rendering module
Figure;
Fig. 9 is the specific block diagram of the first creating unit of the embodiment of the present disclosure;
Figure 10 is vehicle-mounted data in the embodiment of the present disclosure when including homepage map card data, the specific knot of rendering module
Structure block diagram;
Figure 11 is the specific block diagram of the second creating unit of the embodiment of the present disclosure
Figure 12 is vehicle-mounted data in the embodiment of the present disclosure when including vehicle device map datum, the specific structure frame of rendering module
Figure.
Specific embodiment
To make those skilled in the art more fully understand technical solution of the present invention, the present invention is mentioned with reference to the accompanying drawing
Display methods, system, electronic equipment and the computer-readable medium of the vehicle-mounted data image of confession are described in detail.
Example embodiment will hereinafter be described more fully hereinafter with reference to the accompanying drawings, but the example embodiment can be with difference
Form embodies and should not be construed as being limited to embodiment set forth herein.Conversely, the purpose for providing these embodiments is
It is thoroughly and complete to make the disclosure, and those skilled in the art will be made to fully understand the scope of the present disclosure.
As it is used herein, term "and/or" includes any and all combinations of one or more associated listed entries.
Term as used herein is only used for description specific embodiment, and is not intended to limit the disclosure.As used herein
, "one" is also intended to "the" including plural form singular, unless in addition context is expressly noted that.It will also be appreciated that
Be, when in this specification use term " includes " and/or " by ... be made " when, specify there are the feature, entirety, step,
Operation, element and/or component, but do not preclude the presence or addition of one or more of the other feature, entirety, step, operation, element,
Component and/or its group.
Embodiment described herein can be by the idealized schematic diagram of the disclosure and reference planes figure and/or sectional view are retouched
It states.It therefore, can be according to manufacturing technology and/or tolerance come modified example diagram.Therefore, embodiment is not limited to reality shown in the drawings
Apply example, but the modification of the configuration including being formed based on manufacturing process.Therefore, the area illustrated in attached drawing, which has, schematically to be belonged to
Property, and the shape in area as shown in the figure instantiates the concrete shape in the area of element, but is not intended to restrictive.
Unless otherwise defined, the otherwise meaning of all terms (including technical and scientific term) used herein and this field
The normally understood meaning of those of ordinary skill is identical.It will also be understood that such as those those of limit term in common dictionary and answer
When being interpreted as having and its consistent meaning of meaning under the background of the relevant technologies and the disclosure, and will be not interpreted as having
There are idealization or excessively formal meaning, unless clear herein so limit.
The embodiment of the present disclosure provides a kind of display methods of vehicle-mounted data image, this method comprises: it includes a variety of for obtaining
The vehicle-mounted data source of different vehicle-mounted datas;By a variety of vehicle-mounted datas, rendering processing is carried out by same map rendering engine, is obtained
Vehicle-mounted data image corresponding with each vehicle-mounted data, and be transmitted in corresponding display equipment and shown.That is, at this
In the method for open embodiment, a map rendering engine can carry out rendering processing to a variety of vehicle-mounted datas.
Vehicle-mounted data image in the embodiment of the present disclosure may include but be not limited to shown vehicle on interior instrument board
Vehicle device map image and homepage map card image on the instrument such as speed, mileage number map image and vehicle device, wherein vehicle device
Map and homepage map picture are the different applications in vehicle device.So, the instrument map that map render engine renders obtain
Image will be transferred on instrument board and show;Map render engine renders obtain vehicle device map image and homepage expansion card
Picture will be transferred in vehicle device and show.
Wherein, for the method for the embodiment of the present disclosure, executing subject is the display system of vehicle-mounted data image, the system
It can be integrated in vehicle device;Certainly, which is also possible to self-existent structure.
It should be noted that being with Vehicular data in the display methods of the vehicle-mounted data image of the embodiment of the present disclosure
It include: to be illustrated for instrument map image, homepage map card image, vehicle device map image according to image.
Fig. 1 is the flow chart of the display methods of the vehicle-mounted data image of the embodiment of the present disclosure.
In a first aspect, the embodiment of the present disclosure provides a kind of display methods of vehicle-mounted data image, and referring to Fig.1, this method tool
Body includes the following steps:
S1, vehicle-mounted data source is obtained, vehicle-mounted data source includes a variety of vehicle-mounted datas, is specifically included: instrument map datum, head
Page map card data, vehicle device map datum.
Specifically, speed obtains speed of the module by the real-time velocity information for obtaining vehicle and computing module according to vehicle
The mileage number of vehicle can be calculated in degree information;The location information of the available vehicle of GPS positioning module;These information then will
It can be used as vehicle-mounted data source, be transmitted to the display system of vehicle-mounted data image.
S2, by instrument map datum, homepage map card data, vehicle device map datum, carried out by same engine map
Rendering processing, obtains instrument map image corresponding with instrument map datum, homepage corresponding with homepage map card data
Graph card picture, vehicle device map image corresponding with vehicle device map datum image.
It should be noted that step S2 needs the support of more map rendering engines, that is, a map rendering engine
Rendering processing can be carried out to a variety of map datums simultaneously.Therefore, before executing the step vehicle-mounted data image display system
System will will start map rendering engine;And the display system starting operation map rendering engine of vehicle-mounted data image, and render ground
The support major way of figure content is: the starting logical course of transformation vehicle device map application is not required to explicitly start map to reach
The initialization of the interface of application also achievable map rendering engine, to carry out rendering map content to target device;Vehicle device exists
When the display system start completion of vehicle-mounted data image, the multi-screen Map Services of vehicle device map are actively bound, that is, can trigger
The backstage of application initializes and opens the monitoring of virtual display device, and the output that map content can be completed at this time is aobvious to third party
Show the support of equipment.
In step s 2, the display system of vehicle-mounted data image is by instrument map datum acquired in step S1, homepage
Map card data, vehicle device map datum, output to map rendering engine, map rendering engine are then respectively instrument map number
According to, homepage map card data, vehicle device map datum provide rendering contexts, in different rendering contexts, respectively to instrument
Diagram data, homepage map card data, vehicle device map datum carry out rendering processing, thus with obtaining instrument map image, homepage
Graph card picture, vehicle device map image.
S3, by instrument map image, homepage map card image, vehicle device map image, be transmitted to corresponding display equipment
It is shown.
In step s3, the display system of vehicle-mounted data image by step S2 render to instrument map image be transmitted to
Instrument board is shown, homepage map card image and vehicle device map image are transmitted to vehicle device and shown.
The display methods of vehicle-mounted data image as provided in the embodiment of the present disclosure can be rendered by same map
Engine carries out rendering processing to different vehicle-mounted datas, so as to greatly promote vehicle-mounted integrated level, and can simplify
Vehicle-mounted data image rendering step, so that the display methods of the vehicle-mounted data image of the embodiment of the present disclosure is more easily implemented.
Fig. 2 be the embodiment of the present disclosure step S2 in vehicle-mounted data include instrument map datum specific flow chart.
Referring to Fig. 2, step S2 includes: and is rendered instrument map datum by engine map in some embodiments
Processing, obtains instrument map image;The step specifically comprises the following steps:
S21, the first virtual display device of creation.
Specifically, in order to render instrument map image, the display system of vehicle-mounted data image needs for map wash with watercolours
It contaminates engine and rendering contexts is provided, need for instrument board to be abstracted as the first virtual display device at this time, therefore in the step s 21, it is vehicle-mounted
The display system of data image creates the first virtual display device.
Fig. 3 is the specific flow chart of the step S21 of the embodiment of the present disclosure;Referring to shown in Fig. 3, step in some embodiments
S21 can specifically include following steps:
S211, the first Surface is obtained by media code decoder.
Specifically, the display system of vehicle-mounted data image obtains one by media code decoder (MediaCodec)
Surface, i.e. the first Surface.Wherein, MediaCodec class is used for some basic multimedia coding-decoders
(audio/video encoding/decoding component), it be the basic multimedia of Android support a part of architecture usually and
MediaExtractor,MediaSync,MediaMuxer,MediaCrypto,MediaDrm,Image,Surface,and
AudioTrack is used together.One codec can handle the data of input to generate the data of output, and codec makes
Buffer is output and input with one group come asynchronous process data.User can create an empty input block, fill data
After be sent to codec and handled.Codec is converted using the data of input, be then output to one it is empty defeated
Buffer area out.End user gets the data of output buffer, consumes the data of the inside, is released back into codec.If
Subsequent there are also data needs to continue with, and codec will repeat these operations.
S212, using the first Surface as parameter, call display manager virtual aobvious by pre-stored first creation
The method shown creates the first virtual display device.
Specifically, the display system of vehicle-mounted data image then can using the first Surface obtained in step S211 as
Parameter calls display manager (DisplayManager) to pass through the pre-stored virtual display of first creation
(createVirtualDisplay) method creates the first virtual display device.
Wherein, DisplayManager is to provide external interface, to realize that the mirror image of different displays is shown;
CreateVirtualDisplay refers to the method that creation is virtually shown.
S22, using the first virtual unit as rendering contexts, and by map rendering engine to instrument map datum carry out wash with watercolours
Dye processing, obtains virtual instrument map image.
Specifically, in step S22 vehicle-mounted data image display system, it is virtual aobvious by created in step S21 first
Show equipment as rendering contexts, and in this context by map rendering engine, diagram data carries out rendering processing over the ground, obtains void
Quasi- instrument map image, it should be appreciated that virtual instrument map image obtained at this time is and first virtually shows
Equipment is compatible, and the display system of vehicle-mounted data image is integrated in vehicle device, then virtual instrument map image
Then identical as the video format of vehicle device, if therefore on instrument board display instrument map image, need to virtual instrument
The video format of figure image carries out coded treatment, so that instrument map image can be shown on instrument board, namely executes
Following step S23.
S23, virtual instrument map image is subjected to coded treatment, obtains instrument map image.
Specifically, in step S23 vehicle-mounted data image display system, virtual instrument map image is encoded into
H.264 video format, specifically can be by calling the video stream encryption shape of media code decoder (MediaCodec) accordingly to connect
Mouthful.
Fig. 4 be the embodiment of the present disclosure step S2 in vehicle-mounted data include homepage map card data detailed process
Figure.
Referring to Fig. 4, in some embodiments, step S2 includes: to carry out homepage map card data by engine map
Rendering processing, obtains homepage map card image, which specifically comprises the following steps:
S24, the second virtual display device of creation.
Specifically, in order to render homepage map card image, the display system of vehicle-mounted data image needs for map wash with watercolours
It contaminates engine and rendering contexts is provided, need homepage map card application being abstracted as the second virtual display device at this time.
Fig. 5 is the specific flow chart of the step S24 in the embodiment of the present disclosure.
Referring to Fig. 5, in some embodiments, step S24 can specifically include following steps:
S241, the SurfaceView that the application of homepage map card provides is obtained.
Specifically, homepage map card application is an application in vehicle device, therefore the application of homepage map card only needs to mention
For a SurfaceView as display window.Therefore, in step S241, the display system of vehicle-mounted data image is needed
Obtain the SurfaceView that the application of homepage map card provides.
Wherein, SurfaceView is the plug-in unit to drawing image, and tool is respectively there are two interface
SurfaceHolder and Runnable;What is used in the embodiments of the present disclosure is SurfaceHolder interface, is needed in the interface
The method to be realized corresponds respectively to the life cycle of SurfaceView, that is, creates, changes and destroy.
S242, the 2nd Surface is obtained by the SurfaceHolder of SurfaceView.
Specifically, in step S242 vehicle-mounted data image display system, pass through what is obtained in step S242
The SurfaceHolder of SurfaceView obtains a Surface namely the 2nd Surface.
S243, using the 2nd Surface as parameter, call display manager virtual aobvious by pre-stored second creation
The method shown creates the second virtual display device.
Specifically, the display system of vehicle-mounted data image then can using the 2nd Surface obtained in step S242 as
Parameter calls display manager (DisplayManager) to create the by the pre-stored method that virtually shows of second creation
One virtual display device.
S25, using the second virtual display device as rendering contexts, and by map rendering engine to homepage map number of cards
According to rendering processing is carried out, homepage map card image is obtained.
Specifically, the display system of vehicle-mounted data image in step s 25, virtual aobvious by create in step S24 second
Show equipment as rendering contexts, and in this context by map rendering engine, diagram data carries out rendering processing over the ground, obtains head
Page map card image.It should be noted that since homepage map card application is an application in vehicle device,
The video format of the homepage map card image obtained in step s 25 be it is compatible with vehicle device, so there is no need to video formats
Conversion.
Fig. 6 be the embodiment of the present disclosure step S2 in vehicle-mounted data include vehicle device map datum specific flow chart.
Referring to Fig. 6, in some embodiments, step S2 includes:
S26, vehicle device map datum is obtained, rendering processing is carried out to vehicle device map datum by map rendering engine, is obtained
Vehicle device map image.
Specifically, the display system of vehicle-mounted data image can be in the Display for listening to public in step S26
When (display content/data) variation, Display can be used for the creation of Presentationde (image),
When after Presentationde creation and showing, MapGLSurfaceView is added and is shown.Wherein, MapGL is Google
Map is a kind of new technology that Google Maps is added in conjunction with newest WebGL technology.It is true in a browser that family can be used in it
Normal incidence watches scene with the mode of three D, rather than see as before it is only some shot under certain special angle it is flat
Face image.That is to say, the display system of vehicle-mounted data image, it can pass through ground directly by the vehicle device map datum acquired in it
Figure rendering engine carries out rendering processing to vehicle device map datum, obtains vehicle device map image.Due to the display of vehicle-mounted data image
System is integrated in vehicle device, and therefore, the video format of vehicle device map image is compatible with vehicle device, therefore can directly be existed
It is shown in vehicle device.
It should be noted that can include the steps that above-mentioned S21-S26 simultaneously in above-mentioned step S2, and step S2
In step S21-S23 rendering step, with the rendering step of step S24-S25 and the rendering step of step S26, this three
A render process is to carry out in different rendering contexts, but three carries out simultaneously, has no successive point.
Fig. 7 is the structural block diagram of the display system of the vehicle-mounted data of the embodiment of the present disclosure.
Second aspect, referring to Fig. 7, the embodiment of the present disclosure provides a kind of display system of vehicle-mounted data, comprising: obtains module
1, rendering module 2, output module 2.
Wherein, module 1 is obtained for obtaining vehicle-mounted data source, and the vehicle-mounted data source includes a variety of vehicle-mounted datas;Rendering
Module 2 is used to by same map rendering engine carry out a variety of vehicle-mounted datas acquired in the acquisition module 1 at rendering
Reason obtains vehicle-mounted data image corresponding with each vehicle-mounted data;Output module 2 is for being rendered the rendering module 2
Display equipment is given in obtained vehicle-mounted data image, output.
The display system of vehicle-mounted data image as provided in the embodiment of the present disclosure, wherein rendering module 2 can lead to
It crosses same map rendering engine and rendering processing is carried out to different vehicle-mounted datas, so as to greatly promote vehicle-mounted integrate
Degree, and can simplify vehicle-mounted data image rendering step, so that the display side of the vehicle-mounted data image of the embodiment of the present disclosure
Method is more easily implemented.
It should be noted that the acquisition module 1 in the embodiment of the present disclosure can be used for executing the step in above-described embodiment
Rapid S1;Rendering module 2 can be used for executing the step S2 in above-described embodiment;Output module 2 can be used for executing in above-described embodiment
Step S3.
Fig. 8 is vehicle-mounted data in the embodiment of the present disclosure when including instrument map datum, the specific structure frame of rendering module 2
Figure;In some embodiments, referring to Fig. 8, the rendering module 2 may include: the first creating unit 21, the first rendering unit 22,
Coding processing unit 23.
Wherein, the first creating unit 21 is for creating the first virtual display device;First rendering unit 22 is used for first
Virtual display device carries out rendering processing to instrument map datum as rendering contexts, and by map rendering engine, obtains void
Quasi- instrument map image;Coding processing unit 23 obtains instrument for virtual instrument map image to be carried out coded treatment
Map image.
It should be noted that the first creating unit 21 can be used for executing in above-described embodiment in the embodiment of the present disclosure
Step S21;First rendering unit 22 can be used for executing the step S22 in above-described embodiment;Coding processing unit 23 can be used for holding
Step S23 in row above-described embodiment.
Fig. 9 is the specific block diagram of the first creating unit 21 of the embodiment of the present disclosure;In some embodiments, referring to figure
9, the first creating unit 21 can specifically include the first acquisition subelement 211 and the first creation subelement 212.
Wherein, first subelement 211 is obtained for obtaining the first Surface by media code decoder;First creation
Unit 212 is used to call display manager virtual by pre-stored first creation using the first Surface as parameter
The method of display creates the first virtual display device.
It should be noted that the first acquisition subelement 211 can be used for executing above-described embodiment in the embodiment of the present disclosure
Middle step S211;First creation subelement 212 can be used for executing the step S212 in above-described embodiment.
Figure 10 is vehicle-mounted data in the embodiment of the present disclosure when including homepage map card data, rendering module 2 it is specific
Structural block diagram;In some embodiments, referring to Fig.1 0, which may include: the second creating unit 24 and the second rendering
Unit 25.
Wherein, the second creating unit 24 is for creating the second virtual display device;Second rendering unit 25 is used for will be described
Second virtual display device carries out the homepage map card data as rendering contexts, and by the map rendering engine
Rendering processing, obtains homepage map card image.
It should be noted that the second creating unit 24 can be used for executing the step S24 in above-described embodiment;Second wash with watercolours
Dye unit 25 can be used for executing the step S25 in above-described embodiment.
Figure 11 is the specific block diagram of the second creating unit 24 of the embodiment of the present disclosure.In some embodiments, reference
Figure 11, the second creating unit 24 include: the second acquisition subelement 241, third acquisition subelement 242 and the second creation subelement
243。
Wherein, the second acquisition subelement 241 is used to obtain the SurfaceView that the application of homepage map card provides;Third
Subelement 242 is obtained to be used to obtain the 2nd Surface by the Surface Holder of SurfaceView;Second creation is single
Member 243 is for calling display manager virtual aobvious by pre-stored second creation using the 2nd Surface as parameter
The method shown creates the second virtual display device.
It should be noted that the second acquisition subelement 241 can be used for executing the step S241 in above-described embodiment;The
Three acquisition subelements 242 can be used for executing the step S242 in above-described embodiment;Second creation subelement 243 can be used in execution
State the step S243 in embodiment.
Figure 12 is vehicle-mounted data in the embodiment of the present disclosure when including vehicle device map datum, the specific structure of rendering module 2
Block diagram;In some embodiments, referring to Fig.1 2, which may include: third rendering unit 26.
Wherein, third rendering unit 26 is used for vehicle device map datum through the map rendering engine to vehicle device map number
According to rendering processing is carried out, vehicle device map image is obtained.
It should be noted that third rendering unit 26 can be used for executing S26 in above-mentioned steps.
It should be understood that when vehicle-mounted data includes instrument map datum, homepage map card data, vehicle device map number
According to rendering module 2 should include the first above-mentioned creating unit 21, the second creating unit 24, the first rendering unit 22, the at this time
Two rendering units 25, third rendering unit 26, coding processing unit 23.
The third aspect, the embodiment of the present disclosure provide a kind of electronic equipment comprising:
One or more processors;
Storage device is stored thereon with one or more programs, when one or more programs are by one or more processors
It executes, so that one or more processors realize the display methods of any one of the above vehicle-mounted data image.
Fourth aspect, the embodiment of the present disclosure provide a kind of computer-readable medium, are stored thereon with computer program, program
The display methods of any one of the above vehicle-mounted data image is realized when being executed by processor.
It will appreciated by the skilled person that whole or certain steps, system, dress in method disclosed hereinabove
Functional module/unit in setting may be implemented as software, firmware, hardware and its combination appropriate.In hardware embodiment,
Division between the functional module/unit referred in the above description not necessarily corresponds to the division of physical assemblies;For example, one
Physical assemblies can have multiple functions or a function or step and can be executed by several physical assemblies cooperations.Certain objects
Reason component or all physical assemblies may be implemented as by processor, such as central processing unit, digital signal processor or micro process
The software that device executes, is perhaps implemented as hardware or is implemented as integrated circuit, such as specific integrated circuit.Such software
Can be distributed on a computer-readable medium, computer-readable medium may include computer storage medium (or non-transitory be situated between
Matter) and communication media (or fugitive medium).As known to a person of ordinary skill in the art, term computer storage medium includes
In any method or skill for storing information (such as computer readable instructions, data structure, program module or other data)
The volatile and non-volatile implemented in art, removable and nonremovable medium.Computer storage medium includes but is not limited to
RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storages, magnetic
Box, tape, disk storage or other magnetic memory apparatus or it can be used for storing desired information and can be visited by computer
Any other medium asked.In addition, known to a person of ordinary skill in the art be, communication media generally comprises computer-readable
Other numbers in the modulated data signal of instruction, data structure, program module or such as carrier wave or other transmission mechanisms etc
According to, and may include any information delivery media.
Example embodiment has been disclosed herein, although and use concrete term, they are only used for simultaneously only should
It is interpreted general remark meaning, and is not used in the purpose of limitation.In some instances, aobvious to those skilled in the art and
Be clear to, unless otherwise expressly stated, the feature that description is combined with specific embodiment that otherwise can be used alone, characteristic and/
Or element, or the feature, characteristic and/or element of description can be combined with other embodiments and be applied in combination.Therefore, art technology
Personnel will be understood that, in the case where not departing from the scope of the present disclosure illustrated by the attached claims, can carry out various forms
With the change in details.
Claims (14)
1. a kind of display methods of vehicle-mounted data image comprising:
Vehicle-mounted data source is obtained, the vehicle-mounted data source includes a variety of vehicle-mounted datas;
By a variety of vehicle-mounted datas, rendering processing is carried out by same map rendering engine, is obtained corresponding with each vehicle-mounted data
Vehicle-mounted data image;
By each vehicle-mounted data image, it is transmitted in corresponding display equipment and is shown.
2. according to the method described in claim 1, wherein, the vehicle-mounted data includes instrument map datum;It is described by a variety of vehicles
Data are carried, rendering processing is carried out by same map rendering engine, obtain vehicle-mounted data figure corresponding with each vehicle-mounted data
Picture, comprising: by the instrument map datum, rendering processing is carried out by the engine map, obtains instrument map image;
It is described that the instrument map datum is subjected to rendering processing by the engine map, instrument map image is obtained, is wrapped
It includes:
Create the first virtual display device;
Using first virtual display device as rendering contexts, and by the map rendering engine to the instrument map number
According to rendering processing is carried out, virtual instrument map image is obtained;
Virtual instrument map image is subjected to coded treatment, obtains instrument map image.
3. according to the method described in claim 2, wherein, the first virtual display device of the creation, comprising:
The first Surface is obtained by media code decoder;
Using the first Surface as parameter, display manager is called virtually to show by pre-stored first creation
Method creates the first virtual display device.
4. method according to any one of claim 1-3, wherein the vehicle-mounted data includes homepage map number of cards
According to;It is described that a variety of vehicle-mounted datas are subjected to rendering processing by same map rendering engine, it obtains and each vehicle-mounted data pair
The vehicle-mounted data image answered, comprising: by the homepage map card data, rendering processing is carried out by the engine map, is obtained
To homepage map card image;
It is described that the homepage map card data is subjected to rendering processing by the engine map, obtain homepage map card
Image, comprising:
Create the second virtual display device;
Using second virtual display device as rendering contexts, and by the map rendering engine to the homepage expansion card
Sheet data carries out rendering processing, obtains homepage map card image.
5. according to the method described in claim 4, wherein, the second virtual display device of the creation, comprising:
Obtain the SurfaceView that the application of homepage map card provides;
The 2nd Surface is obtained by the SurfaceHolder of SurfaceView;
Using the 2nd Surface as parameter, display manager is called virtually to show by pre-stored second creation
Method creates the second virtual display device.
6. according to the method described in claim 1, wherein, the vehicle-mounted data includes vehicle device map datum;It is described by a variety of vehicles
Data are carried, rendering processing is carried out by same map rendering engine, obtains corresponding vehicle-mounted data image, comprising:
Vehicle device map datum is obtained, rendering processing is carried out to vehicle device map datum by the map rendering engine, obtains vehicle device
Map image.
7. a kind of display system of vehicle-mounted data image, comprising:
Module is obtained, for obtaining vehicle-mounted data source, the vehicle-mounted data source includes a variety of vehicle-mounted datas;
Rendering module, for being carried out by same map rendering engine by a variety of vehicle-mounted datas acquired in the acquisition module
Rendering processing obtains vehicle-mounted data image corresponding with each vehicle-mounted data;
Display equipment is given in output module, the vehicle-mounted data image for rendering the rendering module, output.
8. system according to claim 7, wherein the vehicle-mounted data includes instrument map datum;The rendering module,
Include:
First creating unit, for creating the first virtual display device;
First rendering unit is used for using first virtual display device as rendering contexts, and is drawn by map rendering
It holds up and rendering processing is carried out to the instrument map datum, obtain virtual instrument map image;
Coding processing unit obtains instrument map image for virtual instrument map image to be carried out coded treatment.
9. system according to claim 8, wherein first creating unit includes:
First obtains subelement, for obtaining the first Surface by media code decoder;
First creation subelement, for calling display manager to pass through pre-stored using the first Surface as parameter
The method that first creation is virtually shown creates the first virtual display device.
10. the system according to any one of claim 7-9, wherein the vehicle-mounted data includes homepage map number of cards
According to;The rendering module, comprising:
Second creating unit, for creating the second virtual display device;
Second rendering unit is used for using second virtual display device as rendering contexts, and is drawn by map rendering
It holds up and rendering processing is carried out to the homepage map card data, obtain homepage map card image.
11. system according to claim 10, wherein second creating unit, comprising:
Second obtains subelement, the Surface View provided for obtaining the application of homepage map card;
Third obtains subelement, for obtaining the 2nd Surface by the SurfaceHolder of SurfaceView;
Second creation subelement, for calling display manager to pass through pre-stored using the 2nd Surface as parameter
The method that second creation is virtually shown creates the second virtual display device.
12. system according to claim 7, wherein the vehicle-mounted data includes: vehicle device map datum;The rendering mould
Block includes:
Third rendering unit carries out at rendering vehicle device map datum by the map rendering engine for vehicle device map datum
Reason, obtains vehicle device map image.
13. a kind of electronic equipment comprising:
One or more processors;
Storage device is stored thereon with one or more programs, when one or more of programs are by one or more of places
It manages device to execute, so that one or more of processors realize method according to claim 1 to 6.
14. a kind of computer-readable medium is stored thereon with computer program, basis is realized when described program is executed by processor
Method of any of claims 1-6.
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 true CN110333835A (en) | 2019-10-15 |
CN110333835B 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 (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050262535A1 (en) * | 2002-07-05 | 2005-11-24 | Mami Uchida | Image display system, image display method and display unit |
JP2008108296A (en) * | 2006-10-23 | 2008-05-08 | Toshiba Corp | Information reproducing device and information reproducing method |
US20150278577A1 (en) * | 2014-03-26 | 2015-10-01 | Samsung Electronics Co., Ltd. | Fingerprint identifying method and electronic device thereof |
CN104977018A (en) * | 2015-07-10 | 2015-10-14 | 钛马信息网络技术有限公司 | Vehicle-mounted navigation equipment, mobile device, vehicle-mounted navigation equipment navigation method, mobile device navigation method, and navigation system |
CN106855881A (en) * | 2016-12-16 | 2017-06-16 | 北京奇鱼时代科技有限公司 | A kind of method and apparatus of many Map Switchs based on mobile device |
CN107870794A (en) * | 2016-09-23 | 2018-04-03 | 深圳联友科技有限公司 | A kind of vehicle device subregion display methods and device |
CN108920606A (en) * | 2018-06-28 | 2018-11-30 | 腾讯大地通途(北京)科技有限公司 | map data processing method, device, terminal device and storage medium |
US20190009168A1 (en) * | 2017-07-04 | 2019-01-10 | James Andrew Aman | Physical-Virtual Game Board and Content Delivery System |
CN109388467A (en) * | 2018-09-30 | 2019-02-26 | 百度在线网络技术(北京)有限公司 | Map information display method, device, computer equipment and storage medium |
-
2019
- 2019-05-09 CN CN201910385002.XA patent/CN110333835B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050262535A1 (en) * | 2002-07-05 | 2005-11-24 | Mami Uchida | Image display system, image display method and display unit |
JP2008108296A (en) * | 2006-10-23 | 2008-05-08 | Toshiba Corp | Information reproducing device and information reproducing method |
US20150278577A1 (en) * | 2014-03-26 | 2015-10-01 | Samsung Electronics Co., Ltd. | Fingerprint identifying method and electronic device thereof |
CN104977018A (en) * | 2015-07-10 | 2015-10-14 | 钛马信息网络技术有限公司 | Vehicle-mounted navigation equipment, mobile device, vehicle-mounted navigation equipment navigation method, mobile device navigation method, and navigation system |
CN107870794A (en) * | 2016-09-23 | 2018-04-03 | 深圳联友科技有限公司 | A kind of vehicle device subregion display methods and device |
CN106855881A (en) * | 2016-12-16 | 2017-06-16 | 北京奇鱼时代科技有限公司 | A kind of method and apparatus of many Map Switchs based on mobile device |
US20190009168A1 (en) * | 2017-07-04 | 2019-01-10 | James Andrew Aman | Physical-Virtual Game Board and Content Delivery System |
CN108920606A (en) * | 2018-06-28 | 2018-11-30 | 腾讯大地通途(北京)科技有限公司 | map data processing method, device, terminal device and storage medium |
CN109388467A (en) * | 2018-09-30 | 2019-02-26 | 百度在线网络技术(北京)有限公司 | Map information display method, device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110333835B (en) | 2023-07-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110070496B (en) | Method and device for generating image special effect and hardware device | |
CN112184738A (en) | Image segmentation method, device, equipment and storage medium | |
KR20140143725A (en) | Image correlation method and electronic device therof | |
CN111325704B (en) | Image restoration method and device, electronic equipment and computer-readable storage medium | |
CN104090753A (en) | Video rendering system of mobile terminal | |
CN114677386A (en) | Special effect image processing method and device, electronic equipment and storage medium | |
CN113806306B (en) | Media file processing method, device, equipment, readable storage medium and product | |
CN109147022A (en) | VR data rendering method and system, computer equipment, computer storage medium | |
CN109660859A (en) | A kind of animated show method and mobile terminal | |
CN111399798A (en) | Vehicle-mounted voice assistant personalized realization method, system, medium and vehicle-mounted equipment | |
CN112363932B (en) | Test method and device for business object to be tested and electronic device | |
CN114429418A (en) | Method and device for generating stylized image, electronic equipment and storage medium | |
CN109933742A (en) | Content of pages rearranges a volume method and device in a kind of process | |
CN110333835A (en) | Display methods, system, electronic equipment and the computer-readable medium of vehicle-mounted data image | |
CN114449171B (en) | Method for controlling camera, terminal device, storage medium and program product | |
US20220051375A1 (en) | An inverse tone mapping method, system, device and computer readable medium | |
CN110619615A (en) | Method and apparatus for processing image | |
CN112367295B (en) | Plug-in display method and device, storage medium and electronic equipment | |
CN115129444A (en) | Application program display method and device and computer readable storage medium | |
CN117392489A (en) | Image processing method, device, equipment and storage medium | |
CN110119721B (en) | Method and apparatus for processing information | |
CN116761080B (en) | Image data processing method and terminal equipment | |
CN110968383B (en) | Message frame display method and device, terminal and storage medium | |
CN112257581A (en) | Face detection method, device, medium and equipment | |
CN110297685A (en) | User interface description document generating method, device, 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 |
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. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |