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

Running vehicle image display applications on multiple operating systems through browsers solves the problem of human and material consumption during cross-platform operation and achieves efficient vehicle image display.

CN113498512BActive Publication Date: 2025-01-21SHENZHEN DEEPROUTE AI CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202080003152.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-01-21
Publication Date
2025-01-21
Estimated Expiration
2040-01-21

AI Technical Summary

Technical Problem

The existing on-board image display method has unnecessary manpower and material consumption when running across platforms, and different visual application versions need to be packaged according to different operating systems.

Method used

Get the data display request through the browser, jump to the target web page containing the visualization application, transmit the data identification, generate the data acquisition request and send it to the server, receive and render the vehicle data, and display it on the visualization application.

Benefits of technology

It enables the same version of the visualization application to run on multiple operating systems, eliminating the need to package different versions for each operating system, avoiding unnecessary consumption of manpower and material resources, and optimizing the vehicle image display method.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113498512B_ABST
    Figure CN113498512B_ABST
Patent Text Reader

Abstract

A method for optimizing vehicle-mounted image display comprises: obtaining a data display request from 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, the target webpage including a visualization application (204); running the visualization application through the browser, transmitting the data identifier to the visualization application (206); generating a data acquisition request according to the data identifier through the visualization application, and sending the data acquisition request to a server (208); receiving vehicle-mounted data corresponding to the data acquisition request returned by the server through the visualization application (210); rendering the vehicle-mounted data through the browser, and displaying the rendered vehicle-mounted image on the visualization application (212).
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to a method, device, computer equipment and storage medium for optimizing vehicle-mounted image display. Background Art

[0002] In the process of developing autonomous driving technology, enterprises need to display vehicle images on visualization applications, so that the visualization application can provide feedback on the perception, prediction, planning, and control methods used in the autonomous driving process, and then optimize the various methods through feedback results. In the traditional way, the same version of the visualization application can only run in a specific operating system. When the visualization application needs to be run on other operating systems, different visualization application versions need to be packaged according to the corresponding operating system to display the vehicle images, resulting in unnecessary manpower and material resources consumption when the existing visualization application runs across platforms. Therefore, how to effectively optimize the traditional vehicle image display method has become a technical problem that needs to be solved at present. Summary of the invention

[0003] According to various embodiments disclosed in the present application, a method, apparatus, computer device and storage medium for optimizing vehicle-mounted image display are provided, which can effectively optimize the traditional vehicle-mounted image display mode.

[0004] A method for optimizing vehicle-mounted image display, comprising:

[0005] Obtain a data display request from the browser, wherein the data display request carries a data identifier;

[0006] Jumping from the current page of the browser to a corresponding target webpage according to the data display request, wherein the target webpage includes a visualization application;

[0007] Running the visualization application through the browser, and transmitting the data identifier to the visualization application;

[0008] Generate a data acquisition request according to the data identifier by the visualization application, and send the data acquisition request to a server;

[0009] Receiving, through the visualization application, the vehicle-mounted data corresponding to the data acquisition request returned by the server; and

[0010] The vehicle-mounted data is rendered by the browser, and the rendered vehicle-mounted image is displayed on the visualization application.

[0011] An optimization device for vehicle-mounted image display, comprising:

[0012] An acquisition module, used to acquire a data display request from a browser, wherein the data display request carries a data identifier;

[0013] A jump module, used to jump from the current page of the browser to a corresponding target web page according to the data display request, wherein the target web page includes a visualization application;

[0014] An operation module, used for running the visualization application through the browser, and transmitting the data identifier to the visualization application;

[0015] A generating module, configured to generate a data acquisition request according to the data identifier through the visualization application, and send the data acquisition request to a server;

[0016] A receiving module, configured to receive, through the visualization application, the vehicle-mounted data corresponding to the data acquisition request returned by the server; and

[0017] The display module is used to render the vehicle-mounted data through the browser and display the rendered vehicle-mounted image on the visualization application.

[0018] A computer device includes a memory and one or more processors, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processors, the one or more processors perform the following steps:

[0019] Obtain a data display request from the browser, wherein the data display request carries a data identifier;

[0020] Jumping from the current page of the browser to a corresponding target webpage according to the data display request, wherein the target webpage includes a visualization application;

[0021] Running the visualization application through the browser, and transmitting the data identifier to the visualization application;

[0022] Generate a data acquisition request according to the data identifier by the visualization application, and send the data acquisition request to a server;

[0023] Receiving, through the visualization application, the vehicle-mounted data corresponding to the data acquisition request returned by the server; and

[0024] The vehicle-mounted data is rendered by the browser, and the rendered vehicle-mounted image is displayed on the visualization application.

[0025] One or more non-volatile 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 following steps:

[0026] Obtain a data display request from the browser, wherein the data display request carries a data identifier;

[0027] Jumping from the current page of the browser to a corresponding target webpage according to the data display request, wherein the target webpage includes a visualization application;

[0028] Running the visualization application through the browser, and transmitting the data identifier to the visualization application;

[0029] Generate a data acquisition request according to the data identifier by the visualization application, and send the data acquisition request to a server;

[0030] Receiving, through the visualization application, the vehicle-mounted data corresponding to the data acquisition request returned by the server; and

[0031] The vehicle-mounted data is rendered by the browser, and the rendered vehicle-mounted image is displayed on the visualization application.

[0032] The details of one or more embodiments of the present application are set forth in the following drawings and description. Other features and advantages of the present application will become apparent from the description, drawings, and claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0034] Figure 1 A diagram of an application environment of a method for optimizing vehicle-mounted image display in one or more embodiments.

[0035] Figure 2 A flowchart of a method for optimizing vehicle-mounted image display in one or more embodiments is provided.

[0036] Figure 3 A flowchart of steps for developing a visualization application in one or more embodiments is provided.

[0037] Figure 4 A block diagram of a method and apparatus for optimizing vehicle-mounted image display in one or more embodiments.

[0038] Figure 5 is a block diagram of a computer device in accordance with one or more embodiments. DETAILED DESCRIPTION

[0039] In order to make the technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0040] The optimization method for vehicle-mounted image display provided in this application can be applied to Figure 1 In the application environment shown. The terminal 102 communicates with the server 104 through the network. An operating system is pre-installed on the terminal 102, and a browser is pre-deployed on the operating system. The terminal 102 obtains a data display request from the browser, and the data display request carries a data identifier. The terminal jumps from the current page of the browser to the corresponding target web page according to the data display request, and the target web page includes a visualization application. The visualization application can 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 can be run on different operating systems 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 data corresponding to the data acquisition request returned by the server 104 through the visualization application. The terminal 102 renders the vehicle data through the browser, and displays the rendered vehicle image on the visualization application. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers and portable wearable devices. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.

[0041] In one embodiment, if Figure 2 As shown, a method for optimizing vehicle-mounted image display is provided, and the method is applied to Figure 1 The terminal in is used as an example to illustrate, including the following steps:

[0042] Step 202: Obtain a data display request from the browser, where the data display request carries a data identifier.

[0043] An operating system is pre-installed on the terminal, and a browser is pre-deployed on the operating system. The browser may be a browser that supports rendering of web pages. By rendering the web page through the browser, more complete data can be displayed on the web page. The terminal may obtain a data display request from the user on the browser. The data display request may be a data display request generated by the terminal encapsulating the data selected by the user through the http protocol. The selected data may be the vehicle-mounted data within a preset time period that needs to be played back. The terminal parses the data display request to obtain a data identifier. The data identifier may include a data ID (Identity document).

[0044] Step 204 , jumping from the current page of the browser to the corresponding target web page according to the data display request, wherein the target web page includes a visualization application.

[0045] Step 206: Run the visualization application through the browser and transmit the data identifier to the visualization application.

[0046] The data display request may include a link address of a target web page, and the link address may be a URL (Uniform Resource Locator), which may be used to identify the storage location of the resources of the target web page. The terminal jumps from the current page of the browser to the corresponding target web page according to the data display request. The target web page includes a visualization application. The visualization application is a wasm file compiled from a preset application script. The wasm file is a binary file that can run on an operating system with a browser.

[0047] The terminal can identify whether there is an updated version of the visualization application in the target web page according to the data display request. When there is an updated version of the visualization application, the updated version of the visualization application is run through the browser. When there is no updated version of the visualization application, the visualization application in the cache resource is run through the browser. After the visualization application is run through the browser, the browser can transmit the data identifier to the visualization application, and then the corresponding vehicle data is obtained from the server according to the data identifier through the visualization application, and the vehicle data is displayed.

[0048] Step 208: Generate a data acquisition request according to the data identifier through the visualization application, and send the data acquisition request to the server.

[0049] Step 210: Receive the vehicle-mounted data corresponding to the data acquisition request returned by the server through the visualization application.

[0050] The terminal encapsulates the data identifier according to the preset protocol through the visualization application, generates a data acquisition request according to the encapsulated data, and then sends the data acquisition request to the server according to the preset protocol. The encapsulated data may include data identifiers, header files, interface identifiers, terminal status data, etc. After receiving the data acquisition request, the server parses the data acquisition request according to the preset protocol to obtain the data identifier, interface identifier, etc. The server then calls the interface corresponding to the interface identifier and obtains the vehicle data corresponding to the data identifier in the cloud through the interface. The vehicle data may be data within a preset time period. The vehicle data may include the vehicle's driving speed, mileage, location information, map information, etc. during the automatic driving process. By storing data in the cloud, it can be ensured that the data will never be lost, which improves the security of the data. The terminal receives the vehicle data returned by the server through the visualization application.

[0051] Step 212: Render the vehicle data through the browser, and display the rendered vehicle image on the visualization application.

[0052] The terminal converts the received vehicle data through the visualization application to obtain the corresponding indicator data. The indicator data may include driving speed, mileage, location coordinates, etc. Since the vehicle data is data within a preset time, the indicator data is rendered through the browser, that is, page rendering, so that multiple frames of vehicle images can be generated and displayed through the visualization application. Page rendering refers to the process of parsing html (hyper text markup language) according to the rules defined by CSS (Cascading Style Sheets) to achieve page drawing.

[0053] In the traditional way, the same version of the visualization application can only run in a specific operating system. When the visualization application needs to be run on other operating systems, different visualization application versions need to be packaged according to the corresponding operating system in order to display the vehicle-mounted image, resulting in unnecessary consumption of manpower and material resources when the existing visualization application runs across platforms. In this embodiment, the terminal obtains the data display request of the browser, and the data display request carries the data identifier. According to the data display request, the browser jumps from the current page to the corresponding target web page, and the target web page includes the visualization application. Thus, the visualization application is run through the browser, and the data identifier is transmitted to the visualization application. The visualization application generates a data acquisition request according to the data identifier, sends the data acquisition request to the server, and receives the vehicle-mounted data corresponding to the data acquisition request returned by the server. Then, the vehicle-mounted data is rendered through the browser, and the rendered vehicle-mounted image is displayed on the visualization application. Since the visualization application is embedded in the target web page, it can be run on the browser, thereby realizing the same version of the visualization application running on multiple operating systems with browsers installed. There is no need to package the corresponding visualization application version for each operating system, thus avoiding unnecessary manpower and material resources in the process of in-vehicle image display. The in-vehicle data can then be rendered through the browser and displayed on the visualization application, thus achieving effective optimization of the traditional in-vehicle image display method.

[0054] In one embodiment, if Figure 3 As shown, the above method also includes: a step of developing a visualization application, specifically including:

[0055] Step 302: Obtain a preset application script, and convert the preset application script into a cpp file.

[0056] Step 304, compile the cpp file to obtain a wasm file, a glue script and an html page, use the wasm file as a visualization application, and use the glue script and the html page to run the visualization application through a browser.

[0057] Before obtaining the data display request from the browser, the terminal will pre-develop a visualization application that can run on the browser. The terminal obtains a preset application script, which can be a visualization application script based on unity, and the preset application script is written in C#. C# is an object-oriented programming language. The visualization 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 a cpp file through IL2CPP (Intermediate Language To C++). The cpp file is a source code file format written in C++ (Cplus plus, intermediate language).

[0058] The terminal then compiles the cpp file through the emscripten compiler to obtain a wasm file, a glue script, and an html (hyper text markup language) page. The wasm file can be run in JavaScript. JavaScript is a literal scripting language that can be run on a browser, that is, the wasm file is run on the browser to implement the visualization application on the browser. The glue script and html page are used to run the visualization application through the browser. The glue script is a JavaScript file that is used to connect incompatible software components, that is, to connect JavaScript and wasm to implement the interaction between JavaScript and wasm. The html page is used to run the wasm file in the browser.

[0059] In this embodiment, the terminal obtains the preset application script and converts the preset application script into a cpp file. The cpp file is compiled to obtain a wasm file, a glue script and an html page, and the wasm file is used as a visualization application. The glue script and the html page are used to run the visualization application through a browser. The cpp file is a source code file format written in C++ (C plus plus, an intermediate language). The cpp file is compiled into a wasm file that can be run in a browser, so that the same version of the visualization application can be run on multiple operating systems with a browser installed, without the need to package the corresponding visualization application version for each operating system, thereby avoiding unnecessary consumption of manpower and material resources.

[0060] In one embodiment, running the visualization application through the browser includes: identifying the visualization application according to the glue script through the browser; and running the identified visualization application on the HTML page through the browser.

[0061] Before obtaining the data display request from the browser, the terminal converts the preset application script into a cpp file and compiles the cpp file into a wasm file. During the compilation process, glue scripts and html pages are also obtained. The terminal uses the wasm file as a visualization application. JavaScript is running in the browser. The browser can identify the visualization application through the glue script and connect the visualization application with JavaScript to achieve interaction. Then the browser runs the wasm file through the html page.

[0062] In this embodiment, the browser identifies the visualization application according to the glue script, and runs the identified visualization application on the HTML page. Since the visualization application exists in the wasm file format, and the browser cannot directly identify the wasm file, the glue script is helpful for the browser to identify the visualization application, and run the visualization application on the HTML page generated during the compilation process, so as to realize the stable operation of the wasm file on the browser.

[0063] In one of the embodiments, before running the visualization application through the browser, it also includes: sending a data display request to the server through the browser, and receiving response information returned by the server; identifying whether there is an updated version of the visualization application based on the response information through the browser; when there is an updated version, obtaining the updated version of the visualization application from the server through the browser, and running the updated version of the visualization application; when there is no updated version, running the visualization application in the cached resources through the browser.

[0064] Before the terminal runs the visualization application through the browser, it will identify whether the visualization application in the target web page has been updated. Specifically, when the browser obtains the data display request, it sends the data display request to the server so as to receive the response information returned by the server. The data display request can be an http request generated according to the http protocol. Correspondingly, the response information returned by the server is the http response information. The browser parses the response information and can obtain the http response header. The browser identifies whether the state of the visualization application has changed, that is, whether there is an updated version of the visualization application, based on the ETag (Entity Tag) field in the http response header. When the value of the ETag field in the http response header changes, it means that the visualization application has been updated and there is an updated version. At this time, the browser will obtain the updated version of the visualization application from the server and run the updated version of the visualization application. When the value of the ETag field in the http response header does not change, it means that the visualization application has not been updated and there is no updated version. At this time, the browser obtains the visualization application in the cache resource and runs it.

[0065] In this embodiment, the terminal receives the response information returned by the server through the browser, identifies whether there is an updated version of the visualization application based on the response information, and decides whether to obtain the updated version of the visualization application from the server or from the cached resources. When the new version is released, the terminal can automatically obtain the new version of the visualization application without manually pulling the new version of the visualization application, thereby realizing the automation of the release of the new version of the application.

[0066] In one of the embodiments, rendering the vehicle-mounted data through a browser and displaying the rendered vehicle-mounted image on a visualization application includes: converting the vehicle-mounted data into corresponding indicator data through a visualization application; rendering the indicator data through a browser to obtain a vehicle-mounted image, and displaying the vehicle-mounted image on a visualization application.

[0067] After the terminal obtains the vehicle-mounted data returned by the server through the visualization application, the vehicle-mounted data can be converted into corresponding index data through the visualization application. The vehicle-mounted data can be the vehicle-mounted data within a preset time period. The server returns the vehicle-mounted data to the visualization application in the form of a string, and the visualization application converts the received string into index data, that is, an object. The index data may include indicators such as driving speed, mileage, and location coordinates. The browser then renders the index data, that is, page rendering, and generates a vehicle-mounted image, which is a continuous multi-frame vehicle-mounted image with a temporal sequence. Each frame is a still picture, and the terminal displays the multi-frame vehicle-mounted image through the visualization application, and animates the multi-frame vehicle-mounted image. Page rendering refers to the process of parsing html (hyper text markup language) according to the rules defined by CSS (Cascading Style Sheets) to achieve page drawing.

[0068] In this embodiment, the terminal converts the vehicle data into corresponding index data through the visualization application, which is conducive to the browser to accurately and quickly render the vehicle data, so as to render the index data through the browser to obtain the vehicle image. Since the vehicle image is obtained by browser rendering and parsing, the obtained vehicle image is more complete, thereby improving the accuracy of the vehicle image display.

[0069] In one embodiment, the terminal can calculate and combine the indicator data through the script language engine in the browser, and render the vehicle image. Specifically, the corresponding position of the indicator data is calculated by the script language engine in the browser, and the indicator data is combined to obtain a complete vehicle image, which is displayed on the visualization application. The script language engine can be a Java script engine. The vehicle image obtained by calculating and combining the script language engine is more complete, which effectively improves the accuracy of the vehicle image display.

[0070] In one of the embodiments, generating a data acquisition request according to a data identifier through a visualization application includes: assembling the data identifier according to a preset protocol through a visualization application to obtain assembled data; encapsulating the assembled data through a visualization application to obtain encapsulated data; and generating a data acquisition request according to the encapsulated data through a visualization application.

[0071] When the visualization application obtains the data identifier sent by the browser, the terminal can load the preset protocol. The preset protocol can be an http protocol. The visualization application assembles the data identifier according to the preset protocol to obtain the assembled data. The assembled data can include data identifiers, header files, interface identifiers, terminal status data, etc. The header file can be a carrier file containing function functions and data interface declarations. The terminal encapsulates the assembled data into an object through the visualization application to obtain the encapsulated data. The object can be a variable of a class type. A class can be a blueprint for creating an object, and can be a software template for methods and variables in a specific type of object. The class can encapsulate the assembled data and operations on the assembled data together.

[0072] The terminal generates a data acquisition request based on the encapsulated data, and can send the data acquisition request to the server according to the preset protocol. The server is pre-configured with a preset protocol. When the server receives the data acquisition request, it calls the preset protocol to parse the data acquisition request to obtain the data identifier, header file, interface identifier, terminal status data, etc. The server encapsulates the parsed data into a request object, calls the interface corresponding to the interface identifier according to the request object, and obtains the vehicle data corresponding to the data identifier in the cloud through the interface. Then the server uses the response object to send the vehicle data to the visualization application.

[0073] In this embodiment, the terminal assembles and encapsulates the data identifier according to the preset protocol through a visualization application, generates a data acquisition request, and can hide the data identifier to prevent the data identifier and the corresponding code from being randomly accessed by the code defined by the external class, thereby improving the security of vehicle data acquisition.

[0074] In one embodiment, if Figure 4 As shown, a vehicle-mounted image display optimization device is provided, including: an acquisition module 402, a jump module 404, an operation module 406, a generation module 408, a receiving module 410 and a display module 412, wherein:

[0075] The acquisition module 402 is used to acquire a data display request from the browser, where the data display request carries a data identifier.

[0076] The jump module 404 is used to jump from the current page of the browser to the corresponding target web page according to the data display request, and the target web page includes a visualization application.

[0077] The running module 406 is used to run the visualization application through the browser and transmit the data identifier to the visualization application.

[0078] The generating module 408 is used to generate a data acquisition request according to the data identifier through the visualization application, and send the data acquisition request to the server.

[0079] The receiving module 410 is used to receive the vehicle-mounted data corresponding to the data acquisition request returned by the server through the visualization application.

[0080] The display module 412 is used to render the vehicle-mounted data through a browser and display the rendered vehicle-mounted image on a visualization application.

[0081] In one of the embodiments, the above-mentioned device also includes: a compilation module, which is used to obtain a preset application script and convert the preset application script into a cpp file; compile the cpp file to obtain a wasm file, a glue script and an html page, and use the wasm file as a visualization application, and the glue script and the html page are used to run the visualization application through a browser.

[0082] In one embodiment, the running module 406 is further used to identify the visualization application according to the glue script through the browser; and run the identified visualization application on the HTML page through the browser.

[0083] In one of the embodiments, the above-mentioned device also includes: an identification module, which is used to identify whether there is an updated version of the visualization application through a browser; when there is an updated version, obtain the updated version of the visualization application from the server through the browser and run the updated version of the visualization application; when there is no updated version, run the visualization application in the cache resource through the browser.

[0084] In one of the embodiments, the display module 412 is further used to convert the vehicle-mounted data into corresponding indicator data through a visualization application; render the indicator data through a browser to obtain a vehicle-mounted image, and display the vehicle-mounted image on the visualization application.

[0085] In one of the embodiments, the generation module 408 is also used to assemble the data identifiers according to a preset protocol through a visualization application to obtain assembled data; encapsulate the assembled data through the visualization application to obtain encapsulated data; and generate a data acquisition request according to the encapsulated data through the visualization application.

[0086] For the specific definition of the optimization device for vehicle-mounted image display, please refer to the definition of the optimization method for vehicle-mounted image display in the above text, which will not be repeated here. Each module in the above-mentioned optimization device for vehicle-mounted image display can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0087] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile 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 the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for optimizing vehicle-mounted image display is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0088] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0089] A computer device includes a memory and one or more processors. The memory stores computer-readable instructions. When the computer-readable instructions are executed by the one or more processors, the one or more processors execute the steps in the above-mentioned method embodiments.

[0090] One or more non-volatile computer-readable storage media storing computer-readable instructions, which, when executed by one or more processors, enable the one or more processors to perform the steps in the above-mentioned various method embodiments.

[0091] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through computer-readable instructions, and the computer-readable instructions can be stored in a non-volatile computer-readable storage medium. When the computer-readable instructions are executed, they may include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0092] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0093] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A method for optimizing vehicle-mounted image display, comprising: Obtain a data display request from the browser, wherein the data display request carries a data identifier; Jumping from the current page of the browser to a corresponding target webpage according to the data display request, the target webpage including a visualization application; wherein the visualization application is a wasm file obtained by compiling a preset application script, and the wasm file is a binary file that can run on an operating system with a browser; Running the visualization application through the browser, and transmitting the data identifier to the visualization application; Generate a data acquisition request according to the data identifier by the visualization application, and send the data acquisition request to a server; Receiving, through the visualization application, the vehicle-mounted data corresponding to the data acquisition request returned by the server; and The vehicle-mounted data is rendered by the browser, and the rendered vehicle-mounted image is displayed on the visualization application.

2. The method according to claim 1, characterized in that Before obtaining the data display request from the browser, it also includes: Obtain the preset application script, and convert the preset application script into a cpp file; and The cpp file is compiled to obtain the wasm file, the glue script and the html page, the wasm file is used as a visualization application, and the glue script and the html page are used to run the visualization application through a browser.

3. The method according to claim 2, characterized in that The running of the visualization application through the browser includes: identifying the visualization application according to the glue script by the browser; and The identified visualization application is run on the HTML page through the browser.

4. The method according to claim 1, characterized in that: Before running the visualization application through the browser, the method further includes: Sending the data display request to the server through the browser, and receiving response information returned by the server; identifying, by the browser according to the response information, whether there is an updated version of the visualization application; When an updated version exists, obtaining the updated version of the visualization application from the server through the browser, and running the updated version of the visualization application; and When there is no updated version, the visualization application in the cache resource is run through the browser.

5. The method according to claim 1, characterized in that The rendering of the vehicle-mounted data by the browser and displaying the rendered vehicle-mounted image on the visualization application includes: Converting the vehicle-mounted data into corresponding indicator data through the visualization application; and The indicator data is rendered through the browser to obtain a vehicle-mounted image, and the vehicle-mounted image is displayed on the visualization application.

6. The method according to any one of claims 1 to 5, characterized in that: Generating a data acquisition request according to the data identifier by the visualization application includes: Assembling the data identifiers according to a preset protocol through the visualization application to obtain assembled data; Encapsulating the assembled data through the visualization application to obtain encapsulated data; and A data acquisition request is generated according to the encapsulated data by the visualization application.

7. An optimization device for vehicle-mounted image display, comprising: An acquisition module, used for acquiring a data display request from a browser, wherein the data display request carries a data identifier; A jump module, used to jump from the current page of the browser to a corresponding target webpage according to the data display request, wherein the target webpage includes a visualization application; wherein the visualization application is a wasm file obtained by compiling a preset application script, and the wasm file is a binary file that can run on an operating system with a browser; An operation module, used for running the visualization application through the browser, and transmitting the data identifier to the visualization application; A generating module, configured to generate a data acquisition request according to the data identifier through the visualization application, and send the data acquisition request to a server; A receiving module, configured to receive, through the visualization application, the vehicle-mounted data corresponding to the data acquisition request returned by the server; and The display module is used to render the vehicle-mounted data through the browser and display the rendered vehicle-mounted image on the visualization application.

8. The device according to claim 7, characterized in that The device also includes: a compilation module, which is used to obtain a preset application script and convert the preset application script into a cpp file; and compile the cpp file to obtain a wasm file, a glue script and an html page, and use the wasm file as a visualization application. The glue script and the html page are used to run the visualization application through a browser.

9. The device according to claim 8, characterized in that The running module is further configured to identify the visualization application according to the glue script through the browser; and to run the identified visualization application on the HTML page through the browser.

10. The device according to claim 7, characterized in that The device also includes: an identification module, which is used to identify whether there is an updated version of the visualization application through the browser; when an updated version exists, obtain the updated version of the visualization application from the server through the browser and run the updated version of the visualization application; and when no updated version exists, run the visualization application in the cache resource through the browser.

11. A computer device comprising a memory and one or more processors, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the one or more processors, the one or more processors perform the following steps: Obtain a data display request from the browser, wherein the data display request carries a data identifier; According to the data display request, jump from the current page of the browser to the corresponding target web page, wherein the target web page includes a visualization application; wherein The visualization application is a wasm file obtained by compiling a preset application script. The wasm file is a binary file that can be run on an operating system with a browser; Running the visualization application through the browser, and transmitting the data identifier to the visualization application; Generate a data acquisition request according to the data identifier by the visualization application, and send the data acquisition request to a server; Receiving, by the visualization application, the vehicle-mounted data corresponding to the data acquisition request returned by the server; and The vehicle-mounted data is rendered by the browser, and the rendered vehicle-mounted image is displayed on the visualization application.

12. The computer device according to claim 11, characterized in that When the processor executes the computer-readable instructions, the processor also performs the following steps: obtaining 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, using the wasm file as a visualization application, and the glue script and the html page are used to run the web page visualization application through a browser.

13. The computer device according to claim 12, characterized in that When the processor executes the computer-readable instructions, the processor further performs the following steps: identifying the visualization application according to the glue script through the browser; and running the identified visualization application on the HTML page through the browser.

14. The computer device according to claim 11, characterized in that When the processor executes the computer-readable instructions, the processor also performs the following steps: sending the data display request to the server through the browser, and receiving response information returned by the server; identifying whether there is an updated version of the visualization application based on the response information through the browser; when an updated version exists, obtaining the updated version of the visualization application from the server through the browser, and running the updated version of the visualization application; and when no updated version exists, running the visualization application in the cache resource through the browser.

15. The computer device according to claim 11, characterized in that When the processor executes the computer-readable instructions, it also performs the following steps: converting the in-vehicle data into corresponding indicator data through the visualization application; and rendering the indicator data through the browser to obtain an in-vehicle image, and displaying the in-vehicle image on the visualization application.

16. One or more non-volatile 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 following steps: Obtain a data display request from the browser, wherein the data display request carries a data identifier; According to the data display request, jump from the current page of the browser to the corresponding target web page, wherein the target web page includes a visualization application; wherein The visualization application is a wasm file obtained by compiling a preset application script. The wasm file is a binary file that can be run on an operating system with a browser; Running the visualization application through the browser, and transmitting the data identifier to the visualization application; Generate a data acquisition request according to the data identifier by the visualization application, and send the data acquisition request to a server; Receiving, by the visualization application, the vehicle-mounted data corresponding to the data acquisition request returned by the server; and The vehicle-mounted data is rendered by the browser, and the rendered vehicle-mounted image is displayed on the visualization application.

17. The storage medium according to claim 16, characterized in that When the computer-readable instructions are executed by the processor, the following steps are also performed: obtaining 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, using the wasm file as a visualization application, and the glue script and the html page are used to run the web visualization application through a browser.

18. The storage medium according to claim 17, characterized in that When the computer-readable instructions are executed by the processor, the following steps are further performed: identifying the visualization application according to the glue script by the browser; and running the identified visualization application on the HTML page by the browser.

19. The storage medium according to claim 16, characterized in that When the computer-readable instructions are executed by the processor, the following steps are also performed: sending the data display request to the server through the browser, and receiving response information returned by the server; identifying through the browser whether there is an updated version of the visualization application based on the response information; when an updated version exists, obtaining the updated version of the visualization application from the server through the browser, and running the updated version of the visualization application; and when no updated version exists, running the visualization application in the cache resource through the browser.

20. The storage medium according to claim 16, characterized in that When the computer-readable instructions are executed by the processor, the following steps are also performed: converting the in-vehicle data into corresponding indicator data through the visualization application; and rendering the indicator data through the browser to obtain an in-vehicle image, and displaying the in-vehicle image on the visualization application.

Citation Information

Patent Citations

  • Public service system with GSM nevigation and location and network browse method

    CN1338403A