A cloud application system and method based on remote desktop and web technology
Through a cloud application system based on remote desktop and web technology, using a combination of web front-end, scheduling server and cloud virtual machine, the problems of visual fluency and high hardware cost in existing cloud applications are solved, achieving high efficiency and low cost. cloud application experience and multi-person collaborative work capabilities.
Patent Information
- Application Number
- CN202311104206.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-30
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2043-08-30
AI Technical Summary
The existing cloud application model cannot guarantee visual fluency in large-scale applications, has poor file operation experience, high development costs, and high operating costs, making it difficult to meet the collaborative work and hardware performance requirements of multiple people.
A cloud application system based on remote desktop and web technology is used to realize direct interaction between users and cloud application instances through the combination of web front-end, scheduling server and cloud virtual machine. It uses protocols such as Websocket and Protobuf to optimize data transmission and reduce hardware requirements.
It achieves a cloud-based application experience with good network adaptability, low development costs, and reduced hardware costs. It supports multi-person collaborative work and can be accessed smoothly without high-performance hardware, reducing hardware costs by about 90%.
Smart Images

Figure CN117395235B
Abstract
Description
Technical Field
[0001] The present invention relates to the fields of cloud application architecture and web technology, and in particular to a system and method for cloud application programs based on remote desktop and web technology. Background Art
[0002] With the rapid development and promotion of information technologies such as "cloud computing", the cloudification of software applications has become a development trend. For large-scale software applications, the traditional local mode requires users to install and manage version updates by themselves, and the user experience is limited by the performance of the local computer, which requires high computer configuration. In addition, the local mode is difficult to meet the needs of multi-person collaborative work scenarios, and file management efficiency is low.
[0003] A common implementation scheme for cloud-based application models is pure web applications. This solution uses web pages as a carrier and can provide users with a convenient usage environment. However, due to the limitations of web page performance and user hardware, pure web applications cannot guarantee the smooth visualization of large-scale applications. At the same time, when it comes to operations such as uploading and downloading, this solution requires a large amount of data transmission and cannot provide users with a good file operation experience.
[0004] Another solution relies on streaming cloud technology. This solution usually requires deep modification of the application, including the underlying file operation logic, so the development cost is high and there are few successful cases in the market. Moreover, for large-scale, graphic-rich, and interactively complex applications, this solution usually requires graphics card support in hardware and has high network performance requirements, so the operating cost is high. Summary of the invention
[0005] In order to overcome the above technical defects, the first aspect of the present invention provides a cloud application system based on remote desktop and web technology, which includes:
[0006] A web front end, the web front end is used for user login; it is also used to send an instruction requesting to start an application instance to a scheduling server; it is also used to establish a handshake connection between the scheduling server and the cloud virtual machine; it is also used to receive a cloud remote desktop stream and a text information stream directly sent by the cloud virtual machine, present an application window interface to the user, and receive the user's application operation instructions; it is also used to send the received user input application operation instructions directly to the application instance on the cloud virtual machine through the remote desktop interface; it is also used to display to the user the application instance on the cloud virtual machine. The execution result and updated interface information;
[0007] A scheduling server, the scheduling server is used to forward the instruction requesting to start the application instance to the cloud virtual machine; is also used to assist in establishing a handshake connection between the cloud virtual machine and the web front end; and is also used to keep monitoring the status of the web front end and the cloud virtual machine;
[0008] A cloud virtual machine, the cloud virtual machine is used to receive instructions forwarded by a scheduling server to request the start of an application instance and start the application instance; it is also used to establish a handshake connection between the scheduling server and the web front end; it is also used to directly transmit the cloud remote desktop stream and text information stream to the web front end, and embed the application window interface into the web front end through the remote desktop interface to present it to the user; it is also used to execute application operation instructions and generate execution results and updated interface information; it is also used to send the execution results and updated cloud remote desktop information directly to the web front end.
[0009] For example, the cloud virtual machine in this application can use a high-performance chip server located abroad to provide remote cloud application services to Chinese customers.
[0010] Furthermore, the web front end is used to send an instruction requesting to start the application instance to the scheduling server via Https; the scheduling server is used to forward the instruction requesting to start the application instance to the cloud virtual machine via the Websocket network protocol and start the application instance on the cloud virtual machine. After the application instance is started, a Websocket connection is established with the scheduling server. The scheduling server informs the web front end of the startup status of the instance, so that the web front end and the instance are bound.
[0011] Furthermore, the scheduling server is used to forward the handshake request of the cloud virtual machine application instance to the web front end; the web front end is used to respond to the handshake request, and the scheduling server is also used to forward the response information to the cloud virtual machine through the Websocket network protocol; the cloud virtual machine is also used to generate handshake confirmation information, and the scheduling service is also used to forward the handshake confirmation information to the web front end and enter the established connection state; the web front end is also used to receive the handshake confirmation information and enter the established state at the same time, thereby completing the establishment of the handshake connection, thereby enabling direct information exchange between the web front end and the cloud virtual machine.
[0012] Furthermore, the web front end has a rendering component that supports user operation interaction; the cloud virtual machine is used to embed the application window interface into the rendering component of the web front end through the remote desktop interface to present it to the user: the cloud remote desktop stream information transmitted by the cloud virtual machine is carried on TCP, converted into RFB protocol data carried on Websocket through the Websockify agent, decoded by the noVNC client, and transmitted to the rendering component of the front end; the text information stream uses the Protobuf data format, serializes the data structure into a byte stream for transmission, and is encoded by the Protobuf compiler at the cloud virtual machine. After being transmitted to the web front end, it is decoded by the Protobuf compiler of the web front end, and the corresponding display is completed through the rendering component.
[0013] Furthermore, the application operation instruction information and execution result information both adopt the Protobuf data format. The web front end is used to encode the application operation instruction information and the execution result information, and the cloud virtual machine is used to decode the application operation instruction information and the execution result information. The cloud virtual machine is also used to embed the updated cloud remote desktop information into the rendering component of the web front end through the remote desktop interface to present it to the user.
[0014] A second aspect of the present invention provides a cloud application method using the above-mentioned cloud application system based on remote desktop and web technology, which includes:
[0015] Step S1: The user logs in to the web front end, and sends a command requesting to start the application instance to the scheduling server through the web front end. The scheduling server forwards the command requesting to start the application instance to the cloud virtual machine, and the cloud virtual machine starts the application instance on it;
[0016] Step S2: The cloud virtual machine establishes a handshake connection with the web front end through the scheduling server, so that information can be directly exchanged between the web front end and the cloud virtual machine;
[0017] Step S3: the cloud virtual machine directly transmits the cloud remote desktop stream and text information stream to the web front end, embeds the application window interface into the web front end through the remote desktop interface to present it to the user, and then the web front end receives the user's application operation instructions;
[0018] Step S4: the web front end directly sends the application operation instruction input by the user to the application instance on the cloud virtual machine through the remote desktop interface. The application instance on the cloud virtual machine executes the application operation instruction and generates an execution result and updated interface information.
[0019] Step S5: the cloud virtual machine sends the execution result and the updated cloud remote desktop information directly to the web front end and displays it to the user;
[0020] In step S1 to step S5, the scheduling server keeps monitoring the status of the web front end and the cloud virtual machine.
[0021] For example, the cloud virtual machine in this application can use a high-performance chip server located abroad to provide remote cloud application services to Chinese customers.
[0022] Furthermore, in step S1, the web front end sends an instruction requesting to start the application instance to the scheduling server via Https. The scheduling server forwards the instruction requesting to start the application instance to the cloud virtual machine via the Websocket network protocol and starts the application instance on the cloud virtual machine. After the application instance is started, a Websocket connection is established with the scheduling server. The scheduling server informs the web front end of the startup status of the instance, so that the web front end and the instance are bound.
[0023] Furthermore, in step S2, the cloud virtual machine instance first forwards a handshake request to the web front end by the scheduling server; the web front end responds to the handshake request, and the response information is forwarded to the cloud virtual machine via the scheduling server through the Websocket network protocol; after the cloud virtual machine generates a handshake confirmation message, it is forwarded to the web front end by the scheduling service and enters the established connection state; after the web front end receives the handshake confirmation message, it enters the established state at the same time, thereby completing the establishment of the handshake connection, thereby enabling direct information exchange between the web front end and the cloud virtual machine.
[0024] Furthermore, in step S3, the web front end has a rendering component that supports user operation interaction. The cloud virtual machine embeds the application window interface into the rendering component of the web front end through the remote desktop interface to present it to the user: the cloud remote desktop stream information transmitted by the cloud virtual machine is carried on TCP, converted into RFB protocol data carried on Websocket through the Websockify agent, decoded by the noVNC client, and transmitted to the rendering component of the front end; the text information stream uses the Protobuf data format, serializes the data structure into a byte stream for transmission, and is encoded by the Protobuf compiler at the cloud virtual machine. After being transmitted to the web front end, it is decoded by the Protobuf compiler of the web front end, and the corresponding display is completed through the rendering component.
[0025] Furthermore, in step S4, the application operation instruction information adopts the Protobuf data format and is encoded and decoded by the Protobuf compiler at the web front end and the cloud virtual machine respectively; in step S5, the execution result information adopts the Protobuf data format and is encoded and decoded by the Protobuf compiler at the web front end and the cloud virtual machine respectively; the cloud virtual machine embeds the updated cloud remote desktop information into the rendering component of the web front end through the remote desktop interface to present it to the user.
[0026] The present application provides a cloud application system based on remote desktop and web technology, which includes a web front end, a scheduling server and a cloud virtual machine. The web front end is used to receive user operation instructions and provide an interface and interactive components to the user. The cloud virtual machine is used to run application instances and receive instructions for execution. The scheduling server is used for information transfer, helping the front end to establish a handshake connection with the cloud virtual machine, and monitoring the running status of the web front end. After adopting the above technical solution, compared with the prior art, it has the following beneficial effects:
[0027] 1. Good network adaptability: The technical solution of the present invention adopts a high-efficiency data transmission format, optimizes network delay, and has good network adaptability; the web front end does not require users to use high-performance machines, and can be accessed smoothly through the web page even using devices such as tablets.
[0028] 2. Reduce costs: The technical solution of the present invention relies on remote desktop technology, with a simple overall architecture, no change to the application logic, and low development cost. At the same time, the cloud virtual machine adopts a low-energy and high-efficiency arm Linux overall system with low procurement cost. At the same time, the technical solution of this application supports operation without a graphics card and does not use a GPU, effectively reducing hardware costs by about 90%.
[0029] 3. Can provide remote cloud application services: The cloud virtual machine in the technical solution of this application can use high-end chip servers located abroad to provide remote cloud application services to domestic customers. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 This is a schematic diagram of the structure of a system for cloud-based applications based on remote desktop and web technology in an embodiment of the present application. The scheduling server in the figure is used for information transfer, and its information communication is represented by a dotted line to distinguish it from the direct information channel between the web front end and the cloud virtual machine;
[0031] Figure 2 This is an interaction sequence diagram of a cloud application method based on remote desktop and web technology in one embodiment of the present application;
[0032] Figure 3 This is a flow chart of a cloud application method based on remote desktop and web technology in one embodiment of the present application;
[0033] Figure 4 This is an interaction sequence diagram of step S1 in a cloud application method based on remote desktop and web technology in an embodiment of the present application;
[0034] Figure 5 This is an interaction sequence diagram of step S2 in the cloud application method based on remote desktop and web technology in one embodiment of the present application;
[0035] Figure 6This is an interaction sequence diagram of step S3 in the cloud application method based on remote desktop and web technology in one embodiment of the present application;
[0036] Figure 7 This is a schematic diagram of a web front-end interface when the cloud application is a three-dimensional design software in one embodiment of the present application;
[0037] Figure 8 This is an interaction sequence diagram of step S4 in the cloud application method based on remote desktop and web technology in one embodiment of the present application;
[0038] Fig. 9 This is an interaction sequence diagram of step S5 in a cloud application method based on remote desktop and web technology in one embodiment of the present application. DETAILED DESCRIPTION
[0039] The advantages of the present invention are further described below in conjunction with the accompanying drawings and specific embodiments. Those skilled in the art should understand that the following specific description is illustrative rather than restrictive, and should not be used to limit the scope of protection of the present invention.
[0040] like Figure 1 As shown, this embodiment provides a system for cloud-based applications based on remote desktop and web technology, which includes: a web front end, a scheduling server and a cloud virtual machine.
[0041] The web front end is used for user login; it is also used to send instructions requesting the start of an application instance to the scheduling server; it is also used to establish a handshake connection between the scheduling server and the cloud virtual machine; it is also used to receive cloud remote desktop streams and text information streams directly sent by the cloud virtual machine, present the application window interface to the user, and receive the user's application operation instructions; it is also used to send the received user-entered application operation instructions directly to the application instance on the cloud virtual machine through the remote desktop interface; it is also used to display to the user the execution results generated by the application instance on the cloud virtual machine and the updated interface information.
[0042] The scheduling server is used to forward the instruction requesting to start the application instance to the cloud virtual machine; it is also used to assist in establishing a handshake connection between the cloud virtual machine and the web front end; and it is also used to keep monitoring the status of the web front end and the cloud virtual machine.
[0043] The cloud virtual machine is used to receive instructions forwarded by the scheduling server to start the application instance and start the application instance; it is also used to establish a handshake connection between the scheduling server and the web front end; it is also used to directly transmit the cloud remote desktop stream and text information stream to the web front end, and embed the application window interface into the web front end through the remote desktop interface to present it to the user; it is also used to execute application operation instructions and generate execution results and updated interface information; it is also used to send the execution results and updated cloud remote desktop information directly to the web front end.
[0044] like Figure 2 and Figure 3 As shown, the method for performing cloud-based applications using the above-mentioned cloud-based application system based on remote desktop and web technology includes the following steps S1 to S5:
[0045] Step S1: The user logs in to the web front end, and sends an instruction requesting to start the application instance to the scheduling server through the web front end. The scheduling server forwards the instruction requesting to start the application instance to the cloud virtual machine, and the cloud virtual machine starts the application instance thereon.
[0046] like Figure 4 As shown in the figure, in the early stage of deploying cloud applications, cloud virtual machines need to complete the registration service through a proxy at the scheduling server. After the user logs in, the web front end sends a request to start the instance to the scheduling server through Https. The scheduling server starts the instance of the cloud virtual machine through the websocket network protocol. After the instance is started, a websocket connection is established with the scheduling server. The scheduling server further informs the web front end of the startup status of the instance, so that the web front end and the instance are bound. After the binding is successful, the front end and the instance can communicate one-to-one through the scheduling service.
[0047] Step S2: The cloud virtual machine establishes a handshake connection with the web front end through the scheduling server, so that information can be directly exchanged between the web front end and the cloud virtual machine.
[0048] like Figure 5 As shown, after establishing one-to-one communication, the cloud virtual machine instance first forwards a handshake request from the scheduling server to the web front end. The web front end responds to the handshake request, and the response information is forwarded to the cloud virtual machine via the scheduling server through the websocket network protocol. After the cloud virtual machine generates a handshake confirmation message, it is forwarded to the web front end by the scheduling service and enters the established connection state. After the web front end receives the handshake confirmation message, it enters the established state at the same time. At this time, the web front end and the cloud virtual machine both confirm the sending and receiving capabilities of both parties, and the handshake connection is established, so that information can be directly exchanged between the web front end and the cloud virtual machine.
[0049] Step S3: The cloud virtual machine transmits the cloud remote desktop stream and text information stream directly to the web front end, embeds the application window interface into the web front end through the remote desktop interface to present it to the user, and then the web front end receives the user's application operation instructions.
[0050] like Figure 6 As shown, based on the established handshake connection channel, the cloud virtual machine can directly transmit the cloud desktop stream and text information stream to the web front end. The application interface is embedded in the rendering component of the front end through the remote desktop interface and presented to the user. Among them, the application interface is a cropped desktop image at the cloud virtual machine, and only the application image area is transmitted. The remote desktop interface is implemented using the noVNC service and the Websockify proxy tool. Specifically, the cloud desktop stream information transmitted by the cloud virtual machine is carried on TCP, converted into RFB protocol data carried on Websocket by the Websockify proxy, and decoded by the noVNC client and transmitted to the rendering component of the front end.
[0051] The text information flow uses the Protobuf data format to serialize the data structure into a byte stream for transmission. It is encoded by the Protobuf compiler at the cloud virtual machine, decoded by the compiler after being transmitted to the web front end, and the corresponding display is completed through the rendering component.
[0052] The web page front end is also superimposed with additionally developed rendering components (including but not limited to icons, left-click and right-click menus, pop-ups, fixed panels, and editors) to support user interaction. The front-end rendering components can be implemented through the VUE application framework (but not limited to the application framework). For example, Figure 7 The cloud application corresponding to the web front-end interface is a 3D design software. Figure 7 In the web front-end interface, A is the web front-end toolbar, B is the web front-end graphic area, C is the web front-end editor, D is the web front-end fixed panel, E is the web front-end left-key / right-key menu, and F is the web front-end pop-up window.
[0053] Step S4: The web front end sends the application operation instructions received from the user directly to the application instance on the cloud virtual machine through the remote desktop interface. The application instance on the cloud virtual machine executes the application operation instructions and generates execution results and updated interface information.
[0054] like Figure 8As shown, users can interact with components through the interface. Specifically, users can select and click objects, change views, and perform other operations on the interface. The icon component is used to integrate operation instructions into the icon set to support users to perform quick operations. The left-click menu component is used to recommend operation functions based on the user's selection of objects. The right-click menu component is used to present the supported functional operations in the form of a text list. The pop-up window component is used to implement data input, prompt messages, and error messages. The fixed panel component is used to display the file framework and the attribute information of objects within the application. The editor component is used to support code text editing related to secondary development.
[0055] The operation instruction information uses the Protobuf data format and is encoded and decoded by the Protobuf compiler at the web front end and the cloud virtual machine respectively.
[0056] Step S5: The cloud virtual machine sends the execution result and the updated cloud remote desktop information directly to the web front end and displays it to the user.
[0057] like Fig. 9 As shown, the execution result and the updated interface and data information are returned through the channels of the cloud virtual machine and the web front end, and displayed to the user on the web front end. The transmission of the application interface is consistent with the solution using the remote desktop interface in step 3. The data information also uses the Protobuf data format, and is encoded and decoded by the Protobuf compiler at the cloud virtual machine and the web front end respectively.
[0058] In step S1-step S5, the scheduling server keeps monitoring the status of the web front-end and the cloud virtual machine. After the web front-end and the cloud virtual machine establish a connection, the scheduling server still provides functional support for subsequent status monitoring, which is one of the innovative points of this application. The scheduling server requests the web front-end and the cloud virtual machine to send heartbeat detection information to the scheduling server regularly (for example, 20 seconds) through the Websocket network protocol to achieve the purpose of monitoring. If the scheduling server detects that the front end is in a connected state and the cloud virtual machine is disconnected, the scheduling server sends an instruction to request to restart the cloud virtual machine to facilitate the rapid restoration of communication connection. If the scheduling server monitors that the front end is disconnected and there is no request for reconnection within a certain period of time, the scheduling server sends a shutdown instruction to the cloud virtual machine, requesting to close the application instance and release computing resources. Among them, the heartbeat monitoring information, the restart request instruction for the cloud virtual machine, and the shutdown request instruction for the cloud virtual machine can all use the Protobuf data format.
[0059] It should be noted that the embodiments of the present invention have better practicability and do not impose any form of limitation on the present invention. Any technician familiar with the field may use the technical content disclosed above to change or modify it into an equivalent effective embodiment. However, any modification or equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention are still within the scope of the technical solution of the present invention.
Claims
1. A cloud application system based on remote desktop and web technology, characterized in that: include: A web front end, which is used for user login; and is also used for sending an instruction requesting to start an application instance to a scheduling server; It is also used to establish a handshake connection between the scheduling server and the cloud virtual machine; it is also used to receive the cloud remote desktop stream and text information stream directly sent by the cloud virtual machine, present the application window interface to the user, and receive the user's application operation instructions; it is also used to send the received user input application operation instructions directly to the application instance on the cloud virtual machine through the remote desktop interface; it is also used to display the application instance on the cloud virtual machine The generated execution results and updated interface information are displayed to the user; A scheduling server, the scheduling server is used to forward the instruction requesting to start the application instance to the cloud virtual machine; is also used to assist in establishing a handshake connection between the cloud virtual machine and the web front end; and is also used to keep monitoring the status of the web front end and the cloud virtual machine; A cloud virtual machine, the cloud virtual machine is used to receive an instruction forwarded by a scheduling server to request to start an application instance and start the application instance; it is also used to establish a handshake connection between the scheduling server and the web front end; it is also used to directly transmit the cloud remote desktop stream and text information stream to the web front end, and embed the application window interface into the web front end through the remote desktop interface to present it to the user; it is also used to execute application operation instructions and generate execution results and updated interface information; It is also used to send execution results and updated cloud remote desktop information directly to the web front end; The scheduling server is used to forward the handshake request of the cloud virtual machine application instance to the web front end; the web front end is used to respond to the handshake request, and the scheduling server is also used to forward the response information to the cloud virtual machine through the Websocket network protocol; the cloud virtual machine is also used to generate handshake confirmation information, and the scheduling service is also used to forward the handshake confirmation information to the web front end and enter the established connection state; the web front end is also used to receive the handshake confirmation information and enter the established state at the same time, thereby completing the establishment of the handshake connection, so that information can be directly exchanged between the web front end and the cloud virtual machine.
2. The cloud application system based on remote desktop and web technology as claimed in claim 1, characterized in that: The web front end is used to send a request to start the application instance to the scheduling server via Https; the scheduling server is used to forward the request to start the application instance to the cloud virtual machine via the Websocket network protocol and start the application instance on the cloud virtual machine. After the application instance is started, a Websocket connection is established with the scheduling server. The scheduling server informs the web front end of the startup status of the instance, so that the web front end and the instance are bound.
3. The cloud application system based on remote desktop and web technology as claimed in claim 1, characterized in that: The web front end has a rendering component that supports user operation interaction; the cloud virtual machine is used to embed the application window interface into the rendering component of the web front end through the remote desktop interface to present it to the user: the cloud remote desktop stream information transmitted by the cloud virtual machine is carried on TCP, converted into RFB protocol data carried on Websocket through the Websockify agent, handed over to the noVNC client for decoding, and transmitted to the rendering component of the front end; the text information stream uses the Protobuf data format, serializes the data structure into a byte stream for transmission, is encoded by the Protobuf compiler at the cloud virtual machine, and after being transmitted to the web front end, it is decoded by the Protobuf compiler of the web front end, and the corresponding display is completed through the rendering component.
4. The cloud application system based on remote desktop and web technology as claimed in claim 1, characterized in that: Both the application operation instruction information and the execution result information are in Protobuf data format. The web front end is used to encode the application operation instruction information and the execution result information, and the cloud virtual machine is used to decode the application operation instruction information and the execution result information. The cloud virtual machine is also used to embed the updated cloud remote desktop information into the rendering component of the web front end through the remote desktop interface to present it to the user.
5. A cloud application method using a cloud application system based on remote desktop and web technology as claimed in any one of claims 1 to 4, characterized in that: include: Step S1: The user logs in to the web front end, and sends a command requesting to start the application instance to the scheduling server through the web front end. The scheduling server forwards the command requesting to start the application instance to the cloud virtual machine, and the cloud virtual machine starts the application instance on it; Step S2: The cloud virtual machine establishes a handshake connection with the web front end through the scheduling server, so that information can be directly exchanged between the web front end and the cloud virtual machine; Step S3: the cloud virtual machine directly transmits the cloud remote desktop stream and text information stream to the web front end, embeds the application window interface into the web front end through the remote desktop interface to present it to the user, and then the web front end receives the user's application operation instructions; Step S4: the web front end directly sends the application operation instruction input by the user to the application instance on the cloud virtual machine through the remote desktop interface. The application instance on the cloud virtual machine executes the application operation instruction and generates an execution result and updated interface information. Step S5: the cloud virtual machine sends the execution result and the updated cloud remote desktop information directly to the web front end and displays it to the user; In step S1 to step S5, the scheduling server keeps monitoring the status of the web front end and the cloud virtual machine.
6. The cloud application method according to claim 5, characterized in that: In step S1, the web front end sends an instruction to request to start the application instance to the scheduling server via Https. The scheduling server forwards the instruction to request to start the application instance to the cloud virtual machine via the Websocket network protocol and starts the application instance on the cloud virtual machine. After the application instance is started, a Websocket connection is established with the scheduling server. The scheduling server informs the web front end of the startup status of the instance, so that the web front end and the instance are bound.
7. The cloud application method according to claim 5, characterized in that: In step S2, the cloud virtual machine instance first forwards a handshake request to the web front end by the scheduling server; the web front end responds to the handshake request and generates a response message, which is forwarded to the cloud virtual machine via the scheduling server through the Websocket network protocol; After the cloud virtual machine generates a handshake confirmation message, it is forwarded to the web front end by the scheduling service and enters the established connection state; after the web front end receives the handshake confirmation message, it also enters the established state, thus completing the establishment of the handshake connection, so that information can be directly exchanged between the web front end and the cloud virtual machine.
8. The cloud application method according to claim 5, characterized in that: In step S3, the web front end has a rendering component that supports user operation interaction; the cloud virtual machine embeds the application window interface into the rendering component of the web front end through the remote desktop interface to present it to the user, including the following steps: the cloud remote desktop stream information transmitted by the cloud virtual machine is carried on TCP, converted into RFB protocol data carried on Websocket through the Websockify agent, decoded by the noVNC client, and transmitted to the rendering component of the front end; the text information stream uses the Protobuf data format, serializes the data structure into a byte stream for transmission, is encoded by the Protobuf compiler at the cloud virtual machine, and after being transmitted to the web front end, is decoded by the Protobuf compiler of the web front end, and the corresponding display is completed through the rendering component.
9. The cloud application method according to claim 5, characterized in that: In step S4, the application operation instruction information adopts the Protobuf data format and is encoded and decoded by the Protobuf compiler at the web front end and the cloud virtual machine respectively; In step S5, the execution result information adopts the Protobuf data format and is encoded and decoded by the Protobuf compiler at the web front end and the cloud virtual machine respectively; The cloud virtual machine embeds the updated cloud remote desktop information into the rendering component of the web front end through the remote desktop interface to present it to the user.
