Search

CN-121996131-A - Cloud application virtual frame display method and system based on transparent value

CN121996131ACN 121996131 ACN121996131 ACN 121996131ACN-121996131-A

Abstract

The invention discloses a cloud application virtual frame display method and system based on a transparent value, wherein the system comprises a server side and a client side, the method comprises the steps that after the server side recognizes that the client side opens an application, transparency and area information of the opened application are extracted, the area information comprises a non-transparent area, a transparent area and a frame area, when the server side recognizes that the application is dragged, frame area information of the dragged application is obtained, the server side sends desktop image data, transparency of the opened application and area information comprising the non-transparent area, the transparent area and the frame area to the client side, the client side mixes the transparency with the desktop image data, and the part of the frame area of the dragged application in the transparent area and the part of the non-transparent area are respectively set to be corresponding designated colors to obtain a final image and display the final image, so that virtual frame display when the application is dragged is realized. The invention saves the consumption of resources of the server side, and the virtual frame effect is almost the same as the local effect of the pc machine.

Inventors

  • YAN LONGLONG
  • XIE YI
  • HE MINHONG
  • ZHOU ZONGMIN
  • YU JUN
  • LI WEISHI
  • XIE MING

Assignees

  • 银河麒麟软件(长沙)有限公司

Dates

Publication Date
20260508
Application Date
20260122

Claims (7)

  1. 1. The cloud application virtual frame display method based on the transparent value is characterized by being applied to a cloud application system comprising a server side and a client side, and comprises the following steps of: After the server side identifies that the client side opens the application, the transparency and the region information of the opened application are extracted, wherein the region information comprises a non-transparent region, a transparent region and a frame region, the interface region of the opened application is the non-transparent region, the region outside the opened application interface is the transparent region, and the frame of the opened application interface is the frame region; The server side sends desktop image data, transparency of the opened application and area information comprising a non-transparent area, a transparent area and a frame area to the client side; And the client mixes the transparency and the desktop image data, and sets the part of the frame area of the dragged application in the transparent area and the part of the frame area of the dragged application in the non-transparent area as corresponding specified colors respectively, so that a final image is obtained and displayed, and virtual frame display during dragging application is realized.
  2. 2. The cloud application virtual frame display method based on the transparent value according to claim 1, wherein the server runs a windows system, and the method further comprises the step of initializing, specifically, adjusting a mode of the windows system running on the server to a performance mode so as to display the virtual frame under window dragging.
  3. 3. The transparent value-based cloud application virtual frame display method according to claim 1, wherein the step of extracting the transparency and the border area of the opened application includes the steps of extracting the transparency of the opened application, specifically extracting the transparent value information of each opened application by means of message hook injection, and then mixing the transparency value information of the application superposition position, thereby obtaining the transparency of the irregular area composed of all the opened applications.
  4. 4. The cloud application virtual frame display method based on the transparent value according to claim 1, wherein when the transparency and the area information of the opened application are extracted, the method comprises the steps of extracting the area information of the opened application, in particular, obtaining the area information of the opened application through the api of the system, and then combining the area information of all applications to obtain the non-transparent area, the transparent area and the frame area information of the irregular area formed by all the opened applications.
  5. 5. The cloud application virtual frame display method based on the transparent value according to claim 1, wherein the server identifies that when the application is dragged, the server acquires the frame area rgn of the dragged application through area management, so as to update the frame area information of the dragged application in real time.
  6. 6. The cloud application virtual frame display method based on the transparent value, as set forth in claim 1, is characterized in that after the server obtains the frame region information of the dragged application, the transparent value of the frame region of the dragged application is set as a designated value, and when the client sets the portion of the frame region of the dragged application in the transparent region and the non-transparent portion as corresponding designated colors respectively, specifically, the client searches the frame region of the dragged application according to the designated transparent value, then draws the portion of the frame region in the transparent region as a striking color, and the portion of the frame region in the non-transparent region is inverted from the bottom color of the desktop.
  7. 7. A cloud application system comprising a server and a client programmed or configured to perform the steps of the transparent value-based cloud application virtual frame display method of any one of claims 1 to 6.

Description

Cloud application virtual frame display method and system based on transparent value Technical Field The invention relates to the field of cloud computing, in particular to a cloud application virtual frame display method and system based on transparent values. Background The development of cloud computing brings about 2 large products, desktop virtualization and application virtualization, and under the credit scene, the application ecology is imperfect, so that the cloud application platform is widely applied, the work of application delivery is simplified, and the burden of enterprises on PC management and operation and maintenance is reduced. The application of the virtualization technology plays a vital role in the field of trafficking and provides an overage for the development of application ecology. The current common cloud application schemes are: 1. RDP-based open source practice FreeRDP, freeRDP is an open source RDP (Remote Desktop Protocol) client and library for remote access to Windows remote desktop services and other RDP servers. The FreeRDP item aims at providing a RDP (remote data processing) implementation with rich functions, safety and high efficiency and supporting various operating systems and platforms, but the expansion of a protocol layer is very difficult due to the closed source of a server, and in addition, due to the multi-window image matting scheme of a client, black edges exist in some application frames, and the real-time refreshing of contents is required in a dragging scene, so that the flow is very high in the fast dragging scene, the CPU resource occupation is high, and the experience effect is poor. 2. Based on rdp server proxy scheme, in order to make further optimization (flow, bandwidth, etc.) at protocol layer, a rdp client is implemented at server itself, rdp communication is performed with rdpserver local to server, then rdp server is controlled by controllable data compression or frame rate after intercepting data, similar to a layer of hook is performed at server, but the scheme is limited in protocol layer optimization and cannot be fully autonomous and controllable, so that the rdp scheme can only be used as transition. 3. Compared with the scheme 1, the desktop matting scheme based on the spice protocol has the advantages that spice is replaced by the protocol, and other schemes are similar, such as window management, the scheme can be autonomously controllable on the protocol, but in window management, a multi-window scheme is adopted, and for some applications with shadow frames, black edges exist, and certain defects exist on application compatibility and cannot be solved. 4. The desktop clipping scheme based on the spice protocol is the scheme, although the protocol layer is based on spice, the scheme is refreshed in real time under a window dragging scene, and the scheme has the advantages of large traffic consumption, high cpu resource occupation, and particularly obvious under 2k and 4k scenes along with the improvement of frame rate and image quality. 5. The key to realizing the virtual frame is how to know the irregular area of the virtual frame, how to identify the virtual frame by what method, how to calculate the transparency of the overlapped area of the virtual frame, and how to mix the virtual frame and the client, so that the difficulties need to be overcome, such as marking by specific transparency values, calculating the inverse of the overlapped area, calculating the irregular area, and the like. Disclosure of Invention Aiming at the problems in the prior art, the invention provides the cloud application virtual frame display method and the cloud application virtual frame display system based on the transparent value, which reduce the consumption of resources of a server under a dragging scene, greatly improve the experience effect of the application and achieve the effect comparable to that of a physical pc. In order to solve the technical problems, the invention adopts the following technical scheme: The cloud application virtual frame display method based on the transparent value is applied to a cloud application system comprising a server side and a client side, and comprises the following steps: After the server side identifies that the client side opens the application, the transparency and the region information of the opened application are extracted, wherein the region information comprises a non-transparent region, a transparent region and a frame region, the interface region of the opened application is the non-transparent region, the region outside the opened application interface is the transparent region, and the frame of the opened application interface is the frame region; The server side sends desktop image data, transparency of the opened application and area information comprising a non-transparent area, a transparent area and a frame area to the client side; And the client mixes the transparency and the desktop image d