Light application operation method and device, vehicle-mounted terminal and automobile

By introducing a preset intermediate application layer into the on-board terminal, receiving and processing light application startup instructions and software development information, the problems of long communication and interaction data links on the on-board light application are solved and the high dependence on the on-board terminal performance are achieved, and more efficient light application operation is achieved.

CN119938076APending Publication Date: 2025-05-06CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510043728.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-10
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

In the prior art, the communication and interaction data links for light applications in vehicles are long and have high dependence on the performance of the vehicle terminal, resulting in low operating efficiency.

Method used

Use a preset intermediate application layer to receive startup instructions for light applications, obtain software development information, and run light applications on the front-end display interface of the on-board terminal to reduce dependence on view layers and control layers.

Benefits of technology

The communication link during light applications is shortened, the dependence on the performance of on-board terminals is reduced, and the operation efficiency of light applications is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119938076A_ABST
    Figure CN119938076A_ABST
Patent Text Reader

Abstract

The invention relates to a light application operation method and device, a vehicle-mounted terminal and an automobile, and the method comprises the steps: receiving a starting instruction of a target light application based on a preset intermediate application layer; wherein the preset intermediate application layer is used for providing an application framework for a target light application; based on the preset intermediate application layer, according to the starting instruction, obtaining software development information of the target light application; and based on the preset intermediate application layer, according to the software development information of the target light application, running the target light application so as to display an application interface of the target light application on a front-end display interface of the vehicle-mounted terminal. According to the invention, the communication link during the operation of the light application in the vehicle-mounted terminal is shortened, the software development information does not need to be obtained by using a control layer, the dependence on the performance of the vehicle-mounted terminal is reduced, and the operation efficiency of the light application is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle networking, and in particular to a method and device for operating a light application, a vehicle-mounted terminal and a vehicle. Background Art

[0002] With the rapid development of smart vehicles and in-vehicle information systems, people's demands for vehicle functions are becoming more and more diverse, and in-vehicle applications have become the key to improving driving experience and vehicle intelligence. Current in-vehicle applications mainly rely on pre-installed applications or manually downloaded applications, but these in-vehicle applications need to be installed one by one, so point-and-click lightweight in-vehicle applications have developed rapidly.

[0003] In the related art, in-vehicle light applications are mainly in-vehicle mini-programs, which are based on the framework provided by the in-vehicle applications to realize the operation of in-vehicle mini-programs. However, in this way, the operation of in-vehicle mini-programs depends on the interaction between the view layer in the framework and the control layer of the operating system of the in-vehicle terminal, resulting in a long data link for communication interaction and a high dependence on the performance of the in-vehicle terminal. Summary of the invention

[0004] One of the objects of the present invention is to provide a method for running a light application to solve the problem in the prior art that the data link of the light application communication interaction is long and highly dependent on the performance of the vehicle-mounted terminal; the second object is to provide a light application running device; the third object is to provide a vehicle-mounted terminal; the fourth object is to provide a computer-readable storage medium; the fifth object is to provide a computer program product; and the sixth object is to provide a car.

[0005] In order to achieve the above object, the technical solution adopted by the present invention is as follows:

[0006] A method for running a light application, comprising:

[0007] Based on a preset intermediate application layer, receiving a start instruction of a target light application; wherein the preset intermediate application layer is used to provide an application framework for the target light application;

[0008] Based on the preset intermediate application layer, and according to the startup instruction, obtaining software development information of the target light application;

[0009] Based on the preset intermediate application layer and according to the software development information of the target light application, the target light application is run to display the application interface of the target light application on the front-end display interface of the vehicle terminal.

[0010] Further, the startup instruction includes identification information of the target light application; the obtaining, based on the preset intermediate application layer and according to the startup instruction, software development information of the target light application includes:

[0011] Based on the preset intermediate application layer, software development information corresponding to the identification information of the target light application is obtained from the server.

[0012] Further, the obtaining, based on the preset intermediate application layer, software development information corresponding to the identification information of the target light application from the server includes:

[0013] Based on the preset intermediate application layer, requesting software development information corresponding to the identification information of the target light application from the server;

[0014] Based on the preset intermediate application layer, software development information corresponding to the identification information of the target light application returned by the server is received.

[0015] Further, the obtaining, based on the preset intermediate application layer, software development information corresponding to the identification information of the target light application from the server includes:

[0016] Based on the preset intermediate application layer, requesting the server for the first version information of the light application corresponding to the identification information of the target light application;

[0017] Based on the preset intermediate application layer, determine the second version information of the light application corresponding to the identification information of the cached target light application;

[0018] If it is determined that the first version information is consistent with the second version information, extracting software development information corresponding to the identification information of the target light application based on the preset intermediate application layer;

[0019] If it is determined that the first version information is inconsistent with the second version information, software development information corresponding to the identification information of the target light application is obtained from the server based on the preset intermediate application layer.

[0020] Further, based on the preset intermediate application layer, according to the software development information of the target light application, running the target light application to display the application interface of the target light application on the front-end display interface of the vehicle terminal includes:

[0021] Based on the preset intermediate application layer, and according to the software development information of the target light application, determining the application type of the target light application;

[0022] Based on the preset intermediate application layer, the operating environment corresponding to the application type is loaded, and the target light application is run in the operating environment to display the application interface of the target light application on the front display interface of the vehicle terminal.

[0023] Further, the application type is a web application; the software development information includes a software development kit; the loading of the operating environment corresponding to the application type based on the preset intermediate application layer, and running the target light application in the operating environment to display the application interface of the target light application on the front display interface of the vehicle terminal, includes:

[0024] Based on the preset intermediate application layer, loading a preset component corresponding to the web application; wherein the preset component is used to provide a running environment for the target light application;

[0025] Based on the preset component, the software development kit in the software development information is parsed, and a data request instruction for an application interface is sent to the server;

[0026] Based on the preset component, the application interface data returned by the server is received, and according to the application interface data, the application interface is rendered and displayed on the front display interface of the vehicle terminal.

[0027] Further, after displaying the application interface of the target light application on the front-end display interface of the vehicle-mounted terminal, the method further comprises:

[0028] Based on the preset component, receiving the user demand instruction triggered by the target light application, and determining the type of the user demand instruction; wherein the user demand instruction is used to indicate the function identifier and user demand information corresponding to the user demand;

[0029] Based on the preset component, if it is determined that the user demand instruction is a first type of instruction, then based on the preset intermediate application layer, the local function corresponding to the function identifier is called, and the user demand information indicated by the user demand instruction is processed to obtain a processing result; wherein the first type of instruction represents the call of the local function of the vehicle terminal;

[0030] Based on the preset intermediate application layer, the processing result is transmitted to the target light application so as to display the processing result on the front-end display interface of the vehicle terminal.

[0031] Further, the calling of the local function corresponding to the function identifier based on the preset intermediate application layer includes:

[0032] Based on the target light application, calling the preset control in the preset component, registering the callback function with the preset intermediate application layer; wherein the callback function is used to realize data transmission between the target light application and the preset intermediate application layer;

[0033] Based on the preset intermediate application layer, according to the user requirement instruction transmitted by the callback function, if it is determined that the user requirement instruction has the calling authority, calling the local function corresponding to the function identifier;

[0034] The delivering the processing result to the target light application based on the preset intermediate application layer so as to display the processing result on the front-end display interface of the vehicle terminal includes:

[0035] Based on the preset intermediate application layer, and according to the callback function, the processing result is transmitted to the target light application.

[0036] Furthermore, a plurality of light applications are displayed on the front display interface of the vehicle terminal, including:

[0037] Based on the preset intermediate application layer, receiving an acquisition instruction of a light application, and based on the preset intermediate application layer, acquiring a light application list according to the acquisition instruction; wherein the light application list includes identification information of a plurality of light applications;

[0038] Based on the preset intermediate application layer, and according to the identification information of the multiple light applications, multiple light applications are displayed on the front display interface of the vehicle terminal.

[0039] A light application running device, comprising:

[0040] A receiving module, configured to receive a start instruction of a target light application based on a preset intermediate application layer; wherein the preset intermediate application layer is configured to provide an application framework for the target light application;

[0041] An acquisition module, configured to acquire software development information of the target light application based on the preset intermediate application layer and according to the startup instruction;

[0042] A running module is used to run the target light application based on the preset intermediate application layer and according to the software development information of the target light application, so as to display the application interface of the target light application on the front-end display interface of the vehicle terminal.

[0043] A vehicle-mounted terminal, comprising: a memory, a processor;

[0044] The memory stores computer-executable instructions;

[0045] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the above-mentioned method for running the light application.

[0046] A computer-readable storage medium stores computer-executable instructions, which are used to implement a method for running a light application when executed by a processor.

[0047] A computer program product includes a computer program, which implements a method for running a light application when executed by a processor.

[0048] A car includes a vehicle-mounted terminal for executing a method for running a light application.

[0049] Beneficial effects of the present invention:

[0050] (1) The present invention enables the operation of light applications in vehicle-mounted terminals without the need for interaction between the view layer and the control layer of the vehicle-mounted terminal, shortens the communication link during the operation of light applications, eliminates the need to use the control layer to obtain software development information, reduces dependence on vehicle-mounted terminal performance, and improves the operation efficiency of light applications;

[0051] (2) The present invention eliminates the need for the vehicle terminal to use the view layer to monitor the acquisition instructions of light applications, and further eliminates the need to use the interaction between the view layer and the control layer to obtain the light application list. This shortens the communication link during the operation of the light application, reduces the number of interactions with the control layer, and reduces the dependence on the performance of the vehicle terminal. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 A schematic diagram of an application scenario provided by an embodiment of the present invention;

[0053] Figure 2 A schematic diagram of a front-end display interface of a vehicle-mounted terminal provided by an embodiment of the present invention;

[0054] Figure 3 A schematic diagram of a front-end display interface of a vehicle-mounted terminal provided by an embodiment of the present invention;

[0055] Figure 4 A flowchart of a method for running a light application provided by an embodiment of the present invention;

[0056] Figure 5 A flowchart of a method for running a light application provided by an embodiment of the present invention;

[0057] Figure 6 A schematic diagram of a software architecture provided for an embodiment of the present invention;

[0058] Figure 7 A flowchart of a method for running a light application provided by an embodiment of the present invention;

[0059] Figure 8 A schematic diagram of the structure of a light application running device provided by an embodiment of the present invention;

[0060] Fig. 9 A schematic diagram of the structure of a vehicle-mounted terminal provided in one embodiment of the present invention. DETAILED DESCRIPTION

[0061] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.

[0062] First, the nouns involved in the present invention are explained:

[0063] Light application: a full-featured application that does not require downloading and can be used right away. It is based on cloud computing technology and deploys the core functions and services of the application in the cloud. Users can quickly access and use these applications through a browser or a specific light application platform without downloading and installing them.

[0064] In the related technology, the in-vehicle light application is mainly the in-vehicle mini-program. On the basis of the in-vehicle application, the operation of the in-vehicle mini-program is realized based on the framework provided by the in-vehicle application. For example, the in-vehicle mini-program can be searched in the in-vehicle application and run in the in-vehicle application.

[0065] However, in this method, the operation of the vehicle-mounted applet depends on the interaction between the view layer in the framework and the control layer of the operating system of the vehicle terminal. For example, the vehicle-mounted terminal can monitor the user's startup instructions for the vehicle-mounted applet based on the view layer of the browser, send the startup instructions to the control layer of the vehicle-mounted terminal based on the view layer, and then use the startup instructions based on the control layer to obtain the software development kit of the vehicle-mounted applet from the cloud, parse the software development kit and return the application interface data of the vehicle-mounted applet to the view layer; after the vehicle-mounted terminal receives the application interface data based on the view layer, it renders the application interface for display. It can be seen that the startup of the vehicle-mounted applet needs to rely on the interaction between the view layer and the control layer, resulting in a longer communication link, and because the control layer needs to participate in the communication interaction, if the processing power of the control layer is low, it will affect the running efficiency of the applet, that is, it is highly dependent on the performance of the vehicle terminal.

[0066] In view of this, an embodiment of the present invention provides a method for running light applications, setting an intermediate application layer to realize the interaction between light applications and the operating system, reducing the participation of the control layer of the operating system, shortening the communication link, and reducing dependence on the performance of the vehicle terminal.

[0067] The execution subject of the embodiment of the present invention may be an electronic device with processing capability on a vehicle for providing a front-end display interface for a user, which may be called a vehicle computer or a vehicle-mounted terminal. The embodiment of the present invention does not limit the name of the electronic device. The embodiment of the present invention uses a vehicle-mounted terminal as the execution subject for illustration.

[0068] Figure 1 A schematic diagram of an application scenario provided by an embodiment of the present invention. Figure 1 As shown, the vehicle's onboard terminal can communicate and interact with the server.

[0069] The above-mentioned vehicle-mounted terminal is used to provide a front-end display interface for the user and implement corresponding functions based on the user's interactive instructions.

[0070] The server stores software development information such as software development kits of light applications, and is used to provide the vehicle-mounted terminal with software development information of light applications. It should be noted that the embodiments of the present invention do not limit the deployment method of the server and the type of the server.

[0071] In some embodiments, the vehicle-mounted terminal can also be communicatively connected with external devices, which may include input devices and output devices, for example. The input devices may include audio input devices, camera devices, etc., and the output devices may include display screens, audio output devices, etc.

[0072] The above-mentioned audio input device is used to collect user audio so that the vehicle terminal can recognize user voice commands and control the vehicle system. For example, it can be a microphone. The above-mentioned camera device is used to collect images or videos. For example, it can be a camera. The above-mentioned display screen is used to display the graphical interface of the light application. The above-mentioned audio output device is used to output the audio resources of the light application. For example, it can be a speaker.

[0073] In some embodiments, the vehicle-mounted terminal may be communicatively connected to a navigation module of the vehicle to obtain the vehicle's positioning information and navigation services.

[0074] Figure 2 This is a schematic diagram of a front-end display interface of a vehicle-mounted terminal provided by an embodiment of the present invention. Figure 2As shown, the front display interface of the vehicle terminal displays icons of pre-installed vehicle applications and icons of vehicle light applications. Among them, the icons of vehicle light applications are used to indicate a collection of light applications, or a list of light applications. It should be noted that the embodiment of the present invention does not limit the style, size or position of the icons of vehicle light applications. Figure 2 It is just an illustration with icons including 5 in-vehicle applications.

[0075] The vehicle terminal receives a light application acquisition instruction based on a preset intermediate application layer, and acquires a light application list based on the preset intermediate application layer and the acquisition instruction; and displays multiple light applications on a front display interface of the vehicle terminal based on the preset intermediate application layer and the identification information of multiple light applications. The light application list includes the identification information of multiple light applications.

[0076] Exemplarily, the above-mentioned acquisition instruction for light applications is used to instruct the acquisition of a light application list. It should be noted that the embodiment of the present invention does not limit the generation method of the acquisition instruction. For example, it can be generated by the vehicle terminal receiving the icon of the vehicle light application displayed on the front display interface touched by the user; it can also be generated after the vehicle terminal receives the user's voice instruction to start the vehicle light application; or it can be generated after the vehicle terminal receives the start instruction of the vehicle light application from other electronic devices. For example, the user can control the vehicle terminal through a mobile phone to start the vehicle light application.

[0077] The above-mentioned preset intermediate application layer is used to provide an application framework for the operation of light applications. For example, the application framework can help light applications to run and interact on its basis, act as a bridge between light applications and system native functions, provide necessary interfaces, operating environments and services, and support the function implementation and data interaction of light applications. The identification information of the above-mentioned light application is used to uniquely characterize the light application, and may include, for example, information such as the light application icon, the light application name, or the light application ID.

[0078] In one possible implementation, the vehicle terminal receives an instruction to obtain light applications based on a preset intermediate application layer, and according to the instruction to obtain light applications, communicates with the above-mentioned server based on the preset intermediate application layer, obtains a list of light applications from the server, and then, based on the preset intermediate application layer, displays the icons of multiple light applications in the light application list on the front display interface of the vehicle terminal according to the identification information of the light applications in the light application list obtained.

[0079] For example, refer to Figure 3 As shown, Figure 3 A schematic diagram of a front-end display interface of a vehicle-mounted terminal provided by an embodiment of the present invention, Figure 2 Based on the preset intermediate application layer, the vehicle terminal receives the user trigger Figure 2The acquisition instruction generated by the icon of the vehicle-mounted light application shown is displayed on the front display interface of the vehicle terminal according to the acquired light application list. Figure 3 The icons of multiple light applications are shown. Figure 3 The light application list includes 6 light applications as an example for illustration.

[0080] Another possible implementation method is that a list of light applications is cached in a preset intermediate application layer. After receiving a light application acquisition instruction based on the preset intermediate application layer, the vehicle terminal can extract the cached application list based on the preset intermediate application layer, and then display multiple light applications on the front display interface of the vehicle terminal. Among them, the preset intermediate application layer can communicate with the server regularly to update the cached light application list. In this way, the communication link can be shortened, thereby improving the operating efficiency of light applications.

[0081] In the light application operation method provided in the embodiment of the present invention, the vehicle terminal can monitor the user's acquisition instruction for the light application based on the preset intermediate application layer, and then display multiple light applications on the front display interface of the vehicle terminal after obtaining the light application list based on the preset intermediate application layer. In this way, the vehicle terminal does not need to use the view layer to monitor the acquisition instruction of the light application, and further does not need to use the interaction between the view layer and the control layer to obtain the light application list, which shortens the communication link when the light application is running, and also reduces the number of interactions with the control layer, reducing the dependence on the performance of the vehicle terminal.

[0082] Figure 4 A flowchart of a method for running a light application provided by an embodiment of the present invention. Figure 3 As shown, a plurality of light applications are displayed on the front display interface of the vehicle terminal. Figure 4 As shown, the method includes:

[0083] S101. Based on a preset intermediate application layer, receive a start instruction of a target light application.

[0084] Exemplarily, the target light application is used to characterize the light application to be run, and the startup instruction is used to instruct the startup of the target light application. For example, the startup instruction may indicate the identification information of the target light application. The preset intermediate application layer is used to provide an application framework for the target light application. For example, a running environment or a communication interface may be provided for the light application.

[0085] It should be noted that the embodiments of the present invention do not limit the method for generating the above-mentioned start-up instruction. For example, it may be generated when the vehicle-mounted terminal receives the icon of the target light application displayed on the front display interface when the user touches it; it may also be generated when the vehicle-mounted terminal receives the user's voice instruction to start the target light application; or it may be generated when the vehicle-mounted terminal receives the start-up instruction for the target light application from other electronic devices. For example, the user can control the vehicle-mounted terminal through a mobile phone to start the target light application.

[0086] Exemplarily, the vehicle-mounted terminal may monitor the start-up instruction of the target light application triggered by the user based on the preset intermediate application layer, and then receive the start-up instruction of the target light application.

[0087] S102. Based on the preset intermediate application layer and according to the startup instruction, obtain software development information of the target light application.

[0088] Exemplarily, the software development information may include, for example, the software development kit and software version information of the light application, and may also include other content, which is not limited in the embodiment of the present invention and may be specifically configured according to actual needs.

[0089] In some possible implementations, as mentioned above, the above-mentioned startup instruction can indicate the identification information of the target light application. Therefore, the vehicle terminal can obtain the software development information of the target light application based on the preset intermediate application layer and the identification information of the target light application indicated in the startup instruction. In one possible implementation, the vehicle terminal can obtain the software development information of the target light application from the server based on the preset intermediate application layer and the identification information of the target light application; in another possible implementation, the preset intermediate application layer can communicate with the server at a regular interval to obtain and cache the software development information of multiple light applications. After receiving the startup instruction of the target light application, the vehicle terminal can extract the cached software development information of the target light application based on the preset intermediate application layer.

[0090] S103 . Based on the preset intermediate application layer and according to the software development information of the target light application, the target light application is run to display an application interface of the target light application on the front-end display interface of the vehicle terminal.

[0091] For example, as mentioned above, the software development information of the target light application includes a software development kit, and then, after the vehicle terminal obtains the software development information of the target light application based on the preset intermediate application layer, it can parse the software development kit to run the target light application, and then the application interface of the target light application can be displayed on the front display interface of the vehicle terminal. Among them, the application interface refers to the homepage interface of the target light application, and the embodiment of the present invention does not limit the content of the application interface.

[0092] In the method for running a light application provided in an embodiment of the present invention, the vehicle terminal can obtain the software development information of the target light application based on the preset intermediate application layer, and then run the target light application based on the preset intermediate application layer and display it on the front-end display interface. In this way, the operation of the light application does not require the interaction between the view layer and the control layer of the vehicle terminal, shortening the communication link when the light application is running, and there is no need to use the control layer to obtain software development information, reducing the dependence on the performance of the vehicle terminal, and improving the operation efficiency of the light application.

[0093] Figure 5 A flowchart of a method for running a light application provided by an embodiment of the present invention. Figure 5 As shown, in this embodiment Figure 4 Based on the illustrated embodiment, the method for running a light application provided by the present invention is further described, and the method includes:

[0094] S201. Based on a preset intermediate application layer, receive a start instruction of a target light application.

[0095] It should be noted that this step can refer to the description of the aforementioned step S101, which will not be repeated here. Figure 6 , Figure 6 This is a schematic diagram of a software architecture provided by an embodiment of the present invention. The vehicle-mounted terminal transmits the startup instruction triggered by the front-end display interface to a preset intermediate application layer.

[0096] S202. Based on the preset intermediate application layer, request the server for software development information corresponding to the identification information of the target light application.

[0097] Exemplarily, as mentioned above, the startup instruction includes the identification information of the target light application. Therefore, the vehicle-mounted terminal can request the software development information corresponding to the identification information of the target light application from the server based on the preset intermediate application layer. It can be understood that the preset intermediate application layer encapsulates a communication protocol. Therefore, the vehicle-mounted terminal can implement communication interaction with the server based on the preset intermediate application layer. It should be noted that the embodiment of the present invention does not limit the type of communication protocol of the preset intermediate application layer. Figure 6 , based on the preset intermediate application layer, the vehicle terminal requests the server for software development information corresponding to the identification information of the target light application.

[0098] S203. Based on the preset intermediate application layer, receive the software development information corresponding to the identification information of the target light application returned by the server.

[0099] For example, the vehicle terminal may receive the software development information corresponding to the identification information of the target light application returned by the server based on the preset intermediate application layer. Figure 6, based on the preset intermediate application layer, the vehicle terminal receives the software development information corresponding to the identification information of the target light application returned by the server.

[0100] In some possible implementations, Figure 7 A flowchart of a method for running a light application provided by an embodiment of the present invention, referring to Figure 7 As shown, this embodiment describes how to perform version update of the light application provided by the present invention, and the method includes the following steps:

[0101] S2031. Based on a preset intermediate application layer, request the server for first version information of the light application corresponding to the identification information of the target light application.

[0102] Exemplarily, the first version information refers to the version information of the target light application stored in the server, and the version information may include, for example, a version number or a version update time, etc. When the developer updates the version of the target light application, the version information of the light application and software development information such as a software development kit are stored in the server, so the vehicle terminal may request the first version information of the light application corresponding to the identification information of the target light application from the server based on the preset intermediate application layer.

[0103] S2032. Based on a preset intermediate application layer, determine the second version information of the light application corresponding to the identification information of the cached target light application.

[0104] Exemplarily, the second version information refers to the version information of the target light application stored in the vehicle terminal, which is the software development information of the target light application pre-cached by the vehicle terminal based on the preset intermediate application layer. Therefore, the vehicle terminal can determine the second version information of the light application corresponding to the identification information of the cached target light application based on the preset intermediate application layer.

[0105] It should be noted that the embodiment of the present invention does not limit the execution order of steps S2031 and S2032, which can be executed sequentially or in parallel.

[0106] S2033. Based on a preset intermediate application layer, determine whether the first version information is consistent with the second version information.

[0107] Exemplarily, the vehicle terminal determines whether the second version information is consistent with the first version information based on a preset intermediate application layer to determine whether the target light application has an updated version, that is, whether it is necessary to obtain the updated software development information of the target light application from the server.

[0108] If it is determined that the first version information is consistent with the second version information, it means that the target light application has not updated its version, and step S2034 is executed; if it is determined that the first version information is inconsistent with the second version information, it means that the target light application has updated its version, and step S2035 is executed.

[0109] S2034. Based on the preset intermediate application layer, extract the software development information corresponding to the identification information of the target light application.

[0110] Exemplarily, when it is determined that the two are consistent, it means that the target light application has not been updated and there is no need to obtain a new version from the server. Therefore, the vehicle terminal can extract the software development information corresponding to the identification information of the cached target light application based on the preset intermediate application layer.

[0111] S2035. Based on the preset intermediate application layer, obtain software development information corresponding to the identification information of the target light application from the server.

[0112] For example, when it is determined that the two are inconsistent, it means that the target light application has been updated. Therefore, the vehicle terminal can request the software development information corresponding to the identification information of the target light application from the server based on the preset intermediate application layer to obtain the latest version of the target light application.

[0113] In this way, the vehicle terminal can determine the version based on the preset intermediate application layer, and then obtain the updated light application from the server after confirming the version update, further shortening the communication link during the operation of the light application and improving the operating efficiency of the light application.

[0114] S204: Based on the preset intermediate application layer and according to the software development information of the target light application, determine the application type of the target light application.

[0115] Exemplarily, the above application type refers to the type of light application, which may include, for example, mobile applications and web applications. It should be understood that different application types require different operating environments, for example, web applications need to run in a browser environment. As mentioned above, based on the preset intermediate application layer, the software development information of the target light application can be obtained, and based on the software development information, the application type of the target light application can be determined.

[0116] S205. Based on the preset intermediate application layer, load the operating environment corresponding to the application type, and run the target light application in the operating environment to display the application interface of the target light application on the front display interface of the vehicle terminal.

[0117] Exemplarily, after determining the application type of the target light application, the vehicle terminal can load the operating environment corresponding to the application type based on the preset intermediate application layer. For example, if the target light application is a mobile application, the current operating environment of the vehicle terminal can directly run the target light application; if the target light application is a web application, the vehicle terminal can load the preset components based on the preset intermediate application layer to provide a browser environment for the target light application, so as to run the target light application and display the application interface of the target light application on the front-end display interface of the vehicle terminal. Figure 6 ,The vehicle terminal provides a running environment for the target light application based on the preset intermediate application layer, so that the target light application can run in the running environment.

[0118] In some possible implementations, taking the application type of the target light application as a web application as an example, this step may further include the following steps:

[0119] S2051. Based on the preset intermediate application layer, load the preset component corresponding to the web application.

[0120] Exemplarily, the above-mentioned preset component is used to provide a running environment for the target light application; for example, the preset component can be a webview component. It should be understood that the preset intermediate application layer can include multiple components to provide a running environment for the target light application. Therefore, the vehicle terminal can load the preset component corresponding to the web application based on the preset intermediate application layer.

[0121] S2052: Based on the preset components, parse the software development kit in the software development information, and send a data request instruction of the application interface to the server.

[0122] For example, as mentioned above, the software development information includes a software development kit. Therefore, after the vehicle terminal loads the preset component based on the preset intermediate application layer, it can parse the software development kit in the software development information based on the preset component and send a data request instruction for the application interface to the server. It can be understood that the data of the light application is managed by the server, and the software development kit includes the page structure data of each interface of the light application, as well as fixed application data. For application data that needs to be updated in real time, it needs to be obtained from the server in real time, so it is necessary to request data from the server.

[0123] For example, refer to Figure 6 The vehicle terminal can communicate and interact with the server based on the preset component (operating environment). Taking the preset component as a webview component as an example, the vehicle terminal can generate an HTTP request based on the preset component to request application interface data from the server.

[0124] S2053. Based on the preset component, receive the application interface data returned by the server, and render and display the application interface on the front display interface of the vehicle terminal according to the application interface data.

[0125] Exemplarily, the vehicle terminal can receive application interface data returned by the server based on preset components, render it according to the page structure data of the application interface in the software development kit, and fill the application interface data into the preset page position to display the application interface on the front display interface of the vehicle terminal.

[0126] For example, the target light application can implement refueling services. The vehicle-mounted terminal parses the software development kit of the target light application based on the preset components, and sends a data request instruction for the homepage of the target light application to the server to display the real-time gasoline prices of each gas station on the homepage of the target light application. After receiving the data returned by the server, the homepage of the target light application can be rendered and displayed based on the data.

[0127] In this way, the vehicle terminal provides an operating environment for the target light application based on the preset intermediate application layer, so that the target light application runs in the operating environment. It not only provides a basic environment for the operation of the target light application, but also allows the operation of the target light application to be isolated from the operation of the vehicle application installed by the vehicle terminal, thereby ensuring the security of the operation of the vehicle application and preventing the light application from affecting the operation of the vehicle application.

[0128] In some embodiments, after the application interface of the target light application is displayed on the front display interface of the vehicle terminal, the user can perform corresponding operations based on the target light application to achieve the user's needs. For example, the following steps may be included:

[0129] S301. Based on a preset component, receive a user demand instruction triggered by a target light application, and determine the type of the user demand instruction.

[0130] Exemplarily, the above-mentioned user demand instruction is used to characterize the demand instruction triggered by the user using the target light application, and the above-mentioned user demand instruction is used to indicate the function identifier and user demand information corresponding to the user demand, wherein the function identifier corresponding to the user demand is used to characterize the function corresponding to the user demand, for example, it may include cloud functions and local functions, cloud functions refer to functions that need to interact with the server, and local functions refer to functions that are called locally on the vehicle terminal. Taking the example that the target light application can implement refueling services, the cloud function may be, for example, querying gasoline prices, and the local function may be, for example, navigating to a gas station. It is understandable that the vehicle terminal itself has a navigation function, so the target light application can call the navigation function without integrating the navigation function in the light application, making the light application more lightweight.

[0131] The user demand information is used to represent the user demand data, for example, the address of the gas station to be navigated, or the gasoline price of the gas station to be queried. The type of the user demand instruction is used to represent the type of the function identifier indicated by the user demand instruction.

[0132] Therefore, the vehicle terminal can determine the type of the user demand instruction based on the function identifier indicated by the user demand instruction after receiving the user demand instruction triggered by the target light application based on the preset component. For example, the vehicle terminal is preset with multiple function identifiers corresponding to local functions, and the type of the user instruction can be determined based on the function identifier.

[0133] S302. Based on the preset component, if it is determined that the user demand instruction is an instruction of the first type, then based on the preset intermediate application layer, the local function corresponding to the function identifier is called to process the user demand information indicated by the user demand instruction to obtain a processing result.

[0134] Exemplarily, the above-mentioned first type of instruction represents the call of the local function of the vehicle terminal; the local function of the vehicle terminal may include, for example, navigation, positioning, music playback and voice functions, which are not limited in the embodiment of the present invention and are specifically related to the settings of the vehicle terminal.

[0135] In some possible implementations, the vehicle terminal determines that the function indicated by the user demand instruction is a local function based on the preset component, that is, the local function of the vehicle terminal is called, referring to Figure 6 , the vehicle terminal can call the preset control in the preset component (operating environment) based on the target light application, and pass the user demand instruction to the preset intermediate application layer. Then, the vehicle terminal can call the local function based on the preset intermediate application layer, process the user demand information indicated by the user demand instruction, and obtain the processing result. For example, the vehicle terminal can communicate with the control layer of the vehicle terminal based on the preset intermediate application layer, so as to use the control layer to call the local function, process the user demand information indicated by the user demand instruction, and obtain the processing result. Among them, the preset control is used to implement communication services between applications, which is not limited in the embodiments of the present invention. The processing result is related to the function of the function identifier corresponding to the user demand instruction, which is not limited in the embodiments of the present invention.

[0136] For example, based on the target light application, the vehicle terminal calls the preset control in the preset component and registers the callback function to the preset intermediate application layer; then, based on the preset intermediate application layer, according to the user demand instruction transmitted by the callback function, it is determined whether the user demand instruction has the calling permission. For example, the calling permission of each light application can be preset, and then it can be determined whether the light application that triggers the user demand instruction has the calling permission; after determining that the user demand instruction has the calling permission, the local function corresponding to the function identifier is called; wherein the callback function is used to realize data transmission between the target light application and the preset intermediate application layer.

[0137] S303: Based on the preset intermediate application layer, the processing result is transmitted to the target light application, so as to display the processing result on the front-end display interface of the vehicle terminal.

[0138] For example, reference Figure 6 ,The vehicle terminal can pass the processing result to the target light application based on the preset intermediate application layer and ,according to the callback function.

[0139] For example, taking the case that the target light application can realize the refueling service, the function identifier indicated by the user demand instruction is, for example, the navigation function, and the user demand information indicates the address of the destination gas station. The vehicle terminal can pass the user demand instruction to the preset intermediate application layer based on the callback function registered by the preset component, and then call the navigation function of the vehicle terminal based on the preset intermediate application layer, perform corresponding path planning processing based on the destination gas station address indicated by the user demand information, obtain the path planning result, and pass the path planning result to the target light application based on the callback function to display the path planning result on the front-end interface of the vehicle terminal.

[0140] In this way, the target light application can call the local functions of the vehicle terminal based on the preset intermediate application layer without going through the control layer of the vehicle terminal, shortening the communication link of the target light application during operation, reducing dependence on the performance of the vehicle terminal, and improving the operating efficiency of the light application.

[0141] In the method for running a light application provided in an embodiment of the present invention, the vehicle terminal can communicate with the server based on a preset intermediate application layer to obtain software development information of the target light application, and provide a running environment for the target light application based on the preset intermediate application layer to run the target light application, and display the application interface of the target light application on the front-end display interface of the vehicle terminal. In this way, the vehicle terminal can communicate with the server based on the preset intermediate application layer without passing through the control layer of the vehicle terminal, shortening the communication link during the operation of the target light application, reducing the dependence on the performance of the vehicle terminal, and improving the running efficiency of the light application.

[0142] Figure 8A schematic diagram of a light application operation device according to an embodiment of the present invention is shown in FIG. Figure 8 As shown, the running device 400 of the light application in the embodiment of the present invention includes:

[0143] The receiving module 401 is used to receive a start instruction of a target light application based on a preset intermediate application layer; wherein the preset intermediate application layer is used to provide an application framework for the target light application;

[0144] The acquisition module 402 is used to acquire the software development information of the target light application based on the preset intermediate application layer and according to the startup instruction;

[0145] The running module 403 is used to run the target light application based on the preset intermediate application layer and according to the software development information of the target light application, so as to display the application interface of the target light application on the front-end display interface of the vehicle terminal.

[0146] In some embodiments, the start instruction includes identification information of the target light application; the acquisition module 402 is specifically used to:

[0147] Based on the preset intermediate application layer, software development information corresponding to the identification information of the target light application is obtained from the server.

[0148] In some embodiments, the acquisition module 402 is specifically configured to:

[0149] Based on the preset intermediate application layer, requesting software development information corresponding to the identification information of the target light application from the server;

[0150] Based on the preset intermediate application layer, software development information corresponding to the identification information of the target light application returned by the server is received.

[0151] In some embodiments, the acquisition module 402 is specifically configured to:

[0152] Based on the preset intermediate application layer, requesting the server for the first version information of the light application corresponding to the identification information of the target light application;

[0153] Based on the preset intermediate application layer, determine the second version information of the light application corresponding to the identification information of the cached target light application;

[0154] If it is determined that the first version information is consistent with the second version information, extracting software development information corresponding to the identification information of the target light application based on the preset intermediate application layer;

[0155] If it is determined that the first version information is inconsistent with the second version information, software development information corresponding to the identification information of the target light application is obtained from the server based on the preset intermediate application layer.

[0156] In some embodiments, the operation module 403 is specifically configured to:

[0157] Based on the preset intermediate application layer, and according to the software development information of the target light application, determining the application type of the target light application;

[0158] Based on the preset intermediate application layer, the operating environment corresponding to the application type is loaded, and the target light application is run in the operating environment to display the application interface of the target light application on the front display interface of the vehicle terminal.

[0159] In some embodiments, the application type is a web application; the software development information includes a software development kit; and the running module 403 is specifically used to:

[0160] Based on the preset intermediate application layer, loading a preset component corresponding to the web application; wherein the preset component is used to provide a running environment for the target light application;

[0161] Based on the preset component, the software development kit in the software development information is parsed, and a data request instruction for an application interface is sent to the server;

[0162] Based on the preset component, the application interface data returned by the server is received, and according to the application interface data, the application interface is rendered and displayed on the front display interface of the vehicle terminal.

[0163] In some embodiments, the operation module 403 is specifically configured to:

[0164] Based on the preset component, receiving the user demand instruction triggered by the target light application, and determining the type of the user demand instruction; wherein the user demand instruction is used to indicate the function identifier and user demand information corresponding to the user demand;

[0165] Based on the preset component, if it is determined that the user demand instruction is a first type of instruction, then based on the preset intermediate application layer, the local function corresponding to the function identifier is called, and the user demand information indicated by the user demand instruction is processed to obtain a processing result; wherein the first type of instruction represents the call of the local function of the vehicle terminal;

[0166] Based on the preset intermediate application layer, the processing result is transmitted to the target light application so as to display the processing result on the front-end display interface of the vehicle terminal.

[0167] In some embodiments, the operation module 403 is specifically configured to:

[0168] Based on the target light application, calling the preset control in the preset component, registering the callback function with the preset intermediate application layer; wherein the callback function is used to realize data transmission between the target light application and the preset intermediate application layer;

[0169] Based on the preset intermediate application layer, according to the user requirement instruction transmitted by the callback function, if it is determined that the user requirement instruction has the calling authority, calling the local function corresponding to the function identifier;

[0170] The delivering the processing result to the target light application based on the preset intermediate application layer so as to display the processing result on the front-end display interface of the vehicle terminal includes:

[0171] Based on the preset intermediate application layer, and according to the callback function, the processing result is transmitted to the target light application.

[0172] In some embodiments, the device further includes a display module, specifically configured to:

[0173] Based on the preset intermediate application layer, receiving an acquisition instruction of a light application, and based on the preset intermediate application layer, acquiring a light application list according to the acquisition instruction; wherein the light application list includes identification information of a plurality of light applications;

[0174] Based on the preset intermediate application layer, and according to the identification information of the multiple light applications, multiple light applications are displayed on the front display interface of the vehicle terminal.

[0175] The device of the embodiment of the present invention can be used to execute the technical solution of any of the above-mentioned method embodiments. Its implementation principle and technical effects are similar and will not be repeated here.

[0176] Fig. 9 This is a schematic diagram of the structure of a vehicle-mounted terminal provided by an embodiment of the present invention. Fig. 9 As shown, the vehicle terminal 500 may include: at least one processor 501 and a memory 502 .

[0177] The memory 502 is used to store programs. Specifically, the programs may include program codes, and the program codes include computer-executable instructions.

[0178] The memory 502 may include a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0179] The processor 501 is used to execute the computer-executable instructions stored in the memory 502 to implement the operation method of the light application described in the aforementioned method embodiment. Among them, the processor 501 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. Specifically, when implementing the operation method of the light application described in the aforementioned method embodiment, the vehicle-mounted terminal can be, for example, a vehicle-mounted terminal with processing functions such as an electronic control unit, a server or a domain controller on a vehicle.

[0180] Optionally, the vehicle-mounted terminal 500 may further include a communication interface 503. In a specific implementation, if the communication interface 503, the memory 502 and the processor 501 are implemented independently, the communication interface 503, the memory 502 and the processor 501 may be interconnected through a bus and communicate with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc., but it does not mean that there is only one bus or one type of bus.

[0181] Optionally, in a specific implementation, if the communication interface 503, the memory 502 and the processor 501 are integrated on a chip, the communication interface 503, the memory 502 and the processor 501 can communicate through an internal interface.

[0182] The present invention also provides a computer-readable storage medium, in which computer program instructions are stored. When a processor executes the computer program instructions, the above-mentioned method for running the light application is implemented.

[0183] The present invention also provides a computer program product, including a computer program, which implements the above-mentioned method for running a light application when executed by a processor.

[0184] The present invention also provides a car, including a vehicle-mounted terminal that implements the above-mentioned method for operating the light application.

[0185] The computer-readable storage medium mentioned above can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.

[0186] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in a dedicated integrated circuit. Of course, the processor and the readable storage medium can also exist as discrete components in the running device of the light application.

[0187] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0188] The above embodiments are only preferred embodiments for fully illustrating the present invention, and the protection scope of the present invention is not limited thereto. Any equivalent substitution or change made by a person skilled in the art based on the present invention is within the protection scope of the present invention.

Claims

1. A method for running a light application, characterized in that: The method comprises: Based on a preset intermediate application layer, receiving a start instruction of a target light application; wherein the preset intermediate application layer is used to provide an application framework for the target light application; Based on the preset intermediate application layer, and according to the startup instruction, obtaining software development information of the target light application; Based on the preset intermediate application layer and according to the software development information of the target light application, the target light application is run to display the application interface of the target light application on the front-end display interface of the vehicle terminal.

2. The method according to claim 1, characterized in that The startup instruction includes identification information of the target light application; the obtaining software development information of the target light application based on the preset intermediate application layer according to the startup instruction includes: Based on the preset intermediate application layer, software development information corresponding to the identification information of the target light application is obtained from the server.

3. The method according to claim 2, characterized in that The obtaining, based on the preset intermediate application layer, software development information corresponding to the identification information of the target light application from the server includes: Based on the preset intermediate application layer, requesting software development information corresponding to the identification information of the target light application from the server; Based on the preset intermediate application layer, software development information corresponding to the identification information of the target light application returned by the server is received.

4. The method according to claim 2, characterized in that: The obtaining, based on the preset intermediate application layer, software development information corresponding to the identification information of the target light application from the server includes: Based on the preset intermediate application layer, requesting the server for the first version information of the light application corresponding to the identification information of the target light application; Based on the preset intermediate application layer, determine the second version information of the light application corresponding to the identification information of the cached target light application; If it is determined that the first version information is consistent with the second version information, extracting software development information corresponding to the identification information of the target light application based on the preset intermediate application layer; If it is determined that the first version information is inconsistent with the second version information, software development information corresponding to the identification information of the target light application is obtained from the server based on the preset intermediate application layer.

5. The method according to claim 1, characterized in that The step of running the target light application based on the preset intermediate application layer according to the software development information of the target light application to display the application interface of the target light application on the front-end display interface of the vehicle terminal includes: Based on the preset intermediate application layer, and according to the software development information of the target light application, determining the application type of the target light application; Based on the preset intermediate application layer, the operating environment corresponding to the application type is loaded, and the target light application is run in the operating environment to display the application interface of the target light application on the front display interface of the vehicle terminal.

6. The method according to claim 5, characterized in that The application type is a web application; the software development information includes a software development kit; the loading of the operating environment corresponding to the application type based on the preset intermediate application layer, and running the target light application in the operating environment to display the application interface of the target light application on the front-end display interface of the vehicle terminal, includes: Based on the preset intermediate application layer, loading a preset component corresponding to the web application; wherein the preset component is used to provide a running environment for the target light application; Based on the preset component, the software development kit in the software development information is parsed, and a data request instruction for an application interface is sent to the server; Based on the preset component, the application interface data returned by the server is received, and according to the application interface data, the application interface is rendered and displayed on the front display interface of the vehicle terminal.

7. The method according to claim 6, characterized in that After the application interface of the target light application is displayed on the front-end display interface of the vehicle-mounted terminal, the method includes: Based on the preset component, receiving the user demand instruction triggered by the target light application, and determining the type of the user demand instruction; wherein the user demand instruction is used to indicate the function identifier and user demand information corresponding to the user demand; Based on the preset component, if it is determined that the user demand instruction is a first type of instruction, then based on the preset intermediate application layer, the local function corresponding to the function identifier is called, and the user demand information indicated by the user demand instruction is processed to obtain a processing result; wherein the first type of instruction represents the call of the local function of the vehicle terminal; Based on the preset intermediate application layer, the processing result is transmitted to the target light application so as to display the processing result on the front-end display interface of the vehicle terminal.

8. The method according to claim 7, characterized in that The calling of the local function corresponding to the function identifier based on the preset intermediate application layer includes: Based on the target light application, calling the preset control in the preset component, registering the callback function with the preset intermediate application layer; wherein the callback function is used to realize data transmission between the target light application and the preset intermediate application layer; Based on the preset intermediate application layer, according to the user requirement instruction transmitted by the callback function, if it is determined that the user requirement instruction has the calling authority, calling the local function corresponding to the function identifier; The delivering the processing result to the target light application based on the preset intermediate application layer so as to display the processing result on the front-end display interface of the vehicle terminal includes: Based on the preset intermediate application layer, and according to the callback function, the processing result is transmitted to the target light application.

9. The method according to any one of claims 1 to 8, characterized in that: There are multiple light applications displayed on the front display interface of the vehicle terminal, including: Based on the preset intermediate application layer, receiving an acquisition instruction of a light application, and based on the preset intermediate application layer, acquiring a light application list according to the acquisition instruction; wherein the light application list includes identification information of a plurality of light applications; Based on the preset intermediate application layer, and according to the identification information of the multiple light applications, multiple light applications are displayed on the front display interface of the vehicle terminal.

10. A light application operation device, characterized in that: The device comprises: A receiving module, configured to receive a start instruction of a target light application based on a preset intermediate application layer; wherein the preset intermediate application layer is configured to provide an application framework for the target light application; An acquisition module, configured to acquire software development information of the target light application based on the preset intermediate application layer and according to the startup instruction; The running module is used to run the target light application based on the preset intermediate application layer and according to the software development information of the target light application, so as to display the application interface of the target light application on the front display interface of the vehicle terminal.

11. A vehicle-mounted terminal, characterized in that: include: Memory, processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor performs the method according to any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 9 when executed by a processor.

13. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 9 when being executed by a processor.

14. A car, characterized in that: A vehicle-mounted terminal comprising a method for executing a light application as described in any one of claims 1-9.