CN108363610A - A kind of control method and equipment of virtual machine monitoring plug-in unit - Google Patents

A kind of control method and equipment of virtual machine monitoring plug-in unit Download PDF

Info

Publication number
CN108363610A
CN108363610A CN201810136714.3A CN201810136714A CN108363610A CN 108363610 A CN108363610 A CN 108363610A CN 201810136714 A CN201810136714 A CN 201810136714A CN 108363610 A CN108363610 A CN 108363610A
Authority
CN
China
Prior art keywords
unit
monitoring plug
monitoring
plug
platform server
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.)
Pending
Application number
CN201810136714.3A
Other languages
Chinese (zh)
Inventor
王宝林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201810136714.3A priority Critical patent/CN108363610A/en
Publication of CN108363610A publication Critical patent/CN108363610A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Abstract

The application discloses a kind of control method and equipment of virtual machine monitoring plug-in unit, is related to field of cloud calculation, can improve the safety of virtual machine monitoring plug-in unit control.This method is applied to carry out information exchange with cloud platform server, and being run wherein on cloud platform server has at least one virtual machine, and each virtual machine is equipped with monitoring plug-in unit, and for monitoring virtual machine, this method includes monitoring plug-in unit:Monitor supervision platform server receives the heartbeat data for the monitoring plug-in unit that cloud platform server reports;Heartbeat data in response to monitoring plug-in unit sends response data to cloud platform server, and response data includes the state control information of monitoring plug-in unit, in order to which cloud platform server is according to the state of the state control information control monitoring plug-in unit of monitoring plug-in unit.

Description

A kind of control method and equipment of virtual machine monitoring plug-in unit
Technical field
Embodiments herein is related to the control method of field of cloud calculation more particularly to a kind of virtual machine monitoring plug-in unit and sets It is standby.
Background technology
With the continuous development of cloud computing, more and more enterprises are by service deployment on virtual machine on cloud, based on void The cloud monitoring function of quasi- machine becomes more and more important.In general, virtual machine monitoring is to monitor plug-in unit built in virtual machine, inserted by monitoring Part obtains the basic properties index numbers such as central processing unit (Central Processing Unit, CPU), memory, network, process According to being then reported to cloud monitor supervision platform server to be handled.
There is the virtual machine monitoring plug-in unit much increased income at present, but need user oneself management service, lacks one visually The plug-in management platform of change, and be difficult to integrate into existing cloud platform and go to manage;And for the built-in plug-in unit of cloud service provider, it is It is actively issued in request to the monitoring plug-in unit of user virtual machine by cloud monitor supervision platform server, realizes the control of monitoring plug-in unit, But this mode needs to open control port or installation control plug-in unit in user virtual machine, is easy to cause safety problem.Usually Scheme be:The not only built-in monitoring plug-in unit of acquisition performance achievement data of virtual machine, it is also necessary to installation control monitoring plug-in unit The management tool monitoring plugin manager of installation, upgrading, unloading.Monitor supervision platform server obtains the management request that controller issues After (such as installation, upgrading or unloading), it is transmit a request to monitoring plugin manager, then go control to manage by monitoring plugin manager Monitor plug-in unit.The program has security risk, monitoring plugin manager to pass through the request management outside receiving under public cloud scene Monitor plug-in unit, as long as therefore pseudo- produce the request that monitor supervision platform server issues, you can control monitoring plug-in unit.
Invention content
Embodiments herein provides a kind of control method and equipment of virtual machine monitoring plug-in unit, can improve virtual machine prison Control the safety of plug-in unit control.
In a first aspect, providing a kind of control method of virtual machine monitoring plug-in unit, this method is applied to and cloud platform server Information exchange is carried out, being run wherein on cloud platform server has at least one virtual machine, each virtual machine to be equipped with monitoring plug-in unit, For monitoring virtual machine, this method includes monitoring plug-in unit:Monitor supervision platform server receives the monitoring that cloud platform server reports and inserts The heartbeat data of part;Heartbeat data in response to monitoring plug-in unit sends response data to cloud platform server, and response data includes The state control information for monitoring plug-in unit, in order to which cloud platform server is inserted according to the state control information control monitoring of monitoring plug-in unit The state of part.In this scenario, it is sent and is supervised to monitor supervision platform server by way of heartbeat data due to cloud platform server The heartbeat data of plug-in unit is controlled, the state control information for monitoring plug-in unit is carried and is sent in response data by monitor supervision platform server Cloud platform server, such cloud platform server can only control monitoring plug-in unit according to the response data of heartbeat data, phase For the prior art, embodiments herein be from heartbeat data triggering monitor supervision platform server it is passive to cloud platform server Send monitoring plug-in unit control information, and be no longer using cloud service platform server directly receive external request in the way of to supervise Control plug-in unit is controlled, therefore improves the safety of virtual machine monitoring plug-in unit control.
In one possible implementation, heartbeat data includes the status information for monitoring plug-in unit;This method further includes:To Controller sends the status information of monitoring plug-in unit, in order to which the status information of the monitoring plug-in unit is shown to user by controller, The status information of wherein monitoring plug-in unit includes at least one of following:Monitor the current monitor switching information of plug-in unit, the monitoring is inserted The current version information of part.In the above scheme, it is the control realized to monitoring plug-in unit, monitor supervision platform server needs first Know the status information of monitoring plug-in unit, such as:It monitors the current monitor switching information of plug-in unit, monitor the current version information of plug-in unit, And the status information for monitoring plug-in unit is sent to controller, the displaying of the status information of monitoring plug-in unit is on the one hand realized, in addition The status information of user's reference monitor plug-in unit can be facilitated to be controlled monitoring plug-in unit by monitor supervision platform server.
In one possible implementation, the control for realization to the pilot switch state of monitoring plug-in unit, the response Before the heartbeat data of the monitoring plug-in unit sends response data to the cloud platform server, the method further includes:It connects The control instruction that admission controller is sent generates the state control information of monitoring plug-in unit, state control information packet according to control instruction Include the setting pilot switch information of monitoring plug-in unit.It is monitored for example, setting pilot switch information to close, then cloud platform server root Monitoring is closed according to the state control information control monitoring plug-in unit of monitoring plug-in unit;If setting pilot switch information to monitor to open, Cloud platform server opens monitoring according to the state control information control monitoring plug-in unit of monitoring plug-in unit.
In one possible implementation, in response to monitoring the heartbeat data of plug-in unit response is sent to cloud platform server Before data, method further includes:Obtain the upgraded version information of monitoring plug-in unit;The upgraded version information for monitoring plug-in unit is sent to Controller;The control instruction that controller returns is received, control instruction includes automatic upgrading instruction or upgrading instruction manually;According to control The working condition of system instruction update monitoring plug-in unit is upgrade status, wherein the flag of upgrade status include automatic upgrading instruction or Upgrading instruction manually;It is to monitor the state control information of plug-in unit by the upgraded version information configuration for monitoring plug-in unit.Pass through above-mentioned side Upgraded version information is first sent to controller by case after the upgraded version information that monitor supervision platform server obtains monitoring plug-in unit, The upgraded version information can be showed user by controller, can be flat to monitoring if user thinks that monitoring plug-in unit needs to upgrade The working condition that platform server returns to control instruction configuration monitoring plug-in unit is upgrade status, regardless of the flag of upgrade status is Automatic upgrading instruction or upgrading instruction manually, monitor supervision platform server can be using upgraded version information configurations as monitoring plug-in unit State control information feeds back to cloud platform server, and such cloud platform server can be according to upgraded version information to monitoring plug-in unit Current version information once upgraded.
In one possible implementation, in response to the heartbeat data of the monitoring plug-in unit to the cloud platform server Before sending response data, the method further includes:Obtain the upgraded version information of monitoring plug-in unit;If it is determined that the liter of monitoring plug-in unit The current version information of grade version information and monitoring plug-in unit is inconsistent, then is in upgrade status in determining monitoring plug-in unit and upgrades When the flag of state is automatic upgrading instruction, the state that the upgraded version information configuration for monitoring plug-in unit is monitoring plug-in unit is controlled Information;If it is determined that the version information of monitoring plug-in unit upgrading is consistent with the version information that monitoring plug-in unit is current, then monitoring plug-in unit is updated It is in operating status.It is provided in a upper possible realization method and triggers the edition upgrading to monitoring plug-in unit by controller Mode, in this kind of possible realization method, if the flag of upgrade status is set as upgrading instruction automatically, monitor supervision platform clothes It is engaged in can directly monitoring the version information of plug-in unit upgrading as monitoring plug-in unit after device obtains the upgraded version information for monitoring plug-in unit State control information feeds back to cloud platform server, and being not necessarily to controller access cloud platform server in this way can be directly according to upgrading Version information upgrades monitoring plug-in unit automatically.
Second aspect provides a kind of monitor supervision platform server, is applied to carry out information exchange with cloud platform server, described Operation has at least one virtual machine on cloud platform server, and each virtual machine is equipped with monitoring plug-in unit, the monitoring plug-in unit For monitoring the virtual machine, which includes:Receiving module, for receiving described in cloud platform server reports Monitor the heartbeat data of plug-in unit;Sending module, the beats of the monitoring plug-in unit for being received in response to the receiving module Response data is sent according to the cloud platform server, the response data includes the state control information of the monitoring plug-in unit, In order to which the cloud platform server controls the state for monitoring plug-in unit according to the state control information of the monitoring plug-in unit.
In one possible implementation, the heartbeat data includes the status information of the monitoring plug-in unit;The hair Module is sent, is additionally operable to send the status information of the monitoring plug-in unit to controller, in order to which the controller inserts the monitoring The status information of part is shown to user, wherein the status information of the monitoring plug-in unit includes at least one of following:The monitoring is inserted The current version information of the current monitor switching information of part, the monitoring plug-in unit.
In one possible implementation, the receiving module is additionally operable to receive the control instruction that controller is sent;Also Including processing module, the control instruction for being received according to the receiving module generates the state control of the monitoring plug-in unit Information, the state control information include the setting pilot switch information of the monitoring plug-in unit.
In one possible implementation, the receiving module is additionally operable to obtain the upgraded version of the monitoring plug-in unit Information;The sending module is additionally operable to the upgraded version information of the monitoring plug-in unit being sent to controller;The reception mould Block is additionally operable to receive the control instruction that controller returns, and the control instruction includes automatic upgrading instruction or upgrading instruction manually; Further include:Processing module, the control instruction for being received according to the receiving module update the work of the monitoring plug-in unit State is upgrade status, wherein the flag of the upgrade status includes the automatic upgrading instruction or upgrading instruction manually;It will The upgraded version information configuration of the monitoring plug-in unit is the state control information of the monitoring plug-in unit.
In one possible implementation, the receiving module is additionally operable to obtain the upgraded version of the monitoring plug-in unit Information;Further include:Processing module is used for if it is determined that the upgraded version information of the monitoring plug-in unit monitors the current of plug-in unit with described Version information is inconsistent, then is automatic determining that the monitoring plug-in unit is in the flag of upgrade status and the upgrade status When upgrading instruction, using the upgraded version information of the monitoring plug-in unit as the state control information of the monitoring plug-in unit;If it is determined that The version information of the monitoring plug-in unit upgrading is consistent with the version information that the monitoring plug-in unit is current, then updates the monitoring plug-in unit It is in operating status.
The third aspect provides a kind of monitor supervision platform server, including:Communication interface, processor, memory, bus;Storage Device is for storing computer executed instructions, and communication interface, processor and memory are connected by bus, when monitor supervision platform server When operation, processor executes the computer executed instructions of memory storage, so that monitor supervision platform server executes above-mentioned first party The control method of the virtual machine monitoring plug-in unit in face.
Fourth aspect, the embodiment of the present application provide a kind of computer storage media, including instruction, when its on computers When operation so that computer executes the control method of the virtual machine monitoring plug-in unit such as first aspect.
5th aspect, it includes the computer program product instructed that the embodiment of the present application, which provides a kind of, when it is in computer When upper operation so that the computer executes the control method of the virtual machine monitoring plug-in unit such as first aspect.
It is to be appreciated that any monitor supervision platform server or computer storage media or computer program of above-mentioned offer Product is used to execute the control method of the corresponding virtual machine monitoring plug-in unit of first aspect presented above, therefore, institute's energy The control method and embodiment party in detail below that the advantageous effect reached can refer to the virtual machine monitoring plug-in unit of first aspect above The advantageous effect of corresponding scheme in formula, details are not described herein again.
6th aspect, provides a kind of control method of virtual machine monitoring plug-in unit, is applied to cloud platform server, and medium cloud is flat Operation has at least one virtual machine, each virtual machine to be equipped with monitoring plug-in unit on platform server, and monitoring plug-in unit is virtual for monitoring Machine, this method include:Report the heartbeat data of monitoring plug-in unit to monitor supervision platform server;The monitor supervision platform server is received to ring The response data that the heartbeat data of plug-in unit is sent is monitored described in Ying Yu, the response data includes the state control of the monitoring plug-in unit Information processed;The state of the monitoring plug-in unit is controlled according to the state control information of the monitoring plug-in unit.In this scenario, due to cloud Platform Server sends the heartbeat data of monitoring plug-in unit by way of heartbeat data to monitor supervision platform server, and monitoring is inserted The state control information carrying of part is sent to cloud platform server in response data, and such cloud platform server can only be according to the heart The response data of hop count evidence controls monitoring plug-in unit, and compared with the existing technology, embodiments herein is by heartbeat data The passive control information for sending monitoring plug-in unit to cloud platform server of monitor supervision platform server is triggered, and is taken using cloud The mode that business Platform Server directly receives external request controls monitoring plug-in unit, therefore improves virtual machine monitoring plug-in unit The safety of control.
In one possible implementation, the heartbeat data includes the current state information of the monitoring plug-in unit, Described in current state information include at least one of following:The current monitor on off state of the monitoring plug-in unit, the monitoring are inserted The current version information of part.
7th aspect provides a kind of cloud platform server, and being run on the cloud platform server has at least one virtual machine, Each virtual machine is equipped with monitoring plug-in unit, and the monitoring plug-in unit is for monitoring the virtual machine, the cloud platform server Including:Sending module, for reporting the heartbeat data of monitoring plug-in unit to monitor supervision platform server;Receiving module, for receiving The response data that monitor supervision platform server is sent in response to the heartbeat data of the monitoring plug-in unit is stated, the response data includes institute State the state control information of monitoring plug-in unit;Processing module, the shape of the monitoring plug-in unit for being received according to the receiving module State control information controls the state of the monitoring plug-in unit.
In one possible implementation, the heartbeat data includes the status information of the monitoring plug-in unit, wherein institute The status information for stating monitoring plug-in unit includes at least one of following:The current monitor switching information of the monitoring plug-in unit, the monitoring The current version information of plug-in unit.
Eighth aspect provides a kind of cloud platform server, including:Communication interface, processor, memory, bus;Memory For storing computer executed instructions, communication interface, processor and memory are connected by bus, when cloud platform server is run When, processor executes the computer executed instructions of memory storage, so that cloud platform server executes the void of above-mentioned 6th aspect The control method of quasi- machine monitoring plug-in unit.
9th aspect, the embodiment of the present application provide a kind of computer storage media, including instruction, when its on computers When operation so that computer executes the control method of the virtual machine monitoring plug-in unit in terms of the such as the 6th.
Tenth aspect, it includes the computer program product instructed that the embodiment of the present application, which provides a kind of, when it is in computer When upper operation so that the computer executes the control method of the virtual machine monitoring plug-in unit in terms of the such as the 6th.
It is to be appreciated that any cloud platform server or computer storage media or the computer program production of above-mentioned offer Therefore the control method that product are used to execute the corresponding virtual machine monitoring plug-in unit of the 6th aspect presented above can reach To advantageous effect can refer to it is above 6th aspect virtual machine monitoring plug-in unit control method and following detailed description In corresponding scheme advantageous effect, details are not described herein again.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, embodiment will be described below Needed in attached drawing be briefly described.
A kind of signal of the application scenarios of the control method for virtual machine monitoring plug-in unit that Fig. 1 embodiments herein provides Figure;
A kind of structural schematic diagram for monitor supervision platform server that Fig. 2 embodiments herein provides;
A kind of structural schematic diagram for cloud platform server that Fig. 3 embodiments herein provides;
A kind of flow diagram of the control method for virtual machine monitoring plug-in unit that Fig. 4 embodiments herein provides;
A kind of flow diagram of the control method for virtual machine monitoring plug-in unit that another embodiment of Fig. 5 the application provides;
A kind of flow diagram of the control method for virtual machine monitoring plug-in unit that the another embodiment of Fig. 6 the application provides;
A kind of structural schematic diagram for monitor supervision platform server that another embodiment of Fig. 7 the application provides;
A kind of structural schematic diagram for monitor supervision platform server that the another embodiment of Fig. 8 the application provides;
A kind of structural schematic diagram for cloud platform server that another embodiment of Fig. 9 the application provides;
A kind of structural schematic diagram for cloud platform server that the another embodiment of Figure 10 the application provides.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes.
The principle of the application is:Cloud platform server is sent to monitor supervision platform server by way of heartbeat data and is monitored The state control information for monitoring plug-in unit carrying is sent to cloud by the heartbeat data of plug-in unit, monitor supervision platform server in response data Platform Server, such cloud platform server can only control monitoring plug-in unit according to the response data of heartbeat data, relatively In the prior art, embodiments herein is to be sent out from heartbeat data triggering monitor supervision platform server is passive to cloud platform server Send monitoring plug-in unit control information, and be no longer using cloud service platform server directly receive external request in the way of to monitor Plug-in unit is controlled, therefore improves the safety of virtual machine monitoring plug-in unit control.
This programme need to operate in application scenarios as shown in Figure 1, including cloud platform server, monitor supervision platform server with And controller, wherein controller is the terminal device that may be implemented to carry out information exchange with user, such as:Personal PC, mobile phone etc.. Operation has at least one virtual machine, each virtual machine to be equipped with monitoring plug-in unit on cloud platform server, and monitoring plug-in unit is for monitoring Virtual machine, such as acquisition central processing unit (Central Processing Unit, CPU), memory, network, process etc. are basic It can achievement data.Virtual machine, that is, VM is a kind of special software.Virtual machine can be between cloud platform server and terminal user A kind of environment is created, the environment that is created based on virtual machine in order to terminal user operates other software.From application program Angle sees, program operation on a virtual machine in entity computer corresponding with its is operated in.Wherein, cloud platform server can To report each monitoring plug-in unit to monitor the base values data that corresponding virtual machine is generated, controller to monitor supervision platform server It can ask to ask displaying base values data to user to monitor supervision platform server by interface.In addition, the application based on Fig. 1 Scene, cloud platform server, monitor supervision platform server and controller cooperation execute quasi- machine monitoring plug-in unit provided by the present application Control method.
Wherein, monitor supervision platform server includes:With reference to shown in Fig. 2, including communication interface 101, processor 102, storage Device 103 and bus 104, communication interface 101, processor 102 are connected by bus 104 with memory 103.
Processor 102 can be a general central processor (Central Processing Unit, CPU), microprocessor Device, application-specific integrated circuit (Application-Specific Integrated Circuit, ASIC) or one or more A integrated circuit for controlling the execution of application scheme program.
Memory 103 can be read-only memory (Read-Only Memory, ROM) or can store static information and instruction Other kinds of static storage device, random access memory (Random Access Memory, RAM) or letter can be stored The other kinds of dynamic memory of breath and instruction, can also be Electrically Erasable Programmable Read-Only Memory (Electrically Erasable Programmable Read-only Memory, EEPROM), CD-ROM (Compact Disc Read- Only Memory, CD-ROM) or other optical disc storages, optical disc storage (including compression optical disc, laser disc, optical disc, digital universal Optical disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus or can be used in carrying or store to have referring to Enable or data structure form desired program code and can by any other medium of computer access, but not limited to this. Memory can be individually present, and be connected with processor by bus.Memory can also be integrated with processor.
Wherein, memory 103 is used to store the application code for executing application scheme, and is controlled by processor 102 System executes.Communication interface 101 is used to receive the content of external equipment input, such as the user instruction etc. in the application, processing Device 102 is for executing the application code stored in memory 103, to realize that the test described in the embodiment of the present application is used The generation method of example.
Wherein, cloud platform server includes:With reference to shown in Fig. 3, including communication interface 201, processor 202, memory 203 and bus 204, communication interface 201, processor 202 be connected with memory 203 by bus 204.
Processor 202 can be a general central processor (Central Processing Unit, CPU), microprocessor Device, application-specific integrated circuit (Application-Specific Integrated Circuit, ASIC) or one or more A integrated circuit for controlling the execution of application scheme program.
Memory 203 can be read-only memory (Read-Only Memory, ROM) or can store static information and instruction Other kinds of static storage device, random access memory (Random Access Memory, RAM) or letter can be stored The other kinds of dynamic memory of breath and instruction, can also be Electrically Erasable Programmable Read-Only Memory (Electrically Erasable Programmable Read-only Memory, EEPROM), CD-ROM (Compact Disc Read- Only Memory, CD-ROM) or other optical disc storages, optical disc storage (including compression optical disc, laser disc, optical disc, digital universal Optical disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus or can be used in carrying or store to have referring to Enable or data structure form desired program code and can by any other medium of computer access, but not limited to this. Memory can be individually present, and be connected with processor by bus.Memory can also be integrated with processor.
Wherein, memory 203 is used to store the application code for executing application scheme, and is controlled by processor 102 System executes.Communication interface 201 is used to receive the content of external equipment input, such as the user instruction etc. in the application, processing Device 202 is for executing the application code stored in memory 203, to realize that the test described in the embodiment of the present application is used The execution method of example.
Based on the system provided in above-mentioned scene and entity apparatus with reference to shown in Fig. 4, embodiments herein provides one The control method of kind virtual machine monitoring plug-in unit, includes the following steps:
101, cloud platform server reports the heartbeat data of monitoring plug-in unit to monitor supervision platform server.
Wherein, heartbeat data includes the status information for monitoring plug-in unit;Such as:Monitoring plug-in unit status information include with down toward One item missing:It monitors the current switch information of plug-in unit, monitor the current version information of plug-in unit.Wherein, heartbeat data is every one section Time (such as every one minute) cloud platform server sends the data packet of a very little to the monitor supervision platform server of interconnection, leads to The response data for crossing monitor supervision platform server may determine that whether the bipartite communication link of interconnection is already off.Monitoring is flat After platform server obtains the heartbeat data of monitoring plug-in unit, the status information of monitoring plug-in unit is sent to controller, in order to controller The status information for monitoring plug-in unit is shown to user.
102, monitor supervision platform server receives the heartbeat data for the monitoring plug-in unit that cloud platform server reports.
103, monitor supervision platform server sends response data in response to monitoring the heartbeat data of plug-in unit to cloud platform server, Response data includes the state control information of monitoring plug-in unit.
104, cloud platform server receives what monitor supervision platform server was sent in response to the heartbeat data of the monitoring plug-in unit Response data, response data include the state control information of monitoring plug-in unit.
105, cloud platform server monitors the state of plug-in unit according to the state control information control of monitoring plug-in unit.
In the program, inserted since cloud platform server sends monitoring by way of heartbeat data to monitor supervision platform server The state control information for monitoring plug-in unit carrying is sent to cloud in response data and put down by the heartbeat data of part, monitor supervision platform server Platform server, such cloud platform server can only control monitoring plug-in unit according to the response data of heartbeat data, relative to The prior art, embodiments herein are to be sent from heartbeat data triggering monitor supervision platform server is passive to cloud platform server Monitor the control information of plug-in unit, and be no longer using cloud service platform server directly receives external request in the way of it is slotting to monitoring Part is controlled, therefore improves the safety of virtual machine monitoring plug-in unit control.
Pilot switch state to monitor plug-in unit illustrates for controlling, and includes the following steps:Monitor supervision platform server Before heartbeat data in response to monitoring plug-in unit sends response data to cloud platform server, monitor supervision platform server receives control The control instruction that device is sent, the state control information of monitoring plug-in unit is generated according to control instruction, and state control information includes monitoring The setting pilot switch information of plug-in unit.It is monitored for example, setting pilot switch information to close, then cloud platform server is according to monitoring The state control information control monitoring plug-in unit of plug-in unit closes monitoring;If setting pilot switch information to monitor to open, cloud platform Server opens monitoring according to the state control information control monitoring plug-in unit of monitoring plug-in unit.
Specifically referring to Figure 5, (each step illustrates only pass to the control of pilot switch state in wherein Fig. 5 as follows Keyword converges, and detailed description refers to following the description):
201, cloud platform server reports the heartbeat data of monitoring plug-in unit to monitor supervision platform server.
202, monitor supervision platform server sends response data in response to monitoring the heartbeat data of plug-in unit to cloud platform.
Wherein, when cloud platform server reports the heartbeat data of monitoring plug-in unit for the first time, monitor supervision platform server does not monitor The record of plug-in unit, monitoring plug-in unit give tacit consent to the feedback in response data and close monitoring in 202, i.e., pilot switch is enabled (enable) it is false (false).After cloud platform server receives response data, setting monitoring plug-in unit closes monitoring.
203, monitor supervision platform server sends the status information of monitoring plug-in unit to controller.
Based on step 202, monitor supervision platform server closes monitoring enable to the status information of controller feedback acquiescence false。
204, monitor supervision platform server receives the control instruction that controller is sent, and monitoring plug-in unit is generated according to control instruction State control information, state control information include the setting pilot switch information for monitoring plug-in unit.
Wherein in step 203, controller can show that the current monitor switching information of monitoring plug-in unit is to close to supervise to user Control, if user needs to open monitoring, enabled (enable) that pilot switch is arranged in control instruction is true (true).At this time The enable true of pilot switch are stored in database by monitor supervision platform server, and cloud platform server is waited for report prison next time Control the heartbeat data of plug-in unit.
205, cloud platform server reports the heartbeat data of monitoring plug-in unit to monitor supervision platform server, and heartbeat data includes prison It is to close to monitor to control switching information.
Monitoring is closed due to monitoring plug-in unit in step 203, in this heartbeat data, pilot switch information is to close Close monitoring.
206, monitor supervision platform server sends response data in response to monitoring the heartbeat data of plug-in unit to cloud platform server, The state control information that response data includes is to open to monitor.
207, cloud platform server controls monitoring plug-in unit according to state control information and opens monitoring.
208, cloud platform server reports the heartbeat data of monitoring plug-in unit to monitor supervision platform server, and heartbeat data includes prison It is to open to monitor to control switching information.
The control of pilot switch is realized by the above process, it is certainly above-mentioned only to be illustrated for opening and monitoring, Certainly monitoring is if desired closed, then only needs controller to be sent to monitor supervision platform server and closes the control instruction of monitoring to touch Hair closes the process of monitoring, and monitor supervision platform server is sent in response to monitoring certain heartbeat data of plug-in unit to cloud platform server Carry the response data for closing monitoring.
It illustrates, includes the following steps by taking the version for monitoring plug-in unit as an example:Monitor supervision platform server obtains monitoring plug-in unit Upgraded version information;The upgraded version information for monitoring plug-in unit is sent to controller;The control instruction that controller returns is received, Control instruction includes automatic upgrading instruction or upgrading instruction manually;The working condition that monitoring plug-in unit is updated according to control instruction is to rise Grade state, wherein the flag of upgrade status includes automatic upgrading instruction or upgrading instruction manually;The upgrade version of plug-in unit will be monitored This information configuration is to monitor the state control information of plug-in unit.Wherein no matter the flag of upgrade status include automatic upgrading instruction or Upgrading instruction manually, cloud platform server can all complete this monitoring plug-in unit after the response data for receiving a heartbeat data Edition upgrading;Certainly.It is indicated if the flag of upgrade status includes automatic upgrading, specific upgrade step includes following mistake Journey:Monitor supervision platform server obtains the upgraded version information of monitoring plug-in unit;If it is determined that the upgraded version information of monitoring plug-in unit and prison The current version information for controlling plug-in unit is inconsistent, then the flag for being in upgrade status and upgrade status in determining monitoring plug-in unit is When automatic upgrading instruction, by the state control information that the upgraded version information configuration for monitoring plug-in unit is the monitoring plug-in unit;If really Surely the version information of monitoring plug-in unit upgrading is consistent with the version information that monitoring plug-in unit is current, then updates monitoring plug-in unit and be in operation shape State.
Shown in specific reference Fig. 6, the edition upgrading control for monitoring plug-in unit is as follows:
301, cloud platform server reports the heartbeat data of monitoring plug-in unit to monitor supervision platform server, and heartbeat data includes version This number 1.0.0.
302, monitor supervision platform server sends response data, number of responses in response to monitoring the heartbeat data of plug-in unit to cloud platform According to comprising state control information be version number 1.0.0.
Wherein, when cloud platform server reports the heartbeat data of monitoring plug-in unit for the first time, monitor supervision platform server does not monitor The record of plug-in unit, monitoring plug-in unit give tacit consent to the feedback version number 1.0.0 in response data in 302.
303, monitor supervision platform server obtains the new version number 2.0.0 of monitoring plug-in unit, and new version number 2.0.0 is sent out It send to controller.
User can check new version by controller in this way, if user needs the version to monitoring plug-in unit to rise Grade, then send out control instruction by controller to monitor supervision platform server.
304, monitor supervision platform server receives the control instruction that controller returns, control instruction include automatic upgrading instruction or Upgrading instruction manually.
305, the working condition that monitor supervision platform server updates monitoring plug-in unit according to control instruction is upgrade status, wherein rising The flag of grade state includes automatic upgrading instruction or upgrading instruction manually.
In step 305, monitor supervision platform server monitors the working condition of plug-in unit in database purchase, if controller indicates It needs to monitoring plug-in unit upgrading, then either automatic upgrading instruction or upgrading instruction manually, will all monitor the working condition of plug-in unit It is updated to upgrade status upgrading, illustratively:It is true that automatic upgrading, which is designated as auto_upgrade, i.e., automatic upgrading It is true;It is false that upgrading, which is designated as auto_upgrade, manually, that is, is automatically upgraded to vacation.Later, monitor supervision platform server waits for Cloud platform server reports the heartbeat data of monitoring plug-in unit next time, and the version number 2.0.0 for monitoring plug-in unit is configured to respond The state control information of plug-in unit is monitored in data.
307, cloud platform server reports the heartbeat data of monitoring plug-in unit to monitor supervision platform server, and heartbeat data includes version This number 1.0.0.
308, monitor supervision platform server sends response data in response to monitoring the heartbeat data of plug-in unit to cloud platform server, Response data includes version number 2.0.0.
309, cloud platform server controls monitoring plug-in unit according to version number 2.0.0 and carries out edition upgrading.
Specifically, since the current version of monitoring plug-in unit is version in the response data that 1.0.0 is received with cloud platform server This number 2.0.0 is inconsistent, then upgrade script is called to upgrade the version for monitoring plug-in unit.
310, cloud platform server reports the heartbeat data of monitoring plug-in unit to monitor supervision platform server, and heartbeat data includes version This number 2.0.0.
After step 309 completes edition upgrading, monitors and reported new version number 2.0.0 in the heartbeat data of plug-in unit.
311, monitor supervision platform server sends response data in response to monitoring the heartbeat data of plug-in unit to cloud platform server, Response data includes version number 2.0.0.
312, monitor supervision platform server determines that the version number 2.0.0 that heartbeat data includes and the version that step 303 receives are believed Breath is consistent, then it is in operating status to update monitoring plug-in unit.
Wherein no matter the flag of upgrade status includes automatic upgrading instruction or upgrading instruction manually, and cloud platform server is all The edition upgrading of primary monitoring plug-in unit can be completed after the response data for receiving a heartbeat data;Certainly.If upgrade status Flag includes that automatic upgrading indicates, then monitor supervision platform server can be automatically to monitoring plug-in unit after obtaining new version number 3.0.0 Version upgraded;Specifically comprise the following steps:
313, monitor supervision platform server obtains the new version number 3.0.0 of monitoring plug-in unit.
If it is determined that the new version number 3.0.0 of monitoring plug-in unit and the version number 2.0.0 of monitoring plug-in unit are inconsistent, then in determination It is that automatic upgrading indicates that monitoring plug-in unit, which is in upgrade status and the flag of upgrade status, and monitor supervision platform server waits for cloud flat Platform server reports the heartbeat data of monitoring plug-in unit next time, and configures the version number 3.0.0 for monitoring plug-in unit to response data The state control information of middle monitoring plug-in unit.
314, cloud platform server reports the heartbeat data of monitoring plug-in unit to monitor supervision platform server, and heartbeat data includes version This number 2.0.0.
After step 309 completes edition upgrading, monitors and report new version number 2.0.0. in the heartbeat data of plug-in unit
315, monitor supervision platform server sends response data in response to monitoring the heartbeat data of plug-in unit to cloud platform server, Response data includes version number 3.0.0.
316, cloud platform server controls monitoring plug-in unit according to version number 3.0.0 and carries out edition upgrading.
Specifically, since the current version of monitoring plug-in unit is version in the response data that 2.0.0 is received with cloud platform server This number 3.0.0 is inconsistent, then upgrade script is called to upgrade the version for monitoring plug-in unit.
317, cloud platform server reports the heartbeat data of monitoring plug-in unit to monitor supervision platform server, and heartbeat data includes version This number 3.0.0.
After step 316 completes edition upgrading, monitors and report new version number 3.0.0 in the heartbeat data of plug-in unit.
318, monitor supervision platform server sends response data in response to monitoring the heartbeat data of plug-in unit to cloud platform server, Response data includes version number 3.0.0.
If the flag that upgrade status is arranged in controller, which is automatic upgrading, indicates that monitor supervision platform server obtains monitoring and inserts After the new version information of part, cycle executes step 313-318, realizes the automatic upgrading to monitoring plug-in version.If controller is set The flag for setting upgrade status is that upgrading indicates manually, then only executes an edition upgrading process according to step 307-312.
The embodiment of the present application provides a kind of monitor supervision platform server, the controlling party for executing above-mentioned virtual machine monitoring plug-in unit Method.The embodiment of the present application can carry out the division of function module according to above method example to it, for example, each work(can be corresponded to Each function module can be divided, two or more functions can also be integrated in a processing module.It is above-mentioned integrated Module both may be used hardware form realize, can also be realized in the form of software function module.It should be noted that It is schematical to the division of module in the embodiment of the present application, only a kind of division of logic function can have in actual implementation Other dividing mode.
In the case where dividing each function module using corresponding each function, Fig. 7 shows involved in above-described embodiment And monitor supervision platform server a kind of possible structural schematic diagram, monitor supervision platform server 700 includes:Receiving module 601, hair Send module 602.Receiving module 601 for supporting monitor supervision platform server to execute the process 102 in Fig. 4, in Fig. 5 201,204, 205, the receptions such as 208 act, the action of the receptions such as 301,303,304,307,310,313,314,317 in Fig. 6;Sending module 602 For supporting monitor supervision platform server to execute the sending actions such as 202,203,206 in the process 101 in Fig. 4, Fig. 5, in Fig. 6 302, the sending actions such as 308,311,315,318.In addition, further including that processing module 603 is used to that monitor supervision platform server to be supported to hold Process 204 in row Fig. 5, the processing procedures such as 305,312 in Fig. 6;Wherein, the institute for each step that above method embodiment is related to The function description of corresponding function module can be quoted by having related content, and details are not described herein.
Using integrated unit, Fig. 8 shows monitor supervision platform server involved in above-described embodiment A kind of possible structural schematic diagram.Monitor supervision platform server 800 includes:Storage unit 801, processing unit 802 and interface Unit 803.Processing unit 803 to the action of monitor supervision platform server for carrying out control management, storage unit 801, for depositing Store up the program code and data of monitor supervision platform server.Interface unit 803 is handed over for being connect with other external equipments into row information Mutually.
Wherein, processing unit 802 can be the processor 102 in Fig. 2.Storage unit 801 can be the memory in Fig. 2 103.Interface unit 803 can be the communication interface 101 in Fig. 2.
The embodiment of the present application provides a kind of cloud platform server, the virtual machine monitoring plug-in unit for executing above-mentioned test case Control method.The embodiment of the present application can carry out the division of function module according to above method example to it, for example, can be right It answers each function to divide each function module, two or more functions can also be integrated in a processing module. The form that hardware had both may be used in above-mentioned integrated module is realized, can also be realized in the form of software function module.It needs Illustrate, is schematical, only a kind of division of logic function to the division of module in the embodiment of the present application, it is practical to realize When there may be another division manner.
In the case where dividing each function module using corresponding each function, Fig. 9 shows involved in above-described embodiment And cloud platform server a kind of possible structural schematic diagram, cloud platform server 900 includes:Sending module 901 receives mould Block 902 and processing module 903.Sending module 602 is for supporting cloud platform server to execute the process 101 in Fig. 4, in Fig. 5 The sending actions such as 201,205,208, the sending actions such as 301,307,310,314,317 in Fig. 6.Receiving module 902 is for branch Hold cloud platform server and execute process 104 in Fig. 4, the action of the receptions such as 202,206 in Fig. 5,302 in Fig. 6,308,311, 313, the receptions such as 318 act;Processing module 903 is used to support cloud platform server to execute 105 in Fig. 1, process in Fig. 5 The processing procedures such as 309,316 in 207, Fig. 6;Wherein, all related contents for each step that above method embodiment is related to are equal The function description of corresponding function module can be quoted, details are not described herein.
Using integrated unit, Figure 10 shows cloud platform server involved in above-described embodiment A kind of possible structural schematic diagram.Cloud platform server 1000 includes:Storage unit 1001, processing unit 1002 and interface list Member 1003.Processing unit 1003 to the action of cloud platform server for carrying out control management, storage unit 1001, for storing The program code and data of cloud platform server.Interface unit 1003 carries out information exchange for being connect with other external equipments.
Wherein, processing unit 1002 can be the processor 202 in Fig. 3.Storage unit 1001 can be the storage in Fig. 3 Device 203.Interface unit 1003 can be the communication interface 201 in Fig. 3.
It should be understood that in the various embodiments of the application, size of the sequence numbers of the above procedures is not meant to execute suitable The execution sequence of the priority of sequence, each process should be determined by its function and internal logic, the implementation without coping with the embodiment of the present application Process constitutes any restriction.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, depends on the specific application and design constraint of technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed Scope of the present application.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method, it can be with It realizes by another way.For example, apparatus embodiments described above are merely indicative, for example, the unit It divides, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, equipment or unit It closes or communicates to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or its arbitrary combination real It is existing.When being realized using software program, can entirely or partly realize in the form of a computer program product.The computer Program product includes one or more computer instructions.On computers load and execute computer program instructions when, all or It partly generates according to the flow or function described in the embodiment of the present application.The computer can be all-purpose computer, special meter Calculation machine, computer network or other programmable devices.The computer instruction can be stored in computer readable storage medium In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center Word user line (Digital Subscriber Line, DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another A web-site, computer, server or data center are transmitted.The computer readable storage medium can be computer Any usable medium that can be accessed is either comprising numbers such as one or more server, data centers that can be integrated with medium According to storage device.The usable medium can be magnetic medium (for example, floppy disk, hard disk, tape), optical medium (for example, DVD), Or semiconductor medium (such as solid state disk (Solid State Disk, SSD)) etc..
The above, the only specific implementation mode of the application, but the protection domain of the application is not limited thereto, it is any Those familiar with the art can easily think of the change or the replacement in the technical scope that the application discloses, and should all contain It covers within the protection domain of the application.Therefore, the protection domain of the application should be based on the protection scope of the described claims.

Claims (14)

1. a kind of control method of virtual machine monitoring plug-in unit, which is characterized in that be applied to hand over into row information with cloud platform server Mutually, wherein being run on the cloud platform server has at least one virtual machine, each virtual machine is equipped with monitoring plug-in unit, institute Monitoring plug-in unit is stated for monitoring the virtual machine, this method includes:
Receive the heartbeat data for the monitoring plug-in unit that cloud platform server reports;
In response to the heartbeat data of the monitoring plug-in unit response data, the response data packet are sent to the cloud platform server State control information containing the monitoring plug-in unit, in order to which the cloud platform server is controlled according to the state of the monitoring plug-in unit Information controls the state of the monitoring plug-in unit.
2. according to the method described in claim 1, it is characterized in that, the heartbeat data includes the state letter of the monitoring plug-in unit Breath;The method further includes:
The status information that the monitoring plug-in unit is sent to controller, in order to which the controller believes the state of the monitoring plug-in unit Breath is shown to user, wherein the status information of the monitoring plug-in unit includes at least one of following:The current prison of the monitoring plug-in unit Control the current version information of switching information, the monitoring plug-in unit.
3. method according to claim 1 or 2, which is characterized in that the heartbeat data in response to the monitoring plug-in unit Before sending response data to the cloud platform server, the method further includes:
The control instruction that controller is sent is received, the state control information of the monitoring plug-in unit is generated according to the control instruction, The state control information includes the setting pilot switch information of the monitoring plug-in unit.
4. method according to claim 1 or 2, which is characterized in that the heartbeat data in response to the monitoring plug-in unit Before sending response data to the cloud platform server, the method further includes:
Obtain the upgraded version information of the monitoring plug-in unit;
The upgraded version information of the monitoring plug-in unit is sent to controller;
The control instruction that controller returns is received, the control instruction includes automatic upgrading instruction or upgrading instruction manually;
The working condition that the monitoring plug-in unit is updated according to the control instruction is upgrade status, wherein the mark of the upgrade status It includes the automatic upgrading instruction or upgrading instruction manually to know position;Upgraded version information configuration by the monitoring plug-in unit is described Monitor the state control information of plug-in unit.
5. according to the method described in claim 2, it is characterized in that, the heartbeat data in response to the monitoring plug-in unit is to institute Before stating cloud platform server transmission response data, the method further includes:
Obtain the upgraded version information of the monitoring plug-in unit;
If it is determined that the upgraded version information of the monitoring plug-in unit and the current version information of the monitoring plug-in unit are inconsistent, then true It is when upgrading instruction automatically, by the monitoring that the fixed monitoring plug-in unit, which is in upgrade status and the flag of the upgrade status, The upgraded version information configuration of plug-in unit is the state control information of the monitoring plug-in unit;
If it is determined that the version information of the monitoring plug-in unit upgrading is consistent with the version information that the monitoring plug-in unit is current, then institute is updated It is in operating status to state monitoring plug-in unit.
6. a kind of control method of virtual machine monitoring plug-in unit, which is characterized in that be applied to cloud platform server, wherein the cloud is flat Operation has at least one virtual machine on platform server, and each virtual machine is equipped with monitoring plug-in unit, and the monitoring plug-in unit is used for The virtual machine is monitored, this method includes:
Report the heartbeat data of monitoring plug-in unit to monitor supervision platform server;
Receive the response data that the monitor supervision platform server is sent in response to the heartbeat data of the monitoring plug-in unit, the response Data include the state control information of the monitoring plug-in unit;
The state of the monitoring plug-in unit is controlled according to the state control information of the monitoring plug-in unit.
7. according to the method described in claim 6, it is characterized in that, the heartbeat data includes the state letter of the monitoring plug-in unit Breath, wherein the status information of the monitoring plug-in unit includes at least one of following:The current monitor switching information of the monitoring plug-in unit, The current version information of the monitoring plug-in unit.
8. a kind of monitor supervision platform server, which is characterized in that be applied to carry out information exchange with cloud platform server, the cloud is flat Operation has at least one virtual machine on platform server, and each virtual machine is equipped with monitoring plug-in unit, and the monitoring plug-in unit is used for The virtual machine is monitored, which includes:
Receiving module, the heartbeat data for receiving the monitoring plug-in unit that cloud platform server reports;
The heartbeat data of sending module, the monitoring plug-in unit for being received in response to the receiving module takes to the cloud platform Business device sends response data, and the response data includes the state control information of the monitoring plug-in unit, in order to the cloud platform Server controls the state of the monitoring plug-in unit according to the state control information of the monitoring plug-in unit.
9. monitor supervision platform server according to claim 8, which is characterized in that the heartbeat data includes that the monitoring is inserted The status information of part;
The sending module is additionally operable to send the status information of the monitoring plug-in unit to controller, in order to which the controller will The status information of the monitoring plug-in unit is shown to user, wherein the status information of the monitoring plug-in unit includes at least one of following: The current version information of the current monitor switching information of the monitoring plug-in unit, the monitoring plug-in unit.
10. monitor supervision platform server according to claim 8 or claim 9, which is characterized in that
The receiving module is additionally operable to receive the control instruction that controller is sent;
Further include processing module, the control instruction for being received according to the receiving module generates the shape of the monitoring plug-in unit State controls information, and the state control information includes the setting pilot switch information of the monitoring plug-in unit.
11. monitor supervision platform server according to claim 8 or claim 9, which is characterized in that
The receiving module is additionally operable to obtain the upgraded version information of the monitoring plug-in unit;
The sending module is additionally operable to the upgraded version information of the monitoring plug-in unit being sent to controller;
The receiving module is additionally operable to receive the control instruction that controller returns, and the control instruction includes that automatic upgrading indicates Or upgrading instruction manually;
Further include:Processing module, the control instruction for being received according to the receiving module update the monitoring plug-in unit Working condition is upgrade status, is referred to wherein the flag of the upgrade status includes the automatic upgrading instruction or manual upgrading Show;Upgraded version information configuration by the monitoring plug-in unit is the state control information of the monitoring plug-in unit.
12. monitor supervision platform server according to claim 9, which is characterized in that
The receiving module is additionally operable to obtain the upgraded version information of the monitoring plug-in unit;
Further include:Processing module is used for if it is determined that the upgraded version information of the monitoring plug-in unit monitors the current of plug-in unit with described Version information is inconsistent, then is automatic determining that the monitoring plug-in unit is in the flag of upgrade status and the upgrade status When upgrading instruction, the upgraded version information configuration by the monitoring plug-in unit is the state control information of the monitoring plug-in unit;If really The version information of the fixed monitoring plug-in unit upgrading is consistent with the version information that the monitoring plug-in unit is current, then updates the monitoring and insert Part is in operating status.
13. a kind of cloud platform server, which is characterized in that operation has at least one virtual machine on the cloud platform server, often A virtual machine is equipped with monitoring plug-in unit, and the monitoring plug-in unit is for monitoring the virtual machine, the cloud platform server packet It includes:
Sending module, for reporting the heartbeat data of monitoring plug-in unit to monitor supervision platform server;
Receiving module, the response sent in response to the heartbeat data of the monitoring plug-in unit for receiving the monitor supervision platform server Data, the response data include the state control information of the monitoring plug-in unit;
The state control information of processing module, the monitoring plug-in unit for being received according to the receiving module controls the monitoring The state of plug-in unit.
14. cloud service platform according to claim 13, which is characterized in that the heartbeat data includes the monitoring plug-in unit Status information, wherein the status information of the monitoring plug-in unit includes at least one of following:The current monitor of the monitoring plug-in unit The current version information of switching information, the monitoring plug-in unit.
CN201810136714.3A 2018-02-09 2018-02-09 A kind of control method and equipment of virtual machine monitoring plug-in unit Pending CN108363610A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810136714.3A CN108363610A (en) 2018-02-09 2018-02-09 A kind of control method and equipment of virtual machine monitoring plug-in unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810136714.3A CN108363610A (en) 2018-02-09 2018-02-09 A kind of control method and equipment of virtual machine monitoring plug-in unit

Publications (1)

Publication Number Publication Date
CN108363610A true CN108363610A (en) 2018-08-03

Family

ID=63005271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810136714.3A Pending CN108363610A (en) 2018-02-09 2018-02-09 A kind of control method and equipment of virtual machine monitoring plug-in unit

Country Status (1)

Country Link
CN (1) CN108363610A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110532022A (en) * 2019-08-07 2019-12-03 浪潮电子信息产业股份有限公司 A kind of method, apparatus, equipment and storage medium obtaining different cloud platform versions
CN110674781A (en) * 2019-10-07 2020-01-10 黎剑猛 Monitoring upgrading method and system
CN112162821A (en) * 2020-09-25 2021-01-01 中国电力科学研究院有限公司 Container cluster resource monitoring method, device and system
CN112631297A (en) * 2020-12-18 2021-04-09 上海商汤临港智能科技有限公司 Monitoring system, monitoring method, intelligent driving device, computer device, and medium
CN112764990A (en) * 2021-01-12 2021-05-07 北京自如信息科技有限公司 Target process monitoring method and device and computer equipment
CN112918406A (en) * 2019-12-06 2021-06-08 中车永济电机有限公司 Tramcar monitoring system and tramcar system
CN115102952A (en) * 2022-06-22 2022-09-23 睿云联(厦门)网络通讯技术有限公司 Method, device and medium for connecting terminal product with cloud platform through local server

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533058A (en) * 2013-10-17 2014-01-22 南京大学镇江高新技术研究院 HDFS (Hadoop distributed file system)/Hadoop storage cluster-oriented resource monitoring system and HDFS/Hadoop storage cluster-oriented resource monitoring method
CN103701661A (en) * 2013-12-23 2014-04-02 浪潮(北京)电子信息产业有限公司 Method and system for realizing node monitoring
CN103701667A (en) * 2013-12-27 2014-04-02 乐视网信息技术(北京)股份有限公司 Method, device and system for monitoring heartbeat of server
US20150035679A1 (en) * 2010-11-19 2015-02-05 Spacelabs Healthcare, Llc System and Method for Transfer of Primary Alarm Notification on Patient Monitoring Systems
CN105245373A (en) * 2015-10-12 2016-01-13 天津市普迅电力信息技术有限公司 Construction and operation method of container cloud platform system
CN105491161A (en) * 2016-01-19 2016-04-13 深圳市沃特玛电池有限公司 Battery management system software remote upgrading system and remote upgrading method thereof
CN105515901A (en) * 2015-11-27 2016-04-20 努比亚技术有限公司 Message processing apparatus and method
CN106302615A (en) * 2015-06-11 2017-01-04 阿里巴巴集团控股有限公司 Method for remote management, managed devices, management equipment and intelligent television system
CN106330602A (en) * 2016-08-22 2017-01-11 中国科学院信息工程研究所 Method and system for monitoring cloud computing virtual tenant network
CN106959866A (en) * 2016-01-08 2017-07-18 阿里巴巴集团控股有限公司 A kind of log collection client and its upgrade method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150035679A1 (en) * 2010-11-19 2015-02-05 Spacelabs Healthcare, Llc System and Method for Transfer of Primary Alarm Notification on Patient Monitoring Systems
CN103533058A (en) * 2013-10-17 2014-01-22 南京大学镇江高新技术研究院 HDFS (Hadoop distributed file system)/Hadoop storage cluster-oriented resource monitoring system and HDFS/Hadoop storage cluster-oriented resource monitoring method
CN103701661A (en) * 2013-12-23 2014-04-02 浪潮(北京)电子信息产业有限公司 Method and system for realizing node monitoring
CN103701667A (en) * 2013-12-27 2014-04-02 乐视网信息技术(北京)股份有限公司 Method, device and system for monitoring heartbeat of server
CN106302615A (en) * 2015-06-11 2017-01-04 阿里巴巴集团控股有限公司 Method for remote management, managed devices, management equipment and intelligent television system
CN105245373A (en) * 2015-10-12 2016-01-13 天津市普迅电力信息技术有限公司 Construction and operation method of container cloud platform system
CN105515901A (en) * 2015-11-27 2016-04-20 努比亚技术有限公司 Message processing apparatus and method
CN106959866A (en) * 2016-01-08 2017-07-18 阿里巴巴集团控股有限公司 A kind of log collection client and its upgrade method
CN105491161A (en) * 2016-01-19 2016-04-13 深圳市沃特玛电池有限公司 Battery management system software remote upgrading system and remote upgrading method thereof
CN106330602A (en) * 2016-08-22 2017-01-11 中国科学院信息工程研究所 Method and system for monitoring cloud computing virtual tenant network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
樊重俊,刘臣,霍良安: "《大数据分析与应用》", 31 January 2016, 立信会计出版社 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110532022A (en) * 2019-08-07 2019-12-03 浪潮电子信息产业股份有限公司 A kind of method, apparatus, equipment and storage medium obtaining different cloud platform versions
CN110532022B (en) * 2019-08-07 2022-06-17 浪潮电子信息产业股份有限公司 Method, device, equipment and storage medium for acquiring different cloud platform versions
CN110674781A (en) * 2019-10-07 2020-01-10 黎剑猛 Monitoring upgrading method and system
CN110674781B (en) * 2019-10-07 2023-01-10 福建新宇电子有限公司 Monitoring upgrading method and system
CN112918406A (en) * 2019-12-06 2021-06-08 中车永济电机有限公司 Tramcar monitoring system and tramcar system
CN112162821A (en) * 2020-09-25 2021-01-01 中国电力科学研究院有限公司 Container cluster resource monitoring method, device and system
CN112162821B (en) * 2020-09-25 2022-04-26 中国电力科学研究院有限公司 Container cluster resource monitoring method, device and system
CN112631297A (en) * 2020-12-18 2021-04-09 上海商汤临港智能科技有限公司 Monitoring system, monitoring method, intelligent driving device, computer device, and medium
CN112764990A (en) * 2021-01-12 2021-05-07 北京自如信息科技有限公司 Target process monitoring method and device and computer equipment
CN115102952A (en) * 2022-06-22 2022-09-23 睿云联(厦门)网络通讯技术有限公司 Method, device and medium for connecting terminal product with cloud platform through local server
CN115102952B (en) * 2022-06-22 2023-04-07 睿云联(厦门)网络通讯技术有限公司 Method, device and medium for connecting terminal product with cloud platform through local server

Similar Documents

Publication Publication Date Title
CN108363610A (en) A kind of control method and equipment of virtual machine monitoring plug-in unit
US7774444B1 (en) SAN simulator
US7401338B1 (en) System and method for an access layer application programming interface for managing heterogeneous components of a storage area network
US20060085683A1 (en) System and method for managing computer networks
JP2005276177A (en) Method, system, and program for checking and repairing network configuration
US8468241B1 (en) Adaptive optimization across information technology infrastructure
CN104618147B (en) A kind of vertical stack method for managing system and system
CN104813327A (en) Apparatus and method for mobile communications and computing
CN105847237A (en) Safety management method and device based on NFV (Network Function Virtualization)
CN109964507A (en) Management method, administrative unit and the system of network function
CN109687992A (en) Monitoring method, device, equipment and the computer readable storage medium of service node
CN109391514A (en) Deployed with devices method, server, storage medium and device based on high availability
CN108683550A (en) A kind of call method and relevant device of configuration interface
US20140108937A1 (en) Model-Based Configuration Capture and Replay in a Converged Infrastructure System to Support Remote Troubleshooting
CN108964977A (en) Node abnormality eliminating method and system, storage medium and electronic equipment
US20080010315A1 (en) Platform management of high-availability computer systems
CN114338687A (en) Middleware management method and server
CN109976926A (en) Method, circuit, terminal and the storage medium of protection BMC renewal process are restarted in a kind of shielding
CN109992531A (en) Date storage method and device
US9307015B1 (en) Cloud black box for cloud infrastructure
CN110198230A (en) Monitoring method, device, storage medium and the electronic device of application
CN109254780A (en) A kind of method, apparatus and controlled terminal of batch refresh server node firmware
EP3968170A1 (en) Smart device management method and apparatus, network device, and readable storage medium
WO2024073553A1 (en) Remote logging management in multi-vendor o-ran networks
CN108107370A (en) Battery monitor unit and corresponding control methods

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180803