Method and system for dynamically adjusting virtualized cloud desktop monitoring collection address

By working together with the cloud desktop management platform and the data collection and forwarding service, the monitoring data collection address of the cloud desktop is dynamically adjusted, which solves the problem that the monitoring data collection address cannot be updated in a timely manner when the cloud desktop is created or deleted, and realizes the stable and efficient operation of the monitoring service.

CN119402494BActive Publication Date: 2025-11-07INSPUR COMM TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In existing technologies, cloud desktop monitoring and data collection services cannot flexibly update cloud desktop addresses, which affects the stability of the monitoring service, especially when cloud desktops are created or deleted, the monitoring data collection address cannot be adjusted in a timely manner.

Method used

By deploying a monitoring system and a data collection and forwarding service, the cloud desktop management platform dynamically configures and updates the data collection and forwarding service address when creating or deleting a cloud desktop. The cloud desktop registers and manages IP information internally, the data collection and forwarding service is responsible for the real-time collection and feedback of monitoring data, and the monitoring system periodically acquires data.

Benefits of technology

It enables flexible updates to the cloud desktop monitoring collection address without affecting the operation of the monitoring service, solving the flexibility problem of monitoring data collection in cloud desktop scenarios and ensuring the stability and efficiency of the monitoring service.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119402494B_ABST
    Figure CN119402494B_ABST
Patent Text Reader

Abstract

The application particularly relates to a method and system for dynamically adjusting a monitoring collection address of a virtualized cloud desktop. The method for dynamically adjusting the monitoring collection address of the virtualized cloud desktop deploys a monitoring system and a collection forwarding service, adds an address to a monitoring collection address list in the monitoring system when a cloud desktop is created, and registers a current cloud desktop IP in the collection forwarding service; after the collection forwarding service receives a registration request, adds current cloud desktop information to a cloud desktop collection list; the monitoring system periodically acquires monitoring data from the collection forwarding service; the collection forwarding service cyclically collects corresponding cloud desktop monitoring information from the registered cloud desktop collection list, and uniformly feeds back data to the monitoring system; after a cloud desktop is deleted, corresponding cloud desktop address information is removed from the cloud desktop collection list. The method and system for dynamically adjusting the monitoring collection address of the virtualized cloud desktop realize flexible updating of cloud desktop monitoring collection without affecting the operation of a monitoring service.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

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

[0002] Currently, there are two mainstream technical implementation schemes for cloud desktop products according to different protocol transmission methods:

[0003] Scheme 1: a cloud desktop transmission agent service is embedded in the IaaS virtualization layer, and cloud desktop protocol data is forwarded to the terminal user interface through the IaaS layer interface and the transmission agent service.

[0004] Scheme 2: a cloud desktop transmission gateway service is deployed in the IaaS layer virtual machine, the cloud desktop management service is decoupled from the IaaS layer, and there is no invasion of the IaaS layer host, and cloud desktop protocol data is forwarded to the terminal user through the gateway virtual machine agent.

[0005] The monitoring systems corresponding to the two schemes are different. Compared with scheme 1, scheme 2 has less dependence on the underlying and higher compatibility. Since scheme 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 kit of the IaaS layer host. Since scheme 2 is decoupled from the IaaS layer, the IaaS layer self-monitoring system cannot be used, and the data needs to be collected by the cloud desktop management platform. Cloud desktop data collection needs to first add the cloud desktop address to the monitoring system configuration file, and then restart the monitoring collection service to add successfully, which affects the stable operation of the monitoring service.

[0006] In order to solve the problem that the monitoring collection service cannot 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 monitoring collection address of a virtualized cloud desktop are proposed. SUMMARY

[0007] The present application provides a simple and efficient method and system for dynamically adjusting the monitoring collection address of a virtualized cloud desktop to overcome the shortcomings of the prior art.

[0008] The present application is implemented by the following technical solutions:

[0009] A method for dynamically adjusting the monitoring collection address of a virtualized cloud desktop, characterized by comprising the following steps:

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

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

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

[0013] In the step S2, the cloud desktop inside accepts the collection forwarding service address and registers the current cloud desktop IP into the collection forwarding service.

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

[0015] In the step S2, when the cloud desktop initiates a registration request to the collection 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] In the step S3, after the collection forwarding service receives the registration request, the current cloud desktop information is added to the cloud desktop collection list, which is used for subsequent cloud desktop monitoring data collection and acquisition.

[0017] In the step S4, the collection forwarding service is connected with the monitoring system, the monitoring system periodically acquires monitoring data from the collection forwarding service, the collection forwarding service cyclically collects corresponding cloud desktop monitoring information from the registered cloud desktop collection list, and the data is uniformly fed back to the monitoring system.

[0018] In the step S4, the monitoring collection Agent service is integrated into the cloud desktop image and is responsible for collecting the cloud desktop internal monitoring data.

[0019] After the collection forwarding service receives the monitoring data acquisition request, the collection forwarding service acquires all registered cloud desktop address information from the cloud desktop collection list, sends the monitoring data collection request to all cloud desktop addresses in sequence, acquires the monitoring data of the corresponding cloud desktop, and sends all cloud desktop monitoring data to the monitoring system after the collection forwarding service collects the monitoring data.

[0020] In the step S5, after the cloud desktop is deleted, the cloud desktop management service initiates a deletion request to the collection forwarding service, removes the corresponding cloud desktop address information from the cloud desktop collection list, and the subsequent collection no longer acquires the cloud desktop information.

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

[0022] The cloud desktop management platform is responsible for configuring the collection forwarding service address information, and adding the address of the collection forwarding service to the monitoring system monitoring collection address list when creating a cloud desktop, and registering the current cloud desktop IP in the collection forwarding service; at the same time, after deleting the cloud desktop, it is responsible for initiating a deletion request to the collection forwarding service, and removing 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 forwarding service;

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

[0025] A computing device for dynamically adjusting virtualized cloud desktop monitoring collection addresses, characterized by comprising:

[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 configured to be executed by the one or more processors, and the one or more programs comprise 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 comprise instructions, which when executed by a computing device for dynamically adjusting virtualized cloud desktop monitoring collection addresses, cause the computing device for dynamically adjusting virtualized cloud desktop monitoring collection addresses to execute any of the above methods.

[0028] The beneficial effects of the present application are: the method and system for dynamically adjusting virtualized cloud desktop monitoring collection addresses realize flexible updating of cloud desktop monitoring collection without affecting the operation of the monitoring service, solve the problem that the monitoring collection service cannot dynamically add or delete cloud desktop collection addresses in the cloud desktop scenario, and the problem that 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 DRAWINGS

[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings described below are some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor on the basis of these drawings.

[0030] Appendix Figure 1 The method for dynamically adjusting the monitoring and collecting address of the virtualized cloud desktop of the present application is shown in the schematic diagram. DETAILED DESCRIPTION

[0031] In order to make the person skilled in the art better understand the technical solutions in the present application, the following will combine the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor should be within the scope of protection of the present application.

[0032] The method for dynamically adjusting the monitoring and collecting address of the virtualized cloud desktop comprises the following steps:

[0033] Step S1, deploy the monitoring system and the collecting and forwarding service, the cloud desktop management platform configures the address information of the collecting and forwarding service, and adds the address of the collecting and forwarding service to the monitoring and collecting address list in the monitoring system when creating the cloud desktop;

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

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

[0036] In the step S1, after creating the cloud desktop, the cloud desktop management platform transmits the address information of the collecting and forwarding service into the cloud desktop through the matedata field through the IaaS (Infrastructure as a Service, Infrastructure as a Service) layer interface.

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

[0038] Step S2, the cloud desktop internally accepts the collection forwarding service address, and registers the current cloud desktop IP to the collection forwarding service;

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

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

[0041] In the step S2, when the cloud desktop initiates a registration request to the collection 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 the collection forwarding service receives the registration request, the current cloud desktop information is added to the cloud desktop collection list, which is used for subsequent cloud desktop monitoring data collection and acquisition;

[0043] The collection forwarding service does not store the monitoring data of the cloud desktop, but only acquires the current monitoring data index in real time when receiving the monitoring system collection request.

[0044] Step S4, the collection forwarding service is connected with the monitoring system, the monitoring system periodically acquires monitoring data from the collection forwarding service, the collection forwarding service collects the monitoring information of the corresponding cloud desktop from the registered cloud desktop collection list, and feeds back the data to the monitoring system;

[0045] In the step S4, the monitoring collection Agent service is integrated in the cloud desktop image, which is responsible for collecting the internal monitoring data of the cloud desktop.

[0046] After the collection forwarding service receives the monitoring data acquisition request, the collection forwarding service acquires all the registered cloud desktop address information from the cloud desktop collection list, sends the monitoring data collection request to all cloud desktop addresses in turn, acquires the monitoring data of the corresponding cloud desktop, and sends all the cloud desktop monitoring data to the monitoring system after collecting the monitoring data.

[0047] Step S5, after the cloud desktop is deleted, the cloud desktop management service initiates a deletion request to the collection forwarding service, removes the corresponding cloud desktop address information from the cloud desktop collection list, and the subsequent collection no longer acquires the cloud desktop information.

[0048] The system for dynamically adjusting the monitoring collection address of the virtualized cloud desktop 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 forwarding service address information, and adding the address of the collection forwarding service to the monitoring system monitoring collection address list when creating a cloud desktop, and registering the current cloud desktop IP in the collection forwarding service; at the same time, after deleting the cloud desktop, it is responsible for initiating a deletion request to the collection forwarding service, and removing 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 forwarding service;

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

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

[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 configured to be executed by the one or more processors, and the one or more programs comprise instructions for executing any of the above methods.

[0054] The computer readable storage medium storing one or more programs, the one or more programs comprising instructions that, when executed by the computing device for dynamically adjusting the virtualized cloud desktop monitoring collection address, cause the computing device for dynamically adjusting the virtualized cloud desktop monitoring collection address to perform any 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, and realize dynamic adjustment of the cloud desktop collection address, so that the collection service of the monitoring system only needs to add the address information of the dumping service to collect all the data indicators of the cloud desktop.

[0056] The above-described embodiments are only one of the specific embodiments of the present application, and the usual changes and replacements made by those skilled in the art within the scope of the technical solutions of the present application should be included in the protection scope of the present application.

Claims

1. A method for dynamically adjusting a monitoring collection address of a virtualized cloud desktop, the method comprising: The method comprises the following steps: ​ Step S1, deploying a monitoring system and a collection forwarding service, a cloud desktop management platform configures collection forwarding service address information, and when a cloud desktop is created and initialized, the collection forwarding service address information is transmitted into the cloud desktop through the matedata field through an IaaS layer interface; The cloud desktop internally initiates a registration request to the collection forwarding service and reports IP information, calls a collection forwarding service address API interface, and sends a local IP address to the collection forwarding service; Or the cloud desktop management platform injects collection forwarding service address information into the cloud desktop through a Cloudinit initialization mode; Step S2, the cloud desktop internally accepts the collection forwarding service address and registers the current cloud desktop IP in the collection forwarding service; Step S3, after the collection forwarding service receives the registration request, the current cloud desktop information is added to a cloud desktop collection list for subsequent cloud desktop monitoring data collection and acquisition; Step S4, the collection forwarding service is connected with the monitoring system, the monitoring system periodically acquires monitoring data from the collection forwarding service; the collection forwarding service collects corresponding cloud desktop monitoring information from the registered cloud desktop collection list and uniformly feeds back the data to the monitoring system; Step S5, after the cloud desktop is deleted, the cloud desktop management service initiates a deletion request to the collection forwarding service, removes the corresponding cloud desktop address information from the cloud desktop collection list, and the subsequent collection no longer acquires the cloud desktop information.

2. The method for dynamically adjusting the monitoring collection address of virtualized cloud desktop according to claim 1, characterized in that: In the step S2, when the cloud desktop initiates a registration request to the collection 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.

3. The method of claim 1, wherein the method further comprises: In the step S4, the cloud desktop image internally integrates a monitoring collection Agent service, which is responsible for collecting cloud desktop internal monitoring data; After the collection forwarding service receives a monitoring data acquisition request, the collection forwarding service acquires all registered cloud desktop address information from the cloud desktop collection list, sequentially sends a monitoring data collection request to all cloud desktop addresses, and acquires the monitoring data of the corresponding cloud desktop; after the collection forwarding service collects the monitoring data, the collection forwarding service sends all cloud desktop monitoring data to the monitoring system.

4. A system for dynamically adjusting a monitoring collection address for a virtualized cloud desktop, the system comprising: The method comprises a cloud desktop management platform, a monitoring system and a collection forwarding service: The cloud desktop management platform is responsible for configuring collection forwarding service address information, and when a cloud desktop is created and initialized, the collection forwarding service address information is transmitted into the cloud desktop through the matedata field through an IaaS layer interface; the cloud desktop internally initiates a registration request to the collection forwarding service and reports IP information, calls a collection forwarding service address API interface, and sends a local IP address to the collection forwarding service; or the cloud desktop management platform injects collection forwarding service address information into the cloud desktop through a Cloudinit initialization mode; the current cloud desktop IP is registered in the collection forwarding service; at the same time, after the cloud desktop is deleted, the cloud desktop management platform is responsible for initiating a deletion request to the collection forwarding service and removing the corresponding cloud desktop address information from the cloud desktop collection list; The monitoring system is responsible for periodically acquiring monitoring data from the collection forwarding service; The collection forwarding service and the monitoring system are connected, and after receiving a registration request, the cloud desktop information is added to the cloud desktop collection list, and the corresponding cloud desktop monitoring information is collected from the registered cloud desktop collection list, and the data is uniformly fed back to the monitoring system.

5. A computing device that dynamically adjusts a virtualized cloud desktop monitoring collection address, comprising: comprise: 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 configured to be executed by the one or more processors, and the one or more programs comprise instructions for performing any one of the methods according to claims 1-3.

6. A computer-readable storage medium storing one or more programs, the one or more programs comprising instructions that when executed by a computer cause the computer to perform a method comprising: The one or more programs comprise instructions for causing the computing device for dynamically adjusting the virtualization cloud desktop monitoring collection address to perform any one of the methods according to claims 1-3 when executed by the computing device for dynamically adjusting the virtualization cloud desktop monitoring collection address.

Citation Information

Patent Citations

  • Network packet processing system and method

    AU2004201911A1

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

    CN109951320A