Cloud desktop recording method, system and device, storage medium and electronic equipment

By deploying screen recording containers on the cloud desktop LAN and using the screen recording schedule center to manage recording requests, the problem of cloud desktop recording container occupies resources is solved, and efficient cloud desktop computing and data isolation is achieved.

CN120448002APending Publication Date: 2025-08-08HANGZHOU ALICLOUD FEITIAN INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410171665.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-02-06
Publication Date
2025-08-08

AI Technical Summary

Technical Problem

In the prior art, cloud desktop recording containers are deployed in cloud desktops, occupying computing resources, resulting in inefficient computing.

Method used

Deploy the screen recording container in the same LAN as the cloud desktop, and receive and distribute screen recording requests through the screen recording scheduling center, and use the large bandwidth communication capabilities of the LAN to perform one-to-one recording. The screen recording container is isolated from the cloud desktop to avoid occupying cloud desktop computing resources.

Benefits of technology

It improves the computing efficiency of cloud desktops, ensures user data isolation, reduces computing resource usage, and reduces operation and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120448002A_ABST
    Figure CN120448002A_ABST
Patent Text Reader

Abstract

The invention discloses a cloud desktop recording method, system and device, a storage medium and electronic equipment. The method comprises the steps that a screen recording scheduling center receives a screen recording request for a cloud desktop, and the screen recording request at least comprises an IP address of a virtual machine corresponding to the cloud desktop; the screen recording scheduling center issues the screen recording request to a screen recording container, the screen recording container carries out screen recording on the cloud desktop according to the IP address to obtain screen recording data, and the screen recording container and the cloud desktop recorded by the screen recording container are deployed in the same local area network. According to the method and the device, the technical problem that the computing efficiency of the cloud desktop is relatively poor due to the fact that the recording container is deployed in the cloud desktop when the cloud desktop is recorded in the related technology is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and more specifically, to a cloud desktop recording method, system and device, storage medium and electronic device. Background Art

[0002] As the use of virtual desktops increases, security concerns about these IT resources also increase. Cloud desktop session recording and playback mechanisms are crucial for IT administrators to review and review. Existing session recording capabilities offered by cloud desktop vendors either place the recording container directly on the user's cloud desktop, occupying the user's cloud desktop computing resources, or deploy the recording container on a recording server external to the user's cloud desktop. Regardless of whether the user's cloud desktop is connected, the recording server requires expensive maintenance costs.

[0003] Currently, no effective solution has been proposed to the problem that in the above-mentioned related technologies, a recording container is deployed in the cloud desktop when recording the cloud desktop, which occupies the computing resources of the cloud desktop and leads to poor computing efficiency of the cloud desktop. Summary of the Invention

[0004] The embodiments of the present application provide a cloud desktop recording method, system and device, storage medium and electronic device to at least solve the technical problem in the related art that when recording the cloud desktop, the recording container is deployed in the cloud desktop, occupying the computing resources of the cloud desktop, resulting in relatively poor computing efficiency of the cloud desktop.

[0005] According to one aspect of an embodiment of the present application, a method for recording a cloud desktop is provided, including: a screen recording scheduling center receives a screen recording request for a cloud desktop, wherein the screen recording request includes at least the IP address of the virtual machine corresponding to the cloud desktop; the screen recording scheduling center sends the screen recording request to a screen recording container, wherein the screen recording container performs screen recording of the cloud desktop based on the IP address to obtain screen recording data, and the screen recording container and the cloud desktop recorded by the screen recording container are deployed in the same local area network.

[0006] Furthermore, before the screen recording scheduling center sends the screen recording request to the screen recording container, the method also includes: the screen recording scheduling center determines the target local area network where the cloud desktop is located based on the screen recording request; the screen recording scheduling center determines the target screen recording cluster based on the target local area network; the screen recording scheduling center determines whether the number of screen recording containers in the target screen recording cluster is the same as the number of cloud desktops; if the number of screen recording containers in the target screen recording cluster is the same as the number of cloud desktops, the screen recording container in the target screen recording cluster is determined as the screen recording container to receive the screen recording request.

[0007] Furthermore, if the number of screen recording containers in the target screen recording cluster is different from the number of cloud desktops, the method also includes: the screen recording scheduling center determines the number of cloud desktops to obtain the target number; the screen recording scheduling center creates a screen recording container in the target screen recording cluster based on the target number, so that the number of screen recording containers in the target screen recording cluster is the same as the target number.

[0008] Furthermore, the screen recording scheduling center sends the screen recording request to the screen recording container, including: the screen recording scheduling center obtains the recording strategy for the cloud desktop, wherein the recording strategy includes at least one of the following: recording watermark, recording time and recording trigger condition; the screen recording scheduling center sends the recording strategy and the screen recording request to the screen recording container.

[0009] Furthermore, after the screen recording container records the screen of the cloud desktop based on the IP address and obtains the screen recording data, the method also includes: if the screen recording scheduling center detects a request to end recording for the cloud desktop, the screen recording container in the target screen recording cluster is destroyed according to the request to end recording.

[0010] According to another aspect of an embodiment of the present application, a method for recording a cloud desktop is also provided, including: a screen recording container receives a screen recording request for a cloud desktop issued by a screen recording scheduling center, wherein the screen recording request includes at least the IP address of the virtual machine corresponding to the cloud desktop; the screen recording container performs screen recording on the cloud desktop based on the IP address to obtain screen recording data, and the screen recording container and the cloud desktop recorded by the screen recording container are deployed in the same local area network.

[0011] Furthermore, the screen recording container records the screen of the cloud desktop based on the IP address, and obtaining the screen recording data includes: the screen recording container determines the virtual machine corresponding to the cloud desktop based on the IP address; the screen recording container establishes a communication channel with the virtual machine; the screen recording container records the cloud desktop through the communication channel and the target port of the virtual machine to obtain the screen recording data.

[0012] Furthermore, the screen recording container performs screen recording of the cloud desktop based on the IP address to obtain screen recording data, including: the screen recording container receives a recording strategy for the cloud desktop issued by the screen recording scheduling center, wherein the recording strategy includes at least one of the following: a recording watermark, a recording time, and a recording trigger condition; the screen recording container performs screen recording of the cloud desktop based on the recording strategy and the IP address to obtain screen recording data.

[0013] Furthermore, after obtaining the screen recording data, the method also includes: the screen recording container obtains the storage address of the screen recording data based on the screen recording request; if the database corresponding to the storage address is the database of the target object, the screen recording data is encrypted to obtain a screen recording ciphertext, wherein the target object is the object that initiates the screen recording request; the screen recording container writes the screen recording ciphertext into the database corresponding to the storage address.

[0014] According to another aspect of an embodiment of the present application, a cloud desktop recording system is also provided, including: a screen recording scheduling center, which is any one of the screen recording scheduling centers described above; a screen recording cluster, which is composed of screen recording containers, wherein the screen recording container is any one of the screen recording containers described above.

[0015] According to another aspect of an embodiment of the present application, a recording device for a cloud desktop is also provided, including: a first receiving unit, used for a screen recording scheduling center to receive a screen recording request for a cloud desktop, wherein the screen recording request includes at least the IP address of the virtual machine corresponding to the cloud desktop; a sending unit, used for the screen recording scheduling center to send the screen recording request to a screen recording container, wherein the screen recording container performs screen recording of the cloud desktop based on the IP address to obtain screen recording data, and the screen recording container and the cloud desktop recorded by the screen recording container are deployed in the same local area network.

[0016] Furthermore, the device also includes: a first determination unit, used for the screen recording scheduling center to determine the target local area network where the cloud desktop is located based on the screen recording request before the screen recording scheduling center sends the screen recording request to the screen recording container; a second determination unit, used for the screen recording scheduling center to determine the target screen recording cluster based on the target local area network; a judgment unit, used for the screen recording scheduling center to judge whether the number of screen recording containers in the target screen recording cluster is the same as the number of cloud desktops; a third determination unit, used for determining the screen recording container in the target screen recording cluster as the screen recording container to receive the screen recording request if the number of screen recording containers in the target screen recording cluster is the same as the number of cloud desktops.

[0017] Furthermore, the device also includes: a fourth determination unit, which is used for the screen recording scheduling center to determine the number of cloud desktops and obtain the target number if the number of screen recording containers in the target screen recording cluster is different from the number of cloud desktops; and a creation unit, which is used for the screen recording scheduling center to create a screen recording container in the target screen recording cluster based on the target number, so that the number of screen recording containers in the target screen recording cluster is the same as the target number.

[0018] Furthermore, the sending unit includes: an acquisition module, which is used by the screen recording scheduling center to obtain the recording strategy for the cloud desktop, wherein the recording strategy includes at least one of the following: recording watermark, recording time and recording trigger conditions; a sending module, which is used by the screen recording scheduling center to send the recording strategy and the screen recording request to the screen recording container.

[0019] Furthermore, the device also includes: a processing unit, which is used to perform screen recording of the cloud desktop according to the IP address in the screen recording container, and after obtaining the screen recording data, if the screen recording scheduling center detects a request to end recording for the cloud desktop, the screen recording container in the target screen recording cluster is destroyed according to the request to end recording.

[0020] According to another aspect of an embodiment of the present application, a recording device for a cloud desktop is also provided, including: a second receiving unit, used for a screen recording container to receive a screen recording request for a cloud desktop issued by a screen recording scheduling center, wherein the screen recording request includes at least the IP address of the virtual machine corresponding to the cloud desktop; a recording unit, used for the screen recording container to perform screen recording of the cloud desktop based on the IP address to obtain screen recording data, and the screen recording container and the cloud desktop recorded by the screen recording container are deployed in the same local area network.

[0021] Furthermore, the recording unit includes: a determination module, used by the screen recording container to determine the virtual machine corresponding to the cloud desktop based on the IP address; an establishment module, used by the screen recording container to establish a communication channel between the screen recording container and the virtual machine; a first recording module, used by the screen recording container to record the cloud desktop through the communication channel and the target port of the virtual machine to obtain the screen recording data.

[0022] Furthermore, the recording unit includes: a receiving module, which is used for the screen recording container to receive the recording strategy for the cloud desktop issued by the screen recording scheduling center, wherein the recording strategy includes at least one of the following: recording watermark, recording time and recording trigger condition; a second recording module, which is used for the screen recording container to perform screen recording of the cloud desktop according to the recording strategy and the IP address to obtain screen recording data.

[0023] Furthermore, the device also includes: an acquisition unit, which is used for the screen recording container to obtain the storage address of the screen recording data according to the screen recording request after obtaining the screen recording data; an encryption unit, which is used for encrypting the screen recording data to obtain screen recording ciphertext if the database corresponding to the storage address is the database of the target object, wherein the target object is the object that initiates the screen recording request; and a writing unit, which is used for the screen recording container to write the screen recording ciphertext into the database corresponding to the storage address.

[0024] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, which stores a program. When the program is running, the device where the storage medium is located is controlled to execute any one of the cloud desktop recording methods described above.

[0025] According to another aspect of an embodiment of the present invention, an electronic device is provided, including a memory storing an executable program; and a processor for running the program, wherein the program executes any one of the cloud desktop recording methods described above when running.

[0026] In an embodiment of the present application, the following steps are performed: a screen recording scheduling center receives a screen recording request for a cloud desktop, wherein the screen recording request includes at least the IP address of the virtual machine corresponding to the cloud desktop; the screen recording scheduling center sends the screen recording request to a screen recording container, wherein the screen recording container performs screen recording of the cloud desktop based on the IP address to obtain screen recording data, and the screen recording container and the cloud desktop recorded by the screen recording container are deployed in the same local area network, which solves the technical problem in the related art that when recording the cloud desktop, the recording container is deployed in the cloud desktop, occupying the computing resources of the cloud desktop, resulting in relatively poor computing efficiency of the cloud desktop. In this solution, the screen recording container is deployed in the local area network where the cloud desktop is located, and a screen recording scheduling center is deployed on the upper layer of the local area network. The screen recording request for the cloud desktop is received through the screen recording scheduling center, and then the screen recording request is sent to the screen recording container. The screen recording container uses the large bandwidth communication capability in the local area network to record the screen of the cloud desktop. A one-to-one desktop screen recording connection is made through the screen recording container to ensure that user data is isolated from other user data at the container granularity. In addition, since the screen recording container does not need to be deployed in the cloud desktop, the computing resources in the user's own cloud desktop are saved, thereby achieving the technical effect of improving the computing efficiency of the cloud desktop. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0028] Figure 1 is a schematic diagram of a computer terminal provided according to Embodiment 1 of the present application;

[0029] Figure 2 This is a flowchart of a cloud desktop recording method provided in accordance with the first embodiment of the present invention;

[0030] Figure 3 2 is a schematic diagram of an optional cloud desktop recording method provided according to the first embodiment of the present invention;

[0031] Figure 4 This is a flowchart of a cloud desktop recording method provided in accordance with the second embodiment of the present invention;

[0032] Figure 5 2 is a schematic diagram of a cloud desktop recording system provided in accordance with a third embodiment of the present invention;

[0033] Figure 6 2 is a schematic diagram of a cloud desktop recording device according to a fourth embodiment of the present invention;

[0034] Figure 7 2 is a schematic diagram of a cloud desktop recording device provided in accordance with a fifth embodiment of the present invention;

[0035] Figure 8 2 is a schematic diagram of a computer terminal provided according to a fourth embodiment of the present invention. DETAILED DESCRIPTION

[0036] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.

[0037] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0038] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following interpretations:

[0039] Cloud desktop: A technology that virtualizes the system desktop and allows users to remotely access the system desktop through the network on any device.

[0040] Screen recording cluster: K8s (Kubemetes) cluster, an open source system for automatically deploying, scaling, and managing "containerized applications".

[0041] Screen recording container: a container in a Kubernetes cluster, a collection of processes with view isolation, resource limits, and an independent file system.

[0042] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0043] Example 1

[0044] According to an embodiment of the present application, a cloud desktop recording method is also provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0045] The method embodiment provided in the first embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 The hardware structure diagram of a computer terminal (or mobile device) for implementing a cloud desktop recording method is shown. Figure 1 As shown, the computer terminal (or mobile device) 10 may include a processor set 102 (the processor set 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA, and the processor set 102 may include a processor set, Figure 1 102a, 102b, ..., 102n are used to illustrate), a memory 104 for storing data, and a transmission module 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which can be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It will be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components than shown, or with Figure 1 Different configurations shown.

[0046] It should be noted that the one or more processors 102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuitry may be a single independent processing module, or may be incorporated in whole or in part into any of the other components of the computer terminal 10 (or mobile device). As described in the embodiments of the present application, the data processing circuitry serves as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).

[0047] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the cloud desktop recording method in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, realizing the above-mentioned cloud desktop recording method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely located relative to the processor 102, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0048] The transmission module 106 is configured to receive or transmit data via a network. A specific example of the aforementioned network may include a wireless network provided by the communications provider of the computer terminal 10. In one embodiment, the transmission module 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In one embodiment, the transmission module 106 may be a radio frequency (RF) module, which is configured to communicate with the Internet wirelessly.

[0049] The display may be a touch screen liquid crystal display that enables a user to interact with a user interface of the computer terminal 10 (or mobile device).

[0050] Under the above operating environment, this application provides Figure 2 The recording method of the cloud desktop is shown. Figure 2 This is a flow chart of a cloud desktop recording method according to the first embodiment of the present application. The method includes:

[0051] Step S201: The screen recording scheduling center receives a screen recording request for a cloud desktop, wherein the screen recording request includes at least the IP address of the virtual machine corresponding to the cloud desktop;

[0052] In step S202, the screen recording scheduling center sends the screen recording request to the screen recording container, wherein the screen recording container records the screen of the cloud desktop according to the IP address to obtain screen recording data. The screen recording container and the cloud desktop recorded by the screen recording container are deployed in the same local area network.

[0053] Optionally, in the cloud desktop recording method provided in Example 1 of the present application, a screen recording cluster is deployed in the local area network where the user cloud desktop cluster is located, and a centralized screen recording scheduling center is deployed on the upper layer of the local area network. It should be noted that the screen recording cluster can be K8s (Kubemetes). The screen recording cluster includes a screen recording container for screen recording of the cloud desktop. It should be noted that the number of the above-mentioned screen recording containers can be dynamically adjusted according to the scheduling of the screen recording scheduling center. For example, the number of screen recording containers is increased during the peak period of the screen recording task to serve more desktops, and the number of screen recording containers is automatically reduced during the task trough period to save more computing resources.

[0054] When a cloud desktop needs to be recorded, the screen recording dispatch center receives a screen recording request from the user for the cloud desktop. It should be noted that the screen recording request must at least include the IP address of the virtual machine corresponding to the cloud desktop, so that the subsequent screen recording container can connect to the virtual machine through the IP address and complete the recording of the cloud desktop.

[0055] After receiving the screen recording request, the screen recording scheduling center sends the screen recording request to the screen recording container, and the screen recording container completes the screen recording of the cloud desktop according to the IP address.

[0056] It should be noted that the number of cloud desktops mentioned above can be one or more. In the case of multiple cloud desktops, the screen recording scheduling center will send the screen recording request of the cloud desktop to the corresponding screen recording container, ensuring a one-to-one object relationship between the screen recording container and the cloud desktop, thereby achieving the technical effect of isolating user data from other user data at the container granularity. In addition, the screen recording container and the cloud desktop are located on the same local area network, ensuring that the user's private screen data is not leaked to other networks, eliminating the risk of data interception.

[0057] To sum up, the screen recording container is deployed in the local area network where the cloud desktop is located, and the screen recording scheduling center is deployed on the upper layer of the local area network. The screen recording request for the cloud desktop is received through the screen recording scheduling center, and then the screen recording request is sent to the screen recording container. The screen recording container uses the large bandwidth communication capability in the local area network to record the screen of the cloud desktop. A one-to-one desktop screen recording connection is made through the screen recording container to ensure that user data is isolated from other user data at the container granularity. In addition, since the screen recording container does not need to be deployed in the cloud desktop, the computing resources in the user's own cloud desktop are saved, thereby achieving the technical effect of improving the computing efficiency of the cloud desktop.

[0058] In order to be able to record the cloud desktop through the screen recording container, in the cloud desktop recording method provided in Example 1 of the present application, before the screen recording scheduling center sends the screen recording request to the screen recording container, the method also includes: the screen recording scheduling center determines the target local area network where the cloud desktop is located based on the screen recording request; the screen recording scheduling center determines the target screen recording cluster based on the target local area network; the screen recording scheduling center determines whether the number of screen recording containers in the target screen recording cluster is the same as the number of cloud desktops; if the number of screen recording containers in the target screen recording cluster is the same as the number of cloud desktops, the screen recording container in the target screen recording cluster is determined as the screen recording container to receive the screen recording request.

[0059] In an optional embodiment, if the number of screen recording containers in the target screen recording cluster is different from the number of cloud desktops, the method also includes: the screen recording scheduling center determines the number of cloud desktops to obtain the target number; the screen recording scheduling center creates a screen recording container in the target screen recording cluster based on the target number, so that the number of screen recording containers in the target screen recording cluster is the same as the target number.

[0060] Optionally, the screen recording scheduling center determines the target LAN of the cloud desktop according to the received screen recording request. It should be noted that when there are multiple cloud desktops, the LANs of different cloud desktops may be different.

[0061] After determining the target LAN, determine the target screen recording cluster in the target LAN. It should be noted that when there are multiple cloud desktops corresponding to different LANs, determine the screen recording containers in different LANs.

[0062] After determining the target screen recording cluster, the screen recording scheduling center will determine the number of screen recording containers currently in the target screen recording cluster and determine whether the number of screen recording containers is the same as the number of cloud desktops. If the number of screen recording containers is the same as the number of cloud desktops, the screen recording container in the target screen recording cluster will be directly determined as the screen recording container to receive the screen recording request.

[0063] If the number of screen recording containers is different from the number of the above-mentioned cloud desktops, that is, the number of screen recording containers is less than the number of cloud desktops, the screen recording scheduling center will create screen recording containers in the target screen recording cluster based on the number of cloud desktops so that the number of screen recording containers in the target screen recording cluster is the same as the target number.

[0064] The screen recording scheduling center can dynamically adjust the number of screen recording containers based on screen recording requests to ensure that the screen recording containers can still complete one-to-one screen recording of the cloud desktop during the peak period of screen recording tasks.

[0065] In order to protect the security of screen recording data, in the cloud desktop recording method provided in Example 1 of the present application, the screen recording scheduling center sends the screen recording request to the screen recording container, including: the screen recording scheduling center obtains the recording strategy for the cloud desktop, wherein the recording strategy includes at least one of the following: recording watermark, recording time and recording trigger conditions; the screen recording scheduling center sends the recording strategy and screen recording request to the screen recording container.

[0066] Optionally, users can set recording strategies for different cloud desktops according to actual needs. It should be noted that the recording strategy can include recording watermarks, such as the size and style of the watermark; the recording strategy can also include recording time, for example, recording the cloud desktop starting in the morning, etc.; the recording strategy can also include recording trigger conditions, for example, recording when someone is using the cloud desktop, or recording the cloud desktop when a screenshot is taken on the cloud desktop, etc.

[0067] After setting the recording policy for the cloud desktop, the recording policy and screen recording request are sent to the screen recording container through the screen recording scheduling center.

[0068] Sending recording policies to the recording container through the screen recording scheduling center reduces the chance of recording policies being tampered with by malicious users on the terminal, thereby improving data security.

[0069] In order to solve the computing resources occupied by the screen recording container, in the cloud desktop recording method provided in Example 1 of the present application, after the screen recording container records the screen of the cloud desktop based on the IP address and obtains the screen recording data, the method also includes: if the screen recording scheduling center detects a request to end recording for the cloud desktop, the screen recording container in the target screen recording cluster is destroyed according to the request to end recording.

[0070] Optionally, upon detecting a request to end recording for a cloud desktop, the screen recording scheduling center will directly destroy the recording container in the target screen recording cluster. This means that the recording container is dynamically destroyed when the user is not using the cloud desktop to save resources. It should be noted that the above-mentioned request to end recording can be sent by the user or automatically triggered when the currently recorded cloud desktop is not in use.

[0071] By automatically reducing the number of screen recording containers during the off-peak period of screen recording tasks through the screen recording scheduling center, the technical effect of saving more computing resources can be achieved.

[0072] In an optional embodiment, the following may be used: Figure 3 The schematic diagram shown in the figure realizes the recording of the cloud desktop. Figure 3 As shown, the screen recording cluster and cloud desktop are deployed within the same local area network (LAN). This leverages the high-bandwidth communication capabilities of the LAN while protecting user privacy and preventing screen data from leaking to other networks, eliminating the risk of data interception. The screen recording cluster uses a one-to-one desktop recording connection via a recording container, ensuring that user data is isolated from other user data at the container level. The number of recording containers in this cluster is dynamically controlled by a centralized external recording scheduling center. During peak workloads, the cluster automatically scales out to serve more desktops, while during low workloads, it automatically scales down to conserve computing resources.

[0073] Bypass Screen Recording Scheduling Center: This centrally deployed scheduling service dynamically creates recording containers in real time based on recording requests and dynamically destroys them when users are not using the cloud desktop to conserve resources. In addition to scheduling computing resources, the scheduling center also dynamically distributes user-specific recording policies (such as watermark content and style) to the recording containers. This method of distributing recording policies reduces the chance of policies being tampered with by malicious users on the terminal.

[0074] In the cloud desktop recording method provided in Example 1 of the present application, a screen recording request for the cloud desktop is received by a screen recording scheduling center, wherein the screen recording request includes at least the IP address of the virtual machine corresponding to the cloud desktop; the screen recording scheduling center sends the screen recording request to the screen recording container, wherein the screen recording container performs screen recording of the cloud desktop based on the IP address to obtain screen recording data, and the screen recording container and the cloud desktop recorded by the screen recording container are deployed in the same local area network, which solves the technical problem in the related art that the recording container is deployed in the cloud desktop when recording the cloud desktop, occupying the computing resources of the cloud desktop, resulting in relatively poor computing efficiency of the cloud desktop. In this solution, the screen recording container is deployed in the local area network where the cloud desktop is located, and a screen recording scheduling center is deployed on the upper layer of the local area network. The screen recording request for the cloud desktop is received through the screen recording scheduling center, and then the screen recording request is sent to the screen recording container. The screen recording container uses the large bandwidth communication capability in the local area network to record the screen of the cloud desktop. A one-to-one desktop screen recording connection is made through the screen recording container to ensure that user data is isolated from other user data at the container granularity. In addition, since the screen recording container does not need to be deployed in the cloud desktop, the computing resources in the user's own cloud desktop are saved, thereby achieving the technical effect of improving the computing efficiency of the cloud desktop.

[0075] It should be noted that for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.

[0076] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this 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, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.

[0077] Example 2

[0078] This application provides Figure 4 The recording method of the cloud desktop is shown. Figure 4 This is a flow chart of a cloud desktop recording method according to embodiment 2 of the present application. The method includes:

[0079] Step S401: The screen recording container receives a screen recording request for a cloud desktop issued by a screen recording scheduling center, wherein the screen recording request includes at least the IP address of the virtual machine corresponding to the cloud desktop;

[0080] In step S402, the screen recording container records the screen of the cloud desktop according to the IP address to obtain screen recording data. The screen recording container and the cloud desktop recorded by the screen recording container are deployed in the same local area network.

[0081] Optionally, in the cloud desktop recording method provided in Example 2 of the present application, a screen recording cluster is deployed in the local area network where the user cloud desktop cluster is located, and a centralized screen recording scheduling center is deployed on the upper layer of the local area network. It should be noted that the screen recording cluster can be K8s (Kubemetes). The screen recording cluster includes a screen recording container for screen recording of the cloud desktop. It should be noted that the number of the above-mentioned screen recording containers can be dynamically adjusted according to the scheduling of the screen recording scheduling center. For example, the number of screen recording containers is increased during the peak period of the screen recording task to serve more desktops, and the number of screen recording containers is automatically reduced during the task trough period to save more computing resources.

[0082] When a cloud desktop needs to be recorded, the screen recording dispatch center receives a screen recording request from the user for the cloud desktop. It should be noted that the screen recording request must at least include the IP address of the virtual machine corresponding to the cloud desktop, so that the subsequent screen recording container can connect to the virtual machine through the IP address and complete the recording of the cloud desktop.

[0083] After receiving the screen recording request, the screen recording scheduling center sends the screen recording request to the screen recording container, and the screen recording container completes the screen recording of the cloud desktop according to the IP address.

[0084] It should be noted that the number of cloud desktops mentioned above can be one or more. In the case of multiple cloud desktops, the screen recording scheduling center will send the screen recording request of the cloud desktop to the corresponding screen recording container, ensuring a one-to-one object relationship between the screen recording container and the cloud desktop, thereby achieving the technical effect of isolating user data from other user data at the container granularity. In addition, the screen recording container and the cloud desktop are located on the same local area network, ensuring that the user's private screen data is not leaked to other networks, eliminating the risk of data interception.

[0085] To sum up, the screen recording container is deployed in the local area network where the cloud desktop is located, and the screen recording scheduling center is deployed on the upper layer of the local area network. The screen recording request for the cloud desktop is received through the screen recording scheduling center, and then the screen recording request is sent to the screen recording container. The screen recording container uses the large bandwidth communication capability in the local area network to record the screen of the cloud desktop. A one-to-one desktop screen recording connection is made through the screen recording container to ensure that user data is isolated from other user data at the container granularity. In addition, since the screen recording container does not need to be deployed in the cloud desktop, the computing resources in the user's own cloud desktop are saved, thereby achieving the technical effect of improving the computing efficiency of the cloud desktop.

[0086] In order to ensure that the screen recording container can record its corresponding cloud desktop, in the cloud desktop recording method provided in Example 2 of the present application, the screen recording container records the screen of the cloud desktop based on the IP address, and obtaining the screen recording data includes: the screen recording container determines the virtual machine corresponding to the cloud desktop based on the IP address; the screen recording container establishes a communication channel with the virtual machine; the screen recording container records the cloud desktop through the communication channel and the target port of the virtual machine to obtain screen recording data.

[0087] Optionally, after receiving the screen recording request, the screen recording container locates the virtual machine corresponding to the cloud desktop based on the IP address in the screen recording request, establishes a communication channel with the virtual machine, and finally records the cloud desktop through the communication channel and the target port of the virtual machine. It should be noted that the screen recording container obtains the video stream corresponding to the cloud desktop through the target port.

[0088] In order to protect the security of screen recording data, in the cloud desktop recording method provided in Example 2 of the present application, the screen recording container records the screen of the cloud desktop based on the IP address, and obtains the screen recording data, including: the screen recording container receives the recording policy for the cloud desktop issued by the screen recording scheduling center, wherein the recording policy includes at least one of the following: recording watermark, recording time and recording trigger condition; the screen recording container records the screen of the cloud desktop based on the recording policy and the IP address, and obtains the screen recording data.

[0089] Optionally, users can set recording strategies for different cloud desktops according to actual needs. It should be noted that the recording strategy can include recording watermarks, such as the size and style of the watermark; the recording strategy can also include recording time, for example, recording the cloud desktop starting in the morning, etc.; the recording strategy can also include recording trigger conditions, for example, recording when someone is using the cloud desktop, or recording the cloud desktop when a screenshot is taken on the cloud desktop, etc.

[0090] Optionally, the recording strategy for the cloud desktop is sent to the screen recording container through the above-mentioned screen recording scheduling center. After the screen recording container establishes a communication channel with the virtual machine according to the IP address, the cloud desktop on the virtual machine is recorded according to the screen recording strategy to obtain the above-mentioned screen recording data.

[0091] Sending recording policies to the recording container through the screen recording scheduling center reduces the chance of recording policies being tampered with by malicious users on the terminal, thereby improving data security.

[0092] In order to further improve the security of screen recording data, in the cloud desktop recording method provided in Example 2 of the present application, after obtaining the screen recording data, the method also includes: the screen recording container obtains the storage address of the screen recording data based on the screen recording request; if the database corresponding to the storage address is the database of the target object, the screen recording data is encrypted to obtain a screen recording ciphertext, wherein the target object is the object that initiates the screen recording request; the screen recording container writes the screen recording ciphertext into the database corresponding to the storage address.

[0093] Optionally, after obtaining the above-mentioned screen recording data, the screen recording container will obtain the storage address of the screen recording data according to the screen recording request, and determine whether the database storing the screen recording data is the database of the user (i.e., the above-mentioned target object) according to the storage address. If the database corresponding to the storage address is the database corresponding to the user, the screen recording data needs to be encrypted to obtain the corresponding screen recording ciphertext, and finally the screen recording ciphertext is written to the database corresponding to the storage address. It should be noted that if the database corresponding to the storage address is not the user's database, for example, the database corresponding to the storage address is a cloud database, the screen recording data does not need to be encrypted, and the screen recording data can be directly stored in the cloud database through the intranet.

[0094] It should be noted that the encryption method for screen recording data can be set according to the user's database requirements and is not specifically limited here.

[0095] By encrypting the screen recording data, the security of the screen recording data is further improved.

[0096] Through the cloud desktop recording method provided in Example 2 of the present application, a bypassed and dynamically scalable screen recording cluster is deployed in the local area network where the user's cloud desktop cluster is located, and a centralized screen recording scheduling center is deployed on the upper layer of the local area network. This can not only save computing resources in the user's own cloud desktop, but also dynamically deploy bypass screen recording services that meet the current screen recording task volume requirements according to the peak and valley trends of screen recording tasks, thereby saving the service computing resources of the cloud desktop manufacturer.

[0097] In the cloud desktop recording method provided in Example 2 of the present application, a screen recording request for the cloud desktop issued by the screen recording scheduling center is received through a screen recording container, wherein the screen recording request includes at least the IP address of the virtual machine corresponding to the cloud desktop; the screen recording container records the screen of the cloud desktop based on the IP address to obtain screen recording data, and the screen recording container and the cloud desktop recorded by the screen recording container are deployed in the same local area network, which solves the technical problem in the related art that the recording container is deployed in the cloud desktop when recording the cloud desktop, occupying the computing resources of the cloud desktop, resulting in relatively poor computing efficiency of the cloud desktop. In this solution, the screen recording container is deployed in the local area network where the cloud desktop is located, and a screen recording scheduling center is deployed on the upper layer of the local area network. The screen recording request for the cloud desktop is received through the screen recording scheduling center, and then the screen recording request is sent to the screen recording container. The screen recording container uses the large bandwidth communication capability in the local area network to record the screen of the cloud desktop. A one-to-one desktop screen recording connection is made through the screen recording container to ensure that user data is isolated from other user data at the container granularity. In addition, since the screen recording container does not need to be deployed in the cloud desktop, the computing resources in the user's own cloud desktop are saved, thereby achieving the technical effect of improving the computing efficiency of the cloud desktop.

[0098] It should be noted that for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.

[0099] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this 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, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.

[0100] Example 3

[0101] According to an embodiment of the present application, a cloud desktop recording system for implementing the above-mentioned cloud desktop recording method is also provided. Figure 5 As shown, the system includes:

[0102] Screen recording scheduling center 50, the screen recording scheduling center 50 is the screen recording scheduling center in the cloud desktop recording method provided in Example 1 of the present application;

[0103] The screen recording cluster 51 is composed of a screen recording container, wherein the screen recording container is the screen recording container in the cloud desktop recording method provided in the second embodiment of the present application.

[0104] Optionally, the recording system of the cloud desktop includes a screen recording scheduling center 50 and a screen recording cluster 51. The screen recording scheduling center 50 is the screen recording scheduling center in the cloud desktop recording method provided in Example 1 of the present application. The screen recording cluster 51 is composed of a screen recording container, which is the screen recording container in the cloud desktop recording method provided in Example 2 of the present application.

[0105] It should be noted that the steps executed by the above-mentioned screen recording scheduling center are the same as the steps in Example 1, and the steps executed by the above-mentioned screen recording container are the same as the steps in Example 2, which will not be repeated here.

[0106] It should be noted that for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.

[0107] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this 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, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.

[0108] Example 4

[0109] According to an embodiment of the present application, a cloud desktop recording device for implementing the cloud desktop recording method provided in the first embodiment of the present application is also provided. Figure 6 As shown, the device includes: a first receiving unit 601 and a sending unit 602.

[0110] The first receiving unit 601 is configured to receive a screen recording request for a cloud desktop from a screen recording scheduling center, wherein the screen recording request includes at least an IP address of a virtual machine corresponding to the cloud desktop;

[0111] The sending unit 602 is used for the screen recording scheduling center to send the screen recording request to the screen recording container, wherein the screen recording container records the screen of the cloud desktop according to the IP address to obtain screen recording data. The screen recording container and the cloud desktop recorded by the screen recording container are deployed in the same local area network.

[0112] In the cloud desktop recording device provided in Example 4 of the present application, a screen recording request for the cloud desktop is received by a first receiving unit 601 screen recording scheduling center, wherein the screen recording request includes at least the IP address of the virtual machine corresponding to the cloud desktop; the sending unit 602 screen recording scheduling center sends the screen recording request to the screen recording container, wherein the screen recording container performs screen recording of the cloud desktop based on the IP address to obtain screen recording data. The screen recording container and the cloud desktop recorded by the screen recording container are deployed in the same local area network, which solves the technical problem in the related technology that the recording container is deployed in the cloud desktop when recording the cloud desktop, occupying the computing resources of the cloud desktop, resulting in poor computing efficiency of the cloud desktop. In this solution, the screen recording container is deployed in the local area network where the cloud desktop is located, and a screen recording scheduling center is deployed on the upper layer of the local area network. The screen recording request for the cloud desktop is received through the screen recording scheduling center, and then the screen recording request is sent to the screen recording container. The screen recording container uses the large bandwidth communication capability in the local area network to record the screen of the cloud desktop. A one-to-one desktop screen recording connection is made through the screen recording container to ensure that user data is isolated from other user data at the container granularity. In addition, since the screen recording container does not need to be deployed in the cloud desktop, the computing resources in the user's own cloud desktop are saved, thereby achieving the technical effect of improving the computing efficiency of the cloud desktop.

[0113] Optionally, in the cloud desktop recording device provided in Example 4 of the present application, the device also includes: a first determination unit, used for the screen recording scheduling center to determine the target local area network where the cloud desktop is located based on the screen recording request before the screen recording scheduling center sends the screen recording request to the screen recording container; a second determination unit, used for the screen recording scheduling center to determine the target screen recording cluster based on the target local area network; a judgment unit, used for the screen recording scheduling center to judge whether the number of screen recording containers in the target screen recording cluster is the same as the number of cloud desktops; and a third determination unit, used for determining the screen recording container in the target screen recording cluster as the screen recording container to receive the screen recording request if the number of screen recording containers in the target screen recording cluster is the same as the number of cloud desktops.

[0114] Optionally, in the cloud desktop recording device provided in Example 4 of the present application, the device also includes: a fourth determination unit, used for the screen recording scheduling center to determine the number of cloud desktops and obtain the target number if the number of screen recording containers in the target screen recording cluster is different from the number of cloud desktops; a creation unit, used for the screen recording scheduling center to create a screen recording container in the target screen recording cluster based on the target number, so that the number of screen recording containers in the target screen recording cluster is the same as the target number.

[0115] Optionally, in the cloud desktop recording device provided in Example 4 of the present application, the sending unit includes: an acquisition module, used for the screen recording scheduling center to obtain the recording strategy for the cloud desktop, wherein the recording strategy includes at least one of the following: recording watermark, recording time and recording trigger conditions; a sending module, used for the screen recording scheduling center to send the recording strategy and screen recording request to the screen recording container.

[0116] Optionally, in the cloud desktop recording device provided in Example 4 of the present application, the device also includes: a processing unit, which is used to perform screen recording of the cloud desktop based on the IP address in the screen recording container. After obtaining the screen recording data, if the screen recording scheduling center detects a request to end recording for the cloud desktop, the screen recording container in the target screen recording cluster is destroyed according to the request to end recording.

[0117] It should be noted that the first receiving unit 601 and the sending unit 602 described above correspond to steps S201 to S202 in Example 1. The examples and application scenarios implemented by the two modules and the corresponding steps are the same, but are not limited to the contents disclosed in Example 1. It should be noted that the above modules, as part of the device, can be run in the computer terminal 10 provided in Example 1.

[0118] It should be noted that the preferred implementation scheme involved in the above embodiments of this application is the same as the scheme provided in Example 1, as well as the application scenario and implementation process, but is not limited to the scheme provided in Example 1.

[0119] Example 5

[0120] According to an embodiment of the present application, a cloud desktop recording device for implementing the cloud desktop recording method provided in the second embodiment of the present application is also provided. Figure 7 As shown, the device includes: a second receiving unit 701 and a recording unit 702.

[0121] The second receiving unit 701 is configured to receive, by the screen recording container, a screen recording request for a cloud desktop issued by the screen recording scheduling center, wherein the screen recording request includes at least the IP address of the virtual machine corresponding to the cloud desktop;

[0122] The recording unit 702 is used for the screen recording container to record the screen of the cloud desktop according to the IP address to obtain screen recording data. The screen recording container and the cloud desktop recorded by the screen recording container are deployed in the same local area network.

[0123] In the cloud desktop recording device provided in Example 5 of the present application, the second receiving unit 601 screen recording container receives a screen recording request for the cloud desktop issued by the screen recording scheduling center, wherein the screen recording request includes at least the IP address of the virtual machine corresponding to the cloud desktop; the recording unit 602 screen recording container records the screen of the cloud desktop according to the IP address to obtain screen recording data, and the screen recording container and the cloud desktop recorded by the screen recording container are deployed in the same local area network, which solves the technical problem in the related technology that the recording container is deployed in the cloud desktop when recording the cloud desktop, occupying the computing resources of the cloud desktop, resulting in relatively poor computing efficiency of the cloud desktop. In this solution, the screen recording container is deployed in the local area network where the cloud desktop is located, and a screen recording scheduling center is deployed on the upper layer of the local area network. Then, the screen recording request for the cloud desktop is received through the screen recording scheduling center, and then the screen recording request is sent to the screen recording container. The screen recording container uses the large bandwidth communication capability in the local area network to record the screen of the cloud desktop, and a one-to-one desktop screen recording connection is made through the screen recording container to ensure that user data is isolated from other user data at the container granularity. In addition, since the screen recording container does not need to be deployed in the cloud desktop, the computing resources in the user's own cloud desktop are saved, thereby achieving the technical effect of improving the computing efficiency of the cloud desktop.

[0124] Optionally, in the cloud desktop recording device provided in Example 5 of the present application, the recording unit includes: a determination module, used for the screen recording container to determine the virtual machine corresponding to the cloud desktop based on the IP address; an establishment module, used for the screen recording container to establish a communication channel with the virtual machine; a first recording module, used for the screen recording container to record the cloud desktop through the communication channel and the target port of the virtual machine to obtain screen recording data.

[0125] Optionally, in the cloud desktop recording device provided in Example 5 of the present application, the recording unit includes: a receiving module, which is used for the screen recording container to receive the recording strategy for the cloud desktop issued by the screen recording scheduling center, wherein the recording strategy includes at least one of the following: recording watermark, recording time and recording trigger condition; a second recording module, which is used for the screen recording container to perform screen recording of the cloud desktop according to the recording strategy and IP address to obtain screen recording data.

[0126] Optionally, in the cloud desktop recording device provided in Example 5 of the present application, the device also includes: an acquisition unit, which is used for, after obtaining the screen recording data, the screen recording container to obtain the storage address of the screen recording data according to the screen recording request; an encryption unit, which is used for encrypting the screen recording data if the database corresponding to the storage address is the database of the target object to obtain the screen recording ciphertext, wherein the target object is the object that initiates the screen recording request; and a writing unit, which is used for the screen recording container to write the screen recording ciphertext into the database corresponding to the storage address.

[0127] It should be noted that the second receiving unit 701 and the recording unit 702 described above correspond to steps S401 to S402 in the second embodiment. The examples and application scenarios implemented by the two modules and the corresponding steps are the same, but are not limited to the contents disclosed in the first embodiment. It should be noted that the above modules, as part of the device, can be run in the computer terminal 10 provided in the first embodiment.

[0128] It should be noted that the preferred implementation scheme involved in the above embodiments of this application is the same as the solution provided in Example 1, as well as the application scenario and implementation process, but is not limited to the solution provided in Example 1.

[0129] Example 6

[0130] The embodiment of the present application can provide a computer terminal, which can be any computer terminal device in a computer terminal group. Optionally, in this embodiment, the computer terminal can also be replaced by a terminal device such as a mobile terminal.

[0131] Optionally, in this embodiment, the computer terminal may be located in at least one network device among a plurality of network devices of a computer network.

[0132] In this embodiment, the above-mentioned computer terminal can execute the program code of the following steps in the cloud desktop recording method: the screen recording scheduling center receives a screen recording request for the cloud desktop, wherein the screen recording request includes at least the IP address of the virtual machine corresponding to the cloud desktop; the screen recording scheduling center sends the screen recording request to the screen recording container, wherein the screen recording container performs screen recording of the cloud desktop based on the IP address to obtain screen recording data, and the screen recording container and the cloud desktop recorded by the screen recording container are deployed in the same local area network.

[0133] The above-mentioned computer terminal can execute the program code of the following steps in the cloud desktop recording method: before the screen recording scheduling center sends the screen recording request to the screen recording container, the method also includes: the screen recording scheduling center determines the target local area network where the cloud desktop is located based on the screen recording request; the screen recording scheduling center determines the target screen recording cluster based on the target local area network; the screen recording scheduling center determines whether the number of screen recording containers in the target screen recording cluster is the same as the number of cloud desktops; if the number of screen recording containers in the target screen recording cluster is the same as the number of cloud desktops, the screen recording container in the target screen recording cluster is determined as the screen recording container to receive the screen recording request.

[0134] The above-mentioned computer terminal can execute the program code of the following steps in the cloud desktop recording method: if the number of screen recording containers in the target screen recording cluster is different from the number of cloud desktops, the method also includes: the screen recording scheduling center determines the number of cloud desktops to obtain the target number; the screen recording scheduling center creates a screen recording container in the target screen recording cluster based on the target number, so that the number of screen recording containers in the target screen recording cluster is the same as the target number.

[0135] The above-mentioned computer terminal can execute the program code of the following steps in the cloud desktop recording method: the screen recording scheduling center sends the screen recording request to the screen recording container, including: the screen recording scheduling center obtains the recording strategy for the cloud desktop, wherein the recording strategy includes at least one of the following: recording watermark, recording time and recording trigger conditions; the screen recording scheduling center sends the recording strategy and screen recording request to the screen recording container.

[0136] The above-mentioned computer terminal can execute the program code of the following steps in the cloud desktop recording method: after the screen recording container records the cloud desktop screen according to the IP address and obtains the screen recording data, the method also includes: if the screen recording scheduling center detects a request to end recording for the cloud desktop, the screen recording container in the target screen recording cluster is destroyed according to the request to end recording.

[0137] The above-mentioned computer terminal can execute the program code of the following steps in the cloud desktop recording method: the screen recording container receives a screen recording request for the cloud desktop issued by the screen recording scheduling center, wherein the screen recording request includes at least the IP address of the virtual machine corresponding to the cloud desktop; the screen recording container records the screen of the cloud desktop based on the IP address to obtain screen recording data, and the screen recording container and the cloud desktop recorded by the screen recording container are deployed in the same local area network.

[0138] The above-mentioned computer terminal can execute the program code of the following steps in the cloud desktop recording method: the screen recording container records the screen of the cloud desktop based on the IP address, and the screen recording data obtained includes: the screen recording container determines the virtual machine corresponding to the cloud desktop based on the IP address; the screen recording container establishes a communication channel with the virtual machine; the screen recording container records the cloud desktop through the communication channel and the target port of the virtual machine to obtain screen recording data.

[0139] The above-mentioned computer terminal can execute the program code of the following steps in the cloud desktop recording method: the screen recording container records the screen of the cloud desktop according to the IP address, and obtains the screen recording data including: the screen recording container receives the recording strategy for the cloud desktop issued by the screen recording scheduling center, wherein the recording strategy includes at least one of the following: recording watermark, recording time and recording trigger condition; the screen recording container records the screen of the cloud desktop according to the recording strategy and IP address, and obtains the screen recording data.

[0140] The above-mentioned computer terminal can execute the program code of the following steps in the cloud desktop recording method: after obtaining the screen recording data, the method also includes: the screen recording container obtains the storage address of the screen recording data based on the screen recording request; if the database corresponding to the storage address is the database of the target object, the screen recording data is encrypted to obtain the screen recording ciphertext, wherein the target object is the object that initiates the screen recording request; the screen recording container writes the screen recording ciphertext into the database corresponding to the storage address.

[0141] Optionally, Figure 8 This is a structural block diagram of a computer terminal according to an embodiment of the present application. Figure 8 As shown, the computer terminal 10 may include: one or more ( Figure 8 (only one is shown) processor 102, memory 104. The computing terminal 10 may also include a memory controller to control and manage the memory 104; the computing terminal 10 may also include a peripheral interface to connect to a radio frequency module, an audio module, and a display screen, etc.

[0142] Among them, the memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the cloud desktop recording method and device in the embodiment of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, realizing the above-mentioned cloud desktop recording method. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely located relative to the processor, and these remote memories can be connected to the terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0143] The processor can call the information and application stored in the memory through the transmission device to perform the following steps: the screen recording scheduling center receives a screen recording request for the cloud desktop, wherein the screen recording request includes at least the IP address of the virtual machine corresponding to the cloud desktop; the screen recording scheduling center sends the screen recording request to the screen recording container, wherein the screen recording container performs screen recording of the cloud desktop based on the IP address to obtain screen recording data, and the screen recording container and the cloud desktop recorded by the screen recording container are deployed in the same local area network.

[0144] Optionally, the above-mentioned processor can also execute the program code of the following steps: before the screen recording scheduling center sends the screen recording request to the screen recording container, the method also includes: the screen recording scheduling center determines the target local area network where the cloud desktop is located based on the screen recording request; the screen recording scheduling center determines the target screen recording cluster based on the target local area network; the screen recording scheduling center determines whether the number of screen recording containers in the target screen recording cluster is the same as the number of cloud desktops; if the number of screen recording containers in the target screen recording cluster is the same as the number of cloud desktops, the screen recording container in the target screen recording cluster is determined as the screen recording container to receive the screen recording request.

[0145] Optionally, the above-mentioned processor can also execute the program code of the following steps: if the number of screen recording containers in the target screen recording cluster is different from the number of cloud desktops, the method also includes: the screen recording scheduling center determines the number of cloud desktops to obtain the target number; the screen recording scheduling center creates a screen recording container in the target screen recording cluster based on the target number, so that the number of screen recording containers in the target screen recording cluster is the same as the target number.

[0146] Optionally, the above-mentioned processor can also execute the program code of the following steps: the screen recording scheduling center sends the screen recording request to the screen recording container, including: the screen recording scheduling center obtains the recording strategy for the cloud desktop, wherein the recording strategy includes at least one of the following: recording watermark, recording time and recording trigger conditions; the screen recording scheduling center sends the recording strategy and screen recording request to the screen recording container.

[0147] Optionally, the above-mentioned processor can also execute the program code of the following steps: after the screen recording container records the screen of the cloud desktop according to the IP address and obtains the screen recording data, the method also includes: if the screen recording scheduling center detects a request to end recording for the cloud desktop, the screen recording container in the target screen recording cluster is destroyed according to the request to end recording.

[0148] Optionally, the above-mentioned processor can also execute the program code of the following steps: the screen recording container receives a screen recording request for the cloud desktop issued by the screen recording scheduling center, wherein the screen recording request includes at least the IP address of the virtual machine corresponding to the cloud desktop; the screen recording container records the screen of the cloud desktop based on the IP address to obtain screen recording data, and the screen recording container and the cloud desktop recorded by the screen recording container are deployed in the same local area network.

[0149] Optionally, the above-mentioned processor can also execute the program code of the following steps: the screen recording container records the screen of the cloud desktop based on the IP address, and the screen recording data obtained includes: the screen recording container determines the virtual machine corresponding to the cloud desktop based on the IP address; the screen recording container establishes a communication channel with the virtual machine; the screen recording container records the cloud desktop through the communication channel and the target port of the virtual machine to obtain screen recording data.

[0150] Optionally, the above-mentioned processor can also execute the program code of the following steps: the screen recording container records the screen of the cloud desktop based on the IP address, and the screen recording data obtained includes: the screen recording container receives the recording strategy for the cloud desktop issued by the screen recording scheduling center, wherein the recording strategy includes at least one of the following: recording watermark, recording time and recording trigger condition; the screen recording container records the screen of the cloud desktop based on the recording strategy and IP address, and obtains screen recording data.

[0151] Optionally, the above-mentioned processor can also execute the program code of the following steps: after obtaining the screen recording data, the method also includes: the screen recording container obtains the storage address of the screen recording data based on the screen recording request; if the database corresponding to the storage address is the database of the target object, the screen recording data is encrypted to obtain the screen recording ciphertext, wherein the target object is the object that initiates the screen recording request; the screen recording container writes the screen recording ciphertext into the database corresponding to the storage address.

[0152] It can be understood by those skilled in the art that Figure 8 The structure shown is for illustration only, and the computer terminal may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (MID), a PAD, or other terminal devices. Figure 8 It does not limit the structure of the above electronic device. For example, the computer terminal 10 may also include Figure 8 More or fewer components (such as network interfaces, display devices, etc.) shown in, or with Figure 8 Different configurations shown.

[0153] A person skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0154] Example 7

[0155] The embodiment of the present application further provides a storage medium. Optionally, in this embodiment, the storage medium can be used to store the program code executed by the cloud desktop recording method provided in the first embodiment.

[0156] Optionally, in this embodiment, the storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.

[0157] Optionally, in this embodiment, the storage medium is configured to store program code for executing the following steps: the screen recording scheduling center receives a screen recording request for the cloud desktop, wherein the screen recording request includes at least the IP address of the virtual machine corresponding to the cloud desktop; the screen recording scheduling center sends the screen recording request to the screen recording container, wherein the screen recording container performs screen recording of the cloud desktop based on the IP address to obtain screen recording data, and the screen recording container and the cloud desktop recorded by the screen recording container are deployed in the same local area network.

[0158] The above-mentioned storage medium is configured to store program codes for executing the following steps: before the screen recording scheduling center sends the screen recording request to the screen recording container, the method also includes: the screen recording scheduling center determines the target local area network where the cloud desktop is located based on the screen recording request; the screen recording scheduling center determines the target screen recording cluster based on the target local area network; the screen recording scheduling center determines whether the number of screen recording containers in the target screen recording cluster is the same as the number of cloud desktops; if the number of screen recording containers in the target screen recording cluster is the same as the number of cloud desktops, then the screen recording container in the target screen recording cluster is determined as the screen recording container to receive the screen recording request.

[0159] The above-mentioned storage medium is configured to store program code for executing the following steps: If the number of screen recording containers in the target screen recording cluster is different from the number of cloud desktops, the method also includes: the screen recording scheduling center determines the number of cloud desktops to obtain the target number; the screen recording scheduling center creates a screen recording container in the target screen recording cluster based on the target number so that the number of screen recording containers in the target screen recording cluster is the same as the target number.

[0160] The above-mentioned storage medium is configured to store program code for executing the following steps: the screen recording scheduling center sends the screen recording request to the screen recording container, including: the screen recording scheduling center obtains the recording strategy for the cloud desktop, wherein the recording strategy includes at least one of the following: recording watermark, recording time and recording trigger conditions; the screen recording scheduling center sends the recording strategy and screen recording request to the screen recording container.

[0161] The above-mentioned storage medium is configured to store program code for executing the following steps: after the screen recording container records the screen of the cloud desktop according to the IP address and obtains the screen recording data, the method also includes: if the screen recording scheduling center detects a request to end recording for the cloud desktop, the screen recording container in the target screen recording cluster is destroyed according to the request to end recording.

[0162] The above-mentioned storage medium is configured to store program code for executing the following steps: the screen recording container receives a screen recording request for the cloud desktop issued by the screen recording scheduling center, wherein the screen recording request includes at least the IP address of the virtual machine corresponding to the cloud desktop; the screen recording container records the screen of the cloud desktop based on the IP address to obtain screen recording data, and the screen recording container and the cloud desktop recorded by the screen recording container are deployed in the same local area network.

[0163] The above-mentioned storage medium is configured to store program codes for executing the following steps: the screen recording container records the screen of the cloud desktop based on the IP address, and the screen recording data obtained includes: the screen recording container determines the virtual machine corresponding to the cloud desktop based on the IP address; the screen recording container establishes a communication channel with the virtual machine; the screen recording container records the cloud desktop through the communication channel and the target port of the virtual machine to obtain screen recording data.

[0164] The above-mentioned storage medium is configured to store program code for executing the following steps: the screen recording container records the screen of the cloud desktop based on the IP address, and the screen recording data obtained includes: the screen recording container receives the recording policy for the cloud desktop issued by the screen recording scheduling center, wherein the recording policy includes at least one of the following: recording watermark, recording time and recording trigger condition; the screen recording container records the screen of the cloud desktop based on the recording policy and IP address, and obtains screen recording data.

[0165] The above-mentioned storage medium is configured to store program code for executing the following steps: after obtaining the screen recording data, the method also includes: the screen recording container obtains the storage address of the screen recording data based on the screen recording request; if the database corresponding to the storage address is the database of the target object, the screen recording data is encrypted to obtain a screen recording ciphertext, wherein the target object is the object that initiates the screen recording request; the screen recording container writes the screen recording ciphertext into the database corresponding to the storage address.

[0166] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0167] In the above embodiments of the present application, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0168] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods, 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 units or modules, which can be electrical or other forms.

[0169] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0170] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0171] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0172] The above is only a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A cloud desktop recording method, characterized in that: include: The screen recording scheduling center receives a screen recording request for the cloud desktop, wherein the screen recording request includes at least an IP address of a virtual machine corresponding to the cloud desktop; The screen recording scheduling center sends the screen recording request to the screen recording container, wherein the screen recording container records the screen of the cloud desktop according to the IP address to obtain screen recording data, and the screen recording container and the cloud desktop recorded by the screen recording container are deployed in the same local area network.

2. The method according to claim 1, characterized in that Before the screen recording scheduling center sends the screen recording request to the screen recording container, the method further includes: The screen recording scheduling center determines the target local area network where the cloud desktop is located based on the screen recording request; The screen recording scheduling center determines a target screen recording cluster based on the target local area network; The screen recording scheduling center determines whether the number of screen recording containers in the target screen recording cluster is the same as the number of the cloud desktops; If the number of screen recording containers in the target screen recording cluster is the same as the number of the cloud desktops, the screen recording container in the target screen recording cluster is determined as the screen recording container to receive the screen recording request.

3. The method according to claim 2, characterized in that If the number of screen recording containers in the target screen recording cluster is different from the number of cloud desktops, the method further includes: The screen recording scheduling center determines the number of cloud desktops and obtains a target number; The screen recording scheduling center creates screen recording containers in the target screen recording cluster based on the target number, so that the number of screen recording containers in the target screen recording cluster is the same as the target number.

4. The method according to claim 1, wherein The screen recording scheduling center sends the screen recording request to the screen recording container, including: The screen recording scheduling center obtains a recording strategy for the cloud desktop, wherein the recording strategy includes at least one of the following: a recording watermark, a recording time, and a recording trigger condition; The screen recording scheduling center sends the recording strategy and the screen recording request to the screen recording container.

5. The method according to claim 2, characterized in that After the screen recording container performs screen recording on the cloud desktop according to the IP address and obtains screen recording data, the method further includes: If the screen recording scheduling center detects a request to end recording for the cloud desktop, the screen recording container in the target screen recording cluster is destroyed according to the request to end recording.

6. A cloud desktop recording method, characterized in that: include: The screen recording container receives a screen recording request for the cloud desktop issued by the screen recording scheduling center, wherein the screen recording request includes at least the IP address of the virtual machine corresponding to the cloud desktop; The screen recording container records the screen of the cloud desktop according to the IP address to obtain screen recording data, and the screen recording container and the cloud desktop recorded by the screen recording container are deployed in the same local area network.

7. The method according to claim 6, characterized in that The screen recording container records the screen of the cloud desktop according to the IP address, and the obtained screen recording data includes: The screen recording container determines the virtual machine corresponding to the cloud desktop based on the IP address; The screen recording container establishes a communication channel with the virtual machine; The screen recording container records the cloud desktop through the communication channel and the target port of the virtual machine to obtain the screen recording data.

8. The method according to claim 6, characterized in that The screen recording container records the screen of the cloud desktop according to the IP address, and the obtained screen recording data includes: The screen recording container receives a recording policy for the cloud desktop issued by the screen recording scheduling center, wherein the recording policy includes at least one of the following: a recording watermark, a recording time, and a recording trigger condition; The screen recording container records the screen of the cloud desktop according to the recording strategy and the IP address to obtain screen recording data.

9. The method according to claim 6, characterized in that After obtaining the screen recording data, the method further includes: The screen recording container obtains the storage address of the screen recording data according to the screen recording request; If the database corresponding to the storage address is the database of the target object, encrypting the screen recording data to obtain screen recording ciphertext, wherein the target object is the object that initiated the screen recording request; The screen recording container writes the screen recording ciphertext into the database corresponding to the storage address.

10. A cloud desktop recording system, characterized in that: include: A screen recording scheduling center, wherein the screen recording scheduling center is the screen recording scheduling center according to any one of claims 1 to 5; A screen recording cluster, wherein the screen recording cluster is composed of a screen recording container, wherein the screen recording container is the screen recording container described in any one of claims 6 to 9.

11. A cloud desktop recording device, characterized in that: include: A first receiving unit is configured to receive, by a screen recording scheduling center, a screen recording request for a cloud desktop, wherein the screen recording request includes at least an IP address of a virtual machine corresponding to the cloud desktop; A sending unit is used for the screen recording scheduling center to send the screen recording request to the screen recording container, wherein the screen recording container performs screen recording on the cloud desktop according to the IP address to obtain screen recording data, and the screen recording container and the cloud desktop recorded by the screen recording container are deployed in the same local area network.

12. A cloud desktop recording device, characterized in that: include: A second receiving unit is configured to receive, by the screen recording container, a screen recording request for the cloud desktop issued by the screen recording scheduling center, wherein the screen recording request includes at least an IP address of the virtual machine corresponding to the cloud desktop; A recording unit is used for the screen recording container to record the screen of the cloud desktop according to the IP address to obtain screen recording data. The screen recording container and the cloud desktop recorded by the screen recording container are deployed in the same local area network.

13. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the cloud desktop recording method according to any one of claims 1 to 9.

14. An electronic device, characterized in that: include: a memory storing an executable program; A processor is used to run the program, wherein when the program is running, the cloud desktop recording method described in any one of claims 1 to 9 is executed.