CN109213569A - A kind of auditing method based on virtual machine, device, server and storage medium - Google Patents

A kind of auditing method based on virtual machine, device, server and storage medium Download PDF

Info

Publication number
CN109213569A
CN109213569A CN201810978482.6A CN201810978482A CN109213569A CN 109213569 A CN109213569 A CN 109213569A CN 201810978482 A CN201810978482 A CN 201810978482A CN 109213569 A CN109213569 A CN 109213569A
Authority
CN
China
Prior art keywords
current business
business task
virtual
audit
machine
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.)
Granted
Application number
CN201810978482.6A
Other languages
Chinese (zh)
Other versions
CN109213569B (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810978482.6A priority Critical patent/CN109213569B/en
Publication of CN109213569A publication Critical patent/CN109213569A/en
Application granted granted Critical
Publication of CN109213569B publication Critical patent/CN109213569B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of auditing method based on virtual machine, device, server and storage mediums;The described method includes: obtaining corresponding first virtual-machine data of current business task and corresponding second virtual-machine data of current business task respectively from cloud computing platform and virtual machine platform according to predetermined period;It is audited according to corresponding first virtual-machine data of current business task and corresponding second virtual-machine data of current business task to the current business task.The scene for occurring virtual machine exception in the operation flow of cloud computing platform can be effectively avoided, so as to more reasonably release residual resource.

Description

A kind of auditing method based on virtual machine, device, server and storage medium
Technical field
The present invention relates to virtual machine technique field, espespecially a kind of auditing method based on virtual machine, device, server and deposit Storage media.
Background technique
Most of current cloud computing platform is the combination of Openstack technology and various virtualization technologies, due to two kinds The independence and scalability of technology are relatively good, respectively safeguard the resource information of oneself.In cloud computing platform, normal Business Stream Journey is Openstack cloud computing platform issuing service task, is then arrived business mission dispatching by the arrangement of resource and scheduling Virtual machine platform, the creation task of virtual machine platform finishing service.Since operation flow is usually long, and Openstack There are various exceptions with virtual machine layer for layer, may cause the inconsistent scene of the srvice instance existence of two layers of record, comprising: There is the scene of false virtual machine;There is the scene of wild virtual machine and the inconsistent scene of virtual machine state occurs.
Specifically, the scene for false virtual machine occur include: 1), the operation flow of Openstack cloud computing platform occur it is different Often, it is not issued to virtual machine platform;2), there is chance failure (host is restarted or process weight in Openstack cloud computing platform It opens);3) it, is artificially modified in Openstack cloud computing platform after database or Database Backup operations before recovery operation, executes industry Business operation.In addition, the scene for wild virtual machine occur include: 1), virtual machine layer operation flow occur abnormal, and do not give Openstack cloud computing platform reports exception;2), there is chance failure in virtual machine platform (host is restarted or process is restarted);3), Artificially virtual machine is created in virtual machine platform., Openstack cloud in addition, there is the inconsistent scene of virtual machine state and including: 1) Computing platform occurs abnormal;2), virtual machine platform occurs abnormal;3), manual operation.
In the implementation of the present invention, at least there are the following problems in the prior art for inventor's discovery:
Due to lacking effective Audit Mechanism in existing cloud computing platform, cause in Openstack cloud computing platform Operation flow in there is the scene of false virtual machine, the scene of wild virtual machine and the inconsistent scene of virtual machine state.
Summary of the invention
In order to solve the above-mentioned technical problems, the present invention provides a kind of auditing methods based on virtual machine, device, server And storage medium, the scene for occurring virtual machine exception in the operation flow of cloud computing platform can be effectively avoided, so as to More reasonably to discharge residual resource.
In order to reach the object of the invention, in a first aspect, the present invention provides a kind of auditing method based on virtual machine, it is described Method includes:
Corresponding first void of current business task is obtained respectively from cloud computing platform and virtual machine platform according to predetermined period Quasi- machine data and corresponding second virtual-machine data of the current business task;
According to corresponding first virtual-machine data of the current business task and the current business task corresponding second Virtual-machine data audits to the current business task.
In the above-described embodiments, described according to corresponding first virtual-machine data of the current business task and described current Corresponding second virtual-machine data of business task audits to the current business task, comprising:
If corresponding first virtual-machine data of current business task and corresponding second void of the current business task Quasi- machine data are identical, it is determined that the current business task, which is audited, to be passed through;
If corresponding first virtual-machine data of current business task and corresponding second void of the current business task Quasi- machine data are not identical, it is determined that the current business task, which is audited, not to be passed through.
In the above-described embodiments, the method also includes:
According to corresponding first virtual-machine data of the current business task and the current business task corresponding second Virtual-machine data generates the current business task and corresponds to Audit Report;Wherein, the Audit Report includes: that audit passes through report Report is not passed through with audit;
The current business task is performed corresponding processing according to the current business task corresponding Audit Report.
In the above-described embodiments, described that the current business is appointed according to the current business task corresponding Audit Report Business performs corresponding processing, comprising:
If the corresponding Audit Report of the current business task is the audit by report, in the cloud computing platform With retain the current business task in the virtual machine platform;
If the corresponding Audit Report of the current business task is the audit not by report, flat in the cloud computing The current business task is deleted in platform and the virtual machine platform.
Second aspect, the present invention provides a kind of auditing method device based on virtual machine, described device includes: acquisition mould Block and Audit Module;Wherein,
The acquisition module, for obtaining current business respectively from cloud computing platform and virtual machine platform according to predetermined period Corresponding first virtual-machine data of task and corresponding second virtual-machine data of the current business task;
The Audit Module, for according to corresponding first virtual-machine data of the current business task and the current industry Current business task described in corresponding second virtual-machine data of business task is audited.
In the above-described embodiments, the Audit Module, if being specifically used for the current business task corresponding first virtually Machine data the second virtual-machine data corresponding with the current business task is identical, it is determined that the current business task is audited Pass through;If corresponding first virtual-machine data of current business task and corresponding second virtual machine of the current business task Data are not identical, it is determined that the current business task, which is audited, not to be passed through.
In the above-described embodiments, described device further include: processing module;Wherein,
The Audit Module is also used to according to corresponding first virtual-machine data of the current business task and described current Corresponding second virtual-machine data of business task generates the current business task and corresponds to Audit Report;Wherein, the audit report Announcement includes: to audit not passing through report by report and audit;
The processing module is used for according to the corresponding Audit Report of the current business task to the current business task It performs corresponding processing.
In the above-described embodiments, the processing module, if being specifically used for the corresponding Audit Report of the current business task It is the audit by report, then retains the current business task in the cloud computing platform and the virtual machine platform; If the corresponding Audit Report of the current business task is the audit not by report, in the cloud computing platform and described The current business task is deleted in virtual machine platform.
The third aspect, the embodiment of the invention provides a kind of servers, comprising:
One or more processors;
Memory, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes the auditing method based on virtual machine described in any embodiment of that present invention.
Fourth aspect, the embodiment of the invention provides a kind of storage mediums, are stored thereon with computer program, the program quilt The auditing method based on virtual machine described in any embodiment of that present invention is realized when processor executes.
The embodiment of the present invention proposes a kind of auditing method based on virtual machine, device, server and storage medium, first presses According to predetermined period from cloud computing platform and virtual machine platform obtain respectively corresponding first virtual-machine data of current business task and Corresponding second virtual-machine data of current business task;Then according to corresponding first virtual-machine data of current business task and work as Corresponding second virtual-machine data of preceding business task audits to current business task.That is, in technology of the invention It, can be according to corresponding first virtual-machine data of current business task and corresponding second virtual machine of current business task in scheme Data current business task is audited.Therefore, compared to the prior art, the examining based on virtual machine that the embodiment of the present invention proposes Method, apparatus, server and storage medium are counted, can be effectively avoided and virtual machine occur in the operation flow of cloud computing platform Abnormal scene, so as to more reasonably release residual resource;Also, the technical solution of the embodiment of the present invention is realized simple Conveniently, convenient for universal, the scope of application is wider.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by specification, right Specifically noted structure is achieved and obtained in claim and attached drawing.
Detailed description of the invention
Attached drawing is used to provide to further understand technical solution of the present invention, and constitutes part of specification, with this The embodiment of application technical solution for explaining the present invention together, does not constitute the limitation to technical solution of the present invention.
Fig. 1 is the flow diagram for the auditing method based on virtual machine that the embodiment of the present invention one provides;
Fig. 2 is the flow diagram of the auditing method provided by Embodiment 2 of the present invention based on virtual machine;
Fig. 3 is the flow diagram for the auditing method based on virtual machine that the embodiment of the present invention three provides;
Fig. 4 is the first structure diagram for the audit device based on virtual machine that the embodiment of the present invention four provides;
Fig. 5 is the second structural schematic diagram of the audit device based on virtual machine that the embodiment of the present invention four provides;
Fig. 6 is the structural schematic diagram for the server that the embodiment of the present invention five provides.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application Feature can mutual any combination.
Embodiment one
Fig. 1 is the flow diagram for the auditing method based on virtual machine that the embodiment of the present invention one provides, as shown in Figure 1, Auditing method based on virtual machine may comprise steps of:
Step 101 obtains current business task correspondence from cloud computing platform and virtual machine platform according to predetermined period respectively The first virtual-machine data and corresponding second virtual-machine data of current business task.
In a specific embodiment of the present invention, server can be according to predetermined period from cloud computing platform and virtual machine platform Corresponding first virtual-machine data of current business task and corresponding second virtual-machine data of current business task are obtained respectively.? In cloud computing platform, normal operation flow is Openstack cloud computing platform issuing service task, then passes through the whole of resource It manages and dispatches business mission dispatching to virtual machine platform, the creation task of virtual machine platform finishing service.Therefore, server can To get corresponding first virtual-machine data of current business task in cloud computing platform;Meanwhile server can also be in void Corresponding second virtual-machine data of current business task is got in quasi- machine platform.
Step 102, according to corresponding first virtual-machine data of current business task and current business task corresponding second Virtual-machine data audits to current business task.
In a specific embodiment of the present invention, server can be according to corresponding first virtual-machine data of current business task The second virtual-machine data corresponding with current business task audits to current business task.Specifically, server can incite somebody to action Corresponding first virtual-machine data of current business task and corresponding second virtual-machine data of current business task are compared, if Corresponding first virtual-machine data of current business task the second virtual-machine data corresponding with current business task is identical, then services Device can determine that current business task is audited and pass through;If corresponding first virtual-machine data of current business task and current business Corresponding second virtual-machine data of task is not identical, then server can determine current business task to be audited not and pass through.
The auditing method based on virtual machine that the embodiment of the present invention proposes, first according to predetermined period from cloud computing platform and void Quasi- machine platform obtains corresponding first virtual-machine data of current business task and current business task corresponding second virtually respectively Machine data;Then according to corresponding first virtual-machine data of current business task and corresponding second virtual machine of current business task Data audit to current business task.That is, in the inventive solutions, it can be according to current business task Corresponding first virtual-machine data and corresponding second virtual-machine data of current business task audit to current business task. Therefore, compared to the prior art, the auditing method based on virtual machine that the embodiment of the present invention proposes, can be effectively avoided in cloud Occurs the scene of virtual machine exception in the operation flow of computing platform, so as to more reasonably release residual resource;Also, The technical solution realization of the embodiment of the present invention is simple and convenient, it is universal to be convenient for, and the scope of application is wider.
Embodiment two
Fig. 2 is the flow diagram of the auditing method provided by Embodiment 2 of the present invention based on virtual machine.As shown in Fig. 2, Auditing method based on virtual machine may comprise steps of:
Step 201 obtains current business task correspondence from cloud computing platform and virtual machine platform according to predetermined period respectively The first virtual-machine data and corresponding second virtual-machine data of current business task.
In a specific embodiment of the present invention, server can be according to predetermined period from cloud computing platform and virtual machine platform Corresponding first virtual-machine data of current business task and corresponding second virtual-machine data of current business task are obtained respectively.? In cloud computing platform, normal operation flow is Openstack cloud computing platform issuing service task, then passes through the whole of resource It manages and dispatches business mission dispatching to virtual machine platform, the creation task of virtual machine platform finishing service.Therefore, server can To get corresponding first virtual-machine data of current business task in cloud computing platform;Meanwhile server can also be in void Corresponding second virtual-machine data of current business task is got in quasi- machine platform.
Step 202, according to corresponding first virtual-machine data of current business task and current business task corresponding second Virtual-machine data audits to current business task.
In a specific embodiment of the present invention, server can be according to corresponding first virtual-machine data of current business task The second virtual-machine data corresponding with current business task audits to current business task.Specifically, server can incite somebody to action Corresponding first virtual-machine data of current business task and corresponding second virtual-machine data of current business task are compared, if Corresponding first virtual-machine data of current business task the second virtual-machine data corresponding with current business task is identical, then services Device can determine that current business task is audited and pass through;If corresponding first virtual-machine data of current business task and current business Corresponding second virtual-machine data of task is not identical, then server can determine current business task to be audited not and pass through.
Step 203, according to corresponding first virtual-machine data of current business task and current business task corresponding second Virtual-machine data generates current business task and corresponds to Audit Report.
In a specific embodiment of the present invention, server can be according to corresponding first virtual-machine data of current business task The second virtual-machine data corresponding with current business task generates current business task and corresponds to Audit Report;Wherein, audit passes through Report and audit do not pass through report.Specifically, if corresponding first virtual-machine data of current business task and current business task Corresponding second virtual-machine data is identical, then server can compare knot according to the first virtual-machine data and the second virtual-machine data Fruit generates the corresponding audit of current business task and passes through report;If corresponding first virtual-machine data of current business task and current industry Corresponding second virtual-machine data of business task is not identical, then server can be according to the first virtual-machine data and the second virtual machine number The corresponding audit of current business task, which is generated, according to comparison result does not pass through report.
Step 204 performs corresponding processing current business task according to the corresponding Audit Report of current business task.
In a specific embodiment of the present invention, server can be according to the corresponding Audit Report of current business task to current Business task performs corresponding processing.Specifically, it if the corresponding Audit Report of current business task is audit by report, takes Business device can retain current business task in cloud computing platform and virtual machine platform;If the corresponding audit report of current business task It accuses as audit not by report, then server can delete current business task in cloud computing platform and virtual machine platform.
The auditing method based on virtual machine that the embodiment of the present invention proposes, first according to predetermined period from cloud computing platform and void Quasi- machine platform obtains corresponding first virtual-machine data of current business task and current business task corresponding second virtually respectively Machine data;Then according to corresponding first virtual-machine data of current business task and corresponding second virtual machine of current business task Data audit to current business task.That is, in the inventive solutions, it can be according to current business task Corresponding first virtual-machine data and corresponding second virtual-machine data of current business task audit to current business task. Therefore, compared to the prior art, the auditing method based on virtual machine that the embodiment of the present invention proposes, can be effectively avoided in cloud Occurs the scene of virtual machine exception in the operation flow of computing platform, so as to more reasonably release residual resource;Also, The technical solution realization of the embodiment of the present invention is simple and convenient, it is universal to be convenient for, and the scope of application is wider.
Embodiment three
Fig. 3 is the flow diagram for the auditing method based on virtual machine that the embodiment of the present invention three provides.As shown in figure 3, Auditing method based on virtual machine may comprise steps of:
Step 301 obtains current business task correspondence from cloud computing platform and virtual machine platform according to predetermined period respectively The first virtual-machine data and corresponding second virtual-machine data of current business task.
In a specific embodiment of the present invention, server can be according to predetermined period from cloud computing platform and virtual machine platform Corresponding first virtual-machine data of current business task and corresponding second virtual-machine data of current business task are obtained respectively.? In cloud computing platform, normal operation flow is Openstack cloud computing platform issuing service task, then passes through the whole of resource It manages and dispatches business mission dispatching to virtual machine platform, the creation task of virtual machine platform finishing service.Therefore, server can To get corresponding first virtual-machine data of current business task in cloud computing platform;Meanwhile server can also be in void Corresponding second virtual-machine data of current business task is got in quasi- machine platform.
Step 302, according to corresponding first virtual-machine data of current business task and current business task corresponding second Virtual-machine data audits to current business task.
In a specific embodiment of the present invention, server can be according to corresponding first virtual-machine data of current business task The second virtual-machine data corresponding with current business task audits to current business task.Specifically, server can incite somebody to action Corresponding first virtual-machine data of current business task and corresponding second virtual-machine data of current business task are compared, if Corresponding first virtual-machine data of current business task the second virtual-machine data corresponding with current business task is identical, then services Device can determine that current business task is audited and pass through;If corresponding first virtual-machine data of current business task and current business Corresponding second virtual-machine data of task is not identical, then server can determine current business task to be audited not and pass through.
Step 303, according to corresponding first virtual-machine data of current business task and current business task corresponding second Virtual-machine data generates current business task and corresponds to Audit Report.
In a specific embodiment of the present invention, server can be according to corresponding first virtual-machine data of current business task The second virtual-machine data corresponding with current business task generates current business task and corresponds to Audit Report;Wherein, audit passes through Report and audit do not pass through report.Specifically, if corresponding first virtual-machine data of current business task and current business task Corresponding second virtual-machine data is identical, then server can compare knot according to the first virtual-machine data and the second virtual-machine data Fruit generates the corresponding audit of current business task and passes through report;If corresponding first virtual-machine data of current business task and current industry Corresponding second virtual-machine data of business task is not identical, then server can be according to the first virtual-machine data and the second virtual machine number The corresponding audit of current business task, which is generated, according to comparison result does not pass through report.
If step 304, the corresponding Audit Report of current business task are audit by report, in cloud computing platform and void Retain current business task in quasi- machine platform;If the corresponding Audit Report of current business task is audit not by reporting, Current business task is deleted in cloud computing platform and virtual machine platform.
In a specific embodiment of the present invention, if the corresponding Audit Report of current business task is audit by reporting, Server can retain current business task in cloud computing platform and virtual machine platform;If the corresponding audit of current business task Audit is reported as not by report, then server can delete current business task in cloud computing platform and virtual machine platform. Present invention primarily contemplates administrators in the actual demand of production environment, occurs unavoidably when abnormal, system occurs in operation flow Failure or artificial maloperation when, it is easy to there is false virtual machine, wild virtual machine and the inconsistent situation of virtual machine state;This Invention propose Audit Mechanism include two parts: virtual machine audit and auditing result processing, wherein virtual machine audit refer to from The places such as database, virtual machine layer and storage equipment obtain virtual-machine data, then compare and obtain Audit Report;Audit knot Fruit processing refers to according to Audit Report and the operation log analysis of business is combined the reason of problem occur, and presses auditing result It is abnormal to handle teachings processing, wherein 1) auditing result processing teachings may include:, handle false virtual machine: administrator The remaining virtual machine in Openstack layers of direct Clean Up Database;2), handle wild virtual machine: administrator is straight in virtual machine layer Connect cleaning residual virtual machine.3), virtual machine state is inconsistent: administrator analyzes inconsistent reason first, then regards concrete reason It is further processed.Effectively guidance management person handles false virtual machine, wild virtual machine and virtual machine shape to the Audit Mechanism in time The inconsistent problem of state.
The auditing method based on virtual machine that the embodiment of the present invention proposes, first according to predetermined period from cloud computing platform and void Quasi- machine platform obtains corresponding first virtual-machine data of current business task and current business task corresponding second virtually respectively Machine data;Then according to corresponding first virtual-machine data of current business task and corresponding second virtual machine of current business task Data audit to current business task.That is, in the inventive solutions, it can be according to current business task Corresponding first virtual-machine data and corresponding second virtual-machine data of current business task audit to current business task. Therefore, compared to the prior art, the auditing method based on virtual machine that the embodiment of the present invention proposes, can be effectively avoided in cloud Occurs the scene of virtual machine exception in the operation flow of computing platform, so as to more reasonably release residual resource;Also, The technical solution realization of the embodiment of the present invention is simple and convenient, it is universal to be convenient for, and the scope of application is wider.
Example IV
Fig. 4 is the first structure diagram for the audit device based on virtual machine that the embodiment of the present invention four provides.Such as Fig. 4 institute Show, described device includes: to obtain module 401 and Audit Module 402;Wherein,
The acquisition module 401, for being obtained respectively currently according to predetermined period from cloud computing platform and virtual machine platform Corresponding first virtual-machine data of business task and corresponding second virtual-machine data of the current business task;
The Audit Module 402, for according to corresponding first virtual-machine data of the current business task and described working as Current business task described in corresponding second virtual-machine data of preceding business task is audited.
Further, the Audit Module 402, if being specifically used for the corresponding first virtual machine number of the current business task It is identical according to the second virtual-machine data corresponding with the current business task, it is determined that the current business task is logical by audit It crosses;If corresponding first virtual-machine data of current business task and the corresponding second virtual machine number of the current business task According to not identical, it is determined that the current business task, which is audited, not to be passed through.
Fig. 5 is the second structural schematic diagram of the audit device based on virtual machine that the embodiment of the present invention four provides.Such as Fig. 5 institute Show, described device further include: processing module 403;Wherein,
The Audit Module 402 is also used to according to corresponding first virtual-machine data of the current business task and described Corresponding second virtual-machine data of current business task generates the current business task and corresponds to Audit Report;Wherein, described to examine Meter report includes: to audit not passing through report by report and audit;
The processing module 403 is used for according to the corresponding Audit Report of the current business task to the current business Task performs corresponding processing.
Further, the processing module 403, if being specifically used for the corresponding Audit Report of the current business task is institute Audit is stated by report, then retains the current business task in the cloud computing platform and the virtual machine platform;If institute Stating the corresponding Audit Report of current business task is the audit not by report, then in the cloud computing platform and described virtual The current business task is deleted in machine platform.
Method provided by any embodiment of the invention can be performed in the above-mentioned audit device based on virtual machine, has the side of execution The corresponding functional module of method and beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to the present invention is any The auditing method based on virtual machine that embodiment provides.
Embodiment five
Fig. 6 is the structural schematic diagram for the server that the embodiment of the present invention five provides.Fig. 6, which is shown, to be suitable for being used to realizing this hair The block diagram of the exemplary servers of bright embodiment.The server 12 that Fig. 6 is shown is only an example, should not be to of the invention real The function and use scope for applying example bring any restrictions.
As shown in fig. 6, server 12 is showed in the form of universal computing device.The component of server 12 may include but not Be limited to: one or more processor or processing unit 16, system storage 28 connect different system components (including system Memory 28 and processing unit 16) bus 18.
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Server 12 typically comprises a variety of computer system readable media.These media can be and any can be serviced The usable medium that device 12 accesses, including volatile and non-volatile media, moveable and immovable medium.
System storage 28 may include the computer system readable media of form of volatile memory, such as arbitrary access Memory (RAM) 30 and/or cache memory 32.Server 12 may further include other removable/nonremovable , volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing not removable Dynamic, non-volatile magnetic media (Fig. 6 do not show, commonly referred to as " hard disk drive ").Although being not shown in Fig. 6, can provide Disc driver for being read and write to removable non-volatile magnetic disk (such as " floppy disk "), and to removable anonvolatile optical disk The CD drive of (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driver can To be connected by one or more data media interfaces with bus 18.Memory 28 may include at least one program product, The program product has one group of (for example, at least one) program module, these program modules are configured to perform each implementation of the invention The function of example.
Program/utility 40 with one group of (at least one) program module 42 can store in such as memory 28 In, such program module 42 include but is not limited to operating system, one or more application program, other program modules and It may include the realization of network environment in program data, each of these examples or certain combination.Program module 42 is usual Execute the function and/or method in embodiment described in the invention.
Server 12 can also be logical with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 etc.) Letter, can also be enabled a user to one or more equipment interact with the server 12 communicate, and/or with make the server The 12 any equipment (such as network interface card, modem etc.) that can be communicated with one or more of the other calculating equipment communicate. This communication can be carried out by input/output (I/O) interface 22.Also, server 12 can also pass through network adapter 20 With one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication. As shown, network adapter 20 is communicated by bus 18 with other modules of server 12.It should be understood that although not showing in figure Out, can in conjunction with server 12 use other hardware and/or software module, including but not limited to: microcode, device driver, Redundant processing unit, external disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 16 by the program that is stored in system storage 28 of operation, thereby executing various function application and Data processing, such as realize the auditing method based on virtual machine provided by the embodiment of the present invention.
Embodiment six
The embodiment of the present invention six provides a kind of computer storage medium.
The computer readable storage medium of the embodiment of the present invention, can be using one or more computer-readable media Any combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.Computer Readable storage medium storing program for executing for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, dress It sets or device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium wraps It includes: there is the electrical connection of one or more conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable Storage medium can be it is any include or storage program tangible medium, the program can be commanded execution system, device or Device use or in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.? Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service It is connected for quotient by internet).
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method or computer program product. Therefore, the form of hardware embodiment, software implementation or embodiment combining software and hardware aspects can be used in the present invention.And And it wherein includes the computer-usable storage medium of computer usable program code that the present invention, which can be used in one or more, The form for the computer program product implemented on (including but not limited to magnetic disk storage and optical memory etc.).
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.

Claims (10)

1. a kind of auditing method based on virtual machine, which is characterized in that the described method includes:
Corresponding first virtual machine of current business task is obtained respectively from cloud computing platform and virtual machine platform according to predetermined period Data and corresponding second virtual-machine data of the current business task;
Virtually according to corresponding first virtual-machine data of the current business task and the current business task corresponding second Machine data audit to the current business task.
2. the method according to claim 1, wherein described according to corresponding first void of the current business task Quasi- machine data and corresponding second virtual-machine data of the current business task audit to the current business task, wrap It includes:
If corresponding first virtual-machine data of current business task and corresponding second virtual machine of the current business task Data are identical, it is determined that the current business task, which is audited, to be passed through;
If corresponding first virtual-machine data of current business task and corresponding second virtual machine of the current business task Data are not identical, it is determined that the current business task, which is audited, not to be passed through.
3. the method according to claim 1, wherein the method also includes:
Virtually according to corresponding first virtual-machine data of the current business task and the current business task corresponding second Machine data generate the current business task and correspond to Audit Report;Wherein, the Audit Report includes: audit by report and examines Meter does not pass through report;
The current business task is performed corresponding processing according to the current business task corresponding Audit Report.
4. according to the method described in claim 3, it is characterized in that, described report according to the corresponding audit of the current business task Announcement performs corresponding processing the current business task, comprising:
If the corresponding Audit Report of the current business task is the audit by report, in the cloud computing platform and institute It states and retains the current business task in virtual machine platform;
If the corresponding Audit Report of the current business task is the audit not by report, in the cloud computing platform and The current business task is deleted in the virtual machine platform.
5. a kind of audit device based on virtual machine, which is characterized in that described device includes: to obtain module and Audit Module;Its In,
The acquisition module, for obtaining current business task respectively from cloud computing platform and virtual machine platform according to predetermined period Corresponding first virtual-machine data and corresponding second virtual-machine data of the current business task;
The Audit Module, for being appointed according to corresponding first virtual-machine data of the current business task and the current business Current business task described in corresponding second virtual-machine data of being engaged in is audited.
6. device according to claim 5, it is characterised in that:
The Audit Module, if being specifically used for corresponding first virtual-machine data of the current business task and the current business Corresponding second virtual-machine data of task is identical, it is determined that the current business task, which is audited, to be passed through;If the current business Corresponding first virtual-machine data of task and corresponding second virtual-machine data of the current business task be not identical, it is determined that institute It states current business task and is audited and do not passed through.
7. device according to claim 5, which is characterized in that described device further include: processing module;Wherein,
The Audit Module is also used to according to corresponding first virtual-machine data of the current business task and the current business Corresponding second virtual-machine data of task generates the current business task and corresponds to Audit Report;Wherein, the Audit Report packet Include: audit does not pass through report by report and audit;
The processing module, for being carried out according to the corresponding Audit Report of the current business task to the current business task Corresponding processing.
8. device according to claim 7, it is characterised in that:
The processing module, if being specifically used for the corresponding Audit Report of the current business task is the audit by reporting, Then retain the current business task in the cloud computing platform and the virtual machine platform;If the current business task pair The Audit Report answered is the audit not by report, then in the cloud computing platform and the virtual machine platform described in deletion Current business task.
9. a kind of server characterized by comprising
One or more processors;
Memory, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now according to any one of claims 1 to 4 based on the auditing method of virtual machine.
10. a kind of storage medium, is stored thereon with computer program, which is characterized in that the realization when program is executed by processor According to any one of claims 1 to 4 based on the auditing method of virtual machine.
CN201810978482.6A 2018-08-27 2018-08-27 Auditing method and device based on virtual machine, server and storage medium Active CN109213569B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810978482.6A CN109213569B (en) 2018-08-27 2018-08-27 Auditing method and device based on virtual machine, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810978482.6A CN109213569B (en) 2018-08-27 2018-08-27 Auditing method and device based on virtual machine, server and storage medium

Publications (2)

Publication Number Publication Date
CN109213569A true CN109213569A (en) 2019-01-15
CN109213569B CN109213569B (en) 2021-10-01

Family

ID=64989676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810978482.6A Active CN109213569B (en) 2018-08-27 2018-08-27 Auditing method and device based on virtual machine, server and storage medium

Country Status (1)

Country Link
CN (1) CN109213569B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113919799A (en) * 2021-09-09 2022-01-11 广州鲁邦通智能科技有限公司 Method and system for auditing controller cluster data by cloud management platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102983990A (en) * 2012-11-07 2013-03-20 曙光云计算技术有限公司 Method and device for management of virtual machine
CN103973481A (en) * 2014-04-21 2014-08-06 蓝盾信息安全技术股份有限公司 System and method for auditing cloud computing data center based on SDN
CN105988858A (en) * 2015-05-15 2016-10-05 中国银联股份有限公司 Virtual machine resource scheduling method, device and system
CN107357630A (en) * 2017-07-13 2017-11-17 郑州云海信息技术有限公司 A kind of method, apparatus and storage medium for realizing that virtual machine is synchronous

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102983990A (en) * 2012-11-07 2013-03-20 曙光云计算技术有限公司 Method and device for management of virtual machine
CN103973481A (en) * 2014-04-21 2014-08-06 蓝盾信息安全技术股份有限公司 System and method for auditing cloud computing data center based on SDN
CN105988858A (en) * 2015-05-15 2016-10-05 中国银联股份有限公司 Virtual machine resource scheduling method, device and system
CN107357630A (en) * 2017-07-13 2017-11-17 郑州云海信息技术有限公司 A kind of method, apparatus and storage medium for realizing that virtual machine is synchronous

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113919799A (en) * 2021-09-09 2022-01-11 广州鲁邦通智能科技有限公司 Method and system for auditing controller cluster data by cloud management platform
CN113919799B (en) * 2021-09-09 2022-04-22 广州鲁邦通智能科技有限公司 Method and system for auditing controller cluster data by cloud management platform

Also Published As

Publication number Publication date
CN109213569B (en) 2021-10-01

Similar Documents

Publication Publication Date Title
US11681785B2 (en) Detecting and tracking virtual containers
US11782818B2 (en) Providing debug information on production containers using debug containers
US11561869B2 (en) Optimized disaster-recovery-as-a-service system
CN108833131A (en) System, method, equipment and the computer storage medium of distributed data base cloud service
US9329908B2 (en) Proactive identification of hotspots in a cloud computing environment
US20140081615A1 (en) Virtual systems testing
US20130262250A1 (en) Allocation of Application Licenses within Cloud or Infrastructure
US20140173279A1 (en) Securely identifying host systems
CN109062699A (en) A kind of resource monitoring method, device, server and storage medium
WO2018224940A1 (en) Event relationship analysis in fault management
US20160241638A1 (en) Deploying a portion of a streaming application to one or more virtual machines according to hardware type
US20150149608A1 (en) Information technology resource management
US10248469B2 (en) Software based collection of performance metrics for allocation adjustment of virtual resources
US20160077881A1 (en) Managing a workload in an environment
CN109189555A (en) A kind of implementation method of Port Mirroring, device, server and storage medium
CN109683880A (en) Webpage exchange method, device, equipment and storage medium
CN109063012A (en) Storage, method, apparatus, equipment and the computer storage medium for inquiring time series data
US9729466B2 (en) Information technology resource management
CN109213569A (en) A kind of auditing method based on virtual machine, device, server and storage medium
CN110033242A (en) Working time determination method, device, equipment and medium
CN110427293A (en) Application processing method, device, equipment and medium
US10643228B2 (en) Standardizing customer and test data and information collection for run time and historical profiling environments and workload comparisons
US8489809B2 (en) Intelligent storage provisioning within a clustered computing environment
CN111245810B (en) Method, device, equipment and medium for realizing cloud host functional terminal
US20190073280A1 (en) Stopping central processing units for data collection based on event categories of events

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