WO2013097176A1 - User experience index monitoring method and monitoring virtual machine - Google Patents
User experience index monitoring method and monitoring virtual machine Download PDFInfo
- Publication number
- WO2013097176A1 WO2013097176A1 PCT/CN2011/085021 CN2011085021W WO2013097176A1 WO 2013097176 A1 WO2013097176 A1 WO 2013097176A1 CN 2011085021 W CN2011085021 W CN 2011085021W WO 2013097176 A1 WO2013097176 A1 WO 2013097176A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- virtual machine
- monitoring
- monitoring virtual
- user experience
- configuration information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3438—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment monitoring of user actions
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2201/00—Indexing scheme relating to error detection, to error correction, and to monitoring
- G06F2201/815—Virtual
Definitions
- the present invention relates to the field of information technology, and in particular, to a user experience indicator monitoring method and a monitoring virtual machine.
- a virtual machine refers to one or more virtualized computer systems with complete hardware system functions divided on a physical server.
- the virtual machine runs in the remote data center room, and various applications are installed on the virtual computer to provide users with various application services such as desktop office and call agent. Therefore, this type of virtual machine is used. It can also be called a service virtual machine.
- a user experience class test tool (such as a benchmark test tool;) can be deployed in the service virtual machine, and the user experience indicator of the application on the service virtual machine can be detected by the test tool, and then When the user experience indicator is low, you can perform corresponding processing such as resource scheduling or maintenance to improve the user experience.
- a user experience indicator monitoring method and a monitoring virtual machine provided by the embodiments of the present invention can effectively monitor user experience indicators of the service virtual machine.
- a method for monitoring user experience indicators including:
- the monitoring virtual machine obtains the identification and configuration information of the service virtual machine on the virtualization platform; the monitoring virtual machine configures the configuration information of the any service virtual machine on the virtualization platform to the configuration of the monitoring virtual machine.
- the monitoring virtual machine collects user experience indicators of the monitoring virtual machine running application, and reports the user experience indicator and the identifier of the any service virtual machine on the virtualization platform. To the operation management platform;
- the monitoring virtual machine is created on a physical server where the service virtual machine is located, and the monitoring virtual machine and the any service virtual machine are linked to the virtualization platform; the monitoring The virtual machine running application is the same as the application loaded by any of the service virtual machines.
- a monitoring virtual machine including:
- An obtaining unit configured to obtain identifiers and configuration information of any service virtual machine on the virtualization platform;
- a configuration unit configured to configure configuration information of the any service virtual machine on the virtualization platform as the monitoring virtual machine Configuration information;
- a collecting unit configured to collect user experience indicators of the monitoring virtual machine running application after the configuration information of the monitoring virtual machine is configured
- the reporting unit is configured to report the user experience indicator and the identifier of the any service virtual machine on the virtualization platform to the operation management platform;
- the monitoring virtual machine is created on a physical server where the service virtual machine is located, and the monitoring virtual machine and the any service virtual machine are linked to the virtualization platform; the monitoring virtual machine runs.
- the application is the same as the application loaded by any of the service virtual machines.
- a user experience indicator monitoring system includes: a monitoring virtual machine and an operation management platform; wherein the monitoring virtual machine includes:
- An obtaining unit configured to obtain identifiers and configuration information of any service virtual machine on the virtualization platform;
- a configuration unit configured to configure configuration information of the any service virtual machine on the virtualization platform as the monitoring virtual machine Configuration information;
- a collecting unit configured to collect user experience indicators of the monitoring virtual machine running application after the configuration information of the monitoring virtual machine is configured
- the reporting unit is configured to report the user experience indicator and the identifier of the any service virtual machine on the virtualization platform to the operation management platform;
- the operation management platform is configured to receive an identifier of the service virtual machine that is reported by the monitoring virtual machine on the virtualization platform, and use the user experience indicator as the virtual service Machine user experience indicators;
- the monitoring virtual machine is created on a physical server where the service virtual machine is located, and the monitoring virtual machine and the any service virtual machine are linked to the virtualization platform; the monitoring virtual machine runs.
- the application is the same as the application loaded by any of the service virtual machines.
- the monitoring virtual machine can be created on the physical server where any service virtual machine is located, and the monitoring virtual machine and the service virtual machine are connected through the virtualization platform, so that the monitoring is performed.
- the control virtual machine can obtain the identification and configuration information of the service virtual machine, and configure the configuration information of the service virtual machine to monitor the configuration information of the virtual machine, and collect the user experience indicator in the monitoring virtual machine running application. And reporting the user experience indicator and the identifier of the service virtual machine on the virtualization platform to the operation management platform, so that the operation management platform can use the user experience indicator as a user experience indicator of the service virtual machine.
- the embodiment of the present invention does not need to provide a service virtual machine in the service virtual machine, and does not need to provide services to the user. Therefore, the user experience indicator of the service virtual machine can be effectively monitored, and the workload of the service virtual machine can be reduced, which is easy for the user to accept.
- FIG. 1 is a flowchart of a user experience indicator monitoring method according to an embodiment of the present invention
- FIG. 2 is a flowchart of another user experience indicator monitoring method according to an embodiment of the present invention
- FIG. 4 is a structural diagram of a user experience indicator monitoring system according to an embodiment of the present invention.
- the method for monitoring user experience indicators and the monitoring virtual machine provided by the embodiments of the present invention can effectively monitor the user experience indicators of the service virtual machine and reduce the workload of the service virtual machine, which is easy for the user to accept. The details are described below separately.
- FIG. 1 is a method for monitoring user experience indicators according to an embodiment of the present invention, which can be applied to a desktop cloud, an Internet data center (IDC), and an enterprise data center (Enterprise Data Center). , EDO, etc.
- the method can include the following steps: 101.
- the monitoring virtual machine obtains the identification and configuration information of any service virtual machine on the virtualization platform; wherein the monitoring virtual machine is created on the physical server where the service virtual machine is located, and the virtual machine is monitored with the month.
- the service virtual machine links to the virtualization platform.
- the monitoring virtual machine can receive the identification and configuration information of any service virtual machine actively sent by the virtualization platform.
- the virtualization platform is a virtualization management system for creating a service virtual machine in a physical server. For the created service virtual machine, its configuration information is stored on the virtualization platform.
- the virtualization platform may send the identifier and configuration information of each service virtual machine to the monitoring virtual machine in a polling manner, or may be manually triggered by the maintenance personnel to send the identifier and configuration information of any service virtual machine to the monitoring virtual machine.
- the specific form of the monitoring virtual machine link virtualization platform may be the same as the specific form of the any service virtual machine link virtualization platform.
- the configuration information of the service virtual machine includes at least a core, a memory, and a preempted bandwidth of a central processing unit (CPU) of the service virtual machine.
- CPU central processing unit
- the monitoring virtual machine configures configuration information of any service virtual machine on the virtualization platform to monitor configuration information of the virtual machine.
- the monitoring virtual machine after the monitoring virtual machine configures the configuration information of any service virtual machine on the virtualization platform to monitor the configuration information of the virtual machine, the monitoring virtual machine can simulate the real system of the service virtual machine. surroundings.
- the monitoring virtual machine collects the user experience indicators of the monitoring virtual machine running application; wherein the monitoring virtual machine running application is the same as the application loaded by the any service virtual machine.
- a monitoring virtual machine is created on the physical device for the virtualization service, and the specifications of the created monitoring virtual machine can be customized.
- the specifications of the created monitoring virtual machine may be consistent with the specifications of the user-defined service virtual machine, which is not limited by the embodiment of the present invention.
- the specific implementation manner of creating a monitoring virtual machine on the physical server where the service virtual machine is located is the same as the specific implementation manner of creating the service virtual machine on the physical server, which is not described in detail in the embodiment of the present invention.
- a monitoring virtual machine is created on a physical server where the service virtual machine is located. After that, you can further deploy user experience test tools such as Benchmark tools and VSI on the created monitoring VMs.
- the user experience class test tool collects user experience indicators in the monitoring virtual machine running application.
- the application can be run immediately, and the user experience test tool is used. Collect user experience metrics in the monitoring virtual machine running application.
- the maintenance personnel may manually trigger the monitoring virtual machine to run the application, and the user experience test is performed.
- the tool collects and monitors user experience metrics in the virtual machine running application.
- the monitoring virtual machine configures the configuration information of any service virtual machine on the virtualization platform to monitor the configuration information of the virtual machine, and then starts the timing, and runs the application when the timing reaches the set value, and is performed by the user experience class.
- the test tool automatically collects user experience metrics in the monitoring virtual machine running application.
- the user experience indicator described may include a typing response speed, a response speed of the mouse movement, or a duration of opening the document.
- the monitoring virtual machine can run a script or execute program to collect user experience metrics in the running application after its configuration information is configured.
- the user experience metrics of the running application can be collected by a user experience class test tool deployed in the monitoring virtual machine to collect user experience metrics for running the application, thereby inferring the user experience metrics that the service virtually runs the application.
- the monitoring virtual machine reports the foregoing user experience indicator and the identifier of the service virtual machine to an operation management (OM) platform.
- OM operation management
- the monitoring virtual machine may collect the collected user experience indicators by using a Simple Network Management Protocol (SNMP) or a Simple Object Access Protocol (SOAP).
- SNMP Simple Network Management Protocol
- SOAP Simple Object Access Protocol
- the ID of any service VM is reported to the operation management platform.
- the operation management platform is mainly used to manage multiple physical servers.
- the service VM IDs of each physical server are different from each other.
- the operation management platform may use the user experience indicator as the user experience indicator of the service virtual machine and report it to the indicator.
- Baseline score The module is evaluated by the indicator baseline analysis module to evaluate whether the user experience indicator in the running application of the service virtual machine on the physical server is good.
- the monitoring virtual machine can be created on the physical server where any service virtual machine is located, and the monitoring virtual machine is connected to the service virtual machine through the virtualization platform, so that the monitoring virtual machine can obtain the
- the configuration information of any service virtual machine is configured to monitor the configuration information of the virtual machine
- the user experience indicator in the running application of the monitoring virtual machine is collected, and the user experience is collected.
- the indicator and the identifier of the service virtual machine on the virtualization platform are reported to the operation management platform, so that the operation management platform can use the user experience indicator as a user experience indicator of the service virtual machine.
- the method shown in Figure 1 does not need to be in the service virtual machine and the monitoring virtual machine does not need to provide services to the user. Therefore, the user experience indicator of the service virtual machine can be effectively monitored, and the workload of the service virtual machine can be reduced, which is easy for the user to accept.
- FIG. 2 is another method for monitoring user experience indicators according to an embodiment of the present invention, which is applied to a desktop cloud.
- it is also required to create a monitoring virtual machine on the physical server where the service virtual machine is located, and the monitoring virtual machine and the service virtual machine in the physical server are linked to the virtualization platform, and the monitoring virtual
- the running application of the machine is the same as the application loaded by the service virtual machine, and the user experience class testing tool is deployed on the monitoring virtual machine.
- the application for monitoring the running of the virtual machine may be obtained by the maintenance personnel copying the application loaded by the service virtual machine when the virtual machine is created; or the monitoring virtual machine may be created together when the monitoring virtual machine is created.
- the application that is running the method may include the following steps:
- the operation management platform sends a startup command to the monitoring virtual machine through a protocol such as SNMP or SOAP, and triggers the monitoring virtual machine to start.
- a protocol such as SNMP or SOAP
- the foregoing step 201 is optional. That is to say, the monitoring virtual machine can be in a working state for a long time without being triggered by the operation management platform. Alternatively, the monitoring virtual machine can also be manually initiated by the user, or the monitoring virtual machine can also be started automatically when the timer expires.
- the monitoring virtual machine obtains the identifier and configuration information of the service virtual machine on the virtualization platform, and configures the configuration information of the service virtual machine on the virtualization platform to monitor the configuration information of the virtual machine.
- the user experience class test tool deployed in the monitoring virtual machine can run a script program or an execution program to collect user experience indicators of the running application.
- user experience indicators include typing response speed, response speed of mouse movement, duration of document opening, and the like.
- the monitoring virtual machine reports the collected user experience indicators and the identifiers of the service virtual machines on the virtualization platform to the operation management platform through the SNMP or the SOAP protocol.
- the monitoring virtual machine runs normally, and the service virtual machine on the physical server runs normally, and is not affected by the operation of the monitoring virtual machine.
- the operation management platform uses the user experience indicator as a user experience indicator of the service virtual machine corresponding to the identifier, and reports the indicator to the indicator baseline analysis module.
- the indicator baseline analysis module determines whether the user experience indicator is lower than a preset baseline indicator, and if yes, performs step 207 and/or step 208.
- the indicator baseline analysis module determines that the user experience index is lower than the preset baseline indicator, indicating that the user experience is relatively poor, and vice versa, indicating that the user experience is satisfactory, and the indicator baseline analysis module does not need to perform any operations. Accordingly, if the user experience is satisfactory, the monitoring virtual machine may continue to perform the above steps 203 and 204, or suspend the above steps 203 and 204.
- the indicator baseline analysis module sends a notification message to the dynamic resource scheduling module, and triggers the dynamic resource scheduling module to perform resource scheduling on the service virtual machine to re-satisfy the user experience.
- the indicator baseline analysis module may send a notification message to the dynamic resource scheduling module, and trigger the dynamic resource scheduling module to expand the service virtual.
- the configuration of the machine such as expanding the number of cores and/or memory of the CPU, to meet user experience specifications.
- the indicator baseline analysis module may send a notification message to the dynamic resource scheduling module to trigger the dynamic resource scheduling module to decrease.
- the dynamic resource scheduling module may also trigger the execution of the migration of the service virtual machine, thereby reducing the business negative on the physical server. Load to meet user experience metrics while balancing system-wide load.
- the operation management platform alarm may be notified.
- the operation management platform alarm can notify the system to deploy the system through interface display and SMS notification to re-satisfy the user experience.
- the monitoring virtual machine can be created on the physical server where the service virtual machine is located, and the monitoring virtual machine and the service virtual machine are linked to the virtualization platform, so that the monitoring virtual machine can collect the user experience of running the application. Indicators are reported to the operations management platform.
- the embodiment of the present invention does not need to deploy a user experience class test tool in the service virtual machine to detect the user experience indicator of the application on the service virtual machine, thereby reducing the service virtual machine user experience indicator and reducing the service virtual machine. Workload is easy for users to accept.
- FIG. 3 is a structural diagram of a monitoring virtual machine according to an embodiment of the present invention, which can be applied to the fields of desktop cloud, IDC, and EDC.
- the monitoring virtual machine shown in FIG. 3 is created on a physical server where any service virtual machine is located, and the monitoring virtual machine and the service virtual machine are linked to a virtualization platform, and the application running by the monitoring virtual machine is The application loaded by any service virtual machine is the same.
- the monitoring virtual machine may include:
- the obtaining unit 301 is configured to obtain identifiers and configuration information of any service virtual machine on the virtualization platform.
- the configuration information of the service virtual machine includes at least the core number of the CPU, the memory, and the reserved bandwidth.
- the configuration unit 302 is configured to configure configuration information of the any service virtual machine on the virtualization platform to monitor configuration information of the virtual machine.
- the collecting unit 303 is configured to collect user experience indicators of the monitoring virtual machine running application after the configuration information of the monitoring virtual machine is configured.
- the user experience indicators include the typing response speed, the response speed of the mouse movement, or the duration of the document opening.
- the reporting unit 304 is configured to report the user experience indicator and the identifier of the service virtual machine on the virtualization platform to the operation management platform.
- the obtaining unit 301 is specifically configured to receive identifiers and configuration information of any service virtual machine sent by the virtualization platform.
- the collecting unit 303 is specifically configured to run a script program or an executing program to collect a user experience indicator for monitoring a virtual machine running application after the configuration information of the monitoring virtual machine is configured.
- the application for monitoring the running of the virtual machine may be triggered after the configuration of the configuration information of the virtual machine is configured; or the monitoring time is started after the configuration of the virtual machine is configured, and the timing is reached.
- the operation is triggered when the value is set; or after the configuration information of the virtual machine is configured, the maintenance personnel trigger the operation.
- the upper unit 304 is specifically configured to report the collected user experience indicator and the identifier of the service virtual machine on the virtualization platform to the operation management platform through a protocol such as SNMP or SOAP. So that the operation management platform can use the user experience indicator as a user experience indicator of any of the service virtual machines.
- the monitoring virtual machine shown in FIG. 3 may further include: a starting unit 305, configured to receive a startup command sent by the operation management platform through a protocol such as SNMP or SOAP, and trigger the startup monitoring virtual machine to work.
- a starting unit 305 configured to receive a startup command sent by the operation management platform through a protocol such as SNMP or SOAP, and trigger the startup monitoring virtual machine to work.
- the monitoring virtual machine shown in Figure 3 can reduce the workload of the service virtual machine and reduce the system cost while effectively monitoring the user experience indicators of the service virtual machine.
- FIG. 4 is a structural diagram of a user experience indicator monitoring system according to an embodiment of the present invention, which can be applied to desktop cloud, IDC, and EDC.
- the user experience indicator monitoring system may include:
- the monitoring virtual machine 401 is created on a physical server where any service virtual machine is located, and the monitoring virtual machine 401 and the any service virtual machine are linked to the virtualization platform, and the application running by the monitoring virtual machine is virtualized with any of the services.
- the application loaded by the machine is the same.
- monitoring virtual machine 401 The structure and function of the monitoring virtual machine 401 are described in detail in the foregoing embodiments, and the embodiments of the present invention are not described herein.
- the operation management platform 402 is further configured to issue a startup command to the monitoring virtual machine 401 through SNMP or SOAP writing, and trigger the monitoring virtual machine 401 to start.
- the user experience indicator monitoring system shown in FIG. 4 may further include:
- the indicator baseline analysis module 403 is configured to receive the user experience indicator reported by the operation management platform 402, and determine whether the user experience indicator is lower than a preset baseline indicator, and if yes, send a notification message to the dynamic resource scheduling module 404;
- the dynamic resource scheduling module 404 is configured to receive the notification message sent by the indicator baseline analysis module 403, and perform resource scheduling on the service virtual machine to satisfy the user experience.
- the indicator baseline analysis module 403 is further configured to notify the operation management platform 402 of the alarm after determining that the user experience indicator is lower than the preset baseline indicator;
- the operations management platform 402 is also used to re-satisfy the user experience based on the notification generator deployment of the metric baseline analysis module 403.
- the user experience indicator monitoring system shown in Figure 4 can effectively reduce the workload of the service virtual machine while effectively monitoring the user experience indicators of the service virtual machine, which is easy for the user to accept.
- the program may be stored in a computer readable storage medium, and the storage medium may include: Flash disk, read-only memory (ROM), random access memory (RAM), disk or optical disk.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
一种用户体验指标监控方法及监控虚拟机 技术领域 User experience index monitoring method and monitoring virtual machine
本发明涉及信息技术领域,尤其涉及一种用户体验指标监控方法及监控虚 拟机。 The present invention relates to the field of information technology, and in particular, to a user experience indicator monitoring method and a monitoring virtual machine.
背景技术 Background technique
虚拟机(Virtual Machine, VM )是指在物理服务器上划分出来的一台或 者多台虚拟化的具有完整硬件系统功能的计算机系统。在桌面云场景下,虚拟 机运行在远端的数据中心机房中, 而且虚拟计算机上安装各种应用程序, 可以 为用户提供桌面办公、 呼叫座席等各种应用服务, 因此, 这一类虚拟机也可以 称为服务虚拟机。 A virtual machine (VM) refers to one or more virtualized computer systems with complete hardware system functions divided on a physical server. In a desktop cloud scenario, the virtual machine runs in the remote data center room, and various applications are installed on the virtual computer to provide users with various application services such as desktop office and call agent. Therefore, this type of virtual machine is used. It can also be called a service virtual machine.
在桌面云场景下,服务虚拟机中可以部署有用户体验类测试工具(如基准 测试程序 Benchmark工具;), 通过该测试工具可以对服务虚拟机上的应用程序 的用户体验指标进行检测,进而在用户体验指标较低时可以进行资源调度或维 护等相应处理, 以提升用户体验。 In the desktop cloud scenario, a user experience class test tool (such as a benchmark test tool;) can be deployed in the service virtual machine, and the user experience indicator of the application on the service virtual machine can be detected by the test tool, and then When the user experience indicator is low, you can perform corresponding processing such as resource scheduling or maintenance to improve the user experience.
实践中发现,在每个服务虚拟机上部署用户体验类测试工具增加了服务虚 拟机的工作负荷, 同时用户因为私密性也难以接受。 In practice, it has been found that deploying user experience class testing tools on each service virtual machine increases the workload of the service virtual machine, and the user is also unacceptable because of privacy.
发明内容 Summary of the invention
本发明实施例提供的一种用户体验指标监控方法及监控虚拟机,能够有效 监控服务虚拟机的用户体验指标。 A user experience indicator monitoring method and a monitoring virtual machine provided by the embodiments of the present invention can effectively monitor user experience indicators of the service virtual machine.
一种用户体验指标监控方法, 包括: A method for monitoring user experience indicators, including:
监控虚拟机获取任一服务虚拟机在虚拟化平台上的标识和配置信息; 所述监控虚拟机将所述任一服务虚拟机在虚拟化平台上的配置信息配置 成所述监控虚拟机的配置信息; The monitoring virtual machine obtains the identification and configuration information of the service virtual machine on the virtualization platform; the monitoring virtual machine configures the configuration information of the any service virtual machine on the virtualization platform to the configuration of the monitoring virtual machine. Information
所述监控虚拟机在其配置信息配置完毕后,收集所述监控虚拟机运行应用 程序的用户体验指标,并将所述用户体验指标以及所述任一服务虚拟机在虚拟 化平台上的标识上报给操作管理平台; After the configuration of the configuration information is completed, the monitoring virtual machine collects user experience indicators of the monitoring virtual machine running application, and reports the user experience indicator and the identifier of the any service virtual machine on the virtualization platform. To the operation management platform;
其中, 所述监控虚拟机创建在所述任一服务虚拟机所在的物理服务器上, 并且所述监控虚拟机与所述任一服务虚拟机均链接所述虚拟化平台;所述监控 虚拟机运行应用程序与所述任一服务虚拟机装载的应用程序相同。 一种监控虚拟机, 包括: The monitoring virtual machine is created on a physical server where the service virtual machine is located, and the monitoring virtual machine and the any service virtual machine are linked to the virtualization platform; the monitoring The virtual machine running application is the same as the application loaded by any of the service virtual machines. A monitoring virtual machine, including:
获取单元, 用于获取任一服务虚拟机在虚拟化平台上的标识和配置信息; 配置单元,用于将所述任一服务虚拟机在虚拟化平台上的配置信息配置成 所述监控虚拟机的配置信息; An obtaining unit, configured to obtain identifiers and configuration information of any service virtual machine on the virtualization platform; a configuration unit, configured to configure configuration information of the any service virtual machine on the virtualization platform as the monitoring virtual machine Configuration information;
收集单元, 用于在所述监控虚拟机的配置信息配置完毕后, 收集所述监控 虚拟机运行应用程序的用户体验指标; a collecting unit, configured to collect user experience indicators of the monitoring virtual machine running application after the configuration information of the monitoring virtual machine is configured;
上报单元,用于将所述用户体验指标以及所述任一服务虚拟机在虚拟化平 台上的标识上报给操作管理平台; The reporting unit is configured to report the user experience indicator and the identifier of the any service virtual machine on the virtualization platform to the operation management platform;
其中, 所述监控虚拟机创建在所述任一服务虚拟机所在的物理服务器上, 并且所述监控虚拟机与所述任一服务虚拟机均链接所述虚拟化平台;所述监控 虚拟机运行的应用程序与所述任一服务虚拟机装载的应用程序相同。 The monitoring virtual machine is created on a physical server where the service virtual machine is located, and the monitoring virtual machine and the any service virtual machine are linked to the virtualization platform; the monitoring virtual machine runs. The application is the same as the application loaded by any of the service virtual machines.
一种用户体验指标监控系统, 包括监控虚拟机和操作管理平台; 其中, 所述监控虚拟机包括: A user experience indicator monitoring system includes: a monitoring virtual machine and an operation management platform; wherein the monitoring virtual machine includes:
获取单元, 用于获取任一服务虚拟机在虚拟化平台上的标识和配置信息; 配置单元,用于将所述任一服务虚拟机在虚拟化平台上的配置信息配置成 所述监控虚拟机的配置信息; An obtaining unit, configured to obtain identifiers and configuration information of any service virtual machine on the virtualization platform; a configuration unit, configured to configure configuration information of the any service virtual machine on the virtualization platform as the monitoring virtual machine Configuration information;
收集单元, 用于在所述监控虚拟机的配置信息配置完毕后, 收集所述监控 虚拟机运行应用程序的用户体验指标; a collecting unit, configured to collect user experience indicators of the monitoring virtual machine running application after the configuration information of the monitoring virtual machine is configured;
上报单元,用于将所述用户体验指标以及所述任一服务虚拟机在虚拟化平 台上的标识上报给操作管理平台; The reporting unit is configured to report the user experience indicator and the identifier of the any service virtual machine on the virtualization platform to the operation management platform;
所述操作管理平台,用于接收所述监控虚拟机上报的所述用户体验指标所 述任一服务虚拟机在虚拟化平台上的标识,并将所述用户体验指标作为所述任 一服务虚拟机的用户体验指标; The operation management platform is configured to receive an identifier of the service virtual machine that is reported by the monitoring virtual machine on the virtualization platform, and use the user experience indicator as the virtual service Machine user experience indicators;
其中, 所述监控虚拟机创建在所述任一服务虚拟机所在的物理服务器上, 并且所述监控虚拟机与所述任一服务虚拟机均链接所述虚拟化平台;所述监控 虚拟机运行的应用程序与所述任一服务虚拟机装载的应用程序相同。 The monitoring virtual machine is created on a physical server where the service virtual machine is located, and the monitoring virtual machine and the any service virtual machine are linked to the virtualization platform; the monitoring virtual machine runs. The application is the same as the application loaded by any of the service virtual machines.
本发明实施例中,可以在任一服务虚拟机所在的物理服务器上创建监控虚 拟机, 并且监控虚拟机与该任一服务虚拟机之间通过虚拟化平台连接,使得监 控虚拟机可以获取该任一服务虚拟机的标识和配置信息,并将该任一服务虚拟 机的配置信息配置成监控虚拟机的配置信息后,收集监控虚拟机运行应用程序 中的用户体验指标,并将该用户体验指标以及该任一服务虚拟机的在虚拟化平 台上的标识上报给操作管理平台,从而操作管理平台可以将该用户体验指标作 为该任一服务虚拟机的用户体验指标。本发明实施例无需在服务虚拟机中部署 控虚拟机无需面向用户提供业务, 因此, 可以在有效监控服务虚拟机的用户体 验指标的同时, 降低服务虚拟机的工作负荷, 用户易于接受。 In the embodiment of the present invention, the monitoring virtual machine can be created on the physical server where any service virtual machine is located, and the monitoring virtual machine and the service virtual machine are connected through the virtualization platform, so that the monitoring is performed. The control virtual machine can obtain the identification and configuration information of the service virtual machine, and configure the configuration information of the service virtual machine to monitor the configuration information of the virtual machine, and collect the user experience indicator in the monitoring virtual machine running application. And reporting the user experience indicator and the identifier of the service virtual machine on the virtualization platform to the operation management platform, so that the operation management platform can use the user experience indicator as a user experience indicator of the service virtual machine. The embodiment of the present invention does not need to provide a service virtual machine in the service virtual machine, and does not need to provide services to the user. Therefore, the user experience indicator of the service virtual machine can be effectively monitored, and the workload of the service virtual machine can be reduced, which is easy for the user to accept.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例中所需要使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图仅仅是 本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性 的前提下, 还可以根据这些附图获得其他的附图。 In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings to be used in the embodiments will be briefly described below. Obviously, the drawings in the following description are merely the present invention. For some embodiments, other drawings may be obtained from those skilled in the art without departing from the drawings.
图 1是本发明实施例提供的一种用户体验指标监控方法的流程图; 图 2是本发明实施例提供的另一种用户体验指标监控方法的流程图; 图 3是本发明实施例提供的一种监控虚拟机的结构图; 1 is a flowchart of a user experience indicator monitoring method according to an embodiment of the present invention; FIG. 2 is a flowchart of another user experience indicator monitoring method according to an embodiment of the present invention; A structure diagram for monitoring a virtual machine;
图 4是本发明实施例提供的一种用户体验指标监控系统的结构图。 FIG. 4 is a structural diagram of a user experience indicator monitoring system according to an embodiment of the present invention.
具体实施方式 detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅是本发明一部分实施例, 而不是全 部的实施例。基于本发明中的实施例, 本领域普通技术人员在没有做出创造性 劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。 BRIEF DESCRIPTION OF THE DRAWINGS The technical solutions in the embodiments of the present invention will be described in detail below with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例提供的一种用户体验指标监控方法及监控虚拟机,能够有效 监控服务虚拟机的用户体验指标的同时, 降低服务虚拟机的工作负荷, 用户易 于接受。 以下分别进行详细说明。 The method for monitoring user experience indicators and the monitoring virtual machine provided by the embodiments of the present invention can effectively monitor the user experience indicators of the service virtual machine and reduce the workload of the service virtual machine, which is easy for the user to accept. The details are described below separately.
请参阅图 1 , 图 1为本发明实施例提供的一种用户体验指标监控方法, 可 以应用于桌面云( Desktop Cloud ),互联网数据中心( Internet Data Center, IDC ), 企业数据中心 (Enterprise Data Center, EDO等领域。 如图 1所示, 该方法 可以包括以下步骤: 101、监控虚拟机获取任一服务虚拟机在虚拟化平台上的标识和配置信息; 其中,监控虚拟机创建在该任一服务虚拟机所在的物理服务器上, 并且监控虚 拟机与该任一月良务虚拟机均链接该虚拟化平台。 Referring to FIG. 1 , FIG. 1 is a method for monitoring user experience indicators according to an embodiment of the present invention, which can be applied to a desktop cloud, an Internet data center (IDC), and an enterprise data center (Enterprise Data Center). , EDO, etc. As shown in Figure 1, the method can include the following steps: 101. The monitoring virtual machine obtains the identification and configuration information of any service virtual machine on the virtualization platform; wherein the monitoring virtual machine is created on the physical server where the service virtual machine is located, and the virtual machine is monitored with the month. The service virtual machine links to the virtualization platform.
作为一种可选的实施方式,监控虚拟机可以接收虚拟化平台主动发送的任 一服务虚拟机的标识和配置信息。其中,虚拟化平台是一种用于在物理服务器 中创建服务虚拟机的虚拟化管理系统,对于已创建的服务虚拟机, 其配置信息 会在虚拟化平台上进行存储。 其中,虚拟化平台可以采用轮询方式发送每一个 服务虚拟机的标识和配置信息至监控虚拟机,或者也可以由维护人员手工触发 发送任一个服务虚拟机的标识和配置信息至监控虚拟机。 As an optional implementation manner, the monitoring virtual machine can receive the identification and configuration information of any service virtual machine actively sent by the virtualization platform. The virtualization platform is a virtualization management system for creating a service virtual machine in a physical server. For the created service virtual machine, its configuration information is stored on the virtualization platform. The virtualization platform may send the identifier and configuration information of each service virtual machine to the monitoring virtual machine in a polling manner, or may be manually triggered by the maintenance personnel to send the identifier and configuration information of any service virtual machine to the monitoring virtual machine.
本发明实施例中,监控虚拟机链接虚拟化平台的具体形式可以和该任一服 务虚拟机链接虚拟化平台的具体形式相同。 In the embodiment of the present invention, the specific form of the monitoring virtual machine link virtualization platform may be the same as the specific form of the any service virtual machine link virtualization platform.
本发明实施例中,服务虚拟机的配置信息至少包括服务虚拟机的中央处理 器( Central Processing Unit , CPU ) 的核数、 内存以及预占带宽。 In the embodiment of the present invention, the configuration information of the service virtual machine includes at least a core, a memory, and a preempted bandwidth of a central processing unit (CPU) of the service virtual machine.
102、 监控虚拟机将该任一服务虚拟机在虚拟化平台上的配置信息配置成 监控虚拟机的配置信息。 102. The monitoring virtual machine configures configuration information of any service virtual machine on the virtualization platform to monitor configuration information of the virtual machine.
本发明实施例中,监控虚拟机将该任一服务虚拟机在虚拟化平台上的配置 信息配置成监控虚拟机的配置信息之后,监控虚拟机即可模拟出该任一服务虚 拟机的真实系统环境。 In the embodiment of the present invention, after the monitoring virtual machine configures the configuration information of any service virtual machine on the virtualization platform to monitor the configuration information of the virtual machine, the monitoring virtual machine can simulate the real system of the service virtual machine. surroundings.
103、 监控虚拟机在其配置信息配置完毕后, 收集监控虚拟机运行应用程 序的用户体验指标; 其中,监控虚拟机运行应用程序与该任一服务虚拟机装载 的应用程序相同。 供虚拟化服务的物理设备)上创建一台监控虚拟机, 并且所创建的监控虚拟机 的规格可以自定义。作为一种可选的实施方式, 所创建的监控虚拟机的规格可 以和用户定制的服务虚拟机的规格一致, 本发明实施例不作限定。 After the configuration information is configured, the monitoring virtual machine collects the user experience indicators of the monitoring virtual machine running application; wherein the monitoring virtual machine running application is the same as the application loaded by the any service virtual machine. A monitoring virtual machine is created on the physical device for the virtualization service, and the specifications of the created monitoring virtual machine can be customized. As an optional implementation manner, the specifications of the created monitoring virtual machine may be consistent with the specifications of the user-defined service virtual machine, which is not limited by the embodiment of the present invention.
本发明实施例中,在服务虚拟机所在的物理服务器上创建监控虚拟机的具 体实现方式与在该物理服务器上创建服务虚拟机的具体实现方式相同,本发明 实施例不作详细介绍。 In the embodiment of the present invention, the specific implementation manner of creating a monitoring virtual machine on the physical server where the service virtual machine is located is the same as the specific implementation manner of creating the service virtual machine on the physical server, which is not described in detail in the embodiment of the present invention.
本发明实施例中, 在服务虚拟机所在的物理服务器上创建监控虚拟机之 后, 可以进一步在所创建的监控虚拟机上部署 Benchmark工具、 VSI等用户体 验类测试工具。由用户体验类测试工具来收集监控虚拟机运行应用程序中的用 户体验指标。作为一种可选的实施方式,监控虚拟机将该任一服务虚拟机在虚 拟化平台上的配置信息配置成监控虚拟机的配置信息之后,可以立刻运行应用 程序,并由用户体验类测试工具收集监控虚拟机运行应用程序中的用户体验指 标。或者,监控虚拟机将该任一服务虚拟机在虚拟化平台上的配置信息配置成 监控虚拟机的配置信息之后,也可以由维护人员手工触发监控虚拟机运行应用 程序,并由用户体验类测试工具收集监控虚拟机运行应用程序中的用户体验指 标。或者,监控虚拟机将该任一服务虚拟机在虚拟化平台上的配置信息配置成 监控虚拟机的配置信息之后可以启动计时,并在计时到达设定值时运行应用程 序,并由用户体验类测试工具自动收集监控虚拟机运行应用程序中的用户体验 指标。 In the embodiment of the present invention, a monitoring virtual machine is created on a physical server where the service virtual machine is located. After that, you can further deploy user experience test tools such as Benchmark tools and VSI on the created monitoring VMs. The user experience class test tool collects user experience indicators in the monitoring virtual machine running application. As an optional implementation manner, after the monitoring virtual machine configures the configuration information of any service virtual machine on the virtualization platform to monitor the configuration information of the virtual machine, the application can be run immediately, and the user experience test tool is used. Collect user experience metrics in the monitoring virtual machine running application. Alternatively, after the monitoring virtual machine configures the configuration information of any service virtual machine on the virtualization platform to monitor the configuration information of the virtual machine, the maintenance personnel may manually trigger the monitoring virtual machine to run the application, and the user experience test is performed. The tool collects and monitors user experience metrics in the virtual machine running application. Alternatively, the monitoring virtual machine configures the configuration information of any service virtual machine on the virtualization platform to monitor the configuration information of the virtual machine, and then starts the timing, and runs the application when the timing reaches the set value, and is performed by the user experience class. The test tool automatically collects user experience metrics in the monitoring virtual machine running application.
本发明实施例中, 所描述的用户体验指标可以包括打字响应速度、 鼠标移 动的响应速度或文档打开的时长等。 In the embodiment of the present invention, the user experience indicator described may include a typing response speed, a response speed of the mouse movement, or a duration of opening the document.
作为一种可选的实施方式,监控虚拟机可以在其配置信息配置完毕后,运 行脚本程序或执行程序以收集其运行应用程序中的用户体验指标。特别地, 可 以由监控虚拟机中部署的用户体验类测试工具运行脚本程序或执行程序来收 集其运行应用程序的用户体验指标,从而可以推测出服务虚拟运行该应用程序 的用户体验指标。 As an alternative implementation, the monitoring virtual machine can run a script or execute program to collect user experience metrics in the running application after its configuration information is configured. In particular, the user experience metrics of the running application can be collected by a user experience class test tool deployed in the monitoring virtual machine to collect user experience metrics for running the application, thereby inferring the user experience metrics that the service virtually runs the application.
104、 监控虚拟机将上述用户体验指标以及该任一服务虚拟机的标识上报 给操作管理( Operation Management, OM )平台。 104. The monitoring virtual machine reports the foregoing user experience indicator and the identifier of the service virtual machine to an operation management (OM) platform.
作为一种可选的实施方式, 监控虚拟机可以通过筒单网络管理协议 ( Simple Network Management Protocol, SNMP )或筒单对象访问协议 ( Simple Object Access Protocol, SOAP )将收集到的用户体验指标以及该任一服务虚 拟机的标识上报给操作管理平台。 As an optional implementation manner, the monitoring virtual machine may collect the collected user experience indicators by using a Simple Network Management Protocol (SNMP) or a Simple Object Access Protocol (SOAP). The ID of any service VM is reported to the operation management platform.
在桌面云场景下, 操作管理平台主要用于管理多个物理服务器。 其中, 每 个物理服务器的服务虚拟机标识互不相同。操作管理平台在收到某一个物理服 务器的监控虚拟机上报的用户体验指标以及任一服务虚拟机的标识后,可以将 该用户体验指标作为该任一服务虚拟机的用户体验指标并上报给指标基线分 析模块,由指标基线分析模块来评估该物理服务器上的该任一服务虚拟机运行 应用程序中的用户体验指标是否良好。 In the desktop cloud scenario, the operation management platform is mainly used to manage multiple physical servers. The service VM IDs of each physical server are different from each other. After receiving the user experience indicator reported by the monitoring virtual machine of a physical server and the identifier of any service virtual machine, the operation management platform may use the user experience indicator as the user experience indicator of the service virtual machine and report it to the indicator. Baseline score The module is evaluated by the indicator baseline analysis module to evaluate whether the user experience indicator in the running application of the service virtual machine on the physical server is good.
图 1所示的方法中,可以在任一服务虚拟机所在的物理服务器上创建监控 虚拟机, 并且监控虚拟机与该任一服务虚拟机之间通过虚拟化平台连接,使得 监控虚拟机可以获取该任一服务虚拟机的标识和配置信息,并将该任一服务虚 拟机的配置信息配置成监控虚拟机的配置信息后,收集监控虚拟机运行应用程 序中的用户体验指标,并将该用户体验指标以及该任一服务虚拟机的在虚拟化 平台上的标识上报给操作管理平台,从而操作管理平台可以将该用户体验指标 作为该任一服务虚拟机的用户体验指标。图 1所示的方法无需在服务虚拟机中 且监控虚拟机无需面向用户提供业务, 因此, 可以在有效监控服务虚拟机的用 户体验指标的同时, 降低服务虚拟机的工作负荷, 用户易于接受。 In the method shown in Figure 1, the monitoring virtual machine can be created on the physical server where any service virtual machine is located, and the monitoring virtual machine is connected to the service virtual machine through the virtualization platform, so that the monitoring virtual machine can obtain the After the configuration information of any service virtual machine is configured to monitor the configuration information of the virtual machine, the user experience indicator in the running application of the monitoring virtual machine is collected, and the user experience is collected. The indicator and the identifier of the service virtual machine on the virtualization platform are reported to the operation management platform, so that the operation management platform can use the user experience indicator as a user experience indicator of the service virtual machine. The method shown in Figure 1 does not need to be in the service virtual machine and the monitoring virtual machine does not need to provide services to the user. Therefore, the user experience indicator of the service virtual machine can be effectively monitored, and the workload of the service virtual machine can be reduced, which is easy for the user to accept.
请参阅图 2, 图 2为本发明实施例提供的另一种用户体验指标监控方法, 应用于桌面云。在图 2所示的方法中, 也需要预先在服务虚拟机所在的物理服 务器上创建一台监控虚拟机,该监控虚拟机与物理服务器中的服务虚拟机均链 接虚拟化平台,以及该监控虚拟机运行的应用程序与服务虚拟机装载的应用程 序相同, 该监控虚拟机上部署用户体验类测试工具。 一个实施例中, 监控虚拟 机运行的应用程序可以是监控虚拟机创建完毕时,由维护人员复制服务虚拟机 装载的应用程序得到; 或者,也可以在监控虚拟机创建时一并创建监控虚拟机 运行的应用程序。 如图 2所示, 该方法可以包括以下步骤: Referring to FIG. 2, FIG. 2 is another method for monitoring user experience indicators according to an embodiment of the present invention, which is applied to a desktop cloud. In the method shown in FIG. 2, it is also required to create a monitoring virtual machine on the physical server where the service virtual machine is located, and the monitoring virtual machine and the service virtual machine in the physical server are linked to the virtualization platform, and the monitoring virtual The running application of the machine is the same as the application loaded by the service virtual machine, and the user experience class testing tool is deployed on the monitoring virtual machine. In an embodiment, the application for monitoring the running of the virtual machine may be obtained by the maintenance personnel copying the application loaded by the service virtual machine when the virtual machine is created; or the monitoring virtual machine may be created together when the monitoring virtual machine is created. The application that is running. As shown in FIG. 2, the method may include the following steps:
201、 操作管理平台通过 SNMP、 SOAP等协议下发启动命令至监控虚拟 机, 触发监控虚拟机启动。 201. The operation management platform sends a startup command to the monitoring virtual machine through a protocol such as SNMP or SOAP, and triggers the monitoring virtual machine to start.
本发明实施例中, 上述步骤 201是可选的。 也即是说, 监控虚拟机可以长 时间处于工作状态, 而无需通过操作管理平台触发才启动。 或者, 监控虚拟机 也可以由用户通过手工方式启动,或者监控虚拟机也可以在定时器计时到达时 自动启动。 In the embodiment of the present invention, the foregoing step 201 is optional. That is to say, the monitoring virtual machine can be in a working state for a long time without being triggered by the operation management platform. Alternatively, the monitoring virtual machine can also be manually initiated by the user, or the monitoring virtual machine can also be started automatically when the timer expires.
202、 监控虚拟机获取服务虚拟机在虚拟化平台上的标识和配置信息, 并 将服务虚拟机在虚拟化平台上的配置信息配置成监控虚拟机的配置信息。 202. The monitoring virtual machine obtains the identifier and configuration information of the service virtual machine on the virtualization platform, and configures the configuration information of the service virtual machine on the virtualization platform to monitor the configuration information of the virtual machine.
203、 监控虚拟机在其配置信息配置完毕后, 收集其运行应用程序的用户 体验指标。 203. After the monitoring virtual machine is configured, the user that collects the running application is collected. Experience indicators.
其中,监控虚拟机中部署的用户体验类测试工具可以运行脚本程序或执行 程序来收集其运行应用程序的用户体验指标。 The user experience class test tool deployed in the monitoring virtual machine can run a script program or an execution program to collect user experience indicators of the running application.
其中, 用户体验指标包括打字响应速度、 鼠标移动的响应速度, 文档打开 的时长等。 Among them, user experience indicators include typing response speed, response speed of mouse movement, duration of document opening, and the like.
204、监控虚拟机通过 SNMP或 SOAP协议将收集到的用户体验指标以及 服务虚拟机在虚拟化平台上的标识上报给操作管理平台。 The monitoring virtual machine reports the collected user experience indicators and the identifiers of the service virtual machines on the virtualization platform to the operation management platform through the SNMP or the SOAP protocol.
需要说明的是, 监控虚拟机在执行上述步骤 202、 步骤 203的过程中, 物 理服务器上的服务虚拟机正常运行, 不受监控虚拟机的操作影响。 It should be noted that, in the process of performing the foregoing steps 202 and 203, the monitoring virtual machine runs normally, and the service virtual machine on the physical server runs normally, and is not affected by the operation of the monitoring virtual machine.
205、 操作管理平台将该用户体验指标作为该标识对应的服务虚拟机的用 户体验指标, 并上报给指标基线分析模块。 205. The operation management platform uses the user experience indicator as a user experience indicator of the service virtual machine corresponding to the identifier, and reports the indicator to the indicator baseline analysis module.
206、 指标基线分析模块判断用户体验指标是否低于预设的基线指标, 如 果是, 则执行步骤 207和 /或步骤 208。 206. The indicator baseline analysis module determines whether the user experience indicator is lower than a preset baseline indicator, and if yes, performs step 207 and/or step 208.
其中,指标基线分析模块判断出用户体验指标低于预设的基线指标时,说 明用户体验比较差, 反之, 则说明用户体验比较满意, 指标基线分析模块无需 进行任何操作。 相应地, 如果用户体验比较满意, 则监控虚拟机可以继续执行 上述步骤 203和步骤 204, 或者暂停执行上述步骤 203和步骤 204。 The indicator baseline analysis module determines that the user experience index is lower than the preset baseline indicator, indicating that the user experience is relatively poor, and vice versa, indicating that the user experience is satisfactory, and the indicator baseline analysis module does not need to perform any operations. Accordingly, if the user experience is satisfactory, the monitoring virtual machine may continue to perform the above steps 203 and 204, or suspend the above steps 203 and 204.
207、 指标基线分析模块向动态资源调度模块发送通知消息, 触发动态资 源调度模块对服务虚拟机进行资源调度, 以重新满足用户体验。 207. The indicator baseline analysis module sends a notification message to the dynamic resource scheduling module, and triggers the dynamic resource scheduling module to perform resource scheduling on the service virtual machine to re-satisfy the user experience.
举例来说,如果上述步骤 206中,指标基线分析模块判断打字响应速度低 于预设的基线指标,那么指标基线分析模块可以向动态资源调度模块发送通知 消息, 触发动态资源调度模块可以扩大服务虚拟机的配置, 例如扩展 CPU的 核数和 /或内存, 以满足用户体验指标要求。 For example, if the indicator baseline analysis module determines that the typing response speed is lower than the preset baseline indicator, the indicator baseline analysis module may send a notification message to the dynamic resource scheduling module, and trigger the dynamic resource scheduling module to expand the service virtual. The configuration of the machine, such as expanding the number of cores and/or memory of the CPU, to meet user experience specifications.
又举例来说,如果上述步骤 206中,指标基线分析模块判断鼠标移动的响 应速度低于预设的基线指标,那么指标基线分析模块可以向动态资源调度模块 发送通知消息,触发动态资源调度模块减少物理服务器上服务虚拟机的部署数 量等方式, 以满足用户体验指标要求。 For example, if the indicator baseline analysis module determines that the response speed of the mouse movement is lower than the preset baseline indicator, the indicator baseline analysis module may send a notification message to the dynamic resource scheduling module to trigger the dynamic resource scheduling module to decrease. The number of service virtual machines deployed on the physical server, etc., to meet user experience metrics.
一个实施例中,动态资源调度模块接收到指标基线分析模块发送的通知消 息后,也可以触发执行服务虚拟机的迁移,从而减少该物理服务器上的业务负 载, 以满足用户体验指标要求, 同时可以平衡全系统负载。 In an embodiment, after receiving the notification message sent by the indicator baseline analysis module, the dynamic resource scheduling module may also trigger the execution of the migration of the service virtual machine, thereby reducing the business negative on the physical server. Load to meet user experience metrics while balancing system-wide load.
208、 指标基线分析模块判断出用户体验指标低于预设的基线指标, 则可 以通知操作管理平台告警。 208. After the indicator baseline analysis module determines that the user experience indicator is lower than the preset baseline indicator, the operation management platform alarm may be notified.
其中,操作管理平台告警可以通过界面显示、短信通知等方式通知系统维 机部署, 以重新满足用户体验。 The operation management platform alarm can notify the system to deploy the system through interface display and SMS notification to re-satisfy the user experience.
图 2所示的方法中,可以在服务虚拟机所在的物理服务器上创建监控虚拟 机, 并且监控虚拟机与服务虚拟机均链接虚拟化平台,使得监控虚拟机可以收 集其运行应用程序的用户体验指标, 并上报给操作管理平台。本发明实施例无 需在服务虚拟机中部署用户体验类测试工具来检测服务虚拟机上的应用程序 的用户体验指标,从而可以在有效监控服务虚拟机的用户体验指标的同时, 降 低服务虚拟机的工作负荷, 用户易于接受。 In the method shown in FIG. 2, the monitoring virtual machine can be created on the physical server where the service virtual machine is located, and the monitoring virtual machine and the service virtual machine are linked to the virtualization platform, so that the monitoring virtual machine can collect the user experience of running the application. Indicators are reported to the operations management platform. The embodiment of the present invention does not need to deploy a user experience class test tool in the service virtual machine to detect the user experience indicator of the application on the service virtual machine, thereby reducing the service virtual machine user experience indicator and reducing the service virtual machine. Workload is easy for users to accept.
请参阅图 3, 图 3为本发明实施例提供的一种监控虚拟机的结构图, 可以 应用于桌面云、 IDC以及 EDC等领域。 其中, 图 3所示的监控虚拟机创建在 任一服务虚拟机所在的物理服务器上,并且该监控虚拟机与该任一服务虚拟机 均链接虚拟化平台,该监控虚拟机运行的应用程序与该任一服务虚拟机装载的 应用程序相同。 如图 3所示, 该监控虚拟机可以包括: Referring to FIG. 3, FIG. 3 is a structural diagram of a monitoring virtual machine according to an embodiment of the present invention, which can be applied to the fields of desktop cloud, IDC, and EDC. The monitoring virtual machine shown in FIG. 3 is created on a physical server where any service virtual machine is located, and the monitoring virtual machine and the service virtual machine are linked to a virtualization platform, and the application running by the monitoring virtual machine is The application loaded by any service virtual machine is the same. As shown in FIG. 3, the monitoring virtual machine may include:
获取单元 301 , 用于获取任一服务虚拟机在虚拟化平台上的标识和配置信 息。 The obtaining unit 301 is configured to obtain identifiers and configuration information of any service virtual machine on the virtualization platform.
其中, 该任一服务虚拟机的配置信息至少包括 CPU的核数、 内存以及预 占带宽。 The configuration information of the service virtual machine includes at least the core number of the CPU, the memory, and the reserved bandwidth.
配置单元 302, 用于将该任一服务虚拟机在虚拟化平台上的配置信息配置 成监控虚拟机的配置信息。 The configuration unit 302 is configured to configure configuration information of the any service virtual machine on the virtualization platform to monitor configuration information of the virtual machine.
收集单元 303, 用于在该监控虚拟机的配置信息配置完毕后, 收集该监控 虚拟机运行应用程序的用户体验指标。 The collecting unit 303 is configured to collect user experience indicators of the monitoring virtual machine running application after the configuration information of the monitoring virtual machine is configured.
其中, 用户体验指标包括打字响应速度、 鼠标移动的响应速度或文档打开 的时长等。 The user experience indicators include the typing response speed, the response speed of the mouse movement, or the duration of the document opening.
上报单元 304, 用于将该用户体验指标和该任一服务虚拟机在虚拟化平台 上的标识上报给操作管理平台。 作为一种可选的实施方式,获取单元 301具体用于接收虚拟化平台发送的 任一服务虚拟机的标识和配置信息。 The reporting unit 304 is configured to report the user experience indicator and the identifier of the service virtual machine on the virtualization platform to the operation management platform. As an optional implementation manner, the obtaining unit 301 is specifically configured to receive identifiers and configuration information of any service virtual machine sent by the virtualization platform.
作为一种可选的实施方式,收集单元 303具体用于在监控虚拟机的配置信 息配置完毕后,运行脚本程序或执行程序以收集监控虚拟机运行应用程序的用 户体验指标。 As an optional implementation manner, the collecting unit 303 is specifically configured to run a script program or an executing program to collect a user experience indicator for monitoring a virtual machine running application after the configuration information of the monitoring virtual machine is configured.
作为一种可选的实施方式,监控虚拟机运行的应用程序可以是监控虚拟机 配置完毕其配置信息后触发运行的;或者是监控虚拟机配置完毕其配置信息后 启动计时, 并在计时到达设定值时触发运行的; 或者是监控虚拟机配置完毕其 配置信息后, 由维护人员触发运行的。 As an optional implementation manner, the application for monitoring the running of the virtual machine may be triggered after the configuration of the configuration information of the virtual machine is configured; or the monitoring time is started after the configuration of the virtual machine is configured, and the timing is reached. The operation is triggered when the value is set; or after the configuration information of the virtual machine is configured, the maintenance personnel trigger the operation.
作为一种可选的实施方式, 上4艮单元 304具体用于通过 SNMP或 SOAP 等协议将收集到的用户体验指标以及该任一服务虚拟机在虚拟化平台上的标 识上报给操作管理平台,以使操作管理平台可以将该用户体验指标作为该任一 服务虚拟机的用户体验指标。 As an optional implementation, the upper unit 304 is specifically configured to report the collected user experience indicator and the identifier of the service virtual machine on the virtualization platform to the operation management platform through a protocol such as SNMP or SOAP. So that the operation management platform can use the user experience indicator as a user experience indicator of any of the service virtual machines.
作为一种可选的实施方式, 图 3所示的监控虚拟机还可以包括: 启动单元 305,用于接收操作管理平台通过 SNMP或 SOAP等协议下发的 启动命令并触发启动监控虚拟机工作。 As an optional implementation, the monitoring virtual machine shown in FIG. 3 may further include: a starting unit 305, configured to receive a startup command sent by the operation management platform through a protocol such as SNMP or SOAP, and trigger the startup monitoring virtual machine to work.
图 3 所示的监控虚拟机可以在有效监控服务虚拟机的用户体验指标的同 时, 降低服务虚拟机的工作负荷, 减少系统成本的投入。 The monitoring virtual machine shown in Figure 3 can reduce the workload of the service virtual machine and reduce the system cost while effectively monitoring the user experience indicators of the service virtual machine.
请参阅图 4, 图 4为本发明实施例提供的一种用户体验指标监控系统的结 构图, 可以应用于桌面云、 IDC以及 EDC等领域。 如图 4所示, 该用户体验 指标监控系统可以包括: Referring to FIG. 4, FIG. 4 is a structural diagram of a user experience indicator monitoring system according to an embodiment of the present invention, which can be applied to desktop cloud, IDC, and EDC. As shown in FIG. 4, the user experience indicator monitoring system may include:
监控虚拟机 401、 操作管理平台 402; Monitoring virtual machine 401, operation management platform 402;
其中,监控虚拟机 401创建在任一服务虚拟机所在的物理服务器上, 并且 监控虚拟机 401与该任一服务虚拟机均链接虚拟化平台,该监控虚拟机运行的 应用程序与该任一服务虚拟机装载的应用程序相同。 The monitoring virtual machine 401 is created on a physical server where any service virtual machine is located, and the monitoring virtual machine 401 and the any service virtual machine are linked to the virtualization platform, and the application running by the monitoring virtual machine is virtualized with any of the services. The application loaded by the machine is the same.
其中, 监控虚拟机 401的结构、 功能均在前面实施例中进行了详细介绍, 本发明实施例此处不作复述。 The structure and function of the monitoring virtual machine 401 are described in detail in the foregoing embodiments, and the embodiments of the present invention are not described herein.
作为一种可选的实施方式,操作管理平台 402还用于通过 SNMP或 SOAP 写向监控虚拟机 401下发启动命令, 触发监控虚拟机 401启动。 作为一种可选的实施方式, 图 4 所示的用户体验指标监控系统还可以包 括: As an optional implementation, the operation management platform 402 is further configured to issue a startup command to the monitoring virtual machine 401 through SNMP or SOAP writing, and trigger the monitoring virtual machine 401 to start. As an optional implementation manner, the user experience indicator monitoring system shown in FIG. 4 may further include:
指标基线分析模块 403 ,用于接收操作管理平台 402上报的用户体验指标, 以及判断用户体验指标是否低于预设的基线指标,如果是, 则向动态资源调度 模块 404发送通知消息; The indicator baseline analysis module 403 is configured to receive the user experience indicator reported by the operation management platform 402, and determine whether the user experience indicator is lower than a preset baseline indicator, and if yes, send a notification message to the dynamic resource scheduling module 404;
动态资源调度模块 404,用于接收指标基线分析模块 403发送的通知消息, 并对服务虚拟机进行资源调度以满足用户体验。 The dynamic resource scheduling module 404 is configured to receive the notification message sent by the indicator baseline analysis module 403, and perform resource scheduling on the service virtual machine to satisfy the user experience.
作为一种可选的实施方式,指标基线分析模块 403还用于在判断出用户体 验指标低于预设的基线指标后, 通知操作管理平台 402告警; As an optional implementation manner, the indicator baseline analysis module 403 is further configured to notify the operation management platform 402 of the alarm after determining that the user experience indicator is lower than the preset baseline indicator;
相应地,操作管理平台 402还用于根据指标基线分析模块 403的通知产生 机部署, 以重新满足用户体验。 Accordingly, the operations management platform 402 is also used to re-satisfy the user experience based on the notification generator deployment of the metric baseline analysis module 403.
图 4 所示的用户体验指标监控系统可以在有效监控服务虚拟机的用户体 验指标的同时, 降低服务虚拟机的工作负荷, 用户易于接受。 The user experience indicator monitoring system shown in Figure 4 can effectively reduce the workload of the service virtual machine while effectively monitoring the user experience indicators of the service virtual machine, which is easy for the user to accept.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步 骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读 存储介质中, 存储介质可以包括: 闪存盘、 只读存储器(Read-Only Memory , ROM ), 随机存取器(Random Access Memory, RAM ), 磁盘或光盘等。 A person skilled in the art may understand that all or part of the various steps of the foregoing embodiments may be completed by a program instructing related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: Flash disk, read-only memory (ROM), random access memory (RAM), disk or optical disk.
以上对本发明实施例所提供的用户体验指标监控方法及监控虚拟机、系统 述, 以上实施例的说明只是用于帮助理解本发明的方法及其核心思想; 同时, 对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围 上均会有改变之处, 综上所述, 本说明书内容不应理解为对本发明的限制。 The foregoing description of the user experience indicator monitoring method and the monitoring virtual machine and system provided by the embodiments of the present invention are only used to help understand the method and core idea of the present invention. Meanwhile, for those skilled in the art, The present invention is not limited by the scope of the present invention.
Claims
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201180003194.5A CN102713860B (en) | 2011-12-30 | 2011-12-30 | User experience index monitoring method and monitoring virtual machine |
| PCT/CN2011/085021 WO2013097176A1 (en) | 2011-12-30 | 2011-12-30 | User experience index monitoring method and monitoring virtual machine |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2011/085021 WO2013097176A1 (en) | 2011-12-30 | 2011-12-30 | User experience index monitoring method and monitoring virtual machine |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2013097176A1 true WO2013097176A1 (en) | 2013-07-04 |
Family
ID=46903938
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2011/085021 Ceased WO2013097176A1 (en) | 2011-12-30 | 2011-12-30 | User experience index monitoring method and monitoring virtual machine |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN102713860B (en) |
| WO (1) | WO2013097176A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP3489828A1 (en) * | 2017-11-24 | 2019-05-29 | Wipro Limited | Method and system for resolving anomaly events occurring in a virtual environment in real-time |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103902422B (en) * | 2012-12-25 | 2017-05-10 | 中国电信股份有限公司 | Method and device for monitoring user operation behaviors and cloud computer system |
| CN105843671B (en) * | 2016-03-22 | 2018-11-16 | 西安电子科技大学 | Resources of virtual machine security monitoring and risk pretreatment system based on cloud platform |
| CN106406982A (en) * | 2016-10-21 | 2017-02-15 | 郑州云海信息技术有限公司 | Method of virtualization platform monitoring |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110239214A1 (en) * | 2010-03-29 | 2011-09-29 | Frields Paul W | Mechanism for Utilizing a Virtual Machine Cloud for Automated Test System Deployment |
| CN102222034A (en) * | 2011-07-15 | 2011-10-19 | 浙江大学 | Virtualized platform performance evaluating method based on program contour analysis |
| CN102254120A (en) * | 2011-08-09 | 2011-11-23 | 成都市华为赛门铁克科技有限公司 | Method, system and relevant device for detecting malicious codes |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101488098B (en) * | 2009-02-13 | 2011-11-30 | 华中科技大学 | Multi-core computing resource management system based on virtual computing technology |
| CN102279771B (en) * | 2011-09-02 | 2013-07-10 | 北京航空航天大学 | Method and system for adaptively allocating resources as required in virtualization environment |
-
2011
- 2011-12-30 CN CN201180003194.5A patent/CN102713860B/en not_active Expired - Fee Related
- 2011-12-30 WO PCT/CN2011/085021 patent/WO2013097176A1/en not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110239214A1 (en) * | 2010-03-29 | 2011-09-29 | Frields Paul W | Mechanism for Utilizing a Virtual Machine Cloud for Automated Test System Deployment |
| CN102222034A (en) * | 2011-07-15 | 2011-10-19 | 浙江大学 | Virtualized platform performance evaluating method based on program contour analysis |
| CN102254120A (en) * | 2011-08-09 | 2011-11-23 | 成都市华为赛门铁克科技有限公司 | Method, system and relevant device for detecting malicious codes |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP3489828A1 (en) * | 2017-11-24 | 2019-05-29 | Wipro Limited | Method and system for resolving anomaly events occurring in a virtual environment in real-time |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102713860A (en) | 2012-10-03 |
| CN102713860B (en) | 2014-07-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103248535B (en) | A kind of cloud system method of testing and device | |
| CN105051698B (en) | Method and arrangement for fault management in infrastructure, that is, service cloud | |
| CN108039964B (en) | Fault processing method, device and system based on network function virtualization | |
| CN104360878B (en) | A kind of method and device of application software deployment | |
| US9841986B2 (en) | Policy based application monitoring in virtualized environment | |
| CN112559133A (en) | Cloud-edge coordination system and cloud-edge coordination method based on native container technology | |
| WO2021017301A1 (en) | Management method and apparatus based on kubernetes cluster, and computer-readable storage medium | |
| US10461990B2 (en) | Diagnostic traffic generation for automatic testing and troubleshooting | |
| JP6354901B2 (en) | Virtual machine failure detection and recovery management system | |
| CN112882793B (en) | Method and system for sharing container resources | |
| CN106559441B (en) | Virtual machine monitoring method, device and system based on cloud computing service | |
| US20150019722A1 (en) | Determining, managing and deploying an application topology in a virtual environment | |
| KR102176028B1 (en) | System for Real-time integrated monitoring and method thereof | |
| JP2016103144A (en) | Virtual machine deployment method, virtual machine deployment program and virtual machine deployment system | |
| CN103810015A (en) | Virtual machine establishing method and equipment | |
| KR101371068B1 (en) | Method and System on Triggering Using Monitoring Metric for Cloud Computing Resource Management | |
| CN106063194A (en) | Monitoring system and monitoring method for software-defined networking | |
| WO2013097176A1 (en) | User experience index monitoring method and monitoring virtual machine | |
| WO2017045436A1 (en) | Virtual machine fault processing method and device | |
| CN106775920B (en) | Identification and removal of zombie virtual machines | |
| CN103502939A (en) | Method and system managing virtual machine | |
| CN106209409A (en) | A kind of scheduling message processing method and processing device based on virtual network function VNF | |
| US9317355B2 (en) | Dynamically determining an external systems management application to report system errors | |
| TWI507889B (en) | Management node , method , machine 一accessible medium and system for reservation and execution image writing of native computing devices | |
| US20250021363A1 (en) | Single adapter instance configuration for monitoring multiple virtual infrastructures |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| WWE | Wipo information: entry into national phase |
Ref document number: 201180003194.5 Country of ref document: CN |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 11878436 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 11878436 Country of ref document: EP Kind code of ref document: A1 |