Cloud auditing method, device and system, electronic equipment and medium

By adopting a distributed method in the cloud audit system, each cloud audit unit independently processes its resource pool data, collects data using message queues and interfaces, and combines object storage and cache middleware to solve the problem of existing cloud audit methods in multiple ways. The performance bottleneck problem in resource pool data processing improves the reliability and stability of the system, and realizes efficient data storage and real-time notification.

CN118945162AActive Publication Date: 2024-11-12CHINA MOBILE (SUZHOU) SOFTWARE TECH CO LTD +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410570763.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-09
Publication Date
2024-11-12
Estimated Expiration
2044-05-09

AI Technical Summary

Technical Problem

Existing cloud audit methods have performance bottlenecks when processing multi-resource pool data, resulting in the inability to meet the demands of throughput and processing speed, and low system reliability and stability.

Method used

Adopting a distributed cloud audit method, each cloud audit unit independently processes its corresponding resource pool data, collects operation event data through the resource operating system and sends it to the cloud audit subsystem for storage, uses message queues and interfaces to collect data, and combines the Object storage and caching middleware improves system performance and reliability.

Benefits of technology

It improves the performance and throughput of cloud audit systems during multi-resource pool data processing, enhances the reliability and stability of the system, and realizes efficient data storage and real-time notification functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118945162A_ABST
    Figure CN118945162A_ABST
Patent Text Reader

Abstract

The invention provides a cloud auditing method, device and system, electronic equipment and a medium, and relates to the technical field of cloud auditing, and the method comprises the steps: collecting operation event data in a resource pool corresponding to a cloud auditing unit through a resource operation system of the cloud auditing unit, and transmitting the operation event data to a cloud auditing subsystem of the cloud auditing unit; the cloud auditing subsystem stores the operation event data to the database of the cloud auditing unit, and the distributed cloud auditing method is realized by processing the data of the resource pool corresponding to each cloud auditing unit by using each cloud auditing unit in the cloud auditing system. The performance of the cloud auditing system is improved when the data of the plurality of resource pools needs to be processed at the same time, namely the processing speed and throughput of the cloud auditing system are improved. Meanwhile, each cloud auditing unit can work independently, so that the reliability and the stability of the cloud auditing system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of cloud audit technology, and in particular to a cloud audit method, device, system, electronic device and medium. Background Art

[0002] As information systems are gradually becoming cloud-based, cloud auditing is a core and essential component of information security auditing. The cloud auditing system is a professional auditing service in the mobile cloud security solution, providing the collection, storage and query functions of various cloud resource operation records, which can be used to support common application scenarios such as security analysis, compliance auditing, resource tracking and problem location.

[0003] At present, most cloud audit methods in related technologies are centralized cloud audit methods, that is, the resource management system of each resource pool uniformly reports the resource operation requests and result records of the user's cloud service to the cloud audit middle platform of the cloud audit system for centralized processing and storage. However, this centralized cloud audit method has obvious performance bottlenecks, especially under the pressure of dealing with multiple resource pools. When the data of multiple resource pools need to be processed at the same time, the centralized cloud audit method processes multiple resource pools uniformly through the cloud audit middle platform in the cloud audit system, which may cause the performance of the cloud audit system in the centralized cloud audit method to decline due to excessive load. For example, performance such as throughput and processing speed often cannot meet the requirements. Summary of the invention

[0004] The present disclosure provides a cloud audit method, device, system, electronic device and medium to solve the problems in the related art. By using each cloud audit unit in the cloud audit system to process the data of the resource pool corresponding to each cloud audit unit, a distributed cloud audit method is realized, and the performance of the cloud audit system is improved when the data of multiple resource pools need to be processed at the same time, that is, the processing speed and throughput of the cloud audit system are improved. At the same time, since each cloud audit unit can work independently, the reliability and stability of the cloud audit system are also improved.

[0005] A first aspect embodiment of the present disclosure proposes a cloud audit method, which is applied to a cloud audit unit in a cloud audit system. The method includes: collecting operation event data in a resource pool corresponding to the cloud audit unit through a resource operating system of the cloud audit unit, and sending the operation event data to a cloud audit subsystem of the cloud audit unit; the cloud audit subsystem stores the operation event data in a database of the cloud audit unit.

[0006] In some embodiments of the present disclosure, the cloud audit subsystem stores the operation event data in the database of the cloud audit unit, including: if the cloud audit subsystem determines that the status of the tracker in the cache middleware of the cloud audit unit is on, then storing the operation event data in the database.

[0007] In some embodiments of the present disclosure, collecting operation event data in the resource pool corresponding to the cloud audit unit through the resource operating system of the cloud audit unit includes: the resource operating system collects operation event data in the resource pool corresponding to the cloud audit unit using a message queue method and / or an interface method.

[0008] In some embodiments of the present disclosure, the cloud audit subsystem stores the operation event data in the database of the cloud audit unit. Thereafter, the method includes: when the resource operating system collects the operation event data by means of an interface, if the cloud audit subsystem is configured with an object storage function, the cloud audit subsystem sends the dump task corresponding to the object storage function to the distributed coordination server of the cloud audit unit, and stores the dump task in the database; if the cloud audit subsystem detects that the distributed coordination server creates a child node corresponding to the dump task, the operation event data is stored in the object storage of the cloud audit unit.

[0009] In some embodiments of the present disclosure, if the cloud audit subsystem detects that the distributed coordination server creates a child node corresponding to a dump task, the operation event data is stored in the object storage of the cloud audit unit, including: if the cloud audit subsystem determines that the state of the tracker in the cache middleware of the cloud audit unit is on, the cloud audit subsystem obtains the dump key corresponding to the dump task from the object storage control system of the cloud audit unit; if the cloud audit subsystem detects that the distributed coordination server creates a child node corresponding to the dump task, the cloud audit subsystem uses the dump key to dump the operation event data to the object storage.

[0010] In some embodiments of the present disclosure, if the cloud audit subsystem determines that the status of the tracker in the cache middleware of the cloud audit unit is on, the cloud audit subsystem obtains the dump key corresponding to the dump task from the object storage control system of the cloud audit unit, including: if the dump key is abnormal, the cloud audit subsystem obtains the normal dump key in the object storage control system and updates the dump key to a normal dump key.

[0011] In some embodiments of the present disclosure, if the cloud audit subsystem detects that the distributed coordination server creates a child node corresponding to a dump task, the cloud audit subsystem uses the dump key to dump the operation event data to the object storage, and then the method includes: the cloud audit subsystem deletes the dump task stored in the database.

[0012] In some embodiments of the present disclosure, the resource operating system collects operation event data in the resource pool corresponding to the cloud audit unit, and sends the operation event data to the cloud audit subsystem. Thereafter, the method includes: the cloud audit subsystem sends the operation event data to the message notification unit of the cloud audit unit; the message notification unit determines the event level corresponding to the operation event data and the notification method corresponding to the event level, and uses the notification method to send the event level corresponding to the operation event data to the user end.

[0013] A second aspect of the present disclosure provides a cloud auditing device, the device comprising:

[0014] A collection unit, used to collect operation event data in a resource pool corresponding to the cloud audit unit through the resource operation system of the cloud audit unit, and send the operation event data to the cloud audit subsystem of the cloud audit unit;

[0015] The storage unit is used for the cloud audit subsystem of the cloud audit unit to store the operation event data in the database.

[0016] The third aspect of the present disclosure provides a cloud audit system, which includes:

[0017] At least one cloud audit unit;

[0018] Any of the at least one cloud audit unit includes a resource operating system, a cloud audit subsystem, and a database;

[0019] The resource operating system is connected to the cloud audit subsystem. The resource operating system is used to collect operation event data in the resource pool corresponding to the cloud audit unit and send the operation event data to the cloud audit subsystem;

[0020] The cloud audit subsystem is connected to the database, and the cloud audit subsystem is used to store operation event data in the database.

[0021] The fourth aspect embodiment of the present disclosure proposes an electronic device, comprising: a processor and a memory for storing a computer program that can be run on the processor, wherein the processor, when used to run the computer program, executes the method described in the first aspect embodiment of the present disclosure.

[0022] The fifth aspect embodiment of the present disclosure proposes a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute the method described in the first aspect embodiment of the present disclosure.

[0023] The sixth aspect embodiment of the present disclosure proposes a computer program product, including a computer program, which implements the method described in the first aspect embodiment of the present disclosure when executed by a processor.

[0024] In summary, according to the cloud audit method proposed in the present disclosure, the operation event data in the resource pool corresponding to the cloud audit unit is collected through the resource operation system of the cloud audit unit, and the operation event data is sent to the cloud audit subsystem of the cloud audit unit; the cloud audit subsystem stores the operation event data in the database of the cloud audit unit, and by using each cloud audit unit in the cloud audit system to store the data of the resource pool corresponding to each cloud audit unit, a distributed cloud audit method is implemented to improve the performance of the cloud audit system when the data of multiple resource pools need to be processed at the same time, that is, to improve the processing speed and throughput of the cloud audit system. At the same time, since each cloud audit unit can work independently, the reliability and stability of the cloud audit system are also improved.

[0025] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0027] Figure 1 A schematic diagram of a cloud audit system in a related technology provided by an embodiment of the present disclosure;

[0028] Figure 2 A flowchart of a cloud audit method provided in an embodiment of the present disclosure;

[0029] Figure 3 A flowchart of a cloud audit method provided in an embodiment of the present disclosure;

[0030] Figure 4 A flowchart of a cloud audit method provided in an embodiment of the present disclosure;

[0031] Figure 5 A schematic diagram of a resource operating system provided by an embodiment of the present disclosure that collects operation event data through a message queue;

[0032] Figure 6 A schematic diagram of a resource operating system provided by an embodiment of the present disclosure that collects operation event data through an interface;

[0033] Figure 7 A flowchart of a cloud audit method provided in an embodiment of the present disclosure;

[0034] Figure 8 A flowchart of a cloud audit method provided in an embodiment of the present disclosure;

[0035] Fig. 9A schematic diagram of a method of performing notification according to an event level of operation event data provided by an embodiment of the present disclosure;

[0036] Fig.10 A schematic diagram of a cloud audit system provided in an embodiment of the present disclosure;

[0037] Fig.11 A schematic diagram of a specific cloud audit method provided by an embodiment of the present disclosure;

[0038] Fig.12 A timing diagram of a specific cloud audit method provided by an embodiment of the present disclosure;

[0039] Fig.13 A schematic diagram of the logical architecture of a specific cloud audit system provided in an embodiment of the present disclosure;

[0040] Fig.14 A schematic diagram of the relationship between a cloud audit subsystem, an object storage control system, and a persistence layer provided in an embodiment of the present disclosure;

[0041] Fig.15 A schematic diagram of the structure of a cloud auditing device provided in an embodiment of the present disclosure;

[0042] Fig.16 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0043] The embodiments of the present disclosure are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions.

[0044] As information systems are gradually becoming cloud-based, cloud auditing is a core and essential component of information security auditing. The cloud auditing system is a professional auditing service in the mobile cloud security solution. It provides the collection, storage and query functions for various cloud resource operation records, and can be used to support common application scenarios such as security analysis, compliance auditing, resource tracking and problem location. As a mobile cloud product, it is launched to serve customers' resources on the mobile cloud.

[0045] like Figure 1 A schematic diagram of a cloud audit system in a related art is shown. At present, most cloud audit methods in related arts are centralized cloud audit methods. Figure 1, the resource management systems of resource pool 1, resource pool 2, and resource pool 3 uniformly report the resource operation requests and result records of the user cloud service to the cloud audit middle platform (audit system) for centralized processing and storage (for example, storing the data in the form of files in object storage, and sending the data to the log system for analysis). However, this centralized cloud audit method has obvious performance bottlenecks, especially under the pressure of dealing with multiple resource pools. When the data of multiple resource pools need to be processed at the same time, the centralized cloud audit method processes multiple resource pools uniformly through the cloud audit middle platform in the cloud audit system, which may cause the performance of the cloud audit system in the centralized cloud audit method to be challenged due to excessive load, and the throughput and processing speed often cannot meet the requirements.

[0046] At the same time, the data collection form of the cloud audit method in the related technology is generally in the form of an interface or file. Although the method of reporting event operation data in the form of an interface is real-time, it is limited by the processing power, concurrency and throughput of the cloud audit system, resulting in limited concurrent processing capabilities of the cloud audit system. If the flow limiting and downgrading are not processed, the cloud audit system may crash in high-concurrency scenarios; the method of reporting event operation data in the form of a file, although it improves the throughput of the cloud audit system compared to the interface form, lacks certain real-time performance, and has low security and poor reliability. In addition, the data collection method of the cloud audit system in the related technology is single, and it is impossible to provide an appropriate data collection form in multiple scenarios such as internal and external systems. In addition, if the user of the cloud audit system in the related technology sets the dump to object storage, the data collection interface processing process is lengthy, and the interface processing logic needs to be optimized to reduce system performance.

[0047] In addition, the cloud audit system in the related technology lacks an active warning mechanism. When a significant change occurs in user resources, the corresponding user will not be notified actively, resulting in low security.

[0048] In order to solve the problems in related technologies, the cloud audit method proposed in the present disclosure can efficiently and reliably perform the data storage process of cloud audit, and can be specifically applied to the financial industry, retail industry and other fields, which are not limited in the embodiments of the present disclosure.

[0049] The cloud audit method provided by this application is described in detail below with reference to the accompanying drawings.

[0050] Figure 2 A flowchart of a cloud audit method provided by an embodiment of the present disclosure. Figure 2 As shown, the method is applied to any cloud audit unit in the cloud audit system, and the cloud audit method includes steps 101-102.

[0051] Step 101, collect operation event data in the resource pool corresponding to the cloud audit unit through the resource operation system of the cloud audit unit, and send the operation event data to the cloud audit subsystem of the cloud audit unit.

[0052] In an embodiment of the present disclosure, each cloud audit unit corresponds to a resource pool, and the resource operating system in each cloud audit unit processes the resource pool corresponding to the current cloud audit unit.

[0053] The resource operating system can collect the operation event data in the resource pool corresponding to the cloud audit unit in two ways, wherein the two ways are message queue mode and interface mode. Among them, the operation event data is the operation event data in a predefined format.

[0054] Step 102: The cloud audit subsystem stores the operation event data in the database of the cloud audit unit.

[0055] In an embodiment of the present disclosure, after receiving the operation event data sent by the resource operating system, the cloud audit subsystem of the cloud audit unit may store the operation event data in a database in the cloud audit unit for subsequent query and analysis.

[0056] In summary, according to the cloud audit method proposed in the present disclosure, the operation event data in the resource pool corresponding to the cloud audit unit is collected through the resource operation system of the cloud audit unit, and the operation event data is sent to the cloud audit subsystem of the cloud audit unit; the cloud audit subsystem stores the operation event data in the database of the cloud audit unit, and by using each cloud audit unit in the cloud audit system to store the data of the resource pool corresponding to each cloud audit unit, a distributed cloud audit method is implemented to improve the performance of the cloud audit system when the data of multiple resource pools need to be processed at the same time, that is, to improve the processing speed and throughput of the cloud audit system. At the same time, since each cloud audit unit can work independently, the reliability and stability of the cloud audit system are also improved.

[0057] As a possible implementation, Figure 3 The flowchart of a cloud audit method shown in the figure, based on the above embodiment, the specific process of the cloud audit subsystem storing operation event data into the database includes the following steps:

[0058] Step 201: If the cloud audit subsystem determines that the state of the tracker in the cache middleware of the cloud audit unit is turned on, the operation event data is stored in the database.

[0059] In an embodiment of the present disclosure, the cache middleware of the cloud audit unit may be Redis, which is used to store and quickly retrieve the tracker status. The tracker status determines whether to store the operation event data in the database.

[0060] The cloud audit subsystem can determine the status of the tracker from the cache middleware. A tracker is usually a flag or configuration item that indicates whether the current operation event data should be recorded.

[0061] If the cloud audit subsystem determines that the tracker is set to the on state, it means that the user wants to record the current operation event data. At this time, the cloud audit subsystem can store the operation event data in the database.

[0062] In summary, the present disclosure achieves flexible management and control of operation event data by dynamically deciding whether to store operation event data based on the state of the tracker in the cache middleware (such as Redis).

[0063] As a possible implementation, Figure 4 The flowchart of a cloud audit method shown in the figure, based on the above embodiment, the specific process of the resource operating system collecting operation event data in the resource pool corresponding to the cloud audit unit includes the following steps:

[0064] Step 301: The resource operating system collects operation event data in the resource pool corresponding to the cloud audit unit using a message queue method and / or an interface method.

[0065] In an embodiment of the present disclosure, the resource operating system can collect operation event data of the internal system and the external system in the resource pool through a message queue method and / or an interface method. The internal system in the resource pool can report the operation event data through a message queue method, and the external system in the resource pool can report the operation event data through an interface method.

[0066] In an optional embodiment of the present disclosure, the operation event data may be reported in a predefined format, that is, a general format defined by cloud auditing, such as an operation event data table in a predefined format shown in Table 1.

[0067]

[0068] Table 1 [Operation event data table in predefined format]

[0069] Among them, referring to Table 1, the meaning and content of each field are as follows:

[0070] Operation subject resource ID: The resource ID of the operation subject's cloud resources, such as virtual machines and cloud hard disks.

[0071] Operation subject resource name: the resource name of the operation subject cloud resource, such as virtual machine, cloud hard disk, etc.

[0072] Operation subject resource type: resource type and product code of the operation subject cloud resource, such as virtual machine, cloud hard disk, etc.

[0073] Operation object resource ID: The resource ID of the cloud resource associated with the operation behavior.

[0074] Operation object resource name: the resource name of the cloud resource associated with the operation behavior.

[0075] Object resource type: The resource type of the cloud resource associated with the operation behavior.

[0076] Operation name: the name of the resource operation behavior.

[0077] Source IP: The source IP address that initiates the operation.

[0078] Operation time: the time when the resource is operated.

[0079] Operation result: the result of the operation. For example, the result of creating a security group is success.

[0080] User ID: The user's id.

[0081] Customer ID: The customer's id.

[0082] Resource Pool: The resource pool to which the resource belongs.

[0083] Event source: The source of the operation event. For example, ConsoleAction indicates an operation performed through the public cloud management console. SystemAction indicates an operation triggered within the public cloud system. ApiCall indicates an operation triggered by calling an API interface.

[0084] Operation event level: The event level of the operation event is divided into normal, warning and incident. Search and set whether to send an alarm message to notify the user contact according to different event levels.

[0085] Operation account name: the name of the cloud management platform operation account.

[0086] Request ID when the event occurs: The request ID when the event is triggered, used for subsequent tracing.

[0087] Among them, for the definition of resource operation events, the operation events supported by the cloud audit system are fixed. This information is stored in the dictionary table. It is necessary to agree with the resource data reporting party on the corresponding OPERATION (unique identifier), RESOURCE (related resource type) and DESCRIPTION (description), and store the new operation event data in the data table of the database. The operation event dictionary shown in Figure 2 only takes some operations as an example:

[0088] OPERATION RESOURCE DESCRIPTION createServer ecs Create a cloud host deleteServer ecs Deleting a cloud host startServer ecs Start the cloud host stopServer ecs Shut down the cloud host restartServer ecs Restart the cloud host ECSRename ecs Cloud host rename vncLogin ecs VNC Login ResetPassword ecs Change password of cloud host ECSRebuild ecs Reinstall the cloud host createImage ecs Cloud host image creation ModifySystemDisk ecs System disk changes

[0089] Table 2 [Operation event dictionary]

[0090] In an optional embodiment of the present disclosure, Figure 5 The schematic diagram of a resource operating system collecting operation event data through a message queue is shown. Figure 5 , the cloud audit unit of resource pool A, resource pool B and resource pool C (cloud resource operation platform system, i.e. Figure 5 The resource operation layer system in the resource pool can report the operation event data to the message queue rocketMQ in a predefined data format. The cloud audit subsystem of each resource pool can subscribe to the consumption message and distinguish the event messages of each resource pool according to the tag. The topic name specified for the delivery message and the consumption message is fixed. The tag is different for each resource pool, and the tag value is set to the resource pool code. For example, the cloud audit subsystem of resource pool A consumes messages with the tag PoolA, and the cloud audit subsystem of resource pool B consumes messages with the tag PoolB.

[0091] The resource operating system collects data through message queues to solve the problem of interface concurrency limitation in related technologies, improve the throughput and concurrency of the cloud audit system, and achieve peak shaving during peak hours. At the same time, it reduces the coupling between other systems and the cloud audit system and weakens the strong dependency. It improves the efficiency of other systems accessing cloud audits. They only need to connect to a set of message queues, without paying attention to audit deployment nodes and request URLs. In addition, the real-time nature of data can be guaranteed to a certain extent. Enable cluster mode to adapt to the non-duplicate consumption of messages in a distributed environment and improve collection efficiency.

[0092] In an optional embodiment of the present disclosure, Figure 6 The figure shows a schematic diagram of a resource operating system collecting operation event data through an interface. Figure 6 The resource operation layer systems of resource pool A, resource pool B, and resource pool C can first send the operation event data to the central gateway, and then the central gateway sends the operation event data to the cloud audit subsystems of resource pool A, resource pool B, and resource pool C through the local gateway corresponding to each resource pool.

[0093] In summary, the present disclosure adds a message queue collection method to the internal system in terms of collecting operation event data from different resource pools, which solves the limitation of the original interface concurrency, improves the throughput concurrency of the system, and can achieve peak shaving during peak hours. At the same time, the cluster mode is enabled to adapt to the non-repetitive consumption of messages in a distributed environment and improve the collection efficiency. The coupling between the resource system and the cloud audit system is reduced, and the strong dependency is weakened. It also reduces the docking cost. The resource system does not need to pay attention to a lot of interface information, but only needs to access according to the standard of the unified message queue.

[0094] As a possible implementation, Figure 7 The flowchart of a cloud audit method shown in the figure is based on the above embodiment. The cloud audit subsystem stores the operation event data in the database. The specific process thereafter includes the following steps:

[0095] Step 401, when the resource operating system collects operation event data using an interface, if the cloud audit subsystem is configured with an object storage function, the cloud audit subsystem sends the dump task corresponding to the object storage function to the distributed coordination server of the cloud audit unit, and stores the dump task in the database.

[0096] In an embodiment of the present disclosure, when the resource operating system collects operation event data in an interface manner, the cloud audit system saves the operation event data to the database, and the cloud audit subsystem checks whether the object storage function is configured, that is, the function of dumping the operation event data to the object storage. Object storage is generally used to store large amounts of data for a long time and provide high availability and scalability. Among them, during the dumping process, the cloud audit system can specifically save the database table of the value database when saving the operation event data to the data, such as a dump table.

[0097] If the cloud audit subsystem is configured with object storage function, the cloud audit subsystem can create a dump task and save the dump task to the database. At the same time, the distributed coordination server (ZooKeeper) of the cloud audit unit can create a child node (new znode) according to the dump task created by the cloud audit subsystem.

[0098] Step 402: If the cloud audit subsystem detects that the distributed coordination server creates a child node corresponding to the dump task, the operation event data is stored in the object storage of the cloud audit unit.

[0099] In an embodiment of the present disclosure, the cloud audit subsystem can continuously monitor changes in nodes on the distributed coordination server. When the cloud audit subsystem detects that the distributed coordination server creates a child node corresponding to a dump task, the cloud audit subsystem will asynchronously trigger the dump operation corresponding to the dump task, that is, store the operation event data to the object storage. Among them, asynchronous processing means that the dump operation will not block other functions of the cloud audit system, thereby ensuring the high availability of the cloud audit system.

[0100] Among them, when storing the operation event data in the object storage, the present disclosure needs to obtain the dump key first. That is, if the cloud audit subsystem determines that the state of the tracker in the cache middleware of the cloud audit unit is turned on, the cloud audit subsystem obtains the dump key corresponding to the dump task from the object storage control system of the cloud audit unit; if the cloud audit subsystem detects that the distributed coordination server creates a child node corresponding to the dump task, the cloud audit subsystem uses the dump key to dump the operation event data to the object storage.

[0101] In an optional embodiment of the present disclosure, the cloud audit subsystem can obtain the status of the tracker from the cache middleware of the cloud audit unit, and the dump key (AKSK) stored in the object storage control system of the cloud audit unit. The dump key (AKSK) is the authentication credential of the object storage and is used to authorize access.

[0102] The cloud audit subsystem can use the obtained dump key to dump the operation event data to the object storage of the configured cloud audit unit. The dump process may involve operations such as data encryption, compression, and uploading.

[0103] It should be noted that before using the dump key to store the operation event data in the object storage, the present disclosure needs to verify the dump key first to ensure that the dump key is normal and does not have any abnormal conditions such as expiration or invalidation. If the dump key is abnormal, the cloud audit subsystem obtains the normal dump key in the object storage control system and updates the dump key to the normal dump key. Among them, the normal dump key is the latest dump key in the current object storage control system. The dump key can also be stored in the cache middleware. When the dump key is abnormal, the object storage control system can send the latest dump key to the cache middleware so that the cache middleware updates the dump key it stores.

[0104] At the same time, in an embodiment of the present disclosure, if the cloud audit subsystem detects that the distributed coordination server creates a child node corresponding to a dump task, the cloud audit subsystem uses the dump key to dump the operation event data to the object storage. Afterwards, the present disclosure also includes: the cloud audit subsystem deletes the dump task stored in the database.

[0105] In other words, once the dump operation is successfully completed and the operation event data is confirmed to be safely stored in the object storage, the cloud audit subsystem will delete the corresponding dump task record from the database. This helps to free up database resources and avoid repeated processing of completed tasks. The cloud audit subsystem can delete the dump tasks stored in the database at a preset cycle. For example, it can delete the dump tasks stored in the database seven days ago at a cycle of 7 days.

[0106] In summary, the cloud audit method disclosed in the present invention fully utilizes the caching function of the cache middleware, the data persistence capability of the database, the distributed coordination mechanism of the distributed coordination server, and the scalability and high availability of object storage during the dump process to ensure the integrity of operation event data and the stability of the cloud audit system, thereby improving system performance and efficiency.

[0107] As a possible implementation, Figure 8 The flowchart of a cloud audit method shown in FIG. 1 is based on the above embodiment. The resource operation system collects operation event data in the resource pool corresponding to the cloud audit unit and sends the operation event data to the cloud audit subsystem. The specific process thereafter includes the following steps:

[0108] Step 501: The cloud audit subsystem sends the operation event data to the message notification unit of the cloud audit unit.

[0109] In an embodiment of the present disclosure, the cloud audit subsystem may be connected to a message notification unit, and the message notification unit may determine the event type of the operation event data and the notification method corresponding to the event type to send the event type to the user end.

[0110] Step 502: The message notification unit determines the event level corresponding to the operation event data and the notification method corresponding to the event level, and sends the event level corresponding to the operation event data to the user terminal by using the notification method.

[0111] In the embodiments of the present disclosure, the event levels corresponding to different operation event data are pre-marked, and the user terminal can mark the event levels of different operation event data. The event levels in the present disclosure can be divided into three levels: normal, warning, and incident. Fig. 9 A schematic diagram of notification based on the event level of operation event data is shown. The user end can set the corresponding notifier information including mobile phone and email in the message notification management in the message notification system, and can also set the operation event level, product type, resource type, etc. to be notified. The message notification system can make real-time notifications for high-risk operations, sensitive operations, and unauthorized operations according to the settings of the user end.

[0112] In summary, the present disclosure adds hierarchical tags to the operation event data and adds a message notification system. Users can set notification policies and notifier information, so as to realize timely notification of information to the user end according to the event level of the operation event data, thereby improving the security of the cloud audit system.

[0113] based on Figures 1 to 9 In the embodiment shown, the present disclosure provides a schematic diagram of a cloud audit system, such as Fig.10The cloud audit system in the present disclosure includes:

[0114] At least one cloud audit unit;

[0115] Any cloud audit unit of at least one cloud audit unit includes a resource operating system, a cloud audit subsystem, and a database;

[0116] The resource operating system is connected to the cloud audit subsystem. The resource operating system is used to collect operation event data in the resource pool corresponding to the cloud audit unit and send the operation event data to the cloud audit subsystem;

[0117] The cloud audit subsystem is connected to the database, and the cloud audit subsystem is used to store operation event data in the database.

[0118] In an embodiment of the present disclosure, the cloud audit unit also includes: a cache middleware, a cloud audit subsystem connected to the cache middleware, and the cloud audit subsystem is used to determine the status of the tracker in the cache middleware. If the cloud audit subsystem determines that the status of the tracker in the cache middleware is on, the operation event data is stored in the database.

[0119] In an embodiment of the present disclosure, the resource operating system collects operation event data in the resource pool corresponding to the cloud audit unit using a message queue method and / or an interface method.

[0120] In an embodiment of the present disclosure, the cloud audit unit also includes: a distributed coordination server and object storage. The distributed coordination server is connected to the cloud audit subsystem. If the cloud audit subsystem is configured with an object storage function, the cloud audit subsystem sends the dump task corresponding to the object storage function to the distributed coordination server and stores the dump task in the database; the object storage is connected to the cloud audit subsystem. If the cloud audit subsystem detects that the distributed coordination server creates a child node corresponding to the dump task, the operation event data is stored in the object storage.

[0121] In an embodiment of the present disclosure, the cloud audit unit also includes: an object storage control system, and the cloud audit subsystem is connected to the object storage control system. If the cloud audit subsystem determines that the status of the tracker in the cache middleware is on, the cloud audit subsystem obtains the dump key corresponding to the dump task from the object storage control system; if the cloud audit subsystem detects that the distributed coordination server creates a child node corresponding to the dump task, the cloud audit subsystem uses the dump key to dump the operation event data to the object storage.

[0122] In an embodiment of the present disclosure, if the dump key is abnormal, the cloud audit subsystem obtains a normal dump key in the object storage control system and updates the dump key to a normal dump key.

[0123] In an embodiment of the present disclosure, if the cloud audit subsystem detects that the distributed coordination server creates a child node corresponding to a dump task, the cloud audit subsystem uses the dump key to dump the operation event data to the object storage, and then the cloud audit subsystem deletes the dump task stored in the database.

[0124] In an embodiment of the present disclosure, the cloud audit unit includes a message notification unit, the cloud audit subsystem is connected to the message notification unit, the cloud audit subsystem sends the operation event data to the message notification unit, the message notification unit determines the event level corresponding to the operation event data and the notification method corresponding to the event level, and uses the notification method to send the event level corresponding to the operation event data to the user end.

[0125] In summary, the cloud audit system disclosed in the present invention adopts a distributed system architecture, dividing the entire cloud audit system into multiple cloud audit units corresponding to multiple resource pools, and each cloud audit unit processes the operation event data in its corresponding resource pool respectively. At the same time, the data collection method of each cloud audit unit in the cloud audit system adopts a combination of message queues and interfaces to cope with the different needs of internal and external systems. Among them, when the resource operating system uses the interface to collect operation event data, an asynchronous thread can be used to realize the dumping of resource operation data to object storage. At the same time, each cloud audit unit of the cloud audit system can determine the event level of the operation event data, and use the notification method corresponding to the event level to send the event level corresponding to the operation event data to the user end, which can flexibly notify and alert events in a timely manner based on dimensions such as service type, resource type, and event level, thereby improving the security of the cloud audit system.

[0126] based on Figures 1 to 10 The embodiment shown, as Fig.11 The present disclosure provides a schematic diagram of a specific cloud audit method, and Fig.12 The present disclosure provides a timing diagram of a specific cloud audit method.

[0127] In the embodiments of the present disclosure, referring to Fig.11Due to the particularity of the business, the interface adopts an asynchronous thread design. In order to improve the performance of the cloud audit system, the main thread of the interface gives priority to returning the successful response information, and the asynchronous thread handles the subsequent business logic. The asynchronous thread stores the operation event data in the database of the cloud audit unit in the cloud audit system. The cloud audit subsystem in the cloud audit unit determines whether to dump to the object storage according to the user's settings. If the user sets the dump to the object storage, the cloud audit subsystem stores the operation event data in a dedicated database table and adds a corresponding child node (znode) on the distributed coordination server (zookeeper). The process of reporting the operation event data is completed. The cloud audit subsystem will monitor the corresponding child node on zookeeper. When it is found that the child node changes, it will trigger the corresponding logic processing to encrypt the data in the dedicated database table and dump it to the object storage. The original interface processing process of the collected data is lengthy, and many judgment tests are performed, including checking whether to open the dump, and then dumping to the object storage, and maintaining high coupling with the object storage. The distributed notification coordination capability of zookeeper is used to reduce the main process of the collection. Improved performance. And it can realize real-time processing of data changes. Asynchronous thread processing dump operations improves system efficiency.

[0128] Reference Fig.12 When the operation event data is reported to the cloud audit system, the status of the tracker is obtained from the cache middleware. If the tracker is set to the on state, that is, the user has set the operation event data to be recorded, the operation event log is saved to the database. The cloud audit subsystem can check whether the dump to the object storage is enabled. If it is already set to be enabled, the dump task is sent to the distributed coordination server and the dump task is stored in the database. The distributed coordination server (zookeeper) creates a child node (znode) based on the dump task. When the cloud audit subsystem monitors the change of the zookeeper znode, the dump operation is triggered asynchronously. During the dump process, the cloud audit subsystem obtains the status of the tracker and the dump key (AKSK) of the object storage from the cache middleware (redis). When the tracker is in the on state and the dump key is normal, the operation event data is dumped to the object storage using the dump key. If the dump key verification fails, the latest object storage dump key can be obtained from the object storage control system, and the cache middleware is updated. The dump operation is re-executed to store the operation event data in the object storage. After storing the operation event data in the object storage, the cloud audit system can delete the dump task in the database.

[0129] based on Figures 1 to 12 The embodiment shown, as Fig.13 The present disclosure provides a specific logical architecture diagram of a cloud audit system, as well as Fig.14The present disclosure provides a schematic diagram of the relationship between a cloud audit subsystem, an object storage control system, and a persistence layer.

[0130] In the embodiments of the present disclosure, referring to Fig.13 The cloud audit system in this disclosure is divided into four layers, namely persistence layer, data layer, middle layer, application layer and presentation layer. The specific contents of each layer are as follows:

[0131] The persistence layer is mainly composed of MySQL database, Redis cache middleware, and object storage. The database persists the console operation events generated by the platform in a master-slave mode. The Redis cache middleware mainly stores trackers, basic operation events, and other platform data with high throughput requirements generated during the operation of the platform. Object storage mainly stores user operation log events, including three categories: computing, storage, and network.

[0132] The data layer is mainly responsible for data operations, cache processing, data backup, transactions, etc.

[0133] The business capability layer mainly includes the basic functions required for cloud auditing, including log event management, tracker management, dump log processing, etc.

[0134] The application layer provides external API capabilities and restful interface capabilities.

[0135] The presentation layer is mainly responsible for front-end page rendering, client app rendering, etc.

[0136] Corresponding to the methods provided in the above-mentioned embodiments, the present disclosure also provides a cloud audit device. Since the device provided in the embodiments of the present disclosure corresponds to the methods provided in the above-mentioned embodiments, the implementation method of the method is also applicable to the device provided in this embodiment and will not be described in detail in this embodiment.

[0137] Fig.15 Schematic diagram of the structure of a cloud audit device 1500 provided in an embodiment of the present disclosure. Fig.15 As shown, the cloud auditing device includes:

[0138] The collection unit 1510 is used to collect operation event data in the resource pool corresponding to the cloud audit unit through the resource operation system of the cloud audit unit, and send the operation event data to the cloud audit subsystem of the cloud audit unit;

[0139] Storage unit 1520 is used by the cloud audit subsystem to store operation event data in the database of the cloud audit unit.

[0140] In some embodiments of the present disclosure, the storage unit 1520 is used to: if the cloud audit subsystem determines that the state of the tracker in the cache middleware of the cloud audit unit is turned on, store the operation event data in the database.

[0141] In some embodiments of the present disclosure, the collection unit 1510 is used for: the resource operating system collects operation event data in the resource pool corresponding to the cloud audit unit by using a message queue method and / or an interface method.

[0142] In some embodiments of the present disclosure, the device 1500 also includes: a dump unit, which is used to store the operation event data in the database in the cloud audit subsystem. Thereafter, when the resource operating system collects the operation event data by using the interface, if the cloud audit subsystem is configured with an object storage function, the cloud audit subsystem sends the dump task corresponding to the object storage function to the distributed coordination server of the cloud audit unit, and stores the dump task in the database; if the cloud audit subsystem detects that the distributed coordination server creates a child node corresponding to the dump task, the operation event data is stored in the object storage of the cloud audit unit.

[0143] In some embodiments of the present disclosure, the dump unit is used for: if the cloud audit subsystem determines that the state of the tracker in the cache middleware of the cloud audit unit is on, the cloud audit subsystem obtains the dump key corresponding to the dump task from the object storage control system of the cloud audit unit; if the cloud audit subsystem detects that the distributed coordination server creates a child node corresponding to the dump task, the cloud audit subsystem uses the dump key to dump the operation event data to the object storage.

[0144] In some embodiments of the present disclosure, the dump unit is used to: if the dump key is abnormal, the cloud audit subsystem obtains a normal dump key in the object storage control system and updates the dump key to a normal dump key.

[0145] In some embodiments of the present disclosure, the dump unit is used to: if the cloud audit subsystem detects that the distributed coordination server creates a child node corresponding to a dump task, the cloud audit subsystem uses the dump key to dump the operation event data to the object storage, and then the cloud audit subsystem deletes the dump task stored in the database.

[0146] In some embodiments of the present disclosure, device 1500 also includes: a notification unit, which is used to collect operation event data in the resource pool corresponding to the cloud audit unit in the resource operating system, and send the operation event data to the cloud audit subsystem, after which the cloud audit subsystem sends the operation event data to the message notification unit of the cloud audit unit; the message notification unit determines the event level corresponding to the operation event data and the notification method corresponding to the event level, and uses the notification method to send the event level corresponding to the operation event data to the user end.

[0147] In summary, through the cloud audit device, the resource operation system of the cloud audit unit collects the operation event data in the resource pool corresponding to the cloud audit unit, and sends the operation event data to the cloud audit subsystem of the cloud audit unit; the cloud audit subsystem stores the operation event data in the database of the cloud audit unit, and by using each cloud audit unit in the cloud audit system to process the data of the resource pool corresponding to each cloud audit unit, a distributed cloud audit method is implemented to improve the performance of the cloud audit system when the data of multiple resource pools need to be processed at the same time, that is, to improve the processing speed and throughput of the cloud audit system. At the same time, since each cloud audit unit can work independently, the reliability and stability of the cloud audit system are also improved.

[0148] In the embodiments provided in the present application, the methods and devices provided in the embodiments of the present application are introduced. In order to implement the functions in the methods provided in the embodiments of the present application, the electronic device may include a hardware structure and a software module, and implement the functions in the form of a hardware structure, a software module, or a hardware structure plus a software module. A function of the functions may be executed in the form of a hardware structure, a software module, or a hardware structure plus a software module.

[0149] Fig.16 1 is a block diagram of an electronic device 1600 for implementing the above-mentioned cloud audit method according to an exemplary embodiment. For example, the electronic device 1600 may be a mobile phone, a computer, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0150] Reference Fig.16 The electronic device 1600 may include a communication interface 1601, which can interact with other devices; a processor 1602, which is connected to the communication interface 1601 to interact with other devices and is used to execute the method provided by one or more of the above technical solutions when running a computer program; and a memory 1603, on which the computer program is stored. Specifically, the specific processing process of the processor 1602 can refer to the cloud audit method described in the above embodiment of the present disclosure.

[0151] Of course, in actual application, the various components in the electronic device 1600 are coupled together through the bus system 1604. It can be understood that the bus system 1604 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 1604 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.16 Various buses are labeled as bus system 1604.

[0152] The memory 1603 in the embodiment of the present application is used to store various types of data to support the operation of the electronic device 1600. Examples of such data include: any computer program used to operate on the electronic device 1600.

[0153] The method disclosed in the above embodiment of the present application can be applied to the processor 1602, or implemented by the processor 1602. The processor 1602 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of the hardware in the processor 1602 or an instruction in the form of software. The above processor 1602 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 1602 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the memory 1603, and the processor 1602 reads the information in the memory 1603, and completes the steps of the above method in combination with its hardware.

[0154] In an exemplary embodiment, the electronic device 1600 can be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD), field programmable gate array (FPGA), general processor, controller, microcontroller (MCU), microprocessor, or other electronic components to execute the aforementioned method.

[0155] An embodiment of the present disclosure further proposes a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute the cloud audit method described in the above embodiment of the present disclosure.

[0156] An embodiment of the present disclosure further proposes a computer program product, including a computer program, which executes the cloud audit method described in the above embodiment of the present disclosure when a processor executes the computer program.

[0157] An embodiment of the present disclosure also proposes a chip, which includes one or more interface circuits and one or more processors; the interface circuit is used to receive signals from a memory of an electronic device and send signals to the processor, the signals including computer instructions stored in the memory, and when the processor executes the computer instructions, the electronic device executes the cloud audit method described in the above embodiments of the present disclosure.

[0158] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0159] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0160] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.

[0161] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processing module, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (control method), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or otherwise processing in a suitable manner if necessary, and then stored in a computer memory.

[0162] It should be understood that the various parts of the embodiments of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0163] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0164] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium. The above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0165] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.

Claims

1. A cloud audit method, characterized in that: The method is applied to any cloud audit unit in the cloud audit system, and the method includes: Collecting operation event data in a resource pool corresponding to the cloud audit unit through the resource operation system of the cloud audit unit, and sending the operation event data to the cloud audit subsystem of the cloud audit unit; The cloud audit subsystem stores the operation event data in a database of the cloud audit unit.

2. The method according to claim 1, characterized in that The cloud audit subsystem storing the operation event data in the database of the cloud audit unit includes: If the cloud audit subsystem determines that the state of the tracker in the cache middleware of the cloud audit unit is turned on, the operation event data is stored in the database.

3. The method according to claim 1, characterized in that: The collecting of operation event data in the resource pool corresponding to the cloud audit unit by the resource operation system of the cloud audit unit includes: The resource operating system collects operation event data in the resource pool corresponding to the cloud audit unit by using a message queue method and / or an interface method.

4. The method according to claim 3, characterized in that The cloud audit subsystem stores the operation event data in a database of the cloud audit unit, and then the method includes: In the case where the resource operating system collects the operation event data using the interface method, if the cloud audit subsystem is configured with an object storage function, the cloud audit subsystem sends the dump task corresponding to the object storage function to the distributed coordination server of the cloud audit unit, and stores the dump task in the database; If the cloud audit subsystem detects that the distributed coordination server creates a child node corresponding to the dump task, the operation event data is stored in the object storage of the cloud audit unit.

5. The method according to claim 4, characterized in that If the cloud audit subsystem detects that the distributed coordination server creates a child node corresponding to the dump task, storing the operation event data in the object storage of the cloud audit unit includes: If the cloud audit subsystem determines that the state of the tracker in the cache middleware of the cloud audit unit is an open state, the cloud audit subsystem obtains a dump key corresponding to the dump task from the object storage control system of the cloud audit unit; If the cloud audit subsystem detects that the distributed coordination server creates a child node corresponding to the dump task, the cloud audit subsystem uses the dump key to dump the operation event data to the object storage.

6. The method according to claim 4, characterized in that If the cloud audit subsystem determines that the state of the tracker in the cache middleware of the cloud audit unit is turned on, the cloud audit subsystem obtains the dump key corresponding to the dump task from the object storage control system of the cloud audit unit, including: If the dump key is abnormal, the cloud audit subsystem obtains a normal dump key in the object storage control system and updates the dump key to the normal dump key.

7. The method according to claim 4, characterized in that If the cloud audit subsystem detects that the distributed coordination server creates a child node corresponding to the dump task, the cloud audit subsystem uses the dump key to dump the operation event data to the object storage, and then the method includes: The cloud audit subsystem deletes the dump tasks stored in the database.

8. The method according to claim 1, characterized in that The resource operating system collects operation event data in the resource pool corresponding to the cloud audit unit, and sends the operation event data to the cloud audit subsystem. After that, the method includes: The cloud audit subsystem sends the operation event data to the message notification unit of the cloud audit unit; The message notification unit determines an event level corresponding to the operation event data and a notification method corresponding to the event level, and sends the event level corresponding to the operation event data to the user terminal by using the notification method.

9. A cloud auditing device, characterized in that: The device comprises: A collection unit, used to collect operation event data in a resource pool corresponding to the cloud audit unit through the resource operation system of the cloud audit unit, and send the operation event data to the cloud audit subsystem of the cloud audit unit; A storage unit is used for the cloud audit subsystem to store the operation event data in the database of the cloud audit unit.

10. A cloud audit system, characterized in that: The system comprises: At least one cloud audit unit; Any of the at least one cloud audit unit includes a resource operating system, a cloud audit subsystem, and a database; The resource operating system is connected to the cloud audit subsystem, and the resource operating system is used to collect operation event data in the resource pool corresponding to the cloud audit unit, and send the operation event data to the cloud audit subsystem; The cloud audit subsystem is connected to the database, and the cloud audit subsystem is used to store the operation event data in the database.

11. An electronic device, characterized in that: include: a processor and a memory for storing a computer program capable of being executed on the processor, Wherein, when the processor is used to run the computer program, it executes the method described in any one of claims 1 to 8.

12. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 8.

13. A computer program product, characterized in that A computer program is included which, when executed by a processor, implements the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Cloud storage system and data storage method

    CN104754001A

  • Cloud auditing system

    CN107659618A

  • Data processing method, system and device, electronic equipment and storage medium

    CN116980241A

  • Mutually neutral independent distributed computing and node management method

    CN117193987A

  • System and method for clustering standalone server applications and extending cluster functionality

    US8316110B1