Method and system for dynamically adjusting monitoring acquisition address of virtualized cloud desktop

By deploying monitoring systems and acquisition and forwarding services, dynamic adjustment of cloud desktop monitoring and acquisition addresses is achieved, solving the problem that the acquisition addresses cannot be updated after cloud desktop creation or deletion in the existing technology, and improving the stability and flexibility of monitoring services.

CN119402494AActive Publication Date: 2025-02-07INSPUR COMM TECH CO LTD
View PDF 15 Cites 0 Cited by

Patent Information

Application Number
CN202411529043.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-30
Publication Date
2025-02-07
Estimated Expiration
2044-10-30

AI Technical Summary

Technical Problem

The existing cloud desktop monitoring and collection service cannot be flexible and add or deleted. This will result in the corresponding cloud desktop monitoring data collection address in the monitoring system after the cloud desktop is created or deleted, which will affect the stability of the monitoring service.

Method used

By deploying monitoring system and collection and forwarding services, the cloud desktop management platform adds the collection and forwarding service address to the monitoring system monitoring collection address list when creating a cloud desktop, and registers the collection and forwarding service address within the cloud desktop to achieve dynamic adjustment of the virtualized cloud desktop Monitor the collection address.

Benefits of technology

It realizes flexible updates of cloud desktop monitoring and acquisition addresses, solves the problem that the collection addresses in the monitoring system cannot be updated after cloud desktop creation or deletion, and improves the stability and flexibility of monitoring services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119402494A_ABST
    Figure CN119402494A_ABST
Patent Text Reader

Abstract

The invention particularly relates to a method and a system for dynamically adjusting a monitoring acquisition address of a virtualized cloud desktop. According to the method for dynamically adjusting the monitoring acquisition address of the virtualized cloud desktop, a monitoring system and an acquisition forwarding service are deployed, the address is added to a monitoring acquisition address list of the monitoring system when the cloud desktop is created, and a current cloud desktop IP is registered in the acquisition forwarding service; after receiving the registration request, the acquisition forwarding service adds the current cloud desktop information to a cloud desktop acquisition list; the monitoring system periodically acquires monitoring data from the acquisition and forwarding service; the acquisition and forwarding service circularly acquires corresponding cloud desktop monitoring information from the registered cloud desktop acquisition list, and feeds back the data to the monitoring system in a unified manner; and after deleting the cloud desktop, removing the corresponding cloud desktop address information from the cloud desktop acquisition list. According to the method and the system for dynamically adjusting the monitoring acquisition address of the virtualized cloud desktop, flexible updating of monitoring acquisition of the cloud desktop is realized under the condition of not influencing operation of a monitoring service.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cloud information technology, and in particular to a method and system for dynamically adjusting a virtualized cloud desktop monitoring and collection address. Background Art

[0002] Currently, there are two mainstream technical implementation solutions for cloud desktop products based on different protocol transmission methods:

[0003] Solution 1: Embed the cloud desktop transmission proxy service in the IaaS virtualization layer, and forward the cloud desktop protocol data to the terminal user interface through the IaaS layer interface and the transmission proxy service;

[0004] Solution 2: The cloud desktop transmission gateway service is deployed inside the IaaS layer virtual machine. The cloud desktop management service is decoupled from the IaaS layer and does not invade the IaaS layer host machine. The cloud desktop protocol data is forwarded to the end user through the gateway virtual machine proxy.

[0005] The monitoring systems corresponding to the two solutions are different. Compared with Solution 1, Solution 2 has less dependence on the underlying layer and higher compatibility. Because Solution 1 is coupled with the IaaS layer of the cloud desktop, the monitoring data of the cloud desktop can be directly collected and reported through the monitoring suite of the IaaS layer host. Solution 2 is decoupled from the IaaS layer and cannot use the IaaS layer's own monitoring system. The cloud desktop management platform needs to collect data by itself. Cloud desktop data collection requires first adding the cloud desktop address to the monitoring system configuration file, and then restarting the monitoring collection service to add it successfully, which affects the stable operation of the monitoring service.

[0006] In order to solve the problem that the monitoring and collection service cannot flexibly and dynamically add or delete cloud desktop collection addresses, and the corresponding cloud desktop monitoring data collection address in the monitoring system cannot be flexibly updated after the cloud desktop is created or deleted, a method and system for dynamically adjusting the virtualized cloud desktop monitoring collection address are proposed. Summary of the invention

[0007] In order to make up for the defects of the prior art, the present invention provides a simple and efficient method and system for dynamically adjusting the virtualized cloud desktop monitoring collection address.

[0008] The present invention is achieved through the following technical solutions:

[0009] A method for dynamically adjusting a virtualized cloud desktop monitoring collection address, characterized in that it comprises the following steps:

[0010] Step S1: deploy the monitoring system and the collection and forwarding service. The cloud desktop management platform configures the collection and forwarding service address information, and adds the collection and forwarding service address to the monitoring system monitoring collection address list when creating a cloud desktop.

[0011] In the step S1, after the cloud desktop is created, the cloud desktop management platform transmits the collection and forwarding service address information to the cloud desktop through the matedata (metadata) field through the IaaS (Infrastructure as a Service) layer interface.

[0012] In step S1, the cloud desktop management platform can also inject the collection and forwarding service address information into the cloud desktop through Cloudinit initialization.

[0013] Step S2: The cloud desktop internally accepts the collection and forwarding service address and registers the current cloud desktop IP into the collection and forwarding service;

[0014] In step S2, when the cloud desktop is created and initialized, the cloud desktop obtains the incoming matedata field from the IaaS layer interface to obtain the collection and forwarding service address information, initiates a registration request to the collection and forwarding service and reports the IP information, calls the collection and forwarding service address API interface, and sends the local IP address to the collection and forwarding service.

[0015] In step S2, when the cloud desktop initiates a registration request to the collection and forwarding service, the request includes but is not limited to the IP address, host name, Mac address and monitoring collection address of the cloud desktop.

[0016] Step S3: After receiving the registration request, the collection and forwarding service adds the current cloud desktop information to the cloud desktop collection list for subsequent cloud desktop monitoring data collection and acquisition;

[0017] Step S4: connect the collection and forwarding service with the monitoring system, and the monitoring system periodically obtains monitoring data from the collection and forwarding service; the collection and forwarding service cyclically collects the corresponding cloud desktop monitoring information from the registered cloud desktop collection list, and uniformly feeds the data back to the monitoring system;

[0018] In step S4, the cloud desktop image internally integrates a monitoring collection Agent service, which is responsible for collecting internal monitoring data of the cloud desktop;

[0019] After receiving the request to obtain monitoring data, the collection and forwarding service obtains the address information of all registered cloud desktops from the cloud desktop collection list, sends monitoring data collection requests to all cloud desktop addresses in turn, and obtains the monitoring data of the corresponding cloud desktop; after the collection and forwarding service collects the monitoring data, it sends all cloud desktop monitoring data to the monitoring system.

[0020] Step S5: After deleting the cloud desktop, the cloud desktop management service initiates a deletion request to the collection and forwarding service, removes the corresponding cloud desktop address information from the cloud desktop collection list, and subsequent collections no longer obtain the cloud desktop information.

[0021] A system for dynamically adjusting a virtualized cloud desktop monitoring and collection address, comprising a cloud desktop management platform, a monitoring system, and a collection and forwarding service:

[0022] The cloud desktop management platform is responsible for configuring the collection and forwarding service address information, and adding the collection and forwarding service address to the monitoring system collection address list when creating a cloud desktop, and registering the current cloud desktop IP to the collection and forwarding service; at the same time, after deleting the cloud desktop, it is responsible for initiating a deletion request to the collection and forwarding service to remove the corresponding cloud desktop address information from the cloud desktop collection list;

[0023] The monitoring system is responsible for periodically obtaining monitoring data from the collection and forwarding service;

[0024] The collection and forwarding service is connected to the monitoring system. After receiving the registration request, it is responsible for adding the current cloud desktop information to the cloud desktop collection list, and cyclically collecting the corresponding cloud desktop monitoring information from the registered cloud desktop collection list, and uniformly feeding the data back to the monitoring system.

[0025] A computing device for dynamically adjusting a virtualized cloud desktop monitoring and collection address, characterized in that it includes:

[0026] One or more processors, one or more memories, and one or more programs, wherein the one or more programs are stored in the one or more memories and are configured to be executed by the one or more processors, and the one or more programs include instructions for executing any of the above methods.

[0027] A computer-readable storage medium storing one or more programs, characterized in that: the one or more programs include instructions, and when the instructions are executed by a computing device that dynamically adjusts the virtualized cloud desktop monitoring and collection address, the computing device that dynamically adjusts the virtualized cloud desktop monitoring and collection address executes any of the above methods.

[0028] The beneficial effect of the present invention is that the method and system for dynamically adjusting the virtualized cloud desktop monitoring and collection address realizes the flexible update of cloud desktop monitoring and collection without affecting the operation of the monitoring service, and solves the problem that the monitoring and collection service cannot flexibly and dynamically add or delete cloud desktop collection addresses in the cloud desktop scenario, and the corresponding cloud desktop monitoring data collection address in the monitoring system cannot be flexibly updated after the cloud desktop is created or deleted. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0030] Attached Figure 1 A schematic diagram of a method for dynamically adjusting a virtualized cloud desktop monitoring collection address according to the present invention. DETAILED DESCRIPTION

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

[0032] The method for dynamically adjusting the virtualized cloud desktop monitoring collection address includes the following steps:

[0033] Step S1: deploy the monitoring system and the collection and forwarding service. The cloud desktop management platform configures the collection and forwarding service address information, and adds the collection and forwarding service address to the monitoring system monitoring collection address list when creating a cloud desktop.

[0034] The collection and forwarding service supports high-availability mode deployment, including but not limited to master-slave high-availability mode and multi-master high-availability mode. At the same time, the collection and forwarding service supports deployment modes including but not limited to container deployment and binary deployment, supports cross-data center data synchronization, and maintains collection address information of multiple data centers.

[0035] The collection forwarding service maintains and monitors the collection address range through the cloud desktop pool, and supports dynamic hot addition and deletion of collection information in the cloud desktop collection list.

[0036] In the step S1, after the cloud desktop is created, the cloud desktop management platform transmits the collection and forwarding service address information to the cloud desktop through the matedata (metadata) field through the IaaS (Infrastructure as a Service) layer interface.

[0037] In step S1, the cloud desktop management platform can also inject the collection and forwarding service address information into the cloud desktop through Cloudinit initialization.

[0038] Step S2: The cloud desktop internally accepts the collection and forwarding service address and registers the current cloud desktop IP into the collection and forwarding service;

[0039] In step S2, when the cloud desktop is created and initialized, the cloud desktop obtains the incoming matedata field from the IaaS layer interface to obtain the collection and forwarding service address information, initiates a registration request to the collection and forwarding service and reports the IP information, calls the collection and forwarding service address API interface, and sends the local IP address to the collection and forwarding service.

[0040] The collection and forwarding service provides API call forms including but not limited to HTTP Restful API call and message queue call.

[0041] In step S2, when the cloud desktop initiates a registration request to the collection and forwarding service, the request includes but is not limited to the IP address, host name, Mac address and monitoring collection address of the cloud desktop.

[0042] Step S3: After receiving the registration request, the collection and forwarding service adds the current cloud desktop information to the cloud desktop collection list for subsequent cloud desktop monitoring data collection and acquisition;

[0043] The collection and forwarding service does not store the monitoring data of the cloud desktop. It only obtains the current monitoring data indicators in real time when receiving a collection request from the monitoring system.

[0044] Step S4: connect the collection and forwarding service with the monitoring system, and the monitoring system periodically obtains monitoring data from the collection and forwarding service; the collection and forwarding service cyclically collects the corresponding cloud desktop monitoring information from the registered cloud desktop collection list, and uniformly feeds the data back to the monitoring system;

[0045] In step S4, the cloud desktop image internally integrates a monitoring collection Agent service, which is responsible for collecting internal monitoring data of the cloud desktop;

[0046] After receiving the request to obtain monitoring data, the collection and forwarding service obtains the address information of all registered cloud desktops from the cloud desktop collection list, sends monitoring data collection requests to all cloud desktop addresses in turn, and obtains the monitoring data of the corresponding cloud desktop; after the collection and forwarding service collects the monitoring data, it sends all cloud desktop monitoring data to the monitoring system.

[0047] Step S5: After deleting the cloud desktop, the cloud desktop management service initiates a deletion request to the collection and forwarding service, removes the corresponding cloud desktop address information from the cloud desktop collection list, and subsequent collections no longer obtain the cloud desktop information.

[0048] The system for dynamically adjusting the virtualized cloud desktop monitoring collection address includes a cloud desktop management platform, a monitoring system and a collection forwarding service:

[0049] The cloud desktop management platform is responsible for configuring the collection and forwarding service address information, and adding the collection and forwarding service address to the monitoring system collection address list when creating a cloud desktop, and registering the current cloud desktop IP to the collection and forwarding service; at the same time, after deleting the cloud desktop, it is responsible for initiating a deletion request to the collection and forwarding service to remove the corresponding cloud desktop address information from the cloud desktop collection list;

[0050] The monitoring system is responsible for periodically obtaining monitoring data from the collection and forwarding service;

[0051] The collection and forwarding service is connected to the monitoring system. After receiving the registration request, it is responsible for adding the current cloud desktop information to the cloud desktop collection list, and cyclically collecting the corresponding cloud desktop monitoring information from the registered cloud desktop collection list, and uniformly feeding the data back to the monitoring system.

[0052] The computing device for dynamically adjusting the virtualized cloud desktop monitoring collection address includes:

[0053] One or more processors, one or more memories, and one or more programs, wherein the one or more programs are stored in the one or more memories and are configured to be executed by the one or more processors, and the one or more programs include instructions for executing any of the above methods.

[0054] The computer-readable storage medium stores one or more programs, wherein the one or more programs include instructions, and when the instructions are executed by a computing device that dynamically adjusts the virtualized cloud desktop monitoring and collection address, the computing device that dynamically adjusts the virtualized cloud desktop monitoring and collection address executes any one of the above methods.

[0055] The method and system for dynamically adjusting the virtualized cloud desktop monitoring collection address provide a monitoring data collection forwarding service for dumping cloud desktop collection address information, thereby realizing dynamic adjustment of the cloud desktop collection address. The collection service of the monitoring system only needs to add the address information of the dump service to collect data indicators of all cloud desktops.

[0056] The embodiment described above is only one specific implementation of the present invention. Common changes and substitutions made by those skilled in the art within the scope of the technical solution of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for dynamically adjusting a virtualized cloud desktop monitoring collection address, characterized in that: The following steps are involved: Step S1: deploy the monitoring system and the collection and forwarding service. The cloud desktop management platform configures the collection and forwarding service address information, and adds the collection and forwarding service address to the monitoring system monitoring collection address list when creating a cloud desktop. Step S2: The cloud desktop internally accepts the collection and forwarding service address and registers the current cloud desktop IP into the collection and forwarding service; Step S3: After receiving the registration request, the collection and forwarding service adds the current cloud desktop information to the cloud desktop collection list for subsequent cloud desktop monitoring data collection and acquisition; Step S4: connect the collection and forwarding service with the monitoring system, and the monitoring system periodically obtains monitoring data from the collection and forwarding service; the collection and forwarding service cyclically collects the corresponding cloud desktop monitoring information from the registered cloud desktop collection list, and uniformly feeds the data back to the monitoring system; Step S5: After deleting the cloud desktop, the cloud desktop management service initiates a deletion request to the collection and forwarding service, removes the corresponding cloud desktop address information from the cloud desktop collection list, and subsequent collections no longer obtain the cloud desktop information.

2. The method for dynamically adjusting the virtualized cloud desktop monitoring collection address according to claim 1 is characterized in that: In step S1, after the cloud desktop is created, the cloud desktop management platform transmits the collection and forwarding service address information to the cloud desktop through the matedata field via the IaaS layer interface.

3. The method for dynamically adjusting the virtualized cloud desktop monitoring collection address according to claim 1 is characterized in that: In step S1, the cloud desktop management platform injects the collection and forwarding service address information into the cloud desktop through Cloudinit initialization.

4. The method for dynamically adjusting the virtualized cloud desktop monitoring collection address according to claim 2 is characterized in that: In step S2, when the cloud desktop is created and initialized, the cloud desktop obtains the incoming matedata field from the IaaS layer interface to obtain the collection and forwarding service address information, initiates a registration request to the collection and forwarding service and reports the IP information, calls the collection and forwarding service address API interface, and sends the local IP address to the collection and forwarding service.

5. The method for dynamically adjusting the virtualized cloud desktop monitoring collection address according to claim 4, characterized in that: In step S2, when the cloud desktop initiates a registration request to the collection and forwarding service, the request includes but is not limited to the IP address, host name, Mac address and monitoring collection address of the cloud desktop.

6. The method for dynamically adjusting the virtualized cloud desktop monitoring collection address according to claim 1, characterized in that: In step S4, the cloud desktop image internally integrates a monitoring collection Agent service, which is responsible for collecting internal monitoring data of the cloud desktop; After receiving the request to obtain monitoring data, the collection and forwarding service obtains the address information of all registered cloud desktops from the cloud desktop collection list, sends monitoring data collection requests to all cloud desktop addresses in turn, and obtains the monitoring data of the corresponding cloud desktop; after the collection and forwarding service collects the monitoring data, it sends all cloud desktop monitoring data to the monitoring system.

7. A system for dynamically adjusting a virtualized cloud desktop monitoring and collection address, characterized in that: include: Including cloud desktop management platform, monitoring system and collection and forwarding services: The cloud desktop management platform is responsible for configuring the collection and forwarding service address information, and adding the collection and forwarding service address to the monitoring system collection address list when creating a cloud desktop, and registering the current cloud desktop IP to the collection and forwarding service; at the same time, after deleting the cloud desktop, it is responsible for initiating a deletion request to the collection and forwarding service to remove the corresponding cloud desktop address information from the cloud desktop collection list; The monitoring system is responsible for periodically obtaining monitoring data from the collection and forwarding service; The collection and forwarding service is connected to the monitoring system. After receiving the registration request, it is responsible for adding the current cloud desktop information to the cloud desktop collection list, and cyclically collecting the corresponding cloud desktop monitoring information from the registered cloud desktop collection list, and uniformly feeding the data back to the monitoring system.

8. A computing device for dynamically adjusting a virtualized cloud desktop monitoring and collection address, characterized in that: include: One or more processors, one or more memories, and one or more programs, wherein the one or more programs are stored in the one or more memories and are configured to be executed by the one or more processors, and the one or more programs include instructions for executing any of the methods according to claims 1 to 6.

9. A computer-readable storage medium storing one or more programs, characterized in that: The one or more programs include instructions, which, when executed by a computing device that dynamically adjusts a virtualized cloud desktop monitoring and collection address, enable the computing device that dynamically adjusts a virtualized cloud desktop monitoring and collection address to execute any one of the methods according to claims 1 to 6.

Citation Information

Patent Citations

  • Cloud resource classification and identification system and cloud resource classification and identification method

    CN102750184A

  • A monitoring method and system for a monitoring cloud platform

    CN109714192A

  • Extensible multi-level monitoring framework for cloud platform and monitoring method thereof

    CN109951320A

  • Connection control method and device, related equipment and storage medium

    CN114416282A

  • Cloud desktop communication method and system based on transit server

    CN115865906A