Electronic device and processing method and medium for installation-free application thereof

By generating and transmitting rendering result information on devices with stronger computing power, the problems of CPU lag and high bandwidth consumption in electronic devices are solved, thus improving the user experience.

CN115113867BActive Publication Date: 2025-09-09PETAL CLOUD TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110286746.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-17
Publication Date
2025-09-09
Estimated Expiration
2041-03-17

AI Technical Summary

Technical Problem

The CPU computing power of electronic devices is relatively weak, resulting in CPU freezes when running installation-free applications, resulting in a poor user experience. In addition, existing technologies rely on stable network connections, resulting in high bandwidth consumption and unable to meet the scenarios of multiple IoT devices.

Method used

The function of displaying the operation interface of the installation-free application is executed in an electronic device with weaker computing power, and the function of running the installation-free application and generating rendering result information of the operation interface is placed in an electronic device with stronger computing power. The rendering result information is transmitted through the instruction stream to reduce network consumption.

Benefits of technology

It solves the CPU lag problem, reduces bandwidth consumption, improves user experience, and reduces memory and CPU consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115113867B_ABST
    Figure CN115113867B_ABST
Patent Text Reader

Abstract

The present application relates to the field of Internet of Things technology, and in particular to electronic devices and processing methods and media for installation-free applications thereof. The method comprises: a first terminal device sends an operation instruction for an installation-free application to a second terminal device; the second terminal device executes the operation instruction by running the application code of the installation-free application, and sends rendering result information of the display interface of the installation-free application corresponding to the execution result to the first terminal device; the first terminal device displays the display interface of the installation-free application corresponding to the execution result on the first terminal device according to the rendering result information. In this way, electronic devices with weaker computing power do not need to generate rendering result information for displaying the operation interface of the installation-free application, but instead rely on electronic devices with stronger computing power to generate rendering result information for displaying the operation interface of the installation-free application, thereby solving the problem of CPU lag of electronic devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet of Things technology, and in particular to a processing method and medium for electronic devices and installation-free applications thereof. Background Art

[0002] With the development of IoT technology, there are now a variety of installation-free applications (Applications, Apps), such as quick apps, mini-programs, Google Instances, cloud computers, cloud games, and smart boxes.

[0003] On the one hand, many types of electronic devices, such as smart TVs, in-car smart devices, smart speakers, and smart watches, have the ability to run installation-free apps. However, the central processing unit (CPU) integrated into these devices has relatively weak computing power, which can cause CPU lag when running installation-free apps, resulting in a poor user experience.

[0004] On the other hand, installation-free applications, such as cloud computers, cloud games, and smart boxes, are run on remote devices corresponding to the client (such as servers). In this type of technology, the client only serves as an input / output (I / O) terminal, connected to the server through the network. The operating system and application actually run on the server side, that is, the server side transmits the pictures / videos that the client currently needs to display to the client for display. However, this type of technology is only suitable for situations where operations are frequent and the network connection is stable, and cannot meet the needs of scenarios with multiple IoT devices. In addition, the use of picture / video streaming technology for communication relies on a stable network connection, which consumes a lot of bandwidth. Summary of the Invention

[0005] The embodiments of the present application provide an electronic device and a processing method and medium for its installation-free application.

[0006] In a first aspect, an embodiment of the present application provides a method for processing an installation-free application, the method comprising:

[0007] The first terminal device sends an operation instruction for the installation-free application to the second terminal device;

[0008] The second terminal device executes the operation instruction by running the application code of the installation-free application, and sends rendering result information of the display interface of the installation-free application corresponding to the execution result to the first terminal device;

[0009] The first terminal device displays the display interface of the installation-free application corresponding to the execution result on the first terminal device according to the rendering result information.

[0010] In the embodiment of the present application, the first terminal device may be any device capable of displaying an installation-free application's operating interface, such as a watch, a television, or a car computer. The second terminal device may be any device capable of running an installation-free application and generating an operating interface for displaying the installation-free application, such as a mobile phone, a computer, a tablet computer, or a desktop computer.

[0011] In the embodiment of the present application, the operation instruction may include a loading instruction for loading an installation-free application or an operation instruction for executing a preset function of the installation-free application. The loading instruction for loading the installation-free application may be an application operation interface initialization request / instruction generated by the vehicle computer 100 in response to a user's operation to initialize the application operation interface. The operation instruction for executing a preset function of the installation-free application may be an operation interface change event processing request / instruction generated by the vehicle computer 100 in response to a user's operation to change the operation interface currently displayed by the application.

[0012] It is understandable that the display interface may also be an operation interface, and the display interface may be an initialization operation interface of the application or an operation interface after the operation interface currently displayed by the application is changed.

[0013] In this way, electronic devices with weaker computing power do not need to generate rendering result information for displaying the operating interface of the installation-free application. Instead, they rely on electronic devices with stronger computing power to generate rendering result information for displaying the operating interface of the installation-free application, thus solving the problem of CPU lag in electronic devices. Moreover, the electronic device with stronger computing power sends the rendering result information for displaying the operating interface of the installation-free application to the electronic device with weaker computing power, rather than sending the image corresponding to the operating interface to the electronic device with weaker computing power for display. Since the size of the image corresponding to the operating interface is in the megabyte level, and the rendering result information is in the kilobyte level, this reduces the problem of bandwidth consumption.

[0014] In a possible implementation of the first aspect above, the operation instruction includes a loading instruction for loading the installation-free application or an operation instruction for executing a preset function of the installation-free application.

[0015] In a possible implementation of the first aspect above, the rendering result information includes interface element information, layout information of the interface elements, and layout style information of the interface elements.

[0016] It can be understood that the rendering result information includes interface element information, layout information of interface elements and layout style information of interface elements. Interface element information includes codes representing one or more interface elements, specifically codes representing one or more of windows, dialog boxes, menus, scroll bars, graphics, text, pictures, controls, etc. The layout information of interface elements may include codes representing the relative positions between interface elements, and the layout style information of interface elements may include codes representing attribute value information such as the content of interface elements (text, pictures, controls, etc.), color, size, display style of interface elements (static display of interface elements, etc.), and display style of the content of interface elements (font, etc.).

[0017] In a possible implementation of the first aspect, the first terminal device displays, on the first terminal device according to the rendering result information, a display interface of the installation-free application corresponding to the execution result, including:

[0018] In a possible implementation of the first aspect above, the first terminal device is any one of a car machine, a television, and a watch, and the second terminal device is any one of a mobile phone, a computer, and a server.

[0019] In the embodiment of the present application, the first terminal device may be a vehicle computer, and the second terminal device may be any one of a mobile phone, a computer, and a server; or the first terminal device may be a television, and the second terminal device may be any one of a mobile phone, a computer, and a server; or the first terminal device may be a watch, and the second terminal device may be any one of a mobile phone, a computer, and a server. However, the present invention is not limited thereto.

[0020] In a possible implementation of the first aspect, the installation-free application includes a quick application.

[0021] In a possible implementation of the first aspect, the operation instruction includes an application code of the installation-free application;

[0022] or

[0023] The operation instruction includes identification information of the installation-free application, and the second terminal device obtains the application code of the installation-free application from the application server according to the identification information of the installation-free application.

[0024] In a possible implementation of the first aspect, the rendering result information is in JSON format.

[0025] In a possible implementation of the first aspect, the first terminal device includes a JS proxy layer and a native layer; the second terminal device includes a remote service and a JS engine; and the method includes:

[0026] The first terminal device sends an operation instruction for the installation-free application to the second terminal device through the JS proxy layer and the remote service;

[0027] The second terminal device runs the application code of the free-installation application through the JS engine to execute the operation instruction, and sends rendering result information of the display interface of the free-installation application corresponding to the execution result to the first terminal device through the JS proxy layer and the remote service;

[0028] The first terminal device displays the display interface of the installation-free application corresponding to the execution result on the first terminal device through the native layer according to the rendering result information.

[0029] To address the high network resource usage associated with remote applications such as video and image streaming, the JS processing module is separated from the application rendering portion, placed on a device with strong computing power, and communicated via a network instruction stream. This instruction stream reduces network usage, enabling local rendering on other devices (such as mobile phone 200), thereby lowering the system's bandwidth requirements.

[0030] For the installation-free application technology, the JS engine and the client are decoupled, and the JS processing is placed on a node with stronger computing power to speed up the processing speed; the client (such as the car computer 100) is connected to the remote JS engine through a network bridge to reduce memory and CPU consumption. Weak processor devices (such as the car computer 100) can use the remote JS processing capabilities to improve application logic processing capabilities, reduce memory and CPU consumption, and thus improve user experience.

[0031] To address the issue of engine runtime consuming more memory on storage-sensitive devices, such as watches, an external device (e.g., mobile phone 200) is used to locally store the JS Framework and dynamically load the App Code. This eliminates the need for the client (vehicle computer 100) to locally store and manage the App Code and JS Framework, reducing storage space consumption.

[0032] In a second aspect, an embodiment of the present application further provides a computer-readable storage medium having instructions stored thereon, which are executed on a terminal device to implement any method for processing an installation-free application that may be implemented in the first aspect.

[0033] In a third aspect, an embodiment of the present application further provides a terminal device, the terminal device comprising: a memory for storing instructions, and

[0034] A processor is used to execute the instructions to implement the method for processing installation-free applications executed by the first terminal device or the second terminal device according to any one of the first aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 According to some embodiments of the present application, a schematic diagram of an installation-free application technology is shown;

[0036] Figure 2 According to some embodiments of the present application, a schematic diagram of another installation-free application technology is shown;

[0037] Figure 3 According to some embodiments of the present application, a schematic diagram of an application scenario of a method for processing a free-installation application is shown;

[0038] Figure 4 According to some embodiments of the present application, a software architecture diagram of a method for processing an installation-free application applicable to the present application is shown;

[0039] Figure 5 According to some embodiments of the present application, based on Figure 4 The software architecture in FIG. 1 shows a flow chart of a method for processing an installation-free application applicable to the present application;

[0040] 6A to 6D According to some embodiments of the present application, a schematic diagram of changes in the operation interface of the vehicle computer 100 for implementing the method for processing the installation-free application of the present application is shown;

[0041] Figure 7 According to some embodiments of the present application, based on Figure 4 The software architecture in FIG. 1 shows a flowchart of another method for processing an installation-free application applicable to the present application;

[0042] Figure 8 According to some embodiments of the present application, a schematic diagram of another installation-free application technology is shown;

[0043] Figure 9 According to some embodiments of the present application, a schematic structural diagram of a mobile phone 200 applicable to embodiments of the present application is shown;

[0044] Figure 10 This is an embodiment of the present application, showing a software structure block diagram of a mobile phone 100 or a car computer 100. DETAILED DESCRIPTION

[0045] The illustrative embodiments of the present application include, but are not limited to, processing methods and media for electronic devices and installation-free applications thereof.

[0046] As mentioned in the background technology, for some electronic devices, due to the weak integrated CPU computing power, there is a problem of CPU lag when running free installation applications, resulting in poor application experience. Figure 1A schematic diagram of a free installation application technology is shown, such as Figure 1 As shown in the figure, the application engine (APP Engine) of an electronic device mainly includes three modules: JS engine, JS bridge layer, and native layer. It can be understood that JS is the Java Script development language (Java Script, JS).

[0047] The native layer includes a rendering result information API, an event module, a system API, and a network module. The event module is used to respond to and determine the type of user operation. For example, it responds to a user operation and determines that the operation is to change the operation interface of an installation-free application. The rendering result information API is used to call the code for the rendering operation interface. The system API is the implementation layer for the native layer to call the system interface. For example, the application calls the wifi module through code to connect to the hotspot. The application sends the connection information to the native layer through js code, and the native layer system API implements the wifi connection based on the parameters.

[0048] The network module refers to the part of the system that provides network capabilities, including but not limited to data network / WLAN / Bluetooth / near-field communication, etc., and is mainly used for communication between devices and services.

[0049] The JS bridge layer is responsible for the communication between the JS engine and the native layer, that is, the JS bridge layer is responsible for the transmission of instructions and data between the JS engine and the native layer. Take the example of the JS engine sending an instruction to call native code to the native layer through the JS bridge layer, for example, the JS engine calls the native code for rendering a certain operation interface from the rendering result information API in the native layer; and then take the example of the native layer sending an instruction to call JS to the JS engine through the JS bridge layer, for example, the native layer sends the native code for rendering a certain operation interface to the JS engine through the JS bridge layer. It can be understood that the native code is a code composed of native functions. In some embodiments, the JS bridge layer communication interface is used to encapsulate in the form of instructions, for example, JSON (JavaScript Object Notation) encapsulation. Among them, JSON is a data interaction format, and JSON encapsulation is to encapsulate instructions / requests into JSON format.

[0050] The JS engine is responsible for running the JS Framework (Javascript framework) and executing code within the JS Framework environment. For example, the code for an installation-free application (APP Code) can run the code used to display a specific user interface of the installation-free application to display that user interface. A Javascript framework is a programming framework built on the Javascript language.

[0051] However, this technical solution has the following problems: Its application requires a three-layer structure: the JS engine, the bridge, and the native layer, which increases the memory consumption of electronic devices. The JS engine in the electronic device processes JS, increasing CPU overhead and causing CPU lag in the electronic device.

[0052] On the other hand, installation-free applications are run based on remote devices (such as servers) corresponding to the client, such as cloud computers, cloud games, smart boxes, etc. In this type of technology, the client only serves as an I / O terminal, connected to the server through the network, and the operating system and application actually run on the server side, that is, the server side transmits the pictures / videos that the client currently needs to display to the client for display. However, this type of technology is only applicable to situations where operations are frequent and the network connection is stable, and cannot meet the scenarios of multiple IoT devices. In addition, the use of picture / video streaming technology for communication relies on a stable network connection, and there is a problem of consuming a lot of bandwidth. For example, Figure 2 A schematic diagram showing another free-installation application technology is shown. Figure 2 As shown in the figure, the installation-free application technology mainly includes three parts: cloud host, network layer and client.

[0053] The cloud host runs the operating system and applications, using video and image streams to deliver rendering results. The client only has I / O capabilities, displaying rendering results and collecting user input, and controlling the remote computer through command streams. However, this technical solution has the following problems: using video streaming technology for communication relies on a stable network connection, consuming a large amount of bandwidth.

[0054] To solve the above technical problems, the embodiments of the present application provide a processing solution for installation-free applications. In the embodiments of the present application, the function of displaying the operation interface of the installation-free application is executed in an electronic device with weaker computing power, and the function of running the installation-free application and generating rendering result information for displaying the operation interface of the installation-free application is placed in an electronic device with stronger computing power. The electronic device with stronger computing power sends the rendering result information for displaying the operation interface of the installation-free application to the electronic device with weaker computing power, and the electronic device with weaker computing power runs the rendering result information to display the operation interface of the installation-free application. In this way, the electronic device with weaker computing power does not need to generate the rendering result information for displaying the operation interface of the installation-free application, but instead uses the electronic device with stronger computing power to generate the rendering result information for displaying the operation interface of the installation-free application, thereby solving the problem of CPU lag of the electronic device. In addition, the electronic device with stronger computing power sends the rendering result information for displaying the operation interface of the installation-free application to the electronic device with weaker computing power, instead of sending the image corresponding to the operation interface to the electronic device with weaker computing power for display. Since the size of the image corresponding to the operation interface is in the megabyte level and the rendering result information is in the kilobyte level, this reduces the problem of bandwidth consumption.

[0055] The technical solution of this application is further described below in conjunction with the drawings and description.

[0056] Figure 3 According to some embodiments of the present application, a schematic diagram of an application scenario of a method for processing a free-installation application is shown. Figure 3 As shown, the scenario includes: electronic device 100 and electronic device 200. The electronic device 100 and the electronic device 200 may be connected via a wireless communication link or a wired communication link.

[0057] It is understandable that the installation-free application can be a game quick application, an entertainment quick application, an office quick application, an audiobook quick application, etc., but is not limited thereto.

[0058] It can be understood that the electronic device 100 applicable to the present application can be various devices that have the function of displaying an operating interface of an installation-free application, such as a watch, a television, a car computer, etc.

[0059] The electronic device 200 applicable to the present application may be any device capable of running an installation-free application and generating an operating interface for displaying the installation-free application, such as a mobile phone, a computer, a tablet computer, a desktop computer, etc.

[0060] The electronic devices 100 may be devices of the same type or devices of different types.

[0061] It is understood that whether the computing capability of the electronic device 200 is greater than that of the electronic device 100 can be determined based on any one or more of the following criteria, but is not limited to the following criteria:

[0062] (a) The number of central processing units (CPUs) in the electronic device 200 is greater than that in the electronic device 100. For example, a mobile phone has two CPUs, while a car computer has one CPU.

[0063] (b) The operating speed of the electronic device 200 is higher than the operating speed of the electronic device 100. For example, the operating speed of a mobile phone is higher than the operating speed of a watch or a car computer.

[0064] (c) The version of the CPU of the electronic device 200 is higher than that of the CPU of the electronic device 100 .

[0065] The technical solution of this application is further described below in conjunction with the drawings and description.

[0066] Figure 4 According to some embodiments of the present application, a software architecture diagram of a method for processing installation-free applications applicable to the present application is shown.

[0067] like Figure 4 As shown, the electronic device 200 includes a JS engine and a remote server. The JS engine is a JavaScript program execution environment, generally developed in C language, and can be a V8 engine. The Remote Server is a network service that does not restrict the development environment, as long as it can communicate with the JS engine.

[0068] In the embodiment of the present application, based on the modification of the installation-free framework, the JS engine is separated from the client (e.g., electronic device 100) and placed in the cloud or edge computing node (e.g., electronic device 200). The client only stores the native layer part, and the client (e.g., electronic device 100) and the cloud or edge computing node (e.g., electronic device 200) communicate through remote services and the JS proxy layer. In this way, with the help of electronic devices with stronger computing power, the problem of CPU lag is solved.

[0069] Specifically, the electronic device 200 includes a JS engine and a remote service. The JS engine is responsible for running the JS Framework (Javascript framework or JS framework) and the installation-free application code (such as APP Code), wherein the Javascript framework refers to a programming framework built on the basis of the Javascript language. In an embodiment of the present application, the JS engine is used to calculate the code required to display the initialization operation interface of the application based on the application operation interface initialization request sent by the electronic device 100. For example, the JS engine generates the code required to display the changed operation interface based on the operation interface change event processing request.

[0070] The remote service is responsible for starting and shutting down the JS engine and for communicating between the JS engine and the native layer. For example, the JS bridge layer is responsible for transmitting instructions and data between the JS engine and the native layer. The remote service encapsulates the communication content between the JS engine and the electronic device 100 and sends it to the electronic device 100. Take the example of the JS engine sending an instruction to call native code to the native layer through the JS bridge layer. For example, the JS engine calls the native code for rendering a certain operation interface from the rendering result information API in the native layer; and take the example of the native layer sending an instruction to call JS to the JS engine through the JS bridge layer. For example, the native layer sends the native code for displaying a certain operation interface to the JS engine through the JS bridge layer. It can be understood that the native code is code composed of native functions. It can be understood that the JS bridge layer communication interface is used to adopt the form of instructions and JSON (JavaScript Object Notation) encapsulation. Among them, JSON is a data interaction format, and JSON encapsulation is to encapsulate instructions / requests into JSON format.

[0071] The electronic device 100 includes a client engine (Engine), which is an application engine running on the electronic device 100 and mainly includes two parts: a JS proxy layer (JS Proxy) and a native layer (Native Layer); the electronic device 200 includes a JS engine and a remote service.

[0072] Among them, the JS proxy layer and the remote service are mainly responsible for the communication business between the electronic device 100 and the electronic device 200. In the embodiment of the present application, the JS proxy layer is used for data and instruction transmission between the electronic device 100 and the electronic device 200.

[0073] The JS proxy layer may include a network client, and the remote service may include a network server. A wireless communication connection is established between the electronic device 100 and the electronic device 200 through the network client and the network server. For example, a wireless communication connection can be established through a wide area network, a local area network, Bluetooth, etc.

[0074] The JS proxy layer may further include a runtime bridge, and the remote service may further include a runtime bridge. Data and instructions are transmitted between the electronic device 100 and the electronic device 200 via the runtime bridge of the JS proxy layer and the runtime bridge of the remote service.

[0075] The native layer includes a rendering result information API, an event module, a system API, and a network module, wherein the electronic device 100 can run the event module to respond to or detect the user's operation and determine the type of the user's operation, and generate corresponding instructions or requests according to the type of the user's operation. For example, the electronic device 100 detects the user's operation to initialize the application operation interface and generates an application operation interface initialization request. For another example, the electronic device 100 detects the user's operation to change the operation interface currently displayed by the application and generates an operation interface change event processing request. The operation interface change event processing request is used to obtain the code for the operation interface change from the electronic device 200.

[0076] The electronic device 100 calls the rendering result information API to call the code for rendering the operation interface and displays the operation interface.

[0077] The JS engine is used to generate rendering result information for displaying the operation interface of the installation-free application under the JS framework when the electronic device 200 receives an application operation interface initialization request or an operation interface change event processing request sent by the electronic device 100.

[0078] The following takes the electronic device 100 as a car computer 100, the electronic device 200 as a mobile phone 200, and the installation-free application of the car computer 100 as an audiobook application as an example to further illustrate the technical solution of the present application.

[0079] Example 1

[0080] Figure 5 According to some embodiments of the present application, based on Figure 4 The software architecture in FIG. 1 shows a flow chart of a method for processing a free-installation application applicable to the present application. Figure 5 As shown, the method includes:

[0081] 501: The native layer of the vehicle computer 100 detects the authentication operation between the user's vehicle computer 100 and the mobile phone 200, and generates an authentication request, wherein the authentication request is used to request the establishment of a communication connection relationship between the vehicle computer 100 and the mobile phone 200 to implement the display method of the operation interface.

[0082] To resolve CPU lag issues, the vehicle computer 100 must grant permission from the mobile phone 200 to generate rendering information for the user interface of the installation-free app, using the more powerful mobile phone 200. This requires a connection and pairing between the vehicle computer 100 and the mobile phone 200. This connection can be accomplished through a variety of networks, such as a local area network (LAN), a wide area network (WAN), Bluetooth, near-field communication (NFC), or a wired connection. The vehicle computer 100 and the mobile phone 200 can communicate using a persistent connection, using a persistent connection protocol such as TCP / IP or Web Socket.

[0083] 502 : The native layer of the vehicle computer 100 sends an authentication request to the JS engine of the mobile phone 200 through the JS proxy layer of the vehicle computer 100 and the remote service of the mobile phone 200 .

[0084] It can be understood that the authentication request carries the identification information of the vehicle computer 100 , and the identification information of the vehicle computer 100 is used to identify the identity of the vehicle computer 100 . The identification information of the vehicle computer 100 may be the IP address, MAC address, etc. of the vehicle computer 100 .

[0085] 503 : The native layer of the vehicle computer 100 receives authentication status feedback information sent by the JS engine of the mobile phone 200 through the remote service of the mobile phone 200 and the JS proxy layer of the vehicle computer 100 .

[0086] It is understood that when the mobile phone 200 detects that the user has permitted the establishment of a communication connection relationship between the vehicle computer 100 and the mobile phone 200 for implementing the display method of the operation interface, a message indicating successful authentication is sent to the vehicle computer 100. When the mobile phone 200 detects that the user has not permitted the establishment of a communication connection relationship between the vehicle computer 100 and the mobile phone 200 for implementing the display method of the operation interface, a message indicating unsuccessful authentication is sent to the vehicle computer 100.

[0087] For example, when the mobile phone 200 receives an authentication request from the vehicle computer 100, it displays the identification information of the vehicle computer 100 and a selection control for whether to allow the vehicle computer 100 and the mobile phone 200 to establish a communication connection relationship for implementing the display method of the operation interface. If the user selects "Yes" on the selection control, a message indicating successful authentication is sent to the vehicle computer 100. If the user selects "No" on the selection control, a message indicating unsuccessful authentication is sent to the vehicle computer 100.

[0088] 504: The native layer of the vehicle computer 100 determines whether the authentication status feedback information indicates that the authentication is successful. If so, the computing power of the mobile phone 200 can be used to call the code for rendering the application operation interface (for example, executing step 505). If not, the vehicle computer 100 cannot use the computing power to call the code for rendering the application operation interface. It is understood that in this case, in some embodiments, the vehicle computer 100 prompts the user with a message indicating that the authentication failed.

[0089] When a communication connection relationship for implementing the display method of the operation interface is established between the vehicle computer 100 and the mobile phone 200, the vehicle computer 100 and the mobile phone 200 can cooperate to run the installation-free application.

[0090] 505: The native layer of the vehicle computer 100 detects the user's operation to initialize the application operation interface and generates an application operation interface initialization request. The application operation interface initialization request is used to obtain rendering result information for displaying the application initialization operation interface from the mobile phone 200.

[0091] 6A to 6D According to some embodiments of the present application, a schematic diagram of a change in the operation interface of the vehicle computer 100 for implementing the method for processing applications without installation of the present application is shown. For example, when a user wants to find an application to be opened through a quick application, for example, Figure 6A As shown, after the user opens the application store, the vehicle computer 100 displays the application store operation interface, which includes a "Quick Application" control 1. When the user clicks the "Quick Application" control 1, the quick application operation interface is displayed, as shown in FIG. Figure 6B As shown, the operation interface of the quick application includes an "audio book" control 2 corresponding to the audio book application. When the user clicks the "audio book" control 2, the vehicle computer 100 generates an audio book application operation interface initialization request in response to the user operation.

[0092] 506 : The native layer of the vehicle computer 100 sends an application operation interface initialization request to the JS engine of the mobile phone 200 through the JS proxy layer of the vehicle computer 100 and the remote service of the mobile phone 200 .

[0093] It can be understood that when the car computer 100 detects the user's application operation interface initialization operation and generates an application operation interface initialization request, it calls the Framework and App Code from the native layer, and the JS proxy layer receives the JSFramework and App Code, and sends the application operation interface initialization operation request containing the JS Framework and App Code to the remote service of the mobile phone 200.

[0094] In addition, the mobile phone 200 has a pre-installed JS Framework, so the application operation interface initialization request can also include App Code instead of JS Framework. In this way, the mobile phone 200 can run the JS Framework (Javascript framework) and call the code for rendering the application initialization operation interface under the JS Framework.

[0095] As you can understand, the App Code folder contains the application code for your application. The App Code folder is the location where classes are automatically placed when you create a website. Located in the root directory of your web application, it stores all class files that should be dynamically compiled as part of the application. These class files are automatically linked to the application without requiring any explicit directives or declarations in your pages to create dependencies. Class files placed in the App Code folder can include any recognized ASP.NET component—custom controls, helper classes, build providers, business classes, custom providers, HTTP handlers, and so on.

[0096] It can be understood that the communication between the JS proxy layer and the remote service can use the instruction stream JSON to encapsulate instructions and / or data, and pass the calling method and parameters in the form of method and params. For example, the elements of the JS Framework and all the key information of the element layout, including the layout position and relationship, the attributes and corresponding events of the elements, the style information of the elements, etc. are encapsulated; for example, the elements of the App Code operation interface and all the key information of the element layout, including the layout position and relationship, the attributes and corresponding events of the elements, the style information of the elements, etc. are encapsulated. It can be understood that elements can also be called components.

[0097] For example, initialize the JSFramework instruction flow encapsulation:

[0098]

[0099] Among them, "method":"initJSFramework" means initializing JSFramework, "params":{"jsFramework":"{{js framework code}}","args":["arg1"...]} means initializing the elements involved in JSFramework and all key information about the element layout, including layout position and relationship, element attributes and corresponding events, element style information, etc.

[0100] For example, to execute the application code instruction stream encapsulation:

[0101]

[0102]

[0103] Here, "method":"createInstance" indicates the execution of application code, and "params":{"appCode":"{{app code}}","args":["arg1"...]} indicates the elements involved in the execution of application code and contains all key information about the element layout, including layout positions and relationships, element attributes and corresponding events, and element style information.

[0104] 507: The JS engine of the mobile phone 200 executes the JS Framework and App Code in the application operation interface initialization request, and generates rendering result information for displaying the initialization operation interface of the application.

[0105] It is understood that the rendering result information includes interface element information, interface element layout information, and interface element layout style information. The interface element information includes code representing one or more interface elements, specifically, codes representing one or more of a window, dialog box, menu, scroll bar, graphic, text, image, control, etc.

[0106] The layout information of interface elements may include codes representing the relative positions between interface elements, and the layout style information of interface elements may include codes representing attribute value information such as the content of interface elements (text, pictures, controls, etc.), color, size, display style of interface elements (static display of interface elements, etc.), and display style of the content of interface elements (font, etc.).

[0107] It can be understood that the operation interface can also be called the software interface (User Interface, UI).

[0108] It is understandable that the mobile phone 200 can run a JS Framework (Javascript framework) and call rendering result information for displaying the initialization operation interface of the application under the JS Framework.

[0109] It is understood that the rendering result information can be rendering instruction information encapsulated in JSON

[0110] 508 : The JS engine of the mobile phone 200 sends rendering result information to the native layer of the vehicle computer 100 through the JS proxy layer of the vehicle computer 100 and the remote service of the mobile phone 200 .

[0111] 509: The native layer of the vehicle computer 100 displays the initialization operation interface of the application according to the rendering result information.

[0112] It is understood that in some embodiments, the vehicle computer 100 uses the application engine of the installation application to which the free-to-install application is attached to display the application's initialization operation interface on the vehicle computer 100 based on the rendering result information. For example, the audiobook application is an installation-free application opened in the WeChat application. The application engine of the installation application to which the audiobook application is attached is the WeChat engine. The vehicle computer 100 uses the WeChat engine to display the application's initialization operation interface on the vehicle computer 100 based on the rendering result information.

[0113] In some embodiments, the native layer of the vehicle computer 100 executes the Render Page program according to the rendering result information to display the initialization operation interface of the application.

[0114] For example, Figure 6C As shown, the initialization operation interface 3 of the audiobook application is displayed. The initialization operation interface 3 of the audiobook application includes a "category" control 31, a "search" dialog box 32, a "home" control 33, a "my" control 34, a function area 35, a function area 36 and a function area 37.

[0115] The rendering result information corresponding to the initialization operation interface 3 of the audiobook application includes codes corresponding to multiple interface elements, such as the "Category" control 31, the "Search" dialog box 32, the "Home" control 33, the "My" control 34, the function area 35, the function area 36, ​​and the function area 37; as well as code information representing the display content, display size, display content size, display position, display content position, display color, display content color, display style, and content display method of the "Category" control 31, the "Search" dialog box 32, the "Home" control 33, the "My" control 34, the function area 35, the function area 36, ​​and the function area 37. In this way, the vehicle computer 100 can display the initialization operation interface 3 of the audiobook application by running this code.

[0116] The rendering result information corresponding to the initialization operation interface 3 of the audiobook application includes codes corresponding to multiple interface elements, such as the "Category" control 31, the "Search" dialog box 32, the "Home" control 33, the "My" control 34, the function area 35, the function area 36, ​​and the function area 37; as well as code information representing the display content, display size, display content size, display position, display content position, display color, display content color, display style, and content display method of the "Category" control 31, the "Search" dialog box 32, the "Home" control 33, the "My" control 34, the function area 35, the function area 36, ​​and the function area 37. In this way, the vehicle computer 100 can display the initialization operation interface 3 of the audiobook application by running this code.

[0117] Taking the rendering result information representing the “My” control 34 as an example, the rendering result information of the “My” control 34 includes the display size, display position, display color of the image and text, and the display font of the text.

[0118] 510: The native layer of the vehicle computer 100 detects a user operation to change the current display interface of the application and generates an operation interface change event processing request. The operation interface change event processing request is used to obtain rendering result information for displaying the changed application operation interface from the mobile phone 200.

[0119] For example, Figure 6C As shown, the initialization interface 3 of the audiobook application is displayed. This initialization interface 3 includes a "Category" control 31, which triggers the user interface for categorizing book types based on user input. When a user clicks "Category" control 31, the JS proxy layer detects the user's change to the currently displayed interface and generates a category interface change event processing request.

[0120] 511: The native layer of the vehicle computer 100 sends an operation interface change event processing request to the JS engine of the mobile phone 200 through the JS proxy layer of the vehicle computer 100 and the remote service of the mobile phone 200.

[0121] 512: The JS engine of the mobile phone 200 generates rendering result information according to the operation interface change event processing request. The rendering result information is used to display the operation interface of the current application after the operation interface is changed.

[0122] It is understood that the rendering result information includes interface element information, interface element layout information, and interface element layout style information. The interface element information includes code representing one or more interface elements, specifically, codes representing one or more of a window, dialog box, menu, scroll bar, graphic, text, image, control, etc.

[0123] The layout information of the interface elements may include codes indicating the relative positions of the interface elements, and the layout style information of the interface elements may include codes indicating the attribute value information such as the content (text, pictures, controls, etc.), color, size, etc. of the interface elements.

[0124] It can be understood that the operation interface can also be called the software interface (User Interface, UI).

[0125] It is understood that mobile phone 200 can run the JS Framework (Javascript framework) and call the rendering result information used to render the initialization operation interface of the application within the JS Framework. That is, the vehicle computer 100 sends the JS Framework and APP Code files required for execution to the mobile phone 200, which then parses the program files. Mobile phone 200 then starts the execution environment, loads the JS Framework, executes the program's JS files, calculates the layout code of the operation interface, and generates a DOM tree. The rendering result (DOM tree) is then sent.

[0126] For example, the rendering result information used to display the changed operation interface of the application program may be rendering instruction information encapsulated in JSON.

[0127] 513: The JS engine of the mobile phone 200 sends rendering result information to the native layer of the vehicle computer 100 through the JS proxy layer of the vehicle computer 100 and the remote service of the mobile phone 200.

[0128] 514 : The native layer of the vehicle computer 100 displays the changed operation interface of the current application program according to the rendering result information.

[0129] For example, Figure 6D As shown, after the user clicks the "Classification" control 31, the vehicle computer 100 displays the operation interface 4 in which the book types have been divided, so that the user can quickly find the book he wants to open.

[0130] The operation interface 4 , which has been divided into book types, includes a “search” dialog box 41 , a “return” control 42 , a book type menu 43 and a book display area 44 .

[0131] The rendering result information of the operation interface 4 that has been divided into book categories includes codes corresponding to multiple interface elements, such as codes corresponding to the "Search" dialog box 41, the "Return" control 42, the book category menu 43, and the book display area 44; as well as code information representing the display content, display size, display content size, display position, display content position, display color, display content color, display style, and display method of the "Search" dialog box 41, the "Return" control 42, the book category menu 43, and the book display area 44. In this way, the vehicle computer 100 can run this code to display the operation interface 4 that has been divided into book categories.

[0132] The technical effect of the embodiment of the present application is: with respect to the existing remote desktop technology, instruction stream transmission is adopted instead of directly transmitting pictures or videos, thereby reducing network consumption.

[0133] To address the high network resource usage associated with remote applications such as video and image streaming, the JS processing module is separated from the application rendering portion, placed on a device with strong computing power, and communicated via a network instruction stream. This instruction stream reduces network usage, enabling local rendering on other devices (such as mobile phone 200), thereby lowering the system's bandwidth requirements.

[0134] For the installation-free application technology, the JS engine and the client are decoupled, and the JS processing is placed on a node with stronger computing power to speed up the processing speed; the client (such as the car computer 100) is connected to the remote JS engine through a network bridge to reduce memory and CPU consumption. Weak processor devices (such as the car computer 100) can use the remote JS processing capabilities to improve application logic processing capabilities, reduce memory and CPU consumption, and thus improve user experience.

[0135] To address the issue of engine runtime consuming more memory on storage-sensitive devices, such as watches, an external device (e.g., mobile phone 200) is used to locally store the JS Framework and dynamically load the App Code. This eliminates the need for the client (vehicle computer 100) to locally store and manage the App Code and JS Framework, reducing storage space consumption.

[0136] Example 2

[0137] Different from the first embodiment, the mobile phone 20 does not need to save the JS Framework and App Code, which saves storage space and does not require version management of the App Code. Instead, the car sends the App ID of the free application to be opened to the mobile phone 200, and the mobile phone 200 downloads the App Code from the application store (Application, App Stroe), that is, obtains the App Code from the application server. The mobile phone 200 saves the JS Framework and the downloaded App Code, Figure 7 According to some embodiments of the present application, based on Figure 4 The software architecture in FIG. 1 shows a flow chart of another method for processing an installation-free application applicable to the present application.

[0138] like Figure 7 and Figure 5 As shown, Figure 7 Steps 706 to 707 in the embodiment are different from steps 506 and 507 in the embodiment 1. The other steps in the embodiment 2 are the same as those in the embodiment 1 in terms of technical means, and are not described again here.

[0139] 706: The native layer of the vehicle computer 100 sends an application interface initialization request to the JS engine of the mobile phone 200 through the JS proxy layer of the vehicle computer 100 and the remote service of the mobile phone 200. The application interface initialization request is used to obtain rendering result information for displaying the application initialization interface from the mobile phone 200, and the application interface initialization request carries the App ID.

[0140] It can be understood that the application operation interface initialization request carries the App ID, so that the mobile phone 200 can obtain the JS Framework and App Code of the application according to the AppID.

[0141] 707: The JS engine of mobile phone 200 retrieves the application's JS Framework and App Code from the application server based on the App ID in the application interface initialization request. It then executes the JS Framework and App Code to generate rendering information, which is used to display the application's initialization interface. Mobile phone 200 can run the JS Framework (JavaScript framework) and invoke the code within the JS Framework to render (display) the application's initialization interface.

[0142] For example, the rendering result information may be rendering instruction information encapsulated in JSON, such as Call NativeRender Dom Tree.

[0143] The technical effects of the second embodiment are as follows:

[0144] By implementing cloud computing and local rendering through instruction streams, the system reduces the network bandwidth requirements. Devices with weak processors (such as the vehicle computer 100) can leverage remote JS processing capabilities to improve application logic processing capabilities, reduce memory and CPU consumption, and thus enhance the user experience.

[0145] The client does not need to manage application executable files and can load the latest version in real time through the APP ID, eliminating the need for local version management.

[0146] Figure 8 According to some embodiments of the present application, a structural schematic diagram of a vehicle computer 100 applicable to an embodiment of the present application is shown.

[0147] like Figure 8 FIG2 is a schematic diagram of the structure of a vehicle computer 100 disclosed in an embodiment of the present application. The vehicle computer 100 may include a communication module 101, a processor 102, a memory 103, a display screen 104, an audio module 105, and a power module 106.

[0148] It should be understood that the structure illustrated in the embodiments of the present invention does not constitute a specific limitation on the vehicle computer 100. In other embodiments of the present application, the vehicle computer 100 may include more or fewer components than illustrated, or may combine or separate certain components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0149] The communication module 101 may include an antenna, and realize the transmission and reception of electromagnetic waves via the antenna. The wireless communication module 101 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), 2G / 3G / 4G / 5G and subsequent wireless standard protocols for application on the vehicle computer 100. The vehicle computer 100 can communicate with the network and other devices through wireless communication technology. In the embodiment of the present application, the vehicle computer 100 can communicate with the mobile phone 200 through the communication module 101.

[0150] The processor 102 may include one or more processing units, for example, a processing module or processing circuit such as a CPU, an ISP, a graphics processing unit (GPU), a DSP, a microprocessor (MCU), an artificial intelligence (AI) processor, or a programmable logic device (FPGA). Different processing units may be independent devices or integrated into one or more processors. A storage unit may be provided in the processor 102 for storing instructions and data. The processor 102 may execute the method for processing the installation-free application implemented in the present application.

[0151] The memory 103 is used to store instructions and data. In the embodiment of the present application, it can store video data, audio data, application programs, operating systems, etc.

[0152] The display screen 104 is used to display human-computer interaction interfaces, images, videos, etc. The display screen 104 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), MiniLED, MicroLED, MicroOLED, a quantum dot light-emitting diode (QLED), etc. In the embodiment of the present application, the vehicle computer 100 can display the display interface of the installation-free application based on the rendering result information obtained from the mobile phone 200.

[0153] The audio module 105 is used to convert digital audio information into analog audio signal output, or convert analog audio input into digital audio signal. The audio module 105 can also be used to encode and decode audio signals. In some embodiments, the audio module 105 can be arranged in the processor 102, or some functional modules of the audio module 105 can be arranged in the processor 102. In some embodiments, the audio module 105 can include a speaker, an earpiece, a microphone, and a headphone jack.

[0154] The power module 106 may include a power supply, a power management component, and the like. The power supply may be a battery. The power management component manages the charging of the power supply and the supply of power to other modules. In some embodiments, the power management component includes a charging management module and a power management module. The charging management module receives charging input from a charger; the power management module connects the power supply, the charging management module, and the processor 102. The power management module receives input from the power supply and / or the charging management module to power the processor 102, the display 104, and the communication module 101.

[0155] Figure 9 According to some embodiments of the present application, a structural diagram of a mobile phone 200 applicable to an embodiment of the present application is shown.

[0156] like Figure 9 As shown, the mobile phone 200 may include a processor 120, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, a button 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295 and an eSIM card 296, etc. The sensor module 280 may include a pressure sensor 280A, a gyroscope sensor 280B, an air pressure sensor 280C, a magnetic sensor 280D, an acceleration sensor 280E, a distance sensor 280F, a proximity light sensor 280G, a fingerprint sensor 280H, a temperature sensor 280J, a touch sensor 280K, an ambient light sensor 280L, a bone conduction sensor 280M, etc.

[0157] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the mobile phone 200. In other embodiments of the present application, the mobile phone 200 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The components shown in the illustrations may be implemented in hardware, software, or a combination of software and hardware.

[0158] The processor 120 may include one or more processing units. For example, the processor 120 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors.

[0159] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0160] Processor 120 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 120 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 120. If processor 120 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 120 latency, and thus improves system efficiency.

[0161] The wireless communication function of the mobile phone 200 can be implemented through the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, the modem processor, and the baseband processor. In the embodiment of the present application, the mobile phone 200 can interact with the vehicle computer 100 through these modules and obtain operation instructions related to the installation-free application from the vehicle computer 100.

[0162] Mobile phone 200 implements display functionality through a GPU, display screen 294, and an application processor. The GPU is a microprocessor for image processing that connects display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 120 may include one or more GPUs that execute program instructions to generate or modify display information.

[0163] The display screen 294 is used to display images, videos, etc. The display screen 294 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a MicroOLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the mobile phone 200 may include 1 or N display screens 294, where N is a positive integer greater than 1. In the embodiment of the present application, the video can be displayed based on the video data obtained from the vehicle computer 100.

[0164] The mobile phone 200 can realize the shooting function through the ISP, the camera 293, the video codec, the GPU, the display screen 294 and the application processor.

[0165] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone 200. The external memory card communicates with the processor 120 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.

[0166] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. The program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the mobile phone 200 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 120 executes various functional applications and data processing of the mobile phone 200 by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor.

[0167] SIM card interface 295 is used to connect a SIM card. A SIM card can be connected to and disconnected from mobile phone 200 by inserting or removing it from SIM card interface 295. Mobile phone 200 may support one or N SIM card interfaces, where N is a positive integer greater than 1. SIM card interface 295 may support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 295 simultaneously. These cards can be of the same or different types. SIM card interface 295 is also compatible with different types of SIM cards. SIM card interface 295 is also compatible with external memory cards.

[0168] In some embodiments, mobile phone 200 further includes an eSIM card 296, i.e., an embedded SIM card. The eSIM card 296 can be embedded in mobile phone 200 and cannot be separated from the mobile phone 200. The eSIM card 296 can be integrated into the mobile phone's SOC (system on chip), modem chip, or near field communication (NFC) chip, although this embodiment of the present application does not impose any limitations on this.

[0169] The software system of the mobile phone 200 can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present application, the Android system with a layered architecture is used as an example to illustrate the software structure of the mobile phone 200.

[0170] Figure 10 This is an embodiment of the present application, showing a software structure block diagram of a mobile phone 100 or a car computer 100.

[0171] A layered architecture divides software into several layers, each with distinct roles and responsibilities. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers: from top to bottom: the application layer, the application framework layer, the Android runtime and system libraries (which can also be the hardware abstraction layer), and the kernel layer.

[0172] The application layer can include a series of application packages. Figure 10 As shown, the application package can include applications such as shopping, news, camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and short messaging. The application framework layer provides application programming interfaces (APIs) and programming frameworks for applications in the application layer. The application framework layer includes some predefined code.

[0173] like Figure 10 As shown, the application framework layer may include a window manager, a page provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0174] The view system includes visual controls, such as those for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views. For example, a display interface containing a text notification icon might include a view for displaying text and a view for displaying images.

[0175] The Notification Manager allows applications to display notifications in the status bar. These messages can be displayed briefly and then disappear automatically without user interaction. For example, the Notification Manager is used to notify users of completed downloads and message reminders. The Notification Manager can also display notifications in the top status bar of the system as icons or scrolling text, such as notifications from background applications, or as dialog windows on the screen. Examples include text messages in the status bar, beeps, vibrations on electronic devices, and flashing indicator lights.

[0176] Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.

[0177] The core library consists of two parts: one is the function code that needs to be called by the Java language, and the other is the Android core library.

[0178] The application layer and application framework layer run in a virtual machine. The virtual machine executes Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.

[0179] The system library can include multiple functional modules, such as the virtual camera module, surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0180] The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver, and sensor driver.

[0181] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, the instructions may be distributed over a network or through other computer-readable media. Therefore, a machine-readable medium may include any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer), including but not limited to floppy disks, optical disks, optical discs, read-only memories (CD-ROMs), magneto-optical disks, read-only memories (ROMs), random access memories (RAMs), erasable programmable read-only memories (EPROMs), electrically erasable programmable read-only memories (EEPROMs), magnetic or optical cards, flash memory, or a tangible machine-readable memory for transmitting information (e.g., carrier waves, infrared signals, digital signals, etc.) using the Internet in electrical, optical, acoustic, or other forms of propagation signals. Therefore, a machine-readable medium includes any type of machine-readable medium suitable for storing or transmitting electronic instructions or information in a form readable by a machine (e.g., a computer).

[0182] Although the present application has been illustrated and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present application.

Claims

1. A method for processing an installation-free application, characterized in that: include: The first terminal device sends an operation instruction for the installation-free application to the second terminal device; The second terminal device receives the operation instruction, executes the operation instruction by running the application code of the installation-free application, and sends rendering result information of the display interface of the installation-free application corresponding to the execution result to the first terminal device; The first terminal device displays a display interface of the free-to-install application corresponding to the execution result on the first terminal device according to the rendering result information; The computing capability of the second terminal device is greater than that of the first terminal device, the first terminal device includes a JS proxy layer and a native layer, and the second terminal device includes a remote service and a JS engine; the method further includes: The first terminal device sends an operation instruction for the installation-free application to the second terminal device through the JS proxy layer and the remote service; The second terminal device runs the application code of the free-installation application through the JS engine to execute the operation instruction, and sends rendering result information of the display interface of the free-installation application corresponding to the execution result to the first terminal device through the JS proxy layer and the remote service; The first terminal device displays the display interface of the installation-free application corresponding to the execution result on the first terminal device through the native layer according to the rendering result information.

2. The method according to claim 1, characterized in that The operation instruction includes a loading instruction for loading the installation-free application or an operation instruction for executing a preset function of the installation-free application.

3. The method according to claim 1, characterized in that The rendering result information includes interface element information, layout information of the interface elements, and layout style information of the interface elements.

4. The method according to claim 1, wherein The first terminal device is any one of a car computer, a television and a watch, and the second terminal device is any one of a mobile phone, a computer and a server.

5. The method according to claim 1, wherein The installation-free application includes a quick application.

6. The method according to claim 1, characterized in that The operation instruction includes the application code of the installation-free application; or The operation instruction includes identification information of the installation-free application, and the second terminal device obtains the application code of the installation-free application from the application server according to the identification information of the installation-free application.

7. The method according to claim 1, characterized in that The rendering result information is in JSON format.

8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores instructions, which are executed on a terminal device to implement the method for processing an installation-free application according to any one of claims 1 to 7.

9. A terminal device comprising: memory for storing instructions, and A processor, configured to execute the instructions to implement the method for processing an installation-free application executed by the first terminal device or the second terminal device according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method, apparatus, storage medium and electronic device for displaying application page

    CN109388453A

  • Page rendering method and device and electronic equipment

    CN112114808A