Application program running method and system based on cloud application instance and electronic equipment
Through the communication connection between the in-vehicle terminal and the cloud application instance, the application page video stream is converted and sent, which solves the problem of mobile phone screen projection being unable to run large applications, realizes the efficient running of large applications in the car, and improves the in-car experience and reduce security risks.
Patent Information
- Application Number
- CN202310323487.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-29
- Publication Date
- 2024-10-01
AI Technical Summary
In the existing technology, large-scale applications cannot be run when the mobile phone screen is projected onto the vehicle, and there are security risks and compatibility issues in the rear-mounted vehicle.
By establishing a communication connection with the vehicle-mounted terminal, the application page video stream of the target cloud application is converted and processed, and sent to the vehicle-mounted terminal, so that the cloud application can be displayed and operated on the vehicle-mounted terminal and run using the performance advantages of the cloud system. Large applications.
It enables running large-scale applications in the car, improving the playability and experience in the car, while avoiding the safety risks and compatibility issues of after-loading machines.
Smart Images

Figure CN118740808A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a method, system and electronic device for running an application based on a cloud application instance. Background Art
[0002] With the continuous improvement of economic level, the application scope of vehicles is becoming more and more extensive, and the functions of vehicles are also increasing.
[0003] At present, by projecting the screen of a mobile phone to the car computer, the software ecology and computing performance of the mobile phone can be used to make up for the insufficient performance of the car computer, which can improve the performance of the car computer to a certain extent. However, the functions of projecting the screen of a mobile phone to the car computer are limited. Not all programs can be projected to the car computer and run. Secondly, there are compatibility issues. Therefore, projecting the screen of a mobile phone to the car computer can achieve certain effects to expand the performance of the car computer, but there are also relatively large shortcomings. For example, if you need to use a software program in the Windows system, you cannot run large PC applications when projecting an Andriod or IOS platform mobile phone to the car computer.
[0004] The way to upgrade and expand the performance of local car machines by aftermarket car machines is first of all high cost and potential safety risks. There is a great deal of uncertainty about the compatibility of third-party aftermarket car machines with the original car, and it will damage the design of the original car. Therefore, aftermarket car machines have relatively large safety issues. Summary of the invention
[0005] The embodiments of the present application provide an application running method, system and electronic device based on a cloud application instance to solve the problem that the screen projection method in the prior art cannot run large applications and that there is a relatively large security risk in the after-sales vehicle machine.
[0006] In order to solve the above technical problems, the embodiments of the present application are implemented as follows:
[0007] In a first aspect, an embodiment of the present application provides an application running method based on a cloud application instance, which is applied to a cloud application instance, and the method comprises the following steps:
[0008] Establishing a communication connection with the vehicle-mounted terminal;
[0009] Convert the application page corresponding to the target cloud application to generate an application page video stream;
[0010] The application page video stream is sent to the vehicle-mounted terminal to display the application page of the target cloud application on the terminal screen of the vehicle-mounted terminal.
[0011] Optionally, the establishing of a communication connection with the comprises the following steps:
[0012] Based on the web real-time communication protocol, a communication connection is established with the vehicle-mounted terminal.
[0013] Optionally, sending the application page video stream to the vehicle-mounted terminal comprises the following steps:
[0014] Compressing the application page video stream to generate a compressed video stream;
[0015] The compressed video stream is sent to the vehicle-mounted terminal.
[0016] Optionally, after sending the application page video stream to the vehicle terminal to display the application page of the target cloud application on the terminal screen of the vehicle terminal, the following steps are further included:
[0017] In response to a touch operation of the vehicle-mounted terminal on an application page of the target cloud application, executing a touch event corresponding to the touch operation on the target cloud application according to coordinate information corresponding to the touch operation;
[0018] In response to the touch event, determining a target application page corresponding to the target cloud application;
[0019] Converting the target application page to generate a target page video stream;
[0020] The target page video stream is sent to the vehicle-mounted terminal to display the target application page on the terminal screen.
[0021] In a second aspect, an embodiment of the present application provides an application running method based on a cloud application instance, which is applied to a vehicle-mounted terminal, and the method comprises the following steps:
[0022] Establish a communication connection with the cloud application instance;
[0023] Obtaining an application page video stream of an application page corresponding to a target cloud application program sent by the cloud application instance;
[0024] The application page is displayed on a terminal screen according to the application page video stream.
[0025] Optionally, establishing a communication connection with the cloud application instance comprises the following steps:
[0026] In response to receiving a click operation on an application icon corresponding to the cloud application instance, acquiring instance connection information of the cloud application instance;
[0027] Generate a cloud application connection request according to the instance connection information;
[0028] In response to receiving a response message to the cloud application connection request returned by the cloud application instance, a communication connection with the cloud application instance is established.
[0029] Optionally, after displaying the application page on the terminal screen according to the application page video stream, the following steps are further included:
[0030] In response to receiving a touch operation on an application page of the target cloud application, acquiring coordinate information corresponding to the touch operation;
[0031] Sending the coordinate information to the cloud application instance, so that the cloud application instance executes a touch event corresponding to the touch operation on the target cloud application according to the coordinate information, and determines a target application page corresponding to the target cloud application according to the touch event;
[0032] Receiving a target page video stream corresponding to the target application page sent by the cloud application instance;
[0033] The target application page is displayed on the terminal screen according to the target page video stream.
[0034] In a third aspect, an embodiment of the present application provides an application program running system based on a cloud application instance, the system comprising: a cloud application instance and a vehicle-mounted terminal,
[0035] The cloud application instance establishes a communication connection with the vehicle terminal; converts the application page corresponding to the target cloud application to generate an application page video stream; and sends the application page video stream to the vehicle terminal;
[0036] The vehicle-mounted terminal obtains an application page video stream of an application page corresponding to a target cloud application program sent by the cloud application instance; and displays the application page on a terminal screen according to the application page video stream.
[0037] In a fourth aspect, an embodiment of the present application provides an electronic device, including:
[0038] A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements any of the above-mentioned methods for running an application based on a cloud application instance.
[0039] In a fifth aspect, an embodiment of the present application provides a readable storage medium. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any of the above-mentioned cloud application instance-based application running methods.
[0040] In the embodiment of the present application, by establishing a communication connection with the vehicle terminal, the application page corresponding to the target cloud application is converted and processed, an application page video stream is generated, and the application page video stream is sent to the vehicle terminal to display the application page of the target cloud application on the terminal screen of the vehicle terminal. The embodiment of the present application connects the vehicle end to the cloud system to give full play to the performance advantages of the cloud system, so that large applications can be run on the vehicle end, so that the in-vehicle space has better playability and experience.
[0041] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0043] Figure 1 A flowchart of a method for running an application based on a cloud application instance provided in an embodiment of the present application;
[0044] Figure 2 A flowchart of a method for establishing a communication connection provided in an embodiment of the present application;
[0045] Figure 3 A flowchart of a method for sending a compressed video stream provided in an embodiment of the present application;
[0046] Figure 4 A flowchart of a method for displaying a target application page provided in an embodiment of the present application;
[0047] Figure 5 A flowchart of another method for running an application based on a cloud application instance provided in an embodiment of the present application;
[0048] Figure 6 A flowchart of another method for establishing a communication connection provided in an embodiment of the present application;
[0049] Figure 7 A flowchart of another method for displaying a target application page provided in an embodiment of the present application;
[0050] Figure 8An architecture diagram of a vehicle machine using a cloud application provided in an embodiment of the present application;
[0051] Fig. 9 A schematic diagram of the structure of an application program running system based on a cloud application instance provided in an embodiment of the present application;
[0052] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0053] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0054] Embodiment 1
[0055] Reference Figure 1 , shows a flowchart of the steps of a method for running an application based on a cloud application instance provided by an embodiment of the present application, and the method for running an application based on a cloud application instance can be applied to a cloud application instance. Figure 1 As shown, the application program running method based on the cloud application instance may include the following steps:
[0056] Step 101: Establish a communication connection with a vehicle-mounted terminal.
[0057] The embodiments of the present application can be applied to the scenario of running an application on the vehicle terminal through the interaction between the cloud application instance and the vehicle terminal.
[0058] The embodiments of the present application can be applied to a cloud application instance, that is, the execution subject is a cloud application instance.
[0059] Cloud application instance: A container, virtual machine or bare metal server with a mobile phone operating system and virtual mobile phone functions that is virtualized in a physical server. Its essence is to transfer the application on the mobile phone to the container, virtual machine or bare metal server on the public cloud for operation. Different cloud application instances are isolated from each other and do not interfere with each other. Cloud application instances can install local mobile phone applications, which run in the cloud application instances. The audio and video streams generated during the operation can be sent to the user's local terminal device for display and playback. The control commands generated by the user's local terminal device based on the displayed and played audio and video streams can also be sent to the cloud application instance. The cloud application instance controls the running status of the application based on the control commands, thereby transferring the local mobile phone application to the cloud application instance for operation. The user's local terminal device does not need to install a large number of applications that consume hardware resources, which can achieve lightweight applications.
[0060] When running an application on a vehicle terminal through the interaction between the cloud application instance and the vehicle terminal, a communication connection with the vehicle terminal can be established first. Specifically, the cloud application instance can establish a communication connection with the vehicle terminal based on a web real-time communication protocol. The specific implementation process can be combined with Figure 2 This is described in detail as follows.
[0061] Reference Figure 2 , shows a flow chart of the steps of a method for establishing a communication connection provided by an embodiment of the present application. Figure 2 As shown, the communication connection establishment method may include: step 201.
[0062] Step 201: Establishing a communication connection with the vehicle-mounted terminal based on a web real-time communication protocol.
[0063] In this embodiment, the Web Real-Time Communication protocol (webrtc) is an open source communication protocol from Google, which is mainly used for end-to-end real-time communication.
[0064] When running an application on the vehicle terminal through the interaction between the cloud application instance and the vehicle terminal, a communication connection with the vehicle terminal can be established based on the real-time communication protocol of the web page. In the specific implementation process, the user on the vehicle terminal side clicks the button program icon of the cloud application (such as a game application, etc.) on the screen of the vehicle terminal to start preparing to connect to the cloud application instance. Furthermore, the vehicle terminal can obtain the connection information of the cloud application instance from the cloud application management platform (wherein the connection information may include: the domain name of the cloud application instance, connection protocol, access port number, etc.). After the vehicle terminal obtains the connection information of the cloud application instance, it can initiate a connection request to the cloud application instance. After the cloud application instance receives the request, it can establish a communication connection with the vehicle terminal based on the real-time communication protocol of the web page. Figure 8 As shown, there can be multiple cloud application instances corresponding to multiple software (i.e., cloud applications) in the cloud car machine, that is, the game App in the figure corresponds to a cloud application instance, the audio and video App corresponds to a cloud application instance, and so on. The cloud application instance can establish a communication connection with the cloud car machine interaction module of the vehicle terminal through the webrtc protocol to realize the communication between the cloud application instance and the vehicle terminal.
[0065] After establishing a communication connection with the vehicle-mounted terminal, step 102 is executed.
[0066] Step 102: convert the application page corresponding to the target cloud application to generate an application page video stream.
[0067] The target cloud application refers to the application corresponding to the cloud application instance. In this example, the target cloud application can be a game type application, a video type application, etc.
[0068] It can be understood that each cloud application corresponds to a cloud application instance. In a specific implementation, the user can first select the target cloud application on the vehicle terminal screen, and then establish a communication connection between the cloud application instance corresponding to the target cloud application and the vehicle terminal.
[0069] After establishing a communication connection with the vehicle terminal, the application page corresponding to the target cloud application can be converted to generate an application page video stream. Specifically, the cloud application instance can convert the home page of the target cloud application to generate an application page video stream.
[0070] After converting the application page corresponding to the target cloud application to generate the application page video stream, execute step 103.
[0071] Step 103: Send the application page video stream to the vehicle-mounted terminal to display the application page of the target cloud application on the terminal screen of the vehicle-mounted terminal.
[0072] After converting the application page corresponding to the target cloud application to generate an application page video stream, the application page video stream can be sent to the vehicle terminal to display the application page of the target cloud application on the terminal screen of the vehicle terminal, thereby achieving the purpose of running the target cloud application on the vehicle terminal through the cloud application instance.
[0073] The embodiment of the present application connects the vehicle side to the cloud system to give full play to the performance advantages of the cloud system, thereby running large applications on the vehicle side and providing better playability and experience for the in-vehicle space.
[0074] In this embodiment, before the cloud application instance sends the application page video stream to the vehicle terminal, the application page video stream can also be compressed, and the video stream can be sent after the compression is completed. Figure 3 This is described in detail as follows.
[0075] Reference Figure 3 , shows a flowchart of the steps of a method for sending a compressed video stream provided by an embodiment of the present application. Figure 3 As shown, the compressed video stream sending method may include: step 301 and step 302.
[0076] Step 301: compress the application page video stream to generate a compressed video stream.
[0077] In this embodiment, after converting the application page corresponding to the target cloud application to generate the application page video stream, the application page video stream can be compressed to generate a compressed video stream. In a specific implementation, the application page video stream can be compressed using H.264 encoding compression and other methods to obtain a compressed video stream. The compression method of the video stream can be determined according to business needs, and this embodiment does not limit this.
[0078] After compressing the application page video stream to generate a compressed video stream, step 302 is executed.
[0079] Step 302: Send the compressed video stream to the vehicle-mounted terminal.
[0080] After compressing the application page video stream to generate a compressed video stream, the compressed video stream can be sent to the vehicle terminal, so that the vehicle terminal can decompress the compressed video stream. Then, the decoded video stream can be displayed in the area specified by the vehicle terminal (for example: full-screen display of the local vehicle machine, or half-screen display, etc.).
[0081] The embodiment of the present application compresses the application page video stream, thereby reducing the amount of video stream sent and improving the efficiency of video stream sending.
[0082] In this embodiment, after the homepage of the target cloud application is displayed on the terminal screen of the vehicle terminal, the cloud application instance can perform corresponding operations according to the operation on the vehicle terminal side and send the page video stream after the operation to the vehicle terminal. Figure 4 This is described in detail as follows.
[0083] Reference Figure 4 , shows a flowchart of the steps of a method for displaying a target application page provided by an embodiment of the present application. Figure 4 As shown, the target application page display method may include: step 401, step 402, step 403 and step 404.
[0084] Step 401: In response to a touch operation of the vehicle-mounted terminal on an application page of the target cloud application, a touch event corresponding to the touch operation is executed on the target cloud application according to coordinate information corresponding to the touch operation.
[0085] In this embodiment, after the application page of the target cloud application is displayed on the terminal screen of the vehicle terminal, the user on the vehicle terminal side can perform a touch operation on the application page. After the user performs a touch operation on the application page, the vehicle terminal can send the touch operation and the coordinate information corresponding to the touch operation to the cloud application instance.
[0086] After the cloud application instance receives the touch operation and the coordinate information corresponding to the touch operation sent by the vehicle terminal, it can respond to the touch operation of the vehicle terminal on the application page of the target cloud application, and execute the touch event corresponding to the touch operation on the target cloud application according to the coordinate information corresponding to the touch operation. For example, when the user clicks the display area of the cloud application instance on the vehicle A, the vehicle A sends the coordinate position of the clicked screen (the position of the touch point relative to the display area of the cloud application) to the cloud application instance through the data data transmission channel of the webrtc protocol. After the cloud application instance receives the touch coordinate information sent by the vehicle A, it inputs the touch input information to the system on the cloud application instance. The system on the cloud application instance parses the touch coordinate position, triggers the click event of the corresponding position, and completes the vehicle-side operation of the target of the application on the cloud application instance.
[0087] It can be understood that the above examples are merely examples listed for a better understanding of the technical solutions of the embodiments of the present application, and are not intended to be the sole limitation to the embodiments.
[0088] After executing the touch event corresponding to the touch operation on the target cloud application according to the coordinate information corresponding to the touch operation, execute step 402.
[0089] Step 402: In response to the touch event, determine a target application page corresponding to the target cloud application.
[0090] The target application page refers to the page to which the target cloud application jumps after a touch event is performed on the target cloud application.
[0091] After a touch event corresponding to the touch operation is executed on the target cloud application according to the coordinate information corresponding to the touch operation, a target application page corresponding to the target cloud application can be determined in response to the touch event.
[0092] After determining the target application page corresponding to the target cloud application, execute step 403.
[0093] Step 403: convert the target application page to generate a target page video stream.
[0094] After the target application page corresponding to the target cloud application is determined, the target application page may be converted to generate a target page video stream corresponding to the target application page.
[0095] After the target application page is converted to generate the target page video stream, step 404 is executed.
[0096] Step 404: Send the target page video stream to the vehicle-mounted terminal to display the target application page on the terminal screen.
[0097] After the target application page is converted and processed to generate the target page video stream, the target page video stream can be sent to the vehicle terminal to display the target application page on the terminal screen. Specifically, the cloud application instance can send the target page video stream to the target application page through the audio and video stream channel established by the webrtc protocol.
[0098] The application running method based on the cloud application instance provided in the embodiment of the present application establishes a communication connection with the vehicle terminal, converts the application page corresponding to the target cloud application, generates an application page video stream, and sends the application page video stream to the vehicle terminal to display the application page of the target cloud application on the terminal screen of the vehicle terminal. The embodiment of the present application connects the vehicle end to the cloud system to give full play to the performance advantages of the cloud system, so as to realize the purpose of running large applications on the vehicle end and making the in-vehicle space have better playability and experience.
[0099] Embodiment 2
[0100] Reference Figure 5 , shows a flowchart of another method for running an application based on a cloud application instance provided by an embodiment of the present application, which can be applied to a vehicle-mounted terminal. Figure 5 As shown, the application program running method based on the cloud application instance may include the following steps:
[0101] Step 501: Establish a communication connection with a cloud application instance.
[0102] The embodiments of the present application can be applied to the scenario of running an application on the vehicle terminal through the interaction between the cloud application instance and the vehicle terminal.
[0103] The embodiments of the present application can be applied to a vehicle-mounted terminal, that is, the execution subject is the vehicle-mounted terminal.
[0104] When running a cloud application on a vehicle terminal through a cloud application instance, a communication connection with the cloud application instance can be established. Figure 6 This is described in detail as follows.
[0105] Reference Figure 6 , shows a flowchart of another method for establishing a communication connection provided by an embodiment of the present application. Figure 6 As shown, the communication connection establishment method may include: step 601, step 602 and step 603.
[0106] Step 601: In response to receiving a click operation on an application icon corresponding to the cloud application instance, acquiring instance connection information of the cloud application instance.
[0107] In this embodiment, the application icon of the target cloud application can be displayed on the terminal screen of the vehicle terminal, and after the user clicks the application icon, the vehicle terminal can obtain the instance connection information of the cloud application instance. Specifically, the vehicle terminal can obtain the instance connection information of the cloud application instance from the cloud application management platform (the instance connection information may include: cloud application instance domain name, connection protocol, access port number, etc.).
[0108] After the instance connection information of the cloud application instance is obtained, step 602 is executed.
[0109] Step 602: Generate a cloud application connection request based on the instance connection information.
[0110] After the instance connection information of the cloud application instance is obtained, a cloud application connection request may be generated according to the instance connection information.
[0111] After generating a cloud application connection request according to the instance connection information, step 603 is executed.
[0112] Step 603: In response to receiving a response message to the cloud application connection request returned by the cloud application instance, establish a communication connection with the cloud application instance.
[0113] After generating a cloud application connection request according to the instance connection information, the cloud application connection request can be sent to the cloud application instance. When the cloud application instance accepts the connection request of the vehicle terminal, the cloud application instance can feed back a response message to the vehicle terminal.
[0114] After receiving a response message to the cloud application connection request returned by the cloud application instance, a communication connection with the cloud application instance may be established.
[0115] After establishing a communication connection with the cloud application instance, step 502 is executed.
[0116] Step 502: Obtain an application page video stream of an application page corresponding to a target cloud application program sent by the cloud application instance.
[0117] After establishing a communication connection with the cloud application instance, an application page video stream of an application page corresponding to a target cloud application sent by the cloud application instance can be obtained. Specifically, the cloud application instance can perform video stream conversion on the home page of the target cloud application to generate an application page video stream, and then the cloud application instance can send the application page video stream of the application page corresponding to the target cloud application to the vehicle terminal.
[0118] After obtaining the application page video stream of the application page corresponding to the target cloud application program sent by the cloud application instance, step 503 is executed.
[0119] Step 503: Display the application page on the terminal screen according to the application page video stream.
[0120] After acquiring the application page video stream of the application page corresponding to the target cloud application sent by the cloud application instance, the application page corresponding to the target cloud application can be displayed on the terminal screen according to the application page video stream.
[0121] The embodiment of the present application connects the vehicle side to the cloud system to give full play to the performance advantages of the cloud system, thereby running large applications on the vehicle side and providing better playability and experience for the in-vehicle space.
[0122] In this embodiment, after the homepage of the target cloud application is displayed on the terminal screen of the vehicle terminal, the cloud application instance can perform corresponding operations according to the operation on the vehicle terminal side and send the page video stream after the operation to the vehicle terminal. Figure 7This is described in detail as follows.
[0123] Reference Figure 7 , shows a flowchart of another method for displaying a target application page provided by an embodiment of the present application. Figure 7 As shown, the target application page display method may include: step 701, step 702, step 703 and step 704.
[0124] Step 701: In response to receiving a touch operation on an application page of the target cloud application, obtaining coordinate information corresponding to the touch operation.
[0125] In this embodiment, after the application page is displayed on the terminal screen, the user can perform operations on the application page, such as closing, page jumping, etc.
[0126] After receiving a touch operation on the application page of the target cloud application, coordinate information corresponding to the touch operation may be acquired.
[0127] After the coordinate information corresponding to the touch operation is acquired, step 702 is executed.
[0128] Step 702: Send the coordinate information to the cloud application instance, so that the cloud application instance executes a touch event corresponding to the touch operation on the target cloud application according to the coordinate information, and determines a target application page corresponding to the target cloud application according to the touch event.
[0129] After obtaining the coordinate information corresponding to the touch operation, the coordinate information can be sent to the cloud application instance, so that the cloud application instance can execute the touch event corresponding to the touch operation on the target cloud application according to the coordinate information, and determine the target application page corresponding to the target cloud application according to the touch event.
[0130] Step 703: Receive a target page video stream corresponding to the target application page sent by the cloud application instance.
[0131] After the cloud application instance determines the target application page corresponding to the target cloud application, the cloud application instance can perform video stream conversion processing on the target application page to obtain a target page video stream corresponding to the target application page. Then, the cloud application instance can send the target page video stream to the vehicle terminal.
[0132] Furthermore, the vehicle-mounted terminal can receive the target page video stream corresponding to the target application page sent by the cloud application instance.
[0133] After receiving the target page video stream corresponding to the target application page sent by the cloud application instance, step 704 is executed.
[0134] Step 704: Display the target application page on the terminal screen according to the target page video stream.
[0135] After receiving the target page video stream corresponding to the target application page sent by the cloud application instance, the target application page can be displayed on the terminal screen according to the target page video stream.
[0136] The application running method based on the cloud application instance provided in the embodiment of the present application establishes a communication connection with the cloud application instance, obtains the application page video stream of the application page corresponding to the target cloud application sent by the cloud application instance, and displays the application page on the terminal screen according to the application page video stream. The embodiment of the present application connects the vehicle end to the cloud system to give full play to the performance advantages of the cloud system, so as to realize the purpose of running large applications on the vehicle end and making the interior space of the vehicle have better playability and experience.
[0137] Embodiment 3
[0138] Reference Fig. 9 , shows a schematic diagram of the structure of an application program running system based on a cloud application instance provided by an embodiment of the present application. Fig. 9 As shown, the application program running system 900 based on the cloud application instance may include: a cloud application instance 910 and a vehicle terminal 920 .
[0139] The cloud application instance 910 establishes a communication connection with the vehicle terminal 920; converts the application page corresponding to the target cloud application to generate an application page video stream; and sends the application page video stream to the vehicle terminal 920;
[0140] The vehicle-mounted terminal 920 obtains an application page video stream of an application page corresponding to a target cloud application program sent by the cloud application instance 910; and displays the application page on a terminal screen according to the application page video stream.
[0141] The application running system based on the cloud application instance provided in the embodiment of the present application establishes a communication connection with the vehicle terminal through the cloud application instance, converts the application page corresponding to the target cloud application, generates an application page video stream, and sends the application page video stream to the vehicle terminal. The application page video stream of the application page corresponding to the target cloud application sent by the cloud application instance is obtained through the vehicle terminal, and the application page is displayed on the terminal screen according to the application page video stream. The embodiment of the present application connects the vehicle end to the cloud system to give full play to the performance advantages of the cloud system, so as to realize the purpose of running large applications on the vehicle end and making the interior space have better playability and experience.
[0142] Embodiment 4
[0143] An embodiment of the present application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the above-mentioned method for running an application based on a cloud application instance when executed by the processor.
[0144] Fig.10 FIG. 1 is a schematic diagram showing the structure of an electronic device 1000 according to an embodiment of the present invention. Fig.10 As shown, the electronic device 1000 includes a central processing unit (CPU) 1001, which can perform various appropriate actions and processes according to computer program instructions stored in a read-only memory (ROM) 1002 or computer program instructions loaded from a storage unit 1008 to a random access memory (RAM) 1003. In the RAM 1003, various programs and data required for the operation of the electronic device 1000 can also be stored. The CPU 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.
[0145] Multiple components in the electronic device 1000 are connected to the I / O interface 1005, including: an input unit 1006, such as a keyboard, a mouse, a microphone, etc.; an output unit 1007, such as various types of displays, speakers, etc.; a storage unit 1008, such as a disk, an optical disk, etc.; and a communication unit 1009, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1009 allows the electronic device 1000 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0146] The various processes and processing described above may be performed by the processing unit 1001. For example, the method of any of the above embodiments may be implemented as a computer software program, which is tangibly contained in a computer-readable medium, such as the storage unit 1008. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 1000 via the ROM 1002 and / or the communication unit 1009. When the computer program is loaded into the RAM 1003 and executed by the CPU 1001, one or more actions in the method described above may be performed.
[0147] Embodiment 5
[0148] The embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, each process of the above-mentioned embodiment of the method for running an application based on a cloud application instance is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0149] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0150] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0151] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
[0152] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the present application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0153] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0154] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0155] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0156] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0157] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.
[0158] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for running an application based on a cloud application instance, applied to a cloud application instance, characterized in that: The method comprises the following steps: Establishing a communication connection with the vehicle-mounted terminal; Convert the application page corresponding to the target cloud application to generate an application page video stream; The application page video stream is sent to the vehicle-mounted terminal to display the application page of the target cloud application on the terminal screen of the vehicle-mounted terminal.
2. The method according to claim 1, wherein establishing a communication connection with the said device comprises the following steps: Based on the web real-time communication protocol, a communication connection is established with the vehicle-mounted terminal.
3. The method according to claim 1, wherein sending the application page video stream to the vehicle terminal comprises the following steps: Compressing the application page video stream to generate a compressed video stream; The compressed video stream is sent to the vehicle-mounted terminal.
4. The method according to claim 1, after sending the application page video stream to the vehicle terminal to display the application page of the target cloud application on the terminal screen of the vehicle terminal, further comprises the following steps: In response to a touch operation of the vehicle-mounted terminal on an application page of the target cloud application, executing a touch event corresponding to the touch operation on the target cloud application according to coordinate information corresponding to the touch operation; In response to the touch event, determining a target application page corresponding to the target cloud application; Converting the target application page to generate a target page video stream; The target page video stream is sent to the vehicle-mounted terminal to display the target application page on the terminal screen.
5. A method for running an application based on a cloud application instance, applied to a vehicle terminal, characterized in that: The method comprises the following steps: Establish a communication connection with the cloud application instance; Obtaining an application page video stream of an application page corresponding to a target cloud application program sent by the cloud application instance; The application page is displayed on a terminal screen according to the application page video stream.
6. The method according to claim 5, wherein establishing a communication connection with a cloud application instance comprises the following steps: In response to receiving a click operation on an application icon corresponding to the cloud application instance, acquiring instance connection information of the cloud application instance; Generate a cloud application connection request according to the instance connection information; In response to receiving a response message to the cloud application connection request returned by the cloud application instance, a communication connection with the cloud application instance is established.
7. The method according to claim 5, after displaying the application page on the terminal screen according to the application page video stream, further comprises the following steps: In response to receiving a touch operation on an application page of the target cloud application, acquiring coordinate information corresponding to the touch operation; Sending the coordinate information to the cloud application instance, so that the cloud application instance executes a touch event corresponding to the touch operation on the target cloud application according to the coordinate information, and determines a target application page corresponding to the target cloud application according to the touch event; Receiving a target page video stream corresponding to the target application page sent by the cloud application instance; The target application page is displayed on the terminal screen according to the target page video stream.
8. An application program running system based on a cloud application instance, characterized in that: The system includes: a cloud application instance and a vehicle terminal, The cloud application instance establishes a communication connection with the vehicle terminal; converts the application page corresponding to the target cloud application to generate an application page video stream; and sends the application page video stream to the vehicle terminal; The vehicle-mounted terminal obtains an application page video stream of an application page corresponding to a target cloud application program sent by the cloud application instance; and displays the application page on a terminal screen according to the application page video stream.
9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the method for running an application based on a cloud application instance as described in any one of claims 1 to 7.
10. A readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the application running method based on a cloud application instance as described in any one of claims 1 to 7.
