CN112463549A - Auditing method, device and equipment of cloud platform and computer readable storage medium - Google Patents

Auditing method, device and equipment of cloud platform and computer readable storage medium Download PDF

Info

Publication number
CN112463549A
CN112463549A CN202011342308.6A CN202011342308A CN112463549A CN 112463549 A CN112463549 A CN 112463549A CN 202011342308 A CN202011342308 A CN 202011342308A CN 112463549 A CN112463549 A CN 112463549A
Authority
CN
China
Prior art keywords
cloud host
cloud
information
host
state
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.)
Withdrawn
Application number
CN202011342308.6A
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.)
Beijing Inspur Data Technology Co Ltd
Original Assignee
Beijing Inspur Data Technology 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 Beijing Inspur Data Technology Co Ltd filed Critical Beijing Inspur Data Technology Co Ltd
Priority to CN202011342308.6A priority Critical patent/CN112463549A/en
Publication of CN112463549A publication Critical patent/CN112463549A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/328Computer systems status display
    • 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

Abstract

The invention discloses an auditing method of a cloud platform, which comprises the following steps: acquiring an audit instruction of a cloud host; according to the cloud host audit command, inquiring the running state information of all cloud hosts in the cloud platform; acquiring cloud host information of a target cloud host in the cloud platform according to the running state information; the target cloud host comprises a cloud host with an abnormal operation state; according to the method and the device, the cloud host information of the target cloud host in the cloud platform is acquired according to the running state information, and the cloud host in the abnormal state can be searched from a large number of cloud hosts in the cloud platform, so that operation and maintenance personnel can quickly and conveniently check the cloud host information of the cloud host in the abnormal state, the problem troubleshooting and positioning are quickly completed, the influence of long-time downtime of the cloud host on user services is reduced, and the workload of the operation and maintenance personnel is reduced. In addition, the invention also discloses an auditing device, equipment and a computer readable storage medium of the cloud platform, and the auditing device, the equipment and the computer readable storage medium also have the beneficial effects.

Description

Auditing method, device and equipment of cloud platform and computer readable storage medium
Technical Field
The invention relates to the technical field of cloud platforms, in particular to an auditing method, device and equipment of a cloud platform and a computer readable storage medium.
Background
With the development of modern society science and technology, the application of the cloud platform is more and more extensive. With the large-scale application of a cloud platform (e.g., an Openstack cloud platform), thousands of nodes may be deployed at the same time. In this case, a user may generate thousands of cloud hosts when actually running a specific service.
Therefore, how to efficiently manage a large number of cloud hosts in a cloud platform and reduce the difficulty of operation and maintenance personnel in searching for abnormal cloud hosts is a problem which needs to be solved urgently nowadays.
Disclosure of Invention
The invention aims to provide an auditing method, device and equipment of a cloud platform and a computer readable storage medium, so that the difficulty of operation and maintenance personnel for searching abnormal cloud hosts is reduced through auditing the cloud hosts, and the management efficiency of the cloud hosts is improved.
In order to solve the technical problem, the invention provides an auditing method of a cloud platform, which comprises the following steps:
acquiring an audit instruction of a cloud host;
according to the cloud host audit command, inquiring the running state information of all cloud hosts in the cloud platform;
acquiring cloud host information of a target cloud host in the cloud platform according to the running state information; the target cloud host comprises the cloud host with an abnormal operation state.
Optionally, the obtaining, according to the operating state information, cloud host information of a target cloud host in the cloud platform includes:
updating cloud host information of the cloud host to be updated in the database according to the running state information; the cloud host to be updated is the cloud host with the running state in the database different from the running state in the running state information;
acquiring cloud host information of a target cloud host in the cloud platform from the database according to the respective running state and updating time of the cloud host in the database; the target cloud host further comprises an unsteady state cloud host, and the unsteady state cloud host is the cloud host with the updating time exceeding the preset auditing time.
Optionally, the cloud host information includes: the cloud host system comprises a cloud host name, a universal unique identification code, a system source, an IP address, an operation state, task information, a resource specification, project information, updating time and cloud host establishing time.
Optionally, the method further includes:
acquiring an operation record of inquiring the cloud host from the database according to the acquired operation inquiry instruction; and the query cloud host is the cloud host corresponding to the operation query instruction.
Optionally, the method further includes:
acquiring log information of a target operation record from the database according to the acquired operation log query instruction; and the target operation record is the operation record corresponding to the operation log query instruction.
Optionally, the obtaining of the cloud host audit instruction includes:
receiving the cloud host auditing instruction sent by the client;
correspondingly, after acquiring the cloud host information of the target cloud host in the cloud platform according to the operating state information, the method further includes:
and sending the cloud host information to the client so that the client displays the cloud host information.
Optionally, the method further includes:
acquiring the resource state of the unsteady cloud host;
if the resource state is available, adjusting the running state of the unsteady cloud host from an unsteady state to a running state;
and if the resource state is unavailable, adjusting the running state of the unsteady cloud host from the unsteady state to an abnormal state.
The invention also provides an auditing device of the cloud platform, which comprises:
the instruction acquisition module is used for acquiring an audit instruction of the cloud host;
the query module is used for querying the running state information of all cloud hosts in the cloud platform according to the cloud host audit command;
the information acquisition module is used for acquiring cloud host information of a target cloud host in the cloud platform according to the running state information; the target cloud host comprises the cloud host with an abnormal operation state.
The invention also provides auditing equipment of the cloud platform, which comprises:
a memory for storing a computer program;
and the processor is used for realizing the steps of the auditing method of the cloud platform when the computer program is executed.
The invention further provides a computer readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program realizes the steps of the auditing method of the cloud platform.
The invention provides an auditing method of a cloud platform, which comprises the following steps: acquiring an audit instruction of a cloud host; according to the cloud host audit command, inquiring the running state information of all cloud hosts in the cloud platform; acquiring cloud host information of a target cloud host in the cloud platform according to the running state information; the target cloud host comprises a cloud host with an abnormal operation state;
therefore, according to the cloud host information of the target cloud host in the cloud platform, the cloud host information of the target cloud host in the cloud platform is acquired according to the running state information, and the cloud host in the abnormal state can be found from a large number of cloud hosts in the cloud platform, so that operation and maintenance personnel can quickly and conveniently check the cloud host information of the cloud host in the abnormal state, the problem troubleshooting and positioning are quickly completed, the influence of long-time downtime of the cloud host on user services is reduced, and the workload of the operation and maintenance personnel is reduced. In addition, the invention also provides an auditing device, equipment and a computer readable storage medium of the cloud platform, and the auditing device, the equipment and the computer readable storage medium also have the beneficial effects.
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 flowchart of an auditing method for a cloud platform according to an embodiment of the present invention;
fig. 2 is a schematic diagram of another auditing method for a cloud platform according to an embodiment of the present invention;
fig. 3 is a block diagram of a structure of an auditing apparatus of a cloud platform according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an audit device of a cloud platform according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. 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, fig. 1 is a flowchart of an auditing method of a cloud platform according to an embodiment of the present invention. The method can comprise the following steps:
step 101: and acquiring an audit instruction of the cloud host.
The cloud host auditing instruction in this step may be an instruction for controlling auditing equipment (such as a server) of the cloud platform to audit all running cloud hosts, that is, the auditing equipment may audit all cloud hosts in the cloud platform according to the cloud host auditing instruction so as to find a target cloud host having a problem in the cloud platform.
Specifically, the specific manner in which the processor in the audit device acquires the cloud host audit command in this step can be set by a designer according to a practical scene and user requirements, for example, the processor can receive the cloud host audit command sent by a client; for example, an operation and maintenance person (i.e., a user) may click a "cloud host audit" button of the cloud platform in the client, so that the client sends a URL (Uniform Resource Locator) request of a cloud host audit instruction to a server (i.e., an audit device) corresponding to a control node of the cloud platform, thereby enabling a processor of the server to receive the cloud host audit instruction. The processor can also generate the cloud host audit command by itself, for example, the processor of the audit device can generate the cloud host audit command at a preset time interval to audit all cloud hosts in the cloud platform at regular time, and the cloud host information of the target cloud host is displayed to operation and maintenance personnel in time. This embodiment does not set any limit to this.
Step 102: and inquiring the running state information of all cloud hosts in the cloud platform according to the cloud host audit command.
It can be understood that, in this step, the processor in the audit device may query, according to the obtained cloud host audit instruction, the running state information (i.e., the running state information) of all running cloud hosts in the cloud platform, so as to determine a target cloud host in all the cloud hosts.
Specifically, the specific manner in which the processor queries the operating state information of all cloud hosts in the cloud platform according to the cloud host audit command in this step may be set by a designer, for example, the processor may query the operating state information of the cloud hosts in all physical nodes in the cloud platform; as shown in fig. 2, the auditing device may obtain the operation state information of the cloud hosts from the physical node where each cloud host is located, so as to obtain the latest operation state of all the cloud hosts. The processor can also directly acquire the running state information of each cloud host from the database. This embodiment does not set any limit to this.
Correspondingly, specific content of the operation state information in the step can be set by a designer, for example, the operation state information may include respective operation states of each cloud host, and the operation state information may also include
Step 103: acquiring cloud host information of a target cloud host in the cloud platform according to the running state information; the target cloud host comprises a cloud host with an abnormal operation state.
It can be understood that the target cloud host in this step may be a cloud host having a problem in the cloud platform to be audited and found, corresponding to the cloud host audit instruction. The specific selection of the target cloud host can be set by a designer according to a practical scene and user requirements, for example, the target cloud host can include a cloud host with an abnormal operation state (such as an error or breakdown) in the cloud platform; the target cloud host may further include a cloud host with an update time exceeding a preset audit time (i.e., an unsteady cloud host), that is, a cloud host in a state where the running state of a task is unchanged and the time exceeds the preset audit time.
Specifically, the specific manner in which the processor of the audit device obtains the cloud host information of the target cloud host in the cloud platform according to the running state information in this step may be set by a designer, for example, the processor may first obtain the running state information of the cloud host from a physical node where each cloud host is located, update the database, and obtain the cloud host in an abnormal state and the cloud host whose update time exceeds the preset audit time from the database; that is, the present step may include: updating cloud host information of the cloud host to be updated in the database according to the running state information; acquiring cloud host information of a target cloud host in a cloud platform from a database according to respective running states and updating time of the cloud hosts in the database; the cloud host to be updated is a cloud host with a running state in the database different from the running state in the running state information, the target cloud host further comprises an unstable cloud host, and the unstable cloud host is a cloud host with an updating time exceeding a preset audit time. The processor can also directly acquire the running state information of the cloud host from the physical node where each cloud host is located, and acquire the cloud host in an abnormal state; or acquiring the running state information of each cloud host from the database, and acquiring the cloud host in an abnormal state and the cloud host with the updating time exceeding the preset auditing time. This embodiment does not set any limit to this.
Correspondingly, specific content of the cloud host information of the target cloud host acquired by the processor in the step can be set by a designer according to a practical scene and user requirements, and the cloud host information can include: the cloud host system comprises any one or more of a name of the cloud host, a universal unique identification code (uuid) of the cloud host, a system source (such as a mirror image or a system volume) of the cloud host, an IP address of the cloud host, an operation state of the cloud host, a task (namely task information) of the cloud host, a resource specification of the cloud host, a project (namely project information) where the cloud host is located, update time of the cloud host and creation time of the cloud host.
Correspondingly, the embodiment may further include that the processor of the audit device updates the corresponding cloud host information in the database when the running state or the running task of each cloud host changes; or when the running state or the running task of each cloud host changes, updating the information of the respective cloud host in the database; for example, the cloud host can automatically update the task information and the update time in the cloud host information corresponding to the cloud host in the data center when a new task in the project is operated, so as to ensure the real-time performance of the cloud host information in the database.
It should be noted that, this embodiment may further include a step of displaying, by the processor of the audit device, the obtained cloud host information of the target cloud host in the cloud platform to a user (such as an operation and maintenance worker), so that the user may know the cloud host having a problem in the cloud platform in time. If the auditing equipment receives a cloud host auditing instruction sent by the client, the processor of the auditing equipment can send the acquired cloud host information of the target cloud host to the client so that the client can display the cloud host information; for example, the client may display, in a list manner, cloud host information of a cloud host (i.e., a target cloud host) in an abnormal state and exceeding a preset audit time in all nodes of the cloud platform in a UI interface of the cloud platform. The processor of the auditing equipment can also send the cloud host information of the target cloud host acquired according to the preset time interval to the designated equipment, so that operation and maintenance personnel can know the auditing result of the cloud host at each time in the designated equipment, and the target cloud host can be processed in time.
Optionally, the method provided by this embodiment may further include a step of acquiring, by the processor of the audit device, an operation record of the query cloud host from the database according to the acquired operation query instruction; the query cloud host is the cloud host corresponding to the operation query instruction. That is, the processor of the audit device may save each operational record of the cloud host into the database, or each cloud host may save its own per operational record into the database. For example, a user can click a cloud host name in displayed cloud host information at a client, so that the client sends an operation query instruction corresponding to the cloud host name to the audit device, and then the audit device obtains and returns an operation record of the cloud host corresponding to the cloud host name (i.e., query cloud host) from the database according to the operation query instruction, and then the client can display all operation records of the cloud host corresponding to the cloud host name to the cloud host in the whole life cycle, such as records of "create cloud host" - "restart cloud host" - "close cloud host", and the like, so that the user can quickly know the operation history of the cloud host, and problems can be quickly checked and positioned.
Correspondingly, the method provided by the embodiment can further comprise the step that the processor of the auditing equipment acquires log information of the target operation record from the database according to the acquired operation log query instruction; and the target operation record is the operation record corresponding to the operation log query instruction. That is to say, the processor of the audit device may save the log information corresponding to each operation record of the cloud host into the database, or each cloud host may save the log information corresponding to each operation record of the cloud host into the database. If a user can click the displayed operation record or the operation state at the client, the client acquires a corresponding request ID (requestID) and sends an operation log query instruction corresponding to the request ID to the auditing equipment, so that the auditing equipment acquires log information of the operation record (namely a target operation record) corresponding to the request ID from the database and returns the log information to the client according to the operation log query instruction, and then the client can display the operation record or the operation state log information clicked by the user, thereby realizing the query function of the operation log information of the operation cloud host in the cloud platform; for example, when the cloud host is in an abnormal state (error or crash) in each operation, the running state of the cloud host in the database is updated to the abnormal state, the user clicks the running state of the cloud host displayed by the client, and the processor of the design device can run the audit background processing program to enable the client to quickly display error log information of the cloud host in the abnormal state by reading records in the database, so that operation and maintenance personnel can know the reason that the cloud host is in the abnormal state at the first time.
Specifically, the database for storing the host information of the cloud host, the database for storing the operation record of the cloud host, and the database for storing the log information corresponding to the operation record may be the same database, or may be different databases, as long as the host information, the operation record, and the corresponding log information storage function of the cloud host in the cloud platform can be implemented by using the databases, which is not limited in this embodiment.
Optionally, the method provided in this embodiment may further include the step of acquiring, by the processor of the audit device, the resource state of the non-steady-state cloud host; if the resource state is available, adjusting the running state of the non-steady cloud host from the non-steady state to the running state; and if the resource state is unavailable, adjusting the operation state of the unsteady cloud host from the unsteady state to an abnormal state. That is to say, the auditing device may determine whether the non-steady cloud host can continue to be used according to the acquired resource state of the non-steady cloud host, that is, whether the resource of the non-steady cloud host is still available.
Specifically, the specific manner in which the processor of the audit device acquires the resource state of the non-steady-state cloud host can be set by a designer, for example, the processor can determine the resource state of the non-steady-state cloud host corresponding to the non-steady-state cloud host setting instruction according to the received non-steady-state cloud host setting instruction sent by the client; for example, a user can set and adjust the operating state or the resource state of the non-steady-state cloud host in the client according to the cloud host information of the non-steady-state cloud host displayed in the client, so that the client acquires and sends a corresponding non-steady-state cloud host setting instruction to the auditing equipment, and the auditing equipment determines the resource state of the non-steady-state cloud host set by the user according to the received non-steady-state cloud host setting instruction. The processor may also detect the resource state of the non-steady cloud host by itself, for example, the processor may control the non-steady cloud host to restart to detect whether the resource of the non-steady cloud host is available, and if the resource is still available, recover the operating state of the non-steady cloud host. If the resources of the cloud host are unavailable (namely in a fault state), the operating state of the non-stable cloud host is directly set to be an abnormal state, and meanwhile, error log information corresponding to the abnormal state is recorded into a database as an error reason, so that the error reason of the cloud host can be directly displayed when a user clicks the abnormal state of the cloud host.
Optionally, the method provided in this embodiment may further include the step of counting, by the processor of the audit device, all physical resources and virtual resources in the cloud platform according to the obtained resource audit instruction, and obtaining current physical resource information and used virtual resource information. For example, a user can click a resource audit button of the cloud platform at a client, so that the client sends a resource audit instruction to audit equipment, the audit equipment can count all physical resources and virtual resources in the cloud platform according to the received cloud host audit instruction, current physical resource information and used virtual resource information of the cloud platform are obtained and returned to the client, the client can display the current physical resources and used virtual resources of the cloud platform in a chart form, and the user can be ensured to quickly position and investigate the cloud host which fails due to capacity expansion or reconstruction.
In the embodiment of the invention, the cloud host information of the target cloud host in the cloud platform is acquired according to the running state information, and the cloud host in the abnormal state can be searched from a large number of cloud hosts in the cloud platform, so that operation and maintenance personnel can quickly and conveniently check the cloud host information of the cloud host in the abnormal state, the problem troubleshooting and positioning are quickly completed, the influence of long-time downtime of the cloud host on user services is reduced, and the workload of the operation and maintenance personnel is reduced.
Referring to fig. 3, fig. 3 is a block diagram of an auditing apparatus of a cloud platform according to an embodiment of the present invention. The apparatus may include:
the instruction obtaining module 10 is used for obtaining an audit instruction of the cloud host;
the query module 20 is configured to query the operation state information of all cloud hosts in the cloud platform according to the cloud host audit command;
the information obtaining module 30 is configured to obtain cloud host information of a target cloud host in the cloud platform according to the running state information; the target cloud host comprises a cloud host with an abnormal operation state.
Optionally, the information obtaining module may include:
the updating submodule is used for updating the cloud host information of the cloud host to be updated in the database according to the running state information; the cloud host to be updated is a cloud host with the running state in the database different from the running state in the running state information;
the information acquisition submodule is used for acquiring the cloud host information of the target cloud host in the cloud platform from the database according to the respective running state and updating time of the cloud hosts in the database; the target cloud host further comprises an unsteady state cloud host, and the unsteady state cloud host is a cloud host with the updating time exceeding the preset auditing time.
Optionally, the cloud host information includes: the cloud host system comprises a cloud host name, a universal unique identification code, a system source, an IP address, an operation state, task information, a resource specification, project information, updating time and cloud host establishing time.
Optionally, the apparatus may further include:
the operation record query module is used for acquiring operation records for querying the cloud host from the database according to the acquired operation query instruction; the query cloud host is the cloud host corresponding to the operation query instruction.
Optionally, the apparatus may further include:
the log query module is used for acquiring log information of a target operation record from a database according to the acquired operation log query instruction; and the target operation record is the operation record corresponding to the operation log query instruction.
Optionally, the instruction obtaining module 10 may be specifically configured to receive a cloud host audit instruction sent by a client;
correspondingly, the device can further comprise:
and the sending and displaying module is used for sending the cloud host information to the client so that the client can display the cloud host information.
Optionally, the apparatus may further include:
the non-steady-state processing module is used for acquiring the resource state of the non-steady-state cloud host; if the resource state is available, adjusting the running state of the non-steady cloud host from the non-steady state to the running state; and if the resource state is unavailable, adjusting the operation state of the unsteady cloud host from the unsteady state to an abnormal state.
In this embodiment, according to the information obtaining module 30, the cloud host information of the target cloud host in the cloud platform is obtained according to the running state information, and the cloud host in the abnormal state can be found from a large number of cloud hosts of the cloud platform, so that operation and maintenance personnel can quickly and conveniently check the cloud host information of the cloud host in the abnormal state, quickly complete problem troubleshooting and positioning, reduce the influence of long-time downtime of the cloud host on user services, and reduce the workload of the operation and maintenance personnel.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an audit device of a cloud platform according to an embodiment of the present invention. The device 1 may comprise:
a memory 11 for storing a computer program; a processor 12, configured to implement the steps of the auditing method of the cloud platform provided in the above embodiments when the computer program is executed.
The device 1 may include a memory 11, a processor 12 and a bus 13.
The memory 11 includes at least one type of readable storage medium, which includes a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, and the like. The memory 11 may in some embodiments be an internal storage unit of the device 1. The memory 11 may also be an external storage device of the device 1 in other embodiments, such as a plug-in hard disk provided on a server of a cloud platform, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and so on. Further, the memory 11 may also comprise both internal memory units of the device 1 and external memory devices. The memory 11 can be used not only for storing application software installed in the device 1 but also various types of data, such as: the code of the program that executes the auditing method of the cloud platform, etc., may also be used to temporarily store data that has been output or is to be output.
The processor 12 may be, in some embodiments, a Central Processing Unit (CPU), controller, microcontroller, microprocessor or other data Processing chip for running program code stored in the memory 11 or Processing data, such as code of a program that performs auditing methods for the cloud platform, etc.
The bus 13 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 4, but this does not indicate only one bus or one type of bus.
Further, the device may further comprise a network interface 14, and the network interface 14 may optionally comprise a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), which are generally used for establishing a communication connection between the device 1 and other electronic devices.
Optionally, the device 1 may further comprise a user interface 15, the user interface 15 may comprise a Display (Display), an input unit such as keys, and the optional user interface 15 may also comprise a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the device 1 and for displaying a visual user interface.
Fig. 4 only shows the device 1 with the components 11-15, and it will be understood by a person skilled in the art that the structure shown in fig. 4 does not constitute a limitation of the device 1, and may comprise fewer or more components than shown, or a combination of certain components, or a different arrangement of components.
In addition, the embodiment of the invention also discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and when the computer program is executed by a processor, the steps of the auditing method of the cloud platform provided by the embodiment are realized.
Wherein the storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device, the apparatus and the computer-readable storage medium disclosed in the embodiments correspond to the method disclosed in the embodiments, so that the description is simple, and the relevant points can be referred to the description of the method.
The method, the device, the equipment and the computer readable storage medium for auditing the cloud platform provided by the invention are described in detail above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (10)

1. An auditing method of a cloud platform, comprising:
acquiring an audit instruction of a cloud host;
according to the cloud host audit command, inquiring the running state information of all cloud hosts in the cloud platform;
acquiring cloud host information of a target cloud host in the cloud platform according to the running state information; the target cloud host comprises the cloud host with an abnormal operation state.
2. The cloud platform auditing method according to claim 1, wherein the obtaining cloud host information of a target cloud host in the cloud platform according to the operating state information comprises:
updating cloud host information of the cloud host to be updated in the database according to the running state information; the cloud host to be updated is the cloud host with the running state in the database different from the running state in the running state information;
acquiring cloud host information of a target cloud host in the cloud platform from the database according to the respective running state and updating time of the cloud host in the database; the target cloud host further comprises an unsteady state cloud host, and the unsteady state cloud host is the cloud host with the updating time exceeding the preset auditing time.
3. The cloud platform auditing method of claim 1, where the cloud host information comprises: the cloud host system comprises a cloud host name, a universal unique identification code, a system source, an IP address, an operation state, task information, a resource specification, project information, updating time and cloud host establishing time.
4. The cloud platform auditing method of claim 2, further comprising:
acquiring an operation record of inquiring the cloud host from the database according to the acquired operation inquiry instruction; and the query cloud host is the cloud host corresponding to the operation query instruction.
5. The cloud platform auditing method of claim 4, further comprising:
acquiring log information of a target operation record from the database according to the acquired operation log query instruction; and the target operation record is the operation record corresponding to the operation log query instruction.
6. The auditing method of the cloud platform of claim 1, where obtaining cloud host audit instructions comprises:
receiving the cloud host auditing instruction sent by the client;
correspondingly, after acquiring the cloud host information of the target cloud host in the cloud platform according to the operating state information, the method further includes:
and sending the cloud host information to the client so that the client displays the cloud host information.
7. The cloud platform auditing method of any one of claims 2 to 6, further comprising:
acquiring the resource state of the unsteady cloud host;
if the resource state is available, adjusting the running state of the unsteady cloud host from an unsteady state to a running state;
and if the resource state is unavailable, adjusting the running state of the unsteady cloud host from the unsteady state to an abnormal state.
8. An audit device of a cloud platform, comprising:
the instruction acquisition module is used for acquiring an audit instruction of the cloud host;
the query module is used for querying the running state information of all cloud hosts in the cloud platform according to the cloud host audit command;
the information acquisition module is used for acquiring cloud host information of a target cloud host in the cloud platform according to the running state information; the target cloud host comprises the cloud host with an abnormal operation state.
9. An audit device of a cloud platform, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the auditing method of the cloud platform of any one of claims 1 to 8 when executing the computer program.
10. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, carries out the steps of the auditing method of a cloud platform of any one of claims 1 to 8.
CN202011342308.6A 2020-11-25 2020-11-25 Auditing method, device and equipment of cloud platform and computer readable storage medium Withdrawn CN112463549A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011342308.6A CN112463549A (en) 2020-11-25 2020-11-25 Auditing method, device and equipment of cloud platform and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011342308.6A CN112463549A (en) 2020-11-25 2020-11-25 Auditing method, device and equipment of cloud platform and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112463549A true CN112463549A (en) 2021-03-09

Family

ID=74808351

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011342308.6A Withdrawn CN112463549A (en) 2020-11-25 2020-11-25 Auditing method, device and equipment of cloud platform and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112463549A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113655964A (en) * 2021-08-19 2021-11-16 北京神州新桥科技有限公司 Data volume processing method, device, electronic equipment, medium and program product
CN116881033A (en) * 2023-07-12 2023-10-13 合芯科技(苏州)有限公司 Computing cluster exception handling method and device, computer equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113655964A (en) * 2021-08-19 2021-11-16 北京神州新桥科技有限公司 Data volume processing method, device, electronic equipment, medium and program product
CN113655964B (en) * 2021-08-19 2023-10-24 北京神州新桥科技有限公司 Data volume processing method, device, electronic equipment, medium and program product
CN116881033A (en) * 2023-07-12 2023-10-13 合芯科技(苏州)有限公司 Computing cluster exception handling method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
US11659020B2 (en) Method and system for real-time modeling of communication, virtualization and transaction execution related topological aspects of monitored software applications and hardware entities
CN108427705B (en) Electronic device, distributed system log query method and storage medium
CN108234170B (en) Monitoring method and device for server cluster
CN105611330B (en) Smart television maintenance method and system, server and mobile terminal
CN112199197B (en) Server management method and system
CN110086658B (en) Interface switching method and device and computer readable storage medium
CN112860479A (en) Data storage method and cloud data center
CN111611207B (en) State data processing method and device and computer equipment
CN112463549A (en) Auditing method, device and equipment of cloud platform and computer readable storage medium
US20100235826A1 (en) Apparatus, system, and method for efficient code update
CN115248826B (en) Method and system for large-scale distributed graph database cluster operation and maintenance management
CN113360519B (en) Data processing method, device, equipment and storage medium
CN112506969A (en) BMC address query method, system, equipment and readable storage medium
CN107885634B (en) Method and device for processing abnormal information in monitoring
CN111125170A (en) Cross-service data acquisition method and device of micro-service and micro-service equipment
CN105813102B (en) Automatic test system and method
CN113468143A (en) Data migration method, system, computing device and storage medium
CN112187509A (en) Multi-architecture cloud platform execution log management method, system, terminal and storage medium
CN110955460A (en) Service process starting method and device, electronic equipment and storage medium
CN111984723A (en) Data synchronization method and device and terminal equipment
CN112000618B (en) File change management method, device, equipment and storage medium for cluster nodes
CN111221847B (en) Monitoring data storage method, device and computer readable storage medium
CN113656378A (en) Server management method, device and medium
CN112256489A (en) Data acquisition method and device of cloud development platform and data storage architecture
US20120150898A1 (en) Dynamic Collection Of System Support Files In A Data Processing Environment

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20210309

WW01 Invention patent application withdrawn after publication