[go: up one dir, main page]

CN113498512A - Optimization method and device for vehicle-mounted image display, computer equipment and storage medium - Google Patents

Optimization method and device for vehicle-mounted image display, computer equipment and storage medium Download PDF

Info

Publication number
CN113498512A
CN113498512A CN202080003152.0A CN202080003152A CN113498512A CN 113498512 A CN113498512 A CN 113498512A CN 202080003152 A CN202080003152 A CN 202080003152A CN 113498512 A CN113498512 A CN 113498512A
Authority
CN
China
Prior art keywords
data
browser
visual application
application
vehicle
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
Application number
CN202080003152.0A
Other languages
Chinese (zh)
Other versions
CN113498512B (en
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
DeepRoute AI Ltd
Original Assignee
DeepRoute AI Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by DeepRoute AI Ltd filed Critical DeepRoute AI Ltd
Publication of CN113498512A publication Critical patent/CN113498512A/en
Application granted granted Critical
Publication of CN113498512B publication Critical patent/CN113498512B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种车载图像显示的优化方法,包括:获取浏览器的数据显示请求,数据显示请求携带数据标识(202);根据数据显示请求从浏览器的当前页面跳转至对应的目标网页,目标网页中包括可视化应用(204);通过浏览器运行可视化应用,将数据标识传输至可视化应用(206);通过可视化应用根据数据标识生成数据获取请求,将数据获取请求发送至服务器(208);通过可视化应用接收服务器返回的数据获取请求对应的车载数据(210);通过浏览器对车载数据进行渲染,将渲染得到的车载图像在可视化应用上进行显示(212)。

Figure 202080003152

An optimization method for in-vehicle image display, comprising: acquiring a data display request of a browser, the data display request carrying a data identifier (202); jumping from a current page of the browser to a corresponding target webpage according to the data display request, and in the target webpage Including a visualization application (204); running the visualization application through a browser, and transmitting the data identification to the visualization application (206); generating a data acquisition request according to the data identification through the visualization application, and sending the data acquisition request to the server (208); through the visualization application Receive vehicle-mounted data corresponding to the data acquisition request returned by the server (210); render the vehicle-mounted data through a browser, and display the rendered vehicle-mounted image on a visualization application (212).

Figure 202080003152

Description

Optimization method and device for vehicle-mounted image display, computer equipment and storage medium Technical Field
The application relates to an optimization method and device for vehicle-mounted image display, computer equipment and a storage medium.
Background
In the research and development process of the automatic driving technology, the enterprise needs to display the vehicle-mounted image on the visual application, so that the visual application feeds back various modes such as a perception mode, a prediction mode, a planning mode and a control mode adopted in the automatic driving process, and then optimizes the various modes through a feedback result. In a traditional mode, the visualization application of the same version can only run in a specific operating system, when the visualization application needs to run on other operating systems, different visualization application versions need to be packaged according to the corresponding operating systems, and then the vehicle-mounted image can be displayed, so that the existing visualization application has unnecessary consumption of manpower and material resources when running across platforms. Therefore, how to effectively optimize the conventional vehicle-mounted image display mode becomes a technical problem to be solved at present.
Disclosure of Invention
According to various embodiments disclosed in the present application, there are provided an optimization method, an apparatus, a computer device, and a storage medium for vehicle-mounted image display capable of effectively optimizing a conventional vehicle-mounted image display manner.
A method for optimizing vehicle-mounted image display comprises the following steps:
acquiring a data display request of a browser, wherein the data display request carries a data identifier;
skipping from the current page of the browser to a corresponding target webpage according to the data display request, wherein the target webpage comprises a visual application;
running the visual application through the browser, and transmitting the data identification to the visual application;
generating a data acquisition request according to the data identification through the visual application, and sending the data acquisition request to a server;
receiving vehicle-mounted data corresponding to the data acquisition request returned by the server through the visual application; and
rendering the vehicle-mounted data through the browser, and displaying a vehicle-mounted image obtained through rendering on the visual application.
An optimization apparatus for on-vehicle image display, comprising:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a data display request of a browser, and the data display request carries a data identifier;
the skipping module is used for skipping from the current page of the browser to a corresponding target webpage according to the data display request, and the target webpage comprises a visual application;
the operation module is used for operating the visual application through the browser and transmitting the data identification to the visual application;
the generation module is used for generating a data acquisition request according to the data identification through the visual application and sending the data acquisition request to a server;
the receiving module is used for receiving the vehicle-mounted data corresponding to the data acquisition request returned by the server through the visual application; and
and the display module is used for rendering the vehicle-mounted data through the browser and displaying the vehicle-mounted image obtained through rendering on the visual application.
A computer device comprising a memory and one or more processors, the memory having stored therein computer-readable instructions that, when executed by the processors, cause the one or more processors to perform the steps of:
acquiring a data display request of a browser, wherein the data display request carries a data identifier;
skipping from the current page of the browser to a corresponding target webpage according to the data display request, wherein the target webpage comprises a visual application;
running the visual application through the browser, and transmitting the data identification to the visual application;
generating a data acquisition request according to the data identification through the visual application, and sending the data acquisition request to a server;
receiving vehicle-mounted data corresponding to the data acquisition request returned by the server through the visual application; and
rendering the vehicle-mounted data through the browser, and displaying a vehicle-mounted image obtained through rendering on the visual application.
One or more non-transitory computer-readable storage media storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of:
acquiring a data display request of a browser, wherein the data display request carries a data identifier;
skipping from the current page of the browser to a corresponding target webpage according to the data display request, wherein the target webpage comprises a visual application;
running the visual application through the browser, and transmitting the data identification to the visual application;
generating a data acquisition request according to the data identification through the visual application, and sending the data acquisition request to a server;
receiving vehicle-mounted data corresponding to the data acquisition request returned by the server through the visual application; and
rendering the vehicle-mounted data through the browser, and displaying a vehicle-mounted image obtained through rendering on the visual application.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below. Other features and advantages of the application will be apparent from the description and drawings, and from the claims.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a diagram of an application environment of a method for optimizing display of an in-vehicle image in one or more embodiments.
FIG. 2 is a schematic flow diagram illustrating a method for optimizing display of an in-vehicle image in one or more embodiments.
FIG. 3 is a flow diagram illustrating steps performed in one or more embodiments to develop a visualization application.
FIG. 4 is a block diagram of an apparatus for optimizing display of an onboard image in one or more embodiments.
FIG. 5 is a block diagram of a computer device in one or more embodiments.
Detailed Description
In order to make the technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The optimization method for vehicle-mounted image display can be applied to the application environment shown in fig. 1. The terminal 102 communicates with the server 104 through a network. The terminal 102 is pre-installed with an operating system, and a browser is pre-deployed on the operating system. The terminal 102 obtains a data display request of the browser, wherein the data display request carries a data identifier. And the terminal jumps to a corresponding target webpage from the current page of the browser according to the data display request, wherein the target webpage comprises the visual application. Visualization applications may be used for data display. The terminal 102 runs the visualization application through the browser, and transmits the data identifier to the visualization application. The visualization application may run on a different operating system through the browser. The terminal 102 generates a data acquisition request according to the data identifier through the visualization application, and sends the data acquisition request to the server 104. The terminal 102 receives the vehicle-mounted data corresponding to the data acquisition request returned by the server 104 through the visualization application. The terminal 102 renders the vehicle-mounted data through the browser, and displays a vehicle-mounted image obtained through rendering on a visual application. The terminal 102 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices. The server 104 may be implemented as a stand-alone server or as a server cluster comprised of multiple servers.
In one embodiment, as shown in fig. 2, a method for optimizing vehicle-mounted image display is provided, which is described by taking the method as an example applied to the terminal in fig. 1, and includes the following steps:
step 202, a data display request of the browser is obtained, wherein the data display request carries a data identifier.
The terminal is pre-installed with an operating system, and the operating system is pre-deployed with a browser. The browser may be a browser that supports rendering a web page. The webpage is rendered through the browser, and more complete data display can be performed in the webpage. The terminal can acquire a data display request of a user on the browser. The data display request may be a data display request generated by encapsulating, by the terminal, data selected by the user through an http protocol. The selected data may be in-vehicle data within a preset time period that needs to be played back. And the terminal analyzes the data display request to obtain a data identifier. The data identification may include a data id (identity document).
And 204, jumping from the current page of the browser to a corresponding target webpage according to the data display request, wherein the target webpage comprises a visual application.
And step 206, running the visualization application through the browser, and transmitting the data identification to the visualization application.
The data display request may include a link address of the target web page, and the link address may be a URL (Uniform Resource Locator), which may be used to identify a storage location of a Resource of the target web page. And the terminal jumps to a corresponding target webpage from the current page of the browser according to the data display request. The target webpage comprises a visual application. The visual application is a wasm file obtained by compiling a preset application script, and the wasm file is a binary file and can run on an operating system with a browser.
The terminal can identify whether the visualization application in the target webpage has an updated version according to the data display request. And when the visualization application has an updated version, running the updated version of the visualization application through the browser. And when the visualization application does not have the updated version, running the visualization application in the cache resource through the browser. After the visual application is operated through the browser, the browser can transmit the data identification to the visual application, and then the corresponding vehicle-mounted data is obtained in the server through the visual application according to the data identification and displayed.
And step 208, generating a data acquisition request according to the data identifier through the visual application, and sending the data acquisition request to a server.
And step 210, receiving the vehicle-mounted data corresponding to the data acquisition request returned by the server through the visual application.
The terminal encapsulates the data identification according to a preset protocol through the visual application, and generates a data acquisition request according to the encapsulated data, so that the data acquisition request is sent to the server according to the preset protocol. The encapsulated data may include a data identifier, a header file, an interface identifier, status data of the terminal, and the like. After receiving the data acquisition request, the server analyzes the data acquisition request according to a preset protocol, and can obtain a data identifier, an interface identifier and the like. The server calls an interface corresponding to the interface identifier, and vehicle-mounted data corresponding to the data identifier is acquired in the cloud through the interface. The in-vehicle data may be data within a preset time period. The in-vehicle data may include a travel speed, a travel distance, position information, map information, and the like of the vehicle during the automatic driving. The data are stored through the cloud, so that the data can be guaranteed not to be lost forever, and the safety of the data is improved. And the terminal receives the vehicle-mounted data returned by the server through the visual application.
And 212, rendering the vehicle-mounted data through the browser, and displaying the vehicle-mounted image obtained through rendering on a visual application.
And the terminal converts the received vehicle-mounted data through the visual application to obtain corresponding index data. The index data may include travel speed, mileage, location coordinates, and the like. Because the vehicle-mounted data is data in the preset time, the index data is rendered through the browser, namely page rendering is performed, so that a plurality of frames of vehicle-mounted images can be generated, and the plurality of frames of vehicle-mounted images are displayed through visual application. The page rendering refers to a process of analyzing html (hypertext markup language) by using a rule defined by CSS (Cascading Style Sheets), so as to realize page rendering.
In a traditional mode, the visualization application of the same version can only run in a specific operating system, when the visualization application needs to run on other operating systems, different visualization application versions need to be packaged according to the corresponding operating systems, and then the vehicle-mounted image can be displayed, so that the existing visualization application has unnecessary consumption of manpower and material resources when running across platforms. In this embodiment, the terminal obtains a data display request of the browser, where the data display request carries a data identifier. And jumping from the current page of the browser to a corresponding target webpage according to the data display request, wherein the target webpage comprises a visual application. And the data identification is transmitted to the visual application by running the visual application through the browser. And generating a data acquisition request according to the data identification through the visual application, sending the data acquisition request to the server, and receiving the vehicle-mounted data corresponding to the data acquisition request returned by the server. And then rendering the vehicle-mounted data through a browser, and displaying the vehicle-mounted image obtained through rendering on a visual application. Because the visual application is embedded in the target webpage, the visual application can be operated on the browser, so that the visual application of the same version can be operated on a plurality of operating systems provided with the browser, the corresponding visual application version does not need to be packaged for each operating system, unnecessary manpower and material resource consumption in the vehicle-mounted image display process is avoided, vehicle-mounted data is rendered through the browser and displayed on the visual application, and the effective optimization of the traditional vehicle-mounted image display mode is realized.
In one embodiment, as shown in fig. 3, the method further includes: the step of developing the visualization application specifically comprises:
step 302, acquiring a preset application script, and converting the preset application script into a cpp file.
And step 304, compiling the cpp file to obtain a wasm file, a glue script and an html page, wherein the wasm file is used as a visual application, and the glue script and the html page are used for running the visual application through a browser.
Before acquiring a data display request of the browser, the terminal develops a visualization application which can run on the browser in advance. The terminal acquires a preset application script, wherein the preset application script can be a unit-based visual application script, and the preset application script is written by C #. C # is an object-oriented programming language. The visual application corresponding to the preset application script can only run in a specific operating system and cannot run in a browser. The terminal converts the preset application script into CPP file through IL2CPP (Intermediate Language To C + +). The cpp file is a source code file format written in the C + + language (C plus plus, mid-level language).
The terminal compiles the cpp file through an emscript compiler to obtain a wap file, a glue script and an html (hypertext markup language) page. The wasm file can run in JavaScript. JavaScript is an transliterated scripting language and can be run on a browser, namely a wap file is run on the browser, so that the visual application can be run on the browser. The glue script and the html page are used to run a visualization application through the browser. The glue script is a JavaScript file and is used for connecting mutually incompatible software components, namely connecting the JavaScript and the wasm to realize interaction between the JavaScript and the wasm. The html page is used to run the wasm file in the browser.
In this embodiment, the terminal converts the preset application script into the cpp file by acquiring the preset application script. Compiling the cpp file to obtain a wasm file, a glue script and an html page, wherein the wasm file is used as a visual application, and the glue script and the html page are used for running the visual application through a browser. The cpp file is in a source code file format written in a C + + language (C plus plus, middle-level language), and is compiled into a wasm file capable of running in the browser, so that the same version of visual application can run on a plurality of operating systems provided with the browser, and the corresponding visual application version does not need to be packaged for each operating system, and unnecessary consumption of manpower and material resources is avoided.
In one embodiment, running a visualization application through a browser includes: identifying the visual application according to the glue script through a browser; and running the visual application obtained by the identification on the html page through the browser.
Before acquiring a data display request of the browser, the terminal converts the preset application script into a cpp file and compiles the cpp file into a wasm file. Glue scripts and html pages are also available during the compilation process. And the terminal takes the wasm file as a visual application. JavaScript runs in the browser, the browser can identify the visual application through the glue script, and the visual application is connected with the JavaScript to realize interaction. And then the browser runs the wasm file through the html page.
In the embodiment, the visual application is identified through the browser according to the glue script, and the visual application obtained through identification is run on the html page through the browser. The visual application exists in the format of the wasm file, but the browser cannot directly identify the wasm file, the browser can be facilitated to identify the visual application through the glue script, the visual application is operated on the html page generated in the compiling process, and the stable operation of the wasm file on the browser is achieved.
In one embodiment, before the running of the visualization application through the browser, the method further includes: sending a data display request to a server through a browser, and receiving response information returned by the server; identifying whether the visual application has an updated version according to the response information through the browser; when the updated version exists, acquiring the visual application of the updated version in the server through the browser, and running the visual application of the updated version; and when the updated version does not exist, running the visual application in the cache resource through the browser.
Before the terminal runs the visual application through the browser, whether the visual application in the target webpage is updated or not is identified. Specifically, when the browser acquires the data display request, the data display request is sent to the server so as to receive response information returned by the server. The data display request may be an http request generated according to an http protocol. Correspondingly, the response information returned by the server is http response information. The browser analyzes the response information to obtain an http response header. The browser identifies whether the state of the visualization application is changed, i.e. whether an updated version of the visualization application exists, according to an ETag (Entity Tag) field in the http response header. When the value of the ETag field in the http response header is changed, the visualization application is updated, and an updated version exists. At this time, the browser acquires the visualization application of the updated version in the server and runs the visualization application of the updated version. And when the value of the ETag field in the http response header is not changed, the visualization application is not updated, and no updated version exists. At this time, the browser acquires the visual application from the cache resource and runs the visual application.
In this embodiment, the terminal receives response information returned by the server through the browser, identifies whether the updated version exists in the visual application according to the response information, and accordingly determines whether to acquire the visual application of the updated version from the server or acquire the visual application from the cached resource, and can automatically acquire the visual application of the new version when the new version is released, so that manual pulling of the visual application of the new version is not needed, and automation of releasing the application of the new version is realized.
In one embodiment, rendering the vehicle-mounted data through a browser, and displaying a rendered vehicle-mounted image on a visualization application includes: converting the vehicle-mounted data into corresponding index data through a visual application; rendering the index data through a browser to obtain a vehicle-mounted image, and displaying the vehicle-mounted image on visual application.
After the terminal acquires the vehicle-mounted data returned by the server through the visual application, the vehicle-mounted data can be converted into corresponding index data through the visual application. The vehicle-mounted data may be vehicle-mounted data within a preset time period. The server returns the vehicle-mounted data to the visualization application in the form of character strings, and the visualization application converts the received character strings into index data, namely objects. The index data may include indices of travel speed, mileage, location coordinates, and the like. And rendering the index data, namely rendering a page by the browser to generate a vehicle-mounted image, wherein the vehicle-mounted image is a vehicle-mounted image of continuous multiple frames with chronological order. Each frame is a static picture, the terminal displays the plurality of frames of vehicle-mounted images through visual application, and the plurality of frames of vehicle-mounted images form animation. The page rendering refers to a process of analyzing html (hypertext markup language) by using a rule defined by CSS (Cascading Style Sheets), so as to realize page rendering.
In this embodiment, the terminal converts the vehicle-mounted data into corresponding index data through visual application, and the browser is facilitated to accurately and quickly render the vehicle-mounted data, so that the index data are rendered through the browser, and a vehicle-mounted image is obtained. Because the vehicle-mounted image is obtained by rendering and analyzing the browser, the obtained vehicle-mounted image is more complete, and the accuracy of vehicle-mounted image display is improved.
In one embodiment, the terminal can calculate and combine the index data through a scripting language engine in the browser, and render the index data to obtain the vehicle-mounted image. Specifically, the corresponding positions of the index data are calculated through a script language engine in the browser, so that the index data are combined to obtain a complete vehicle-mounted image, and the complete vehicle-mounted image is displayed on a visual application. The scripting language engine may be a javascript engine. The vehicle-mounted image obtained by calculation and combination through the script language engine is more complete, and the accuracy of vehicle-mounted image display is effectively improved.
In one embodiment, generating, by the visualization application, the data acquisition request according to the data identification includes: assembling the data identification according to a preset protocol through visual application to obtain assembled data; packaging the assembled data through visual application to obtain packaged data; and generating a data acquisition request according to the packaged data through the visual application.
When the visual application obtains the data identifier sent by the browser, the terminal can load a preset protocol. The preset protocol may be an http protocol. And assembling the data identification through visual application according to a preset protocol to obtain the assembled data. The assembled data may include a data identifier, a header file, an interface identifier, status data of the terminal, and the like. The header file may be a carrier file containing the function, data interface declaration. And the terminal encapsulates the assembled data into an object through visual application, so as to obtain the encapsulated data. An object may be a variable having a type of class. A class may be a blueprint for creating objects, and may be a software template for methods and variables in an object of a particular type. Classes may encapsulate assembled data and operations on assembled data together.
The terminal generates a data acquisition request according to the encapsulated data, and can send the data acquisition request to the server according to a preset protocol. The server is pre-configured with a preset protocol. And after receiving the data acquisition request, the server calls a preset protocol to analyze the data acquisition request to obtain a data identifier, a header file, an interface identifier, state data of the terminal and the like. And the server encapsulates the analyzed data into a request object, calls an interface corresponding to the interface identifier according to the request object, and acquires the vehicle-mounted data corresponding to the data identifier from the cloud through the interface. And the server sends the vehicle-mounted data to the visualization application by using the response object.
In this embodiment, the terminal assembles and encapsulates the data identifier according to the preset protocol through the visual application to generate the data acquisition request, so that the data identifier can be hidden, the data identifier and the corresponding code are prevented from being randomly accessed by the code defined by the external class, and the security of vehicle-mounted data acquisition is improved.
In one embodiment, as shown in fig. 4, there is provided an optimization apparatus for on-vehicle image display, including: an obtaining module 402, a skipping module 404, an operating module 406, a generating module 408, a receiving module 410 and a displaying module 412, wherein:
an obtaining module 402, configured to obtain a data display request of a browser, where the data display request carries a data identifier.
And a skipping module 404, configured to skip from a current page of the browser to a corresponding target webpage according to the data display request, where the target webpage includes a visual application.
And the running module 406 is configured to run the visualization application through the browser, and transmit the data identifier to the visualization application.
The generating module 408 is configured to generate a data obtaining request according to the data identifier through the visualization application, and send the data obtaining request to the server.
And the receiving module 410 is configured to receive vehicle-mounted data corresponding to the data acquisition request returned by the server through the visualization application.
And the display module 412 is configured to render the vehicle-mounted data through the browser, and display a rendered vehicle-mounted image on a visualization application.
In one embodiment, the apparatus further includes: the compiling module is used for acquiring a preset application script and converting the preset application script into a cpp file; compiling the cpp file to obtain a wasm file, a glue script and an html page, wherein the wasm file is used as a visual application, and the glue script and the html page are used for running the visual application through a browser.
In one embodiment, the execution module 406 is further configured to identify, by the browser, the visualization application according to the glue script; and running the visual application obtained by the identification on the html page through the browser.
In one embodiment, the apparatus further includes: the identification module is used for identifying whether an updated version exists in the visual application through the browser; when the updated version exists, acquiring the visual application of the updated version in the server through the browser, and running the visual application of the updated version; and when the updated version does not exist, running the visual application in the cache resource through the browser.
In one embodiment, the display module 412 is further configured to convert the vehicle data into corresponding index data through a visualization application; rendering the index data through a browser to obtain a vehicle-mounted image, and displaying the vehicle-mounted image on visual application.
In one embodiment, the generating module 408 is further configured to assemble the data identifier according to a preset protocol through a visualization application, so as to obtain assembled data; packaging the assembled data through visual application to obtain packaged data; and generating a data acquisition request according to the packaged data through the visual application.
The specific definition of the optimization device for vehicle-mounted image display can be referred to the above definition of the optimization method for vehicle-mounted image display, and is not described herein again. The modules in the optimization device for vehicle-mounted image display can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 5. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of optimizing a vehicle-mounted image display. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
A computer device comprising a memory and one or more processors, the memory having stored therein computer-readable instructions that, when executed by the one or more processors, cause the one or more processors to perform the steps of the various method embodiments described above.
One or more non-transitory computer-readable storage media storing computer-readable instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of the various method embodiments described above.
It will be understood by those of ordinary skill in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware associated with computer readable instructions, which can be stored in a non-volatile computer readable storage medium, and when executed, can include processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (20)

  1. A method for optimizing vehicle-mounted image display comprises the following steps:
    acquiring a data display request of a browser, wherein the data display request carries a data identifier;
    skipping from the current page of the browser to a corresponding target webpage according to the data display request, wherein the target webpage comprises a visual application;
    running the visual application through the browser, and transmitting the data identification to the visual application;
    generating a data acquisition request according to the data identification through the visual application, and sending the data acquisition request to a server;
    receiving vehicle-mounted data corresponding to the data acquisition request returned by the server through the visual application; and
    rendering the vehicle-mounted data through the browser, and displaying a vehicle-mounted image obtained through rendering on the visual application.
  2. The method according to claim 1, prior to the obtaining the data display request of the browser, further comprising:
    acquiring a preset application script, and converting the preset application script into a cpp file; and
    compiling the cpp file to obtain a wasm file, a glue script and an html page, wherein the wasm file is used as a visual application, and the glue script and the html page are used for running the visual application through a browser.
  3. The method of claim 2, wherein the running the visualization application through the browser comprises:
    identifying, by the browser, the visual application according to the glue script; and
    and running the visual application obtained by identification on the html page through the browser.
  4. The method of claim 1, prior to said running the visualization application through the browser, further comprising:
    sending the data display request to a server through the browser, and receiving response information returned by the server;
    identifying whether an updated version exists in the visual application according to the response information through the browser;
    when an updated version exists, acquiring the visual application of the updated version in a server through the browser, and running the visual application of the updated version; and
    and when the updated version does not exist, running the visual application in the cache resource through the browser.
  5. The method of claim 1, wherein the rendering the vehicle-mounted data through the browser, and the displaying the rendered vehicle-mounted image on the visualization application comprises:
    converting the vehicle-mounted data into corresponding index data through the visualization application; and
    rendering the index data through the browser to obtain a vehicle-mounted image, and displaying the vehicle-mounted image on the visual application.
  6. The method of any one of claims 1 to 5, wherein the generating, by the visualization application, a data acquisition request from the data identification comprises:
    assembling the data identification through the visual application according to a preset protocol to obtain assembled data;
    packaging the assembled data through the visual application to obtain packaged data; and generating a data acquisition request according to the packaged data through the visual application.
  7. An optimization apparatus for on-vehicle image display, comprising:
    the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a data display request of a browser, and the data display request carries a data identifier;
    the skipping module is used for skipping from the current page of the browser to a corresponding target webpage according to the data display request, and the target webpage comprises a visual application;
    the operation module is used for operating the visual application through the browser and transmitting the data identification to the visual application;
    the generation module is used for generating a data acquisition request according to the data identification through the visual application and sending the data acquisition request to a server;
    the receiving module is used for receiving the vehicle-mounted data corresponding to the data acquisition request returned by the server through the visual application; and
    and the display module is used for rendering the vehicle-mounted data through the browser and displaying the vehicle-mounted image obtained through rendering on the visual application.
  8. The apparatus of claim 7, further comprising: the compiling module is used for acquiring a preset application script and converting the preset application script into a cpp file; and compiling the cpp file to obtain a wasm file, a glue script and an html page, wherein the wasm file is used as a visual application, and the glue script and the html page are used for running the visual application through a browser.
  9. The apparatus of claim 8, wherein the execution module is further configured to identify, by the browser, the visualization application according to the glue script; and running the visual application obtained by identification on the html page through the browser.
  10. The apparatus of claim 7, further comprising: the identification module is used for identifying whether an updated version exists in the visual application through the browser; when an updated version exists, acquiring the visual application of the updated version in a server through the browser, and running the visual application of the updated version; and running the visual application in the cache resource through the browser when the updated version does not exist.
  11. A computer device comprising one or more processors and memory having stored therein computer-readable instructions that, when executed by the one or more processors, cause the one or more processors to perform the steps of:
    acquiring a data display request of a browser, wherein the data display request carries a data identifier;
    skipping from the current page of the browser to a corresponding target webpage according to the data display request, wherein the target webpage comprises a visual application;
    running the visual application through the browser, and transmitting the data identification to the visual application;
    generating a data acquisition request according to the data identification through the visual application, and sending the data acquisition request to a server;
    receiving vehicle-mounted data corresponding to the data acquisition request returned by the server through the visual application; and
    rendering the vehicle-mounted data through the browser, and displaying a vehicle-mounted image obtained through rendering on the visual application.
  12. The computer device of claim 11, wherein the processor, when executing the computer readable instructions, further performs the steps of: acquiring a preset application script, and converting the preset application script into a cpp file; and compiling the cpp file to obtain a wasm file, a glue script and an html page, wherein the wasm file is used as a visual application, and the glue script and the html page are used for running the webpage visual application through a browser.
  13. The computer device of claim 12, wherein the processor, when executing the computer readable instructions, further performs the steps of: identifying, by the browser, the visual application according to the glue script; and running the visual application obtained by identification on the html page through the browser.
  14. The computer device of claim 11, wherein the processor, when executing the computer readable instructions, further performs the steps of: sending the data display request to a server through the browser, and receiving response information returned by the server; identifying whether an updated version exists in the visual application according to the response information through the browser; when an updated version exists, acquiring the visual application of the updated version in a server through the browser, and running the visual application of the updated version; and running the visual application in the cache resource through the browser when the updated version does not exist.
  15. The computer device of claim 11, wherein the processor, when executing the computer readable instructions, further performs the steps of: converting the vehicle-mounted data into corresponding index data through the visualization application; rendering the index data through the browser to obtain a vehicle-mounted image, and displaying the vehicle-mounted image on the visual application.
  16. One or more non-transitory computer-readable storage media storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of:
    acquiring a data display request of a browser, wherein the data display request carries a data identifier;
    skipping from the current page of the browser to a corresponding target webpage according to the data display request, wherein the target webpage comprises a visual application;
    running the visual application through the browser, and transmitting the data identification to the visual application;
    generating a data acquisition request according to the data identification through the visual application, and sending the data acquisition request to a server;
    receiving vehicle-mounted data corresponding to the data acquisition request returned by the server through the visual application; and
    rendering the vehicle-mounted data through the browser, and displaying a vehicle-mounted image obtained through rendering on the visual application.
  17. The storage medium of claim 16, wherein the computer readable instructions, when executed by the processor, further perform the steps of: acquiring a preset application script, and converting the preset application script into a cpp file; and compiling the cpp file to obtain a wasm file, a glue script and an html page, wherein the wasm file is used as a visual application, and the glue script and the html page are used for running the webpage visual application through a browser.
  18. The storage medium of claim 17, wherein the computer readable instructions, when executed by the processor, further perform the steps of: identifying, by the browser, the visual application according to the glue script; and running the visual application obtained by identification on the html page through the browser.
  19. The storage medium of claim 16, wherein the computer readable instructions, when executed by the processor, further perform the steps of: sending the data display request to a server through the browser, and receiving response information returned by the server; identifying whether an updated version exists in the visual application according to the response information through the browser; when an updated version exists, acquiring the visual application of the updated version in a server through the browser, and running the visual application of the updated version; and running the visual application in the cache resource through the browser when the updated version does not exist.
  20. The storage medium of claim 16, wherein the computer readable instructions, when executed by the processor, further perform the steps of: converting the vehicle-mounted data into corresponding index data through the visualization application; rendering the index data through the browser to obtain a vehicle-mounted image, and displaying the vehicle-mounted image on the visual application.
CN202080003152.0A 2020-01-21 2020-01-21 Optimization method, device, computer equipment and storage medium for vehicle-mounted image display Active CN113498512B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/073430 WO2021146895A1 (en) 2020-01-21 2020-01-21 Optimization method and apparatus for vehicle-mounted image display, computer device and storage medium

Publications (2)

Publication Number Publication Date
CN113498512A true CN113498512A (en) 2021-10-12
CN113498512B CN113498512B (en) 2025-01-21

Family

ID=76992028

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202080003152.0A Active CN113498512B (en) 2020-01-21 2020-01-21 Optimization method, device, computer equipment and storage medium for vehicle-mounted image display

Country Status (2)

Country Link
CN (1) CN113498512B (en)
WO (1) WO2021146895A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113961124B (en) * 2021-09-27 2024-02-27 上海联影医疗科技股份有限公司 Medical image display method, medical image display device, computer equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1338403A (en) * 2000-08-17 2002-03-06 广东粤京安移动资讯有限公司 Public service system with GSM nevigation and location and network browse method
WO2014064886A1 (en) * 2012-10-23 2014-05-01 株式会社デンソー Content provision system and method thereof for vehicle
CN105264529A (en) * 2013-06-07 2016-01-20 谷歌公司 Index data for native applications
CN105956152A (en) * 2016-05-13 2016-09-21 北京金山安全软件有限公司 Webpage loading method and device and electronic equipment
CN107045730A (en) * 2017-03-06 2017-08-15 青岛鹏海软件有限公司 A kind of multidimensional exhibition system and method for digital culture scene or image
US20170339210A1 (en) * 2016-05-19 2017-11-23 Panasonic Avionics Corporation Methods and systems for secured remote browsing from a transportation vehicle
CN107730206A (en) * 2017-10-18 2018-02-23 深圳航天信息有限公司 Vehicle management system
CN109144567A (en) * 2018-08-03 2019-01-04 苏州麦迪斯顿医疗科技股份有限公司 Cross-platform webpage rendering method, device, server and storage medium
CN110032614A (en) * 2019-04-18 2019-07-19 成都四方伟业软件股份有限公司 Map vector rendering method and device based on wasm

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7603341B2 (en) * 2002-11-05 2009-10-13 Claria Corporation Updating the content of a presentation vehicle in a computer network
CN102542425A (en) * 2010-12-22 2012-07-04 时艳春 Road cargo logistics information management system and method
CN102721421A (en) * 2012-06-29 2012-10-10 惠州华阳通用电子有限公司 Automatic navigation system and automatic navigation method for pushing information to vehicle-mounted navigation terminal based on portal website
CN204155310U (en) * 2014-07-06 2015-02-11 山东天海科技股份有限公司 Big Dipper car networking logistics information service platform
US10739151B2 (en) * 2017-11-02 2020-08-11 Mitac International Corp. Client-server navigation solution for low data bandwidth conditions

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1338403A (en) * 2000-08-17 2002-03-06 广东粤京安移动资讯有限公司 Public service system with GSM nevigation and location and network browse method
WO2014064886A1 (en) * 2012-10-23 2014-05-01 株式会社デンソー Content provision system and method thereof for vehicle
CN105264529A (en) * 2013-06-07 2016-01-20 谷歌公司 Index data for native applications
CN105956152A (en) * 2016-05-13 2016-09-21 北京金山安全软件有限公司 Webpage loading method and device and electronic equipment
US20170339210A1 (en) * 2016-05-19 2017-11-23 Panasonic Avionics Corporation Methods and systems for secured remote browsing from a transportation vehicle
CN107045730A (en) * 2017-03-06 2017-08-15 青岛鹏海软件有限公司 A kind of multidimensional exhibition system and method for digital culture scene or image
CN107730206A (en) * 2017-10-18 2018-02-23 深圳航天信息有限公司 Vehicle management system
CN109144567A (en) * 2018-08-03 2019-01-04 苏州麦迪斯顿医疗科技股份有限公司 Cross-platform webpage rendering method, device, server and storage medium
CN110032614A (en) * 2019-04-18 2019-07-19 成都四方伟业软件股份有限公司 Map vector rendering method and device based on wasm

Also Published As

Publication number Publication date
CN113498512B (en) 2025-01-21
WO2021146895A1 (en) 2021-07-29

Similar Documents

Publication Publication Date Title
US20230036980A1 (en) Micro-frontend system, sub-application loading method, electronic device, computer program product, and computer-readable storage medium
CN109901834B (en) Document page generation method, device, computer equipment and storage medium
CN106936871B (en) Method and device for displaying data on interface
CN109284454B (en) Page rendering method, device, computer equipment and storage medium
CN112114890B (en) Mini-program processing method, device, equipment and storage medium
WO2020151333A1 (en) Page loading method, apparatus, computer device and storage medium
CN112596714A (en) Webpage development method, device, terminal, server and storage medium
CN105718313A (en) Application operation method and device
CN109840083B (en) Webpage component template construction method and device, computer equipment and storage medium
CN111736811A (en) Form data verification method, system, server and user terminal
CN106874519B (en) Page display method and device
CN113315829B (en) Client offline H5 page loading method and device, computer equipment and medium
CN112114913A (en) Application program interface updating method and device, computer equipment and storage medium
CN113010827A (en) Page rendering method and device, electronic equipment and storage medium
CN111008132B (en) Application debugging method and device for Android system, computer equipment and storage medium
WO2017107851A1 (en) Method and device for releasing and updating desktop application component
CN106815055B (en) Method and system for dynamic layout of mobile application
CN113010170A (en) Page rendering method, device, medium and electronic equipment based on Vue3 component
CN108319474B (en) Page information generation method, device and equipment
CN111079048A (en) Page loading method and device
CN112015378A (en) Skeleton screen page generation method and device, computer equipment and storage medium
CN114036439A (en) Website construction method, device, medium and electronic equipment
CN111880789A (en) Page rendering method, device, server and computer-readable storage medium
CN104317570A (en) Device and method for dynamically analyzing web application
US9571557B2 (en) Script caching method and information processing device utilizing the same

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
GR01 Patent grant
GR01 Patent grant