CN108628716B - Information receiving and managing system, method and device - Google Patents

Information receiving and managing system, method and device Download PDF

Info

Publication number
CN108628716B
CN108628716B CN201710169798.6A CN201710169798A CN108628716B CN 108628716 B CN108628716 B CN 108628716B CN 201710169798 A CN201710169798 A CN 201710169798A CN 108628716 B CN108628716 B CN 108628716B
Authority
CN
China
Prior art keywords
physical machine
cloud platform
operation object
information
basic 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.)
Active
Application number
CN201710169798.6A
Other languages
Chinese (zh)
Other versions
CN108628716A (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710169798.6A priority Critical patent/CN108628716B/en
Publication of CN108628716A publication Critical patent/CN108628716A/en
Application granted granted Critical
Publication of CN108628716B publication Critical patent/CN108628716B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/301Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is a virtual computing platform, e.g. logically partitioned systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Abstract

The invention provides an information receiving and managing system, a device and a method.A monitoring processor can provide basic information of a physical machine and a virtual machine in a cloud platform for a terminal and a cloud platform processor, so that a user can select an operation object from the physical machine and the virtual machine displayed by the terminal, the terminal generates an operation request corresponding to the operation object, the cloud platform processor executes the operation request for the operation object, and unified management of the operation of any one physical machine and any one virtual machine through the terminal and the cloud platform processor is realized. The cloud platform processor acquires the update information of the operation object after executing the operation request for the operation object, changes the basic information of the operation object according to the update information, and can acquire the operation information of the physical machine and the virtual machine in the cloud platform, so that the monitoring processor monitors the operation conditions of the physical machine and the virtual machine through the operation information, and the management of the basic information and the operation conditions of the physical machine and the virtual machine in the cloud platform is realized.

Description

Information receiving and managing system, method and device
Technical Field
The invention relates to the technical field of hybrid cloud, in particular to an information receiving and managing system, method and device.
Background
Under the guidance of a national 'internet +' action plan, the construction of a private cloud platform becomes a trend, wherein the private cloud platform can be constructed by one server or a server cluster consisting of a plurality of servers, and a private space (called private cloud) is allocated to at least one user in the private cloud platform so as to provide private cloud services such as object storage and the like for the user.
At present, one of key technologies of a private cloud platform is virtualization, for example, the private cloud platform can support various virtualization technologies, and provides a computing resource (such as a physical machine like a server) in a server or a server cluster to a corresponding user in a virtual machine form through a service mode for use, so that under the condition that a virtualization environment built by the virtual machine is provided for the user on the private cloud platform, application of the virtual resource in the private cloud platform can be controlled, and resource utilization rate is improved.
However, in practical applications, because of special requirements of some services on architecture, performance requirements, software versions, operating systems, and the like, a virtualization environment in the private cloud platform cannot meet the special requirements of the services, so that the private cloud platform still needs to use a physical machine environment (an environment built by physical machines), and therefore an information admission management system is urgently needed to uniformly manage the virtual machines and the physical machines in the private cloud platform through the information admission management system.
Disclosure of Invention
In view of this, the present invention provides an information hosting system, apparatus and method, so as to perform unified management on a virtual machine and a physical machine in a cloud platform. The technical scheme is as follows:
the invention provides an information receiving and managing system, which comprises: the system comprises a terminal, a cloud platform processor and a monitoring processor, wherein the monitoring processor is used for providing basic information of a physical machine and a virtual machine in a cloud platform for the terminal and the cloud platform processor;
the terminal is used for displaying the basic information of the physical machine and the virtual machine, acquiring an operation object selected by a user from the displayed physical machine and the displayed virtual machine, and generating an operation request corresponding to the operation object;
the cloud platform processor is used for executing the operation request for the operation object, obtaining the update information of the operation object after the operation request is executed, and changing the basic information of the operation object according to the update information;
the monitoring processor is used for acquiring the operation information of the physical machine and the virtual machine in the cloud platform, so that the monitoring processor monitors the operation condition of the physical machine and the virtual machine through the operation information.
Preferably, the terminal is further configured to link to a control interface of the operation object when the virtual machine or the physical machine has a network failure, so that a user remotely controls the operation object through the control interface on a terminal side.
Preferably, the cloud platform processor is configured to, when the operation request is a request for creating a physical machine, select a physical machine corresponding to the basic information of the operation object in the cloud platform through the first interface, acquire an operating system corresponding to an operating system type carried by the basic information of the operation object through the second interface, deploy the acquired operating system to the selected physical machine, and restart the selected physical machine after the operating system is deployed, so as to complete creation of the physical machine.
Preferably, the cloud platform processor selects a physical machine corresponding to the physical machine identifier in the cloud platform through the first interface when the basic information of the operation object carries the physical machine identifier, and randomly selects a physical machine matched with the basic information of the operation object through the first interface when the basic information of the operation object does not carry the physical machine identifier.
Preferably, the cloud platform processor is further configured to receive an inquiry request sent by the terminal, obtain an operation record log of the operation object according to basic information of the operation object carried in the inquiry request, and send the operation record log to the terminal.
The invention also provides an information receiving and managing method, which comprises the following steps:
providing basic information of a physical machine and a virtual machine in a cloud platform for a terminal and a cloud platform processor through a monitoring processor, and acquiring running information of the physical machine and the virtual machine in the cloud platform through the monitoring processor so that the monitoring processor monitors running conditions of the physical machine and the virtual machine through the running information;
selecting an operation object from basic information of a physical machine and a virtual machine displayed by a terminal through the terminal;
acquiring an operation request corresponding to the operation object generated by the terminal through a cloud platform processor;
executing the operation request for the operation object through a cloud platform processor, obtaining the update information of the operation object after the operation object executes the operation request, and changing the basic information of the operation object according to the update information.
Preferably, the method further comprises: and under the condition that the virtual machine or the physical machine has network faults, the terminal is linked to the control interface of the operation object, so that a user can remotely control the operation object through the control interface on the terminal side.
Preferably, the executing, by the cloud platform processor, the operation request for the operation object includes: under the condition that the operation request is a request for creating a physical machine, selecting the physical machine corresponding to the basic information of the operation object in the cloud platform through a first interface of a cloud platform processor, acquiring an operating system corresponding to the type of the operating system carried by the basic information of the operation object through a second interface of the cloud platform processor, deploying the acquired operating system into the selected physical machine, and restarting the selected physical machine after deploying the operating system to complete the creation of the physical machine.
Preferably, the selecting, through the first interface of the cloud platform processor, the physical machine in the cloud platform corresponding to the basic information of the operation object includes:
under the condition that basic information of the operation object carries a physical machine identifier, selecting a physical machine corresponding to the physical machine identifier in a cloud platform through the first interface;
and under the condition that the basic information of the operation object does not carry the physical machine identifier, randomly selecting a physical machine matched with the basic information of the operation object through the first interface.
Preferably, the method further comprises: receiving an inquiry request sent by the terminal through the cloud platform processor;
and acquiring an operation record log of the operation object according to basic information of the operation object carried in the query request through the cloud platform processor, and sending the operation record log to the terminal.
The invention also provides an information storage device, comprising:
the information providing unit is used for providing basic information of a physical machine and a virtual machine in the cloud platform for the terminal and the cloud platform processor through the monitoring processor;
the monitoring unit is used for acquiring the operation information of the physical machine and the virtual machine in the cloud platform through a monitoring processor so that the monitoring processor monitors the operation conditions of the physical machine and the virtual machine through the operation information;
the selection unit is used for selecting an operation object from basic information of the physical machine and the virtual machine displayed by the terminal through the terminal;
the acquisition unit is used for acquiring an operation request corresponding to the operation object generated by the terminal through the cloud platform processor;
the execution unit is used for executing the operation request for the operation object through a cloud platform processor and obtaining the update information of the operation object after the operation request is executed through the acquisition unit;
and the changing unit is used for changing the basic information of the operation object according to the updating information through the cloud platform processor.
Preferably, the apparatus further comprises: and the link unit is used for linking to the control interface of the operation object through the terminal under the condition that the virtual machine or the physical machine has network failure, so that a user can remotely control the operation object through the control interface on the terminal side.
Preferably, the execution unit is configured to, when the operation request is a request for creating a physical machine, select a physical machine corresponding to the basic information of the operation object in the cloud platform through a first interface of the cloud platform processor, obtain an operating system corresponding to an operating system type carried by the basic information of the operation object through a second interface of the cloud platform processor, deploy the obtained operating system to the selected physical machine, and restart the selected physical machine after the operating system is deployed, so as to complete creation of the physical machine.
Preferably, the selecting, by the execution unit through a first interface of the cloud platform processor, a physical machine in the cloud platform corresponding to the basic information of the operation object includes:
under the condition that basic information of the operation object carries a physical machine identifier, selecting a physical machine corresponding to the physical machine identifier in a cloud platform through the first interface;
and under the condition that the basic information of the operation object does not carry the physical machine identifier, randomly selecting a physical machine matched with the basic information of the operation object through the first interface.
Preferably, the apparatus further comprises: the receiving unit is used for receiving the query request sent by the terminal through the cloud platform processor;
the obtaining unit is configured to obtain, by the cloud platform processor, an operation record log of an operation object according to basic information of the operation object carried in the query request;
the device further comprises: and the sending unit is used for sending the operation record log to the terminal.
By means of the technical scheme, the monitoring processor can provide basic information of the physical machines and the virtual machines in the cloud platform for the terminal and the cloud platform processor, so that a user can select an operation object from the physical machines and the virtual machines displayed by the terminal, the terminal generates an operation request corresponding to the operation object, the cloud platform processor executes the operation request for the operation object, and unified management of operation of any one of the physical machines and the virtual machines through the terminal and the cloud platform processor is achieved. The cloud platform processor acquires the update information of the operation object after executing the operation request for the operation object, changes the basic information of the operation object according to the update information, and can acquire the operation information of the physical machine and the virtual machine in the cloud platform, so that the monitoring processor monitors the operation conditions of the physical machine and the virtual machine through the operation information, and unified management of the basic information and the operation conditions of the physical machine and the virtual machine in the cloud platform through the terminal, the cloud platform processor and the monitoring processor is achieved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a block diagram of an information hosting system according to an embodiment of the present invention;
fig. 2 is a signaling interaction diagram of an information hosting method according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a sub-interface of a portal interface according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating another seed interface in the portal interface according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an embodiment of an information nanotube apparatus;
fig. 6 is another schematic structural diagram of an information nanotube apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and 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, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, there is shown an architecture diagram of an information hosting system according to an embodiment of the present invention, which may include: the terminal 10, the cloud platform processor 20, and the monitoring processor 30, wherein the cloud platform processor 20 belongs to a cloud platform (e.g., a private cloud platform), and the cloud platform may be a server cluster formed by one or more servers of a data center, and the cloud platform processor 20 may be formed by at least one processor for deploying a control service and at least one processor for deploying a computing service, wherein the data center is provided with a plurality of servers to build a plurality of cloud platforms, and different users are provided with services through the cloud platforms.
For example, storage services, mirroring services, web services and computing services may be provided through the cloud platform, and the cloud platform processor 20 calls these services through a corresponding API (Application Program Interface) to provide the services to the user.
The storage service is used for providing an information storage service for a user, information stored by the user is stored in a storage platform of the cloud platform, the mirror service is used for providing a mirror image required during physical machine creation and virtual machine creation and is responsible for storing and managing the mirror image, for example, the required mirror image can be a physical machine creation instance and a virtual machine creation instance, the physical machine creation instance is used for automatically deploying an operating system on a physical machine, so that the physical machine creation instance of each type of operating system can be respectively provided for different operating system mirror services, and the virtual machine creation instance is used for deploying a virtual machine on the physical machine. The network service is to establish a network and a subnet for the physical machine and the virtual machine, and deploy communication between the network and the subnet, and the computing service is to be responsible for managing the life cycle of the virtual machine and the physical machine, wherein the physical machine can be a physical machine already used for establishing a cloud platform, and can also be a bare metal server, namely a server not deployed with an operating system.
The monitoring processor 30 belongs to a monitoring platform, is located at a monitoring place of the data center, and is a device for monitoring a plurality of cloud platforms of the data center by monitoring personnel, and the monitoring data in the monitoring processor 30 can be displayed on a display screen at the monitoring place to display the monitoring data of each cloud platform in a graphical manner, such as the operation information of physical machines and virtual machines in the cloud platforms, which can be collected by the monitoring processor 30.
And the monitoring processor 30 includes a CMDB (Configuration Management Database) in which basic information of all physical machines and virtual machines in the cloud platform is stored, and the basic information may include, as shown in table 1: the information includes information such as fixed resource Number, service module, intranet IP (Internet Protocol) address, responsible person, server SN (Serial Number), current state, group, backup maintainer, machine location, machine frame, machine room, and logic area.
Table 1 format of basic information
Figure BDA0001250831980000061
The basic information of the physical machine and the virtual machine in the cloud platform is initial information set for the physical machine and the virtual machine when the data center is built, and the initial information can be shared by the terminal 10, the cloud platform processor 20 and the monitoring processor 30, for example, the terminal 10, the cloud platform processor 20 and the monitoring processor 30 can synchronize the basic information stored in the CMDB at regular time so as to maintain consistency of the displayed information and the information stored in the CMDB. A portal interface is displayed on the terminal 10, and displays the basic information of the physical machines and the virtual machines provided by the monitoring processor 30, so that a user can view the basic information of each physical machine and each virtual machine from the portal interface, select an operation object and an operation on the operation object from the basic information, and generate an operation request corresponding to the operation object, wherein the operation request is used for indicating that the operation selected by the user is performed on the operation object.
The operation request is sent to the cloud platform processor 20 through the terminal 10, and the cloud platform processor 20 executes a corresponding operation request for the operation object, for example, the physical machine may be turned off or turned on, or of course, an operation system may also be automatically deployed for the bare metal server, depending on the operation request. After the operation request is executed on the operation object, the basic information of the operation object is changed, so as to obtain the updated information of the operation object, for example, when the operation request is used for indicating to close a certain physical machine, the current state of the physical machine is changed from on to off, and the updated information is changed by the cloud platform processor 20 to the basic information in the CMDB.
The monitoring processor 30 may also collect operation information of the physical machines and the virtual machines in the cloud platform, so that the monitoring processor monitors the operation conditions of the physical machines and the virtual machines through the operation information. For example, the physical machine and the virtual machine in the cloud platform are integrated with an agent function, and the monitoring processor 30 acquires the operation information of the physical machine and the virtual machine through the agent function.
Based on the above architecture diagram of the information hosting system, when the terminal, the cloud platform processor and the monitoring processor in the information hosting system perform unified management on the physical machine and the virtual machine, a signaling interaction diagram among the three is shown in fig. 2, and may include the following steps:
201: and the terminal, the cloud platform processor and the monitoring processor acquire basic information of the physical machine and the virtual machine in the cloud platform from the CMDB.
202: the terminal displays basic information of the cloud platform and the virtual machines through the portal interface, acquires login information of a user logging in the portal interface, and can display basic information of the physical machines and the virtual machines related to the user in the cloud platform under the condition that the basic information of all the physical machines and the virtual machines in the cloud platform is displayed in the portal interface. The physical machine and the virtual machine related to the user in the cloud platform refer to basic information of the physical machine and the virtual machine allocated by the cloud platform for the user when the user applies for resources (for example, when applying for resources required by object storage service and computing service) to the cloud platform.
In this embodiment of the present invention, the portal interface may include at least two sub-interfaces, as shown in fig. 3 and fig. 4, where the sub-interface shown in fig. 3 displays specification information in basic information of the physical machine and/or the virtual machine, such as a CPU, a memory, a hard disk, and the like, so as to enable a user to apply for resources, and the sub-interface shown in fig. 4 is used to display basic information of the physical machine and the virtual machine related to the user, so as to select the corresponding physical machine and the virtual machine through the sub-interfaces, and perform power on and power off operations on the physical machine and the virtual machine.
203: when the terminal displays the sub-interface shown in fig. 3, the terminal obtains that the user selects an operation object from the displayed physical machine and the displayed virtual machine, where the operation object is a computing resource that the user wants to apply for, and as shown in the sub-interface shown in fig. 3, the operation object is a physical machine (the bold black mark is a current operation object) that the user wants to create, and selects basic information such as a resource type, a machine room position, a machine type, an operating system, and the like of the physical machine that wants to create. After selecting the basic information, the terminal generates an operation request corresponding to the operation object, namely a physical machine creating request.
204: and the terminal sends a request for creating the physical machine to the cloud platform processor.
205: the cloud platform processor selects a physical machine corresponding to basic information of an operation object in the cloud platform through the first interface under the condition that the operation request is a request for creating the physical machine, acquires an operation system corresponding to the type of the operation system carried by the basic information of the operation object through the second interface, deploys the acquired operation system to the selected physical machine, and restarts the selected physical machine after the operation system is deployed to complete creation of the physical machine.
That is, in the case that the operation request is a create physical machine request, the processing procedure of the cloud platform processor is: and automatically deploying an operating system on the physical machine, and controlling the selected physical machine to restart to complete the creation of the physical machine, so that the physical machine selected by the cloud platform processor is a bare metal server.
And the first interface and the second interface may be two APIs in the cloud platform processor, which respectively provide different services, such as the first interface providing computing services shown in fig. 1, so as to mount the hardware of all physical machines in the cloud platform to the network side, the second interface provides the mirror image service, when the cloud platform receives the request for creating the physical machine, the cloud platform processor selects the hardware meeting the requirement from the hardware mounted to the network side through the API for providing the computing service, then selecting an operating system corresponding to the type of the operating system carried by the basic information of the operation object through an API (application program interface) providing mirror image service, writing the operating system into hardware, and automatically restarting the selected physical machine, and finishing the creation of the physical machine, so that the information receiving and managing system provided by the invention can be still used for automatically creating the physical machine under the condition that a user does not have basic knowledge such as network configuration and the like.
The selection of the physical machine can be performed in two ways, but is not limited to the two ways: one way is as follows: under the condition that basic information of an operation object carries a physical machine identifier, selecting a physical machine corresponding to the physical machine identifier in the cloud platform through a first interface, wherein the physical machine identifier is a fixed resource number in the table 1, the fixed resource numbers are different for different physical machines, and the fixed resource numbers between the physical machine and a virtual machine carried on the physical machine have a certain relationship, and if the fixed resource number of the physical machine is X, the fixed resource number of the virtual machine carried on the physical machine is X-VM 01.
In another mode: and under the condition that the basic information of the operation object does not carry the physical machine identifier, randomly selecting a physical machine matched with the basic information of the operation object through the first interface, such as selecting a physical machine matched with the resource type, the machine room position, the machine type, the operation system and the like of the physical machine.
In the embodiment of the invention, the cloud platform can be based on the Openstack technology, so that the cloud platform processor can automatically complete the physical machine creation through the Ironic component in the Openstack technology, and the process is as follows: the Ironic component creates a physical machine through a nova boot command, processes the command through the nova-api component and sends a request for creating the physical machine to a message queue; after receiving a physical machine creation request in a message queue, a nova-scheduler judges whether a selected physical machine is a bare metal server (bare metal server), and if so, places the scheduled bare metal node information and the physical machine creation request into the message queue; after the nova-computer monitors the message queue to find a physical machine creation request, calling a barecetal drive, and calling creation by realizing a spawn () method; the nova-computer acquires hardware registration information through an Ironic API; the neutron is responsible for setting network related information; the nova-computer starts to acquire the mirror image from the company (namely acquiring the operating system needing to be loaded); the nova-computer sends a deployment request through an Ironic API; the Ironic API interacts with the Ironic Conductor component and activates the bootloader; starting a power supply of a physical machine through IPMI; loading bootloader through PXE, exposing iSCSI, and writing the information (such as an operating system) in the image into the selected physical machine through nova-barrel-default-helper; and restarting the selected physical machine, loading the operating system and finishing the establishment of the physical machine.
The points to be explained here are: the Ironic component is a component used for hosting a physical machine in the Openstack technology, the physical machine can be created by using other components, such as the above nova-api component, nova-scheduler, nova-computer, etc., and the specific meanings of the nova boot, the nova-api component, the nova-scheduler, the nova-computer, and other english names in the above creation process can be known from the description of the Openstack technology, and the specific meanings of the Ironic component are not described in detail for the embodiment of the invention.
206: when the terminal displays the sub-interface shown in fig. 4, acquiring an operation object selected by a user from displayed physical machines and virtual machines, where the operation object is an object that the user has applied for and needs to perform a power on/off operation, and displaying the physical machines and virtual machines related to the user in the sub-interface shown in fig. 4, where the user may select the physical machines or virtual machines that need to be powered on/off as the operation object, and the terminal generates a corresponding request according to the operation selected by the user, where the corresponding request is a power off request if the operation selected by the user is a power on operation, and the corresponding request is a power on request if the operation selected by the user is a power on operation.
207: and the terminal sends the corresponding request to the cloud platform processor.
208: the cloud platform processor executes a corresponding request for the operation object, controls the operation object to be powered off if the corresponding request is a power-off request, and controls the operation object to be powered on if the corresponding request is a power-on request.
209: when the virtual machine or the physical machine has a network fault, the terminal is linked to the control interface of the operation object, so that a user can remotely control the operation object through the control interface at the terminal side, for example, the start-up and the shutdown of the operation object can be remotely controlled.
For example, the sub-interface shown in fig. 4 includes a control integrated with VNC (Virtual Network Console), and the control is automatically linked to the control interface of the operation object after being triggered.
210: the cloud platform processor obtains the update information of the operation object.
The update information needs to be obtained because the cloud platform processor changes the basic information of the operation object after executing the operation request on the operation object, so as to obtain the update information of the operation object, for example, when the operation request is used to indicate to close a certain physical machine, the current state of the physical machine changes from on to off, the update information is different from the basic information in the monitoring processor, if the update information is not obtained, the basic information of the operation object in the monitoring processor does not conform to the actual situation, and when other users execute the operation on the operation object, an operation error is caused.
211: and the cloud platform processor changes the basic information of the operation object according to the updating information of the operation object so as to update the basic information in the CMDB, so that the monitoring processor and the terminal can synchronously acquire the updated basic information, and the information stored in the CMDB is synchronized with the information processed by the user operation.
212: the monitoring processor collects the operation information of the physical machine and the virtual machine in the cloud platform.
213: and the monitoring processor monitors the running conditions of the physical machine and the virtual machine through the running information.
By means of the technical scheme, the monitoring processor can provide basic information of the physical machines and the virtual machines in the cloud platform for the terminal and the cloud platform processor, so that a user can select an operation object from the physical machines and the virtual machines displayed by the terminal, the terminal generates an operation request corresponding to the operation object, the cloud platform processor executes the operation request for the operation object, and unified management of operation of any one of the physical machines and the virtual machines through the terminal and the cloud platform processor is achieved. The cloud platform processor acquires the update information of the operation object after executing the operation request for the operation object, changes the basic information of the operation object according to the update information, and can acquire the operation information of the physical machine and the virtual machine in the cloud platform, so that the monitoring processor monitors the operation conditions of the physical machine and the virtual machine through the operation information, and unified management of the basic information and the operation conditions of the physical machine and the virtual machine in the cloud platform through the terminal, the cloud platform processor and the monitoring processor is achieved.
In addition, in the above embodiment, after the cloud platform processor executes the operation request on each physical machine and each virtual machine, the operation on the physical machine and the virtual machine is recorded in the operation record log, and the terminal may send the query request to the cloud platform processor, so that the cloud platform processor obtains the operation record log of the operation object according to the basic information of the operation object carried in the query request, and sends the operation record log to the terminal, so that the user can query various operations executed on the operation object at the terminal side, and can query the fault condition of the operation object through the operation record log, so as to quickly troubleshoot faults.
Referring to fig. 5, a structure of an information receiving apparatus according to an embodiment of the present invention is shown, which may include: the information providing unit 11, the monitoring unit 12, the selecting unit 13, the obtaining unit 14, the executing unit 15 and the changing unit 16.
And the information providing unit 11 is used for providing basic information of the physical machine and the virtual machine in the cloud platform for the terminal and the cloud platform processor through the monitoring processor.
And the monitoring unit 12 is configured to collect the operation information of the physical machine and the virtual machine in the cloud platform through the monitoring processor, so that the monitoring processor monitors the operation conditions of the physical machine and the virtual machine through the operation information.
And the selecting unit 13 is used for selecting an operation object from the basic information of the physical machine and the virtual machine displayed by the terminal through the terminal. For example, the terminal may display basic information of the cloud platform and the virtual machine through the portal interface, and display and/or display specification information in the basic information of the virtual machine, such as a CPU, a memory, a hard disk, and the like through a sub-interface of the portal interface shown in fig. 3, so that a user applies for a resource, and selects a physical machine and/or a virtual machine from the displayed basic information as an operation object.
The obtaining unit 14 is configured to obtain, by the cloud platform processor, an operation request corresponding to an operation object generated by the terminal. The operation object may be a computing resource that the user wants to apply for, and as shown in the sub-interface shown in fig. 3, the operation object is a physical machine that the user wants to create (the operation object is marked with black bold as the current operation object), and basic information such as a resource type, a machine room location, a machine type, an operating system, and the like of the physical machine that wants to create is selected. After selecting the basic information, the terminal generates an operation request corresponding to the operation object, namely a physical machine creating request. Of course, the operation object may also be an object that has been applied by the user and needs to be turned on or turned off, for example, a physical machine and a virtual machine related to the user are displayed in the sub-interface shown in fig. 4, the user may select the physical machine or the virtual machine that needs to be turned on or turned off as the operation object, and the terminal generates a corresponding request according to the operation selected by the user, where the corresponding request is a turn-off request if the operation selected by the user is a turn-off operation, and the corresponding request is a turn-on request if the operation selected by the user is a turn-on operation.
And the execution unit 15 is configured to execute the operation request for the operation object through the cloud platform processor, and obtain the update information after the operation request is executed by the operation object through the obtaining unit 14.
In a case that the operation request is a request for creating a physical machine, the execution unit 14 selects a physical machine corresponding to basic information of an operation object in the cloud platform through a first interface of the cloud platform processor, acquires an operating system corresponding to an operating system type carried by the basic information of the operation object through a second interface of the cloud platform processor, deploys the acquired operating system to the selected physical machine, and restarts the selected physical machine after deployment of the operating system is completed, so as to complete creation of the physical machine.
The selection of the physical machine can be performed in two ways, but is not limited to the two ways: one way is as follows: under the condition that basic information of an operation object carries a physical machine identifier, selecting a physical machine corresponding to the physical machine identifier in the cloud platform through a first interface, wherein the physical machine identifier is a fixed resource number in the table 1, the fixed resource numbers are different for different physical machines, and the fixed resource numbers between the physical machine and a virtual machine carried on the physical machine have a certain relationship, and if the fixed resource number of the physical machine is X, the fixed resource number of the virtual machine carried on the physical machine is X-VM 01.
In another mode: and under the condition that the basic information of the operation object does not carry the physical machine identifier, randomly selecting a physical machine matched with the basic information of the operation object through the first interface, such as selecting a physical machine matched with the resource type, the machine room position, the machine type, the operation system and the like of the physical machine.
In the case where the operation object is a power-off request, the execution unit 14 controls the operation object to be powered off, and in the case where the operation object is a power-on request, the execution unit 14 controls the operation object to be powered on.
And the changing unit 16 is used for changing the basic information of the operation object according to the updating information through the cloud platform processor. The update information needs to be obtained because the cloud platform processor changes the basic information of the operation object after executing the operation request on the operation object, so as to obtain the update information of the operation object, for example, when the operation request is used to indicate to close a certain physical machine, the current state of the physical machine changes from on to off, the update information is different from the basic information in the monitoring processor, if the update information is not obtained, the basic information of the operation object in the monitoring processor does not conform to the actual situation, and when other users execute the operation on the operation object, an operation error is caused.
By means of the technical scheme, the monitoring processor can provide basic information of the physical machines and the virtual machines in the cloud platform for the terminal and the cloud platform processor, so that a user can select an operation object from the physical machines and the virtual machines displayed by the terminal, the terminal generates an operation request corresponding to the operation object, the cloud platform processor executes the operation request for the operation object, and unified management of operation of any one of the physical machines and the virtual machines through the terminal and the cloud platform processor is achieved. The cloud platform processor acquires the update information of the operation object after executing the operation request for the operation object, changes the basic information of the operation object according to the update information, and can acquire the operation information of the physical machine and the virtual machine in the cloud platform, so that the monitoring processor monitors the operation conditions of the physical machine and the virtual machine through the operation information, and unified management of the basic information and the operation conditions of the physical machine and the virtual machine in the cloud platform through the terminal, the cloud platform processor and the monitoring processor is achieved.
Referring to fig. 6, another structure of the information nanotube apparatus according to the embodiment of the present invention is shown, and on the basis of fig. 5, the information nanotube apparatus may further include: and the link unit 17 is configured to link to the control interface of the operation object through the terminal when the virtual machine or the physical machine has a network failure, so that a user can remotely control the operation object through the control interface at the terminal side, for example, the user can remotely control the startup and shutdown of the operation object, thereby implementing remote control.
Of course, the information receiving device provided in the embodiment of the present invention may further include: a receiving unit and a transmitting unit. The receiving unit is used for receiving the query request sent by the terminal through the cloud platform processor. The acquisition unit is used for acquiring the operation record log of the operation object according to the basic information of the operation object carried in the query request through the cloud platform processor and sending the operation record log to the terminal through the sending unit, so that a user can query various operations executed on the operation object at the terminal side, and can query the fault condition of the operation object through the operation record log so as to conveniently and quickly troubleshoot faults.
It should be noted that: the embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (16)

1. An information hosting system, the system comprising: the system comprises a terminal, a cloud platform processor and a monitoring processor, wherein the monitoring processor is used for providing basic information of a physical machine and a virtual machine in a cloud platform for the terminal and the cloud platform processor; basic information of the physical machine and the virtual machine in the cloud platform is initial information set for the physical machine and the virtual machine when a data center is constructed;
the terminal is used for displaying the basic information of the physical machine and the virtual machine, acquiring an operation object selected by a user from the displayed physical machine and the displayed virtual machine, and generating an operation request corresponding to the operation object;
the cloud platform processor is used for executing the operation request for the operation object, obtaining the update information of the operation object after the operation request is executed, and changing the basic information of the operation object according to the update information;
the monitoring processor is used for acquiring the operation information of the physical machine and the virtual machine in the cloud platform, so that the monitoring processor monitors the operation condition of the physical machine and the virtual machine through the operation information.
2. The system according to claim 1, wherein the terminal is further configured to link to the control interface of the operation object in case of a network failure of the virtual machine or the physical machine, so that a user remotely controls the operation object through the control interface on a terminal side.
3. The system according to claim 1, wherein the cloud platform processor is configured to, when the operation request is a request for creating a physical machine, select a physical machine corresponding to the basic information of the operation object in the cloud platform through a first interface, obtain an operating system corresponding to an operating system type carried in the basic information of the operation object through a second interface, deploy the obtained operating system to the selected physical machine, and restart the selected physical machine after the operating system is deployed, so as to complete creation of the physical machine.
4. The system according to claim 3, wherein the cloud platform processor selects, through the first interface, a physical machine in the cloud platform corresponding to the physical machine identifier if the basic information of the operation object carries the physical machine identifier, and randomly selects, through the first interface, a physical machine matching the basic information of the operation object if the basic information of the operation object does not carry the physical machine identifier.
5. The system according to any one of claims 1 to 4, wherein the cloud platform processor is further configured to receive an inquiry request sent by the terminal, obtain an operation record log of an operation object according to basic information of the operation object carried in the inquiry request, and send the operation record log to the terminal.
6. An information receiving method, characterized in that the method comprises:
providing basic information of a physical machine and a virtual machine in a cloud platform for a terminal and a cloud platform processor through a monitoring processor, and acquiring running information of the physical machine and the virtual machine in the cloud platform through the monitoring processor so that the monitoring processor monitors running conditions of the physical machine and the virtual machine through the running information; basic information of the physical machine and the virtual machine in the cloud platform is initial information set for the physical machine and the virtual machine when a data center is constructed;
selecting an operation object from basic information of a physical machine and a virtual machine displayed by a terminal through the terminal;
acquiring an operation request corresponding to the operation object generated by the terminal through a cloud platform processor;
executing the operation request for the operation object through a cloud platform processor, obtaining the update information of the operation object after the operation object executes the operation request, and changing the basic information of the operation object according to the update information.
7. The method of claim 6, further comprising: and under the condition that the virtual machine or the physical machine has network faults, the terminal is linked to the control interface of the operation object, so that a user can remotely control the operation object through the control interface on the terminal side.
8. The method of claim 6, wherein executing, by the cloud platform processor, the operation request for the operation object comprises: under the condition that the operation request is a request for creating a physical machine, selecting the physical machine corresponding to the basic information of the operation object in the cloud platform through a first interface of a cloud platform processor, acquiring an operating system corresponding to the type of the operating system carried by the basic information of the operation object through a second interface of the cloud platform processor, deploying the acquired operating system into the selected physical machine, and restarting the selected physical machine after deploying the operating system to complete the creation of the physical machine.
9. The method of claim 8, wherein selecting, through the first interface of the cloud platform processor, a physical machine in the cloud platform corresponding to the basic information of the operation object comprises:
under the condition that basic information of the operation object carries a physical machine identifier, selecting a physical machine corresponding to the physical machine identifier in a cloud platform through the first interface;
and under the condition that the basic information of the operation object does not carry the physical machine identifier, randomly selecting a physical machine matched with the basic information of the operation object through the first interface.
10. The method according to any one of claims 6 to 9, further comprising: receiving an inquiry request sent by the terminal through the cloud platform processor;
and acquiring an operation record log of the operation object according to basic information of the operation object carried in the query request through the cloud platform processor, and sending the operation record log to the terminal.
11. An information hosting apparatus, the apparatus comprising:
the information providing unit is used for providing basic information of a physical machine and a virtual machine in the cloud platform for the terminal and the cloud platform processor through the monitoring processor; basic information of the physical machine and the virtual machine in the cloud platform is initial information set for the physical machine and the virtual machine when a data center is constructed;
the monitoring unit is used for acquiring the operation information of the physical machine and the virtual machine in the cloud platform through a monitoring processor so that the monitoring processor monitors the operation conditions of the physical machine and the virtual machine through the operation information;
the selection unit is used for selecting an operation object from basic information of the physical machine and the virtual machine displayed by the terminal through the terminal;
the acquisition unit is used for acquiring an operation request corresponding to the operation object generated by the terminal through the cloud platform processor;
the execution unit is used for executing the operation request for the operation object through a cloud platform processor and obtaining the update information of the operation object after the operation request is executed through the acquisition unit;
and the changing unit is used for changing the basic information of the operation object according to the updating information through the cloud platform processor.
12. The apparatus of claim 11, further comprising: and the link unit is used for linking to the control interface of the operation object through the terminal under the condition that the virtual machine or the physical machine has network failure, so that a user can remotely control the operation object through the control interface on the terminal side.
13. The apparatus according to claim 11, wherein the execution unit is configured to, when the operation request is a request for creating a physical machine, select a physical machine in the cloud platform through a first interface of the cloud platform processor, where the physical machine corresponds to the basic information of the operation object, obtain an operating system corresponding to an operating system type carried in the basic information of the operation object through a second interface of the cloud platform processor, deploy the obtained operating system to the selected physical machine, and restart the selected physical machine after the operating system is deployed, so as to complete creation of the physical machine.
14. The apparatus according to claim 13, wherein the executing unit selects, through a first interface of a cloud platform processor, a physical machine in the cloud platform corresponding to the basic information of the operation object, and includes:
under the condition that basic information of the operation object carries a physical machine identifier, selecting a physical machine corresponding to the physical machine identifier in a cloud platform through the first interface;
and under the condition that the basic information of the operation object does not carry the physical machine identifier, randomly selecting a physical machine matched with the basic information of the operation object through the first interface.
15. The apparatus of any one of claims 11 to 14, further comprising: the receiving unit is used for receiving the query request sent by the terminal through the cloud platform processor;
the obtaining unit is configured to obtain, by the cloud platform processor, an operation record log of an operation object according to basic information of the operation object carried in the query request;
the device further comprises: and the sending unit is used for sending the operation record log to the terminal.
16. A computer-readable storage medium having stored therein software modules for execution by a processor to implement the method of hosting information as claimed in any one of claims 6-10.
CN201710169798.6A 2017-03-21 2017-03-21 Information receiving and managing system, method and device Active CN108628716B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710169798.6A CN108628716B (en) 2017-03-21 2017-03-21 Information receiving and managing system, method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710169798.6A CN108628716B (en) 2017-03-21 2017-03-21 Information receiving and managing system, method and device

Publications (2)

Publication Number Publication Date
CN108628716A CN108628716A (en) 2018-10-09
CN108628716B true CN108628716B (en) 2020-12-25

Family

ID=63687610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710169798.6A Active CN108628716B (en) 2017-03-21 2017-03-21 Information receiving and managing system, method and device

Country Status (1)

Country Link
CN (1) CN108628716B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110502392A (en) * 2019-07-17 2019-11-26 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Cloud platform management and monitoring system
CN110764911A (en) * 2019-10-23 2020-02-07 北京百度网讯科技有限公司 Resource scheduling method, device and control system based on order
CN110955537B (en) * 2019-11-25 2022-11-04 北京奇艺世纪科技有限公司 Method and device for containing pipes by physical machine
CN111427749B (en) * 2020-04-01 2023-07-11 山东汇贸电子口岸有限公司 Monitoring tool and method for ironic service in opentack environment
CN111683091A (en) * 2020-06-08 2020-09-18 平安科技(深圳)有限公司 Method, device, equipment and storage medium for accessing cloud host console
CN112383502B (en) * 2020-09-11 2022-08-26 深圳市证通云计算有限公司 Method and system for uniformly monitoring physical machine and virtual machine and electronic device
CN113641450A (en) * 2021-08-12 2021-11-12 叶光芳 Cloud management system and management method for private cloud
CN114024853A (en) * 2021-10-27 2022-02-08 浪潮电子信息产业股份有限公司 Hardware information collection method and system for bare metal node and related components

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102271145A (en) * 2010-06-04 2011-12-07 国云科技股份有限公司 Virtual computer cluster and enforcement method thereof
CN103312814A (en) * 2013-06-28 2013-09-18 武汉大学 Method for establishing VNC (virtual network computing) covert channel between cloud management platform and virtual machine terminal user
CN105634998A (en) * 2016-03-30 2016-06-01 中国联合网络通信集团有限公司 Physical machine and virtual machine unified monitoring method and system for multi-tenant environment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9363190B2 (en) * 2013-07-31 2016-06-07 Manjrasoft Pty. Ltd. System, method and computer program product for energy-efficient and service level agreement (SLA)-based management of data centers for cloud computing
US10530650B2 (en) * 2014-10-13 2020-01-07 Vmware, Inc. Cross-cloud policy management for hybrid cloud deployments
CN105893113A (en) * 2016-03-29 2016-08-24 上海携程商务有限公司 Management system and management method of virtual machine
CN105847088A (en) * 2016-05-18 2016-08-10 浪潮电子信息产业股份有限公司 Virtual machine performance testing system based on cloud service
CN106126318A (en) * 2016-07-05 2016-11-16 云南大学 The dynamic migration method of virtual machine in a kind of Openstack cloud platform

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102271145A (en) * 2010-06-04 2011-12-07 国云科技股份有限公司 Virtual computer cluster and enforcement method thereof
CN103312814A (en) * 2013-06-28 2013-09-18 武汉大学 Method for establishing VNC (virtual network computing) covert channel between cloud management platform and virtual machine terminal user
CN105634998A (en) * 2016-03-30 2016-06-01 中国联合网络通信集团有限公司 Physical machine and virtual machine unified monitoring method and system for multi-tenant environment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
云平台下虚拟机调度研究与实现;郑艳琪;《中国优秀硕士学位论文全文数据库信息科技辑》;20170215(第2期);第I137-12页 *

Also Published As

Publication number Publication date
CN108628716A (en) 2018-10-09

Similar Documents

Publication Publication Date Title
CN108628716B (en) Information receiving and managing system, method and device
CN109104318B (en) Method for realizing cluster self-adaptive deployment
CN108809722B (en) Method, device and storage medium for deploying Kubernetes cluster
CN111431740B (en) Data transmission method, device, equipment and computer readable storage medium
CN106878385B (en) Private cloud deployment method and device
US8601466B2 (en) Software deployment method and system, software deployment server and user server
CN104935672B (en) Load balancing service high availability implementation method and equipment
US9424023B2 (en) Unified system lifecycle for components in an integrated software and hardware system
WO2014169870A1 (en) Virtual network element automatic loading and virtual machine ip address acquisition method and system, and storage medium
US20080155245A1 (en) Network booting apparatus and method
CN110138577B (en) Cluster creation method, first server and readable storage medium
CN108769124B (en) Application deployment method, device, server and storage medium of PaaS platform
CN112445865B (en) Method and device for automatically deploying block chain network and cloud computing platform
CN111404628B (en) Time synchronization method and device
CN112527397A (en) Method and device for modifying basic input output system options and computer equipment
WO2016115896A1 (en) Method and device for management of virtual network function (vnf)
CN107086937B (en) Monitoring method and device
CN110489305B (en) Server management method and device
CN113918174A (en) Bare metal server deployment method, deployment controller and server cluster
CN114553867A (en) Cloud-native cross-cloud network monitoring method and device and storage medium
CN113268254A (en) Cluster system installation method and device, electronic equipment and storage medium
CN113419818A (en) Basic component deployment method, device, server and storage medium
CN113419813A (en) Method and device for deploying bare engine management service based on container platform
CN112948008A (en) Ironic based physical bare computer management method
CN110196721B (en) Internet data center management method, system and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant