A self-destruction method and device for a distributed cloud system

By detecting the system status and dynamically deciding the self-destruction operation in the distributed cloud system, it solves the problems in the existing technology that the central node is vulnerable to attacks and the self-destruction mechanism has poor flexibility, and achieves rapid self-destruction of the system and safe protection of key assets. .

CN118395439BActive Publication Date: 2024-10-01WEAPON EQUIP RES INST OF CHINA NAT WEAPON EQUIP GRP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410859788.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-10-01
Estimated Expiration
2044-06-28

AI Technical Summary

Technical Problem

When existing distributed cloud systems face security threats, the self-destruction mechanism has problems such that the central node is vulnerable to attack, the instruction propagation delay is large, the self-destruction triggering conditions are single, and the flexibility is poor, making it difficult to effectively protect the system.

Method used

By obtaining system status information, we can determine whether the system is a central node system, use different algorithms to detect system status, and dynamically decide whether to send self-destruct instructions, including periodic detection and self-destruction operations of central nodes and non-central nodes to ensure that the system can proactively Assess and quickly respond to security threats.

Benefits of technology

It realizes the rapid self-destruction of the distributed cloud system in the event of security threats, reduces potential losses, improves the accuracy and flexibility of anomaly detection, makes full use of the parallel computing capabilities of the distributed system, and ensures the security of key assets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118395439B_ABST
    Figure CN118395439B_ABST
Patent Text Reader

Abstract

The present invention proposes a self-destruction method and device for a distributed cloud system, which belongs to the technical field of cloud systems. In the method, the system status information of the distributed cloud system is obtained; it is determined whether the distributed cloud system is a central node system. If the system is a central node system, the central node periodically executes a first algorithm to detect the system status and obtains a first detection result; according to the first detection result, it is determined whether to send an instruction to trigger the execution of a global self-destruction operation; if the system is a non-central node system, the non-central node periodically executes a second algorithm to detect the system status and obtains a second detection result; according to the second detection result, it is determined whether to execute a local self-destruction operation. Different detection algorithms are used to determine whether to execute a self-destruction instruction, all of which have high efficiency and accuracy in detecting abnormal states.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of cloud systems, and in particular to a self-destruction method and device for a distributed cloud system. Background Art

[0002] In the current era of cloud computing and big data, distributed cloud systems, as key infrastructures that provide computing, storage, and network resources, have been widely used in various fields. Compared with traditional central node systems, distributed cloud systems improve the reliability, scalability, and fault tolerance of the system by distributing resources on multiple nodes. However, distributed systems also face some security risks. How to cut off the system in time when security threats occur to prevent sensitive data and key assets from being obtained by attackers is an urgent problem to be solved.

[0003] At present, the existing technology mainly adopts a centralized self-destruction mechanism, which relies on the central node to issue a self-destruction command to instruct all or part of the nodes to perform the self-destruction operation. This method has some inherent defects: first, the central node itself may be attacked first and lose control, causing the entire self-destruction mechanism to fail; second, even if the central node issues an instruction, in a large-scale distributed system, the propagation and execution of the instruction takes a certain amount of time and may be captured and destroyed by attackers; third, the self-destruction triggering condition is single, which makes it difficult to cope with complex and changing security threats.

[0004] On the other hand, the existing decentralized self-destruction mechanism is usually based on heartbeat detection between nodes, but this passive trigger mechanism can only handle specific scenarios such as node downtime, and lacks sufficient judgment capabilities for more covert and sophisticated attack behaviors. At the same time, the self-destruction trigger conditions are often solidified in the code, lacking flexible configuration and adjustment capabilities.

[0005] Therefore, we urgently need a self-destruction mechanism that can not only proactively assess system status and promptly detect security threats, but also dynamically adjust self-destruction trigger conditions according to actual conditions, so as to better protect key assets in distributed cloud systems and enable them to self-destruct when attacked, thereby minimizing potential losses. Summary of the invention

[0006] In view of the above technical problems, the present invention provides a self-destruction method and device for a distributed cloud system.

[0007] Wherein, the method comprises the following steps:

[0008] Obtaining system status information of the distributed cloud system;

[0009] Determining whether the distributed cloud system is a central node system specifically includes:

[0010] If the system is a central node system, the central node periodically executes a first algorithm to detect the system state and obtains a first detection result; and determines whether to send a global self-destruction operation instruction according to the first detection result to trigger the execution of the global self-destruction operation;

[0011] If the system is a non-central node system, the non-central node periodically executes a second algorithm to detect the system status and obtains a second detection result; and determines whether to send a local self-destruction instruction based on the second detection result to trigger the execution of a local self-destruction operation.

[0012] In particular, determining whether the distributed cloud system is a central node system specifically includes:

[0013] In a system with N nodes, the communication delay between node i and node j is d(i, j), and there are node pairs; D represents the maximum two-way communication delay among all node pairs in the entire system, D=max(d(i, j)+d(j, i)); E represents the average delay of two-way communication between any two nodes, E=(d(i, j)+d(j, i)) / N; if D / E is greater than the preset threshold λ, the distributed cloud system is the non-central node system; otherwise, it is the central node system.

[0014] In particular, for the central node system, the first algorithm includes:

[0015]

[0016] in, Y is the status information of the nodes in the central node system, m is the number of nodes, is the first detection result, is the weight coefficient of node b, K is the kernel function used to measure the similarity between node states; is the current status data of node b, It is the historical status data of node b.

[0017] In particular, for a non-central node system, the second algorithm includes:

[0018]

[0019] Where G is the node state evaluator of the second detection result, represents the node status evaluation result at time t; f The time window for node status evaluation is used to adjust the time position of observation data; Evaluate function for node status The weight factor represents the contribution of different state indicators to the overall state evaluation, which is used to perform weighted summation on the observation data to obtain the node at time t The state evaluation result at ; d is the function of the time offset with time t as the parameter during the node state evaluation; j is the time offset coefficient, which is used to adjust the time position of the observation data.

[0020] In particular, determining whether to send a global self-destruction operation instruction according to the first detection result to trigger execution of the global self-destruction operation specifically includes:

[0021] If the first detection result exceeds a preset first threshold, the central node sends a global self-destruction operation instruction to other nodes in the distributed cloud system;

[0022] A first detection trigger module is deployed in the other nodes of the distributed cloud system. For the central node system, the first detection trigger module is used to monitor the global self-destruction operation instruction sent by the central node and perform a global self-destruction operation according to the global self-destruction operation instruction.

[0023] In particular, determining whether to perform a local self-destruction operation based on the second detection result specifically includes: for a non-central node system, deploying a second detection trigger module in each node; if the second detection result exceeds a preset second threshold, each node sends a local self-destruction instruction to the second detection trigger module for performing a local self-destruction operation.

[0024] In particular, the self-destruction operation includes: obtaining the highest system authority and using the shred command to delete key data and key operating files in the cloud system; wherein the key data includes: user data, configuration files and database files; the key operating files include system kernel files, application files and log files.

[0025] The present invention also discloses a self-destruction device of a distributed cloud system, comprising:

[0026] The distributed cloud system status acquisition module is configured to: acquire system status information of the cloud system;

[0027] The distributed cloud system structure determination module is configured to: determine whether the distributed cloud system is a central node system;

[0028] The central node system state detection module is configured to: in response to the system being a central node system, periodically execute a first algorithm to detect the system state and obtain a first detection result; and determine whether to send a global self-destruction operation instruction according to the first detection result to trigger the execution of a global self-destruction operation;

[0029] The non-central node system status monitoring module is configured to: in response to the system being a non-central node system, periodically execute a second algorithm to detect the system status and obtain a second detection result; and determine whether to send a local self-destruction instruction based on the second detection result to trigger the execution of a local self-destruction operation.

[0030] The technical solution of the present invention can bring the following beneficial technical effects:

[0031] 1. Through the solution of the present invention, the operating status of the distributed cloud system can be actively evaluated, and a decision can be made independently whether to trigger the self-destruction program based on the evaluation results, so that the system can be quickly disconnected and sensitive data can be deleted when a security threat occurs, effectively preventing important assets from being obtained by attackers.

[0032] 2. Through the solution of the present invention, different evaluation algorithms are used for the system without central node and the system with central node, respectively, which can efficiently capture the characteristic patterns under abnormal conditions and improve the accuracy and robustness of anomaly detection.

[0033] 3. Through the solution of the present invention, the parameters of the evaluation algorithm can be independently configured by the system, such as the time window length, coefficient, etc., so that the evaluation process has strong flexibility and customizability, and can dynamically adjust the trigger conditions of anomaly detection according to actual needs.

[0034] 4. Through the solution of the present invention, for a system without a central node, each node can execute the evaluation algorithm in parallel, there is no bottleneck of the central node, and the parallel computing capability of the distributed system is fully utilized; for a system with a central node, the evaluation model can be trained at the central node and the anomaly detection standard can be unified, avoiding the situation where the judgment diverges between nodes.

[0035] 5. Through the solution of the present invention, whether it is a decentralized structure or a centralized structure, once the abnormal detection triggers the self-destruction condition, the self-destruction operation such as deleting key data and running files can be immediately executed to implement "suicide" protection for the system, cut off the system at the lowest cost, and ensure the safety of important assets. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 A schematic diagram of a process of a self-destruction method of a distributed cloud system according to an embodiment of the present invention;

[0037] Figure 2 Schematic diagram of the composition of a self-destruction device of a distributed cloud system according to an embodiment of the present invention. DETAILED DESCRIPTION

[0038] The present invention is described in detail below with reference to the accompanying drawings and embodiments.

[0039] The present invention provides a self-destruction method for a distributed cloud system, such as Figure 1 As shown, the following steps are included:

[0040] Step 1, obtain the system status information of the cloud system, and determine whether the distributed cloud system is a central node system; in this step, determine whether there is a central node in the distributed cloud system according to the following method: suppose there are N nodes, and the communication delay between node i and node j is d(i, j); in the system with N nodes, there are a total of node combinations; among them, calculate the value of max(d(i, j)+d(j, i)), denoted as D, which represents the maximum two-way communication delay value between all node pairs in the entire system; calculate the average value of (d(i, j)+d(j, i)) / N of all node pairs (i, j), denoted as E, which represents the average delay level of two-way communication between any two nodes; if D / E is greater than the preset threshold λ, it is judged as a system without a central node; otherwise, it is judged as a system with a central node.

[0041] Step 2: If the system is a central node system, the central node periodically executes a first algorithm to detect the system state and obtains a first detection result; determines whether to send a global self-destruction operation instruction according to the first detection result to trigger the execution of a global self-destruction operation; for the central node system, the first algorithm includes:

[0042]

[0043] Among them, Y is the status information of the nodes in the central node system, m is the number of nodes, is the first detection result, is the weight coefficient of node b, K is the kernel function used to measure the similarity between node states; is the current status data of node b, It is the historical status data of node b.

[0044] Determining whether to send a global self-destruction instruction according to the first detection result to trigger the execution of a global self-destruction operation specifically includes: if the first detection result exceeds a preset first threshold, the central node sends a global self-destruction operation instruction to other nodes in the distributed cloud system;

[0045] A first detection trigger module is deployed in the other nodes of the distributed cloud system. For the central node system, the first detection trigger module is used to monitor the global self-destruction operation instruction sent by the central node and perform a global self-destruction operation according to the global self-destruction operation instruction.

[0046] If the system is a non-central node system, the non-central node periodically executes a second algorithm to detect the system status and obtains a second detection result; and determines whether to send a local self-destruction instruction based on the second detection result to trigger the execution of a local self-destruction operation.

[0047] In the non-central node system, the second algorithm includes:

[0048]

[0049] Where G is the node state evaluator of the second detection result, Indicates at time t The node status evaluation result at ; f The time window for node status evaluation is used to adjust the time position of observation data; Evaluate function for node status The weight factor represents the contribution of different state indicators to the overall state evaluation, which is used to perform weighted summation on the observation data to obtain the node at time t The status evaluation result at the node; d is the time when the node status is evaluated t is a function of the time offset of the parameter; j is the time offset coefficient, which is used to adjust the time position of the observation data.

[0050] Determining whether to execute a local self-destruction operation according to the second detection result specifically includes: for a non-central node system, deploying a second detection trigger module in each node; if the second detection result exceeds a preset second threshold, each node sends a local self-destruction instruction to the second detection trigger module for executing a local self-destruction operation.

[0051] In this embodiment, the self-destruction operation includes: obtaining the highest system authority and using the shred command to delete key data and key operation files in the cloud system; wherein the key data includes: user data, configuration files and database files; key operations include system kernel files, application files and log files.

[0052] There are several reasonable reasons for using two different evaluation algorithms, one for centralized and the other for decentralized cloud system structures:

[0053] (1) Topological structure differences

[0054] There is an essential difference between the topological structures of centralized and decentralized cloud systems. The centralized structure has one or more central nodes as coordinators, and other computing nodes are connected to it; in the decentralized structure, the nodes have equal status and are distributed and equal. Different topologies reflect the system status in different ways, so different algorithm models are needed for analysis and evaluation.

[0055] (2) Computing resource distribution

[0056] In a centralized system, the central node usually has more computing resources and is more suitable for deploying complex machine learning models; while the node resources of a decentralized system are limited and it is more suitable to use algorithms with less computational effort, such as convolution equations. In view of the difference in computing resource endowments between the two scenarios, it is more efficient to choose the appropriate algorithm model.

[0057] (3) Concentration of status information

[0058] In a centralized system, each computing node only needs to upload the local state to the central node for analysis and judgment; in a decentralized system, there is no central node to aggregate information, so each node can only make judgments based on limited local information. Different levels of information concentration also require the use of different evaluation algorithm models.

[0059] (4) Collaboration and parallel capabilities

[0060] For centralized systems, the central node can play a coordinating role and the nodes can easily collaborate with each other; while decentralized systems require better parallel computing capabilities. The two algorithms meet the collaboration and parallel requirements in these two scenarios respectively.

[0061] In summary, due to the differences between centralized and decentralized cloud systems in topology, computing resources, information distribution, collaboration requirements, and anomaly detection methods, there is a reasonable need to use different evaluation algorithms in different scenarios to achieve efficient detection and judgment of abnormal conditions.

[0062] The present invention also discloses a self-destruction device for a distributed cloud system, such as Figure 2 As shown, including:

[0063] The distributed cloud system status acquisition module is configured to: acquire system status information of the cloud system;

[0064] The distributed cloud system structure determination module is configured to: determine whether the distributed cloud system is a central node system;

[0065] The central node system state detection module is configured to: in response to the system being a central node system, periodically execute a first algorithm to detect the system state and obtain a first detection result; and determine whether to send a global self-destruction operation instruction according to the first detection result to trigger the execution of a global self-destruction operation;

[0066] The non-central node system status monitoring module is configured to: in response to the system being a non-central node system, periodically execute a second algorithm to detect the system status and obtain a second detection result; and determine whether to send a local self-destruction instruction based on the second detection result to trigger the execution of a local self-destruction operation.

[0067] The solution for which the device seeks protection corresponds one-to-one to the solution in the previous method embodiment, so it will not be described in detail.

[0068] In summary, the above are only preferred embodiments of the present invention and are not intended to limit the protection scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

[0069] It is obvious to those skilled in the art that the embodiments of the present invention are not limited to the details of the above exemplary embodiments, and that the embodiments of the present invention can be implemented in other specific forms without departing from the spirit or basic features of the embodiments of the present invention. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the embodiments of the present invention is limited by the attached claims rather than the above description, so it is intended to include all changes that fall within the meaning and scope of the equivalent elements of the claims in the embodiments of the present invention. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units, modules or devices stated in the system, device or terminal claims can also be implemented by the same unit, module or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.

[0070] Finally, it should be noted that the above implementation modes are only used to illustrate the technical solutions of the embodiments of the present invention and are not intended to limit them. Although the embodiments of the present invention have been described in detail with reference to the above preferred implementation modes, those skilled in the art should understand that the technical solutions of the embodiments of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A self-destruction method for a distributed cloud system, Features: The following steps are involved: Obtaining system status information of the distributed cloud system; Determining whether the distributed cloud system is a central node system specifically includes: If the system is a central node system, the central node periodically executes a first algorithm to detect the system state and obtains a first detection result; and determines whether to send a global self-destruction operation instruction according to the first detection result to trigger the execution of the global self-destruction operation; If the system is a non-central node system, the non-central node periodically executes a second algorithm to detect the system state and obtains a second detection result; and determines whether to send a local self-destruction instruction according to the second detection result to trigger the execution of a local self-destruction operation; Wherein, determining whether the distributed cloud system is a central node system specifically includes: In a system with N nodes, the communication delay between node i and node j is d(i, j), and there are node pairs; D represents the maximum two-way communication delay among all node pairs in the entire system, D=max(d(i, j)+d(j, i)); E represents the average two-way communication delay between any two nodes, E=(d(i, j)+d(j, i)) / N; if D / E is greater than the preset threshold , then the distributed cloud system is the non-central node system; otherwise, it is the central node system; Wherein, for the central node system, the first algorithm includes: , Among them, Y is the status information of the nodes in the central node system, m is the number of nodes, is the first detection result, is the weight coefficient of node b, K is the kernel function used to measure the similarity between node states; is the current status data of node b, is the historical status data of node b; Wherein, for a non-central node system, the second algorithm includes: , Where G is the node state evaluator of the second detection result, represents the node status evaluation result at time t; f The time window for node status evaluation is used to adjust the time position of observation data; Evaluate function for node status The weight factor represents the contribution of different state indicators to the overall state evaluation, which is used to perform weighted summation on the observation data to obtain the node at time t The state evaluation result at ; d is the function of the time offset with time t as the parameter during the node state evaluation; j is the time offset coefficient, which is used to adjust the time position of the observation data.

2. The self-destruction method of the distributed cloud system according to claim 1, Features: Determining whether to send a global self-destruction operation instruction according to the first detection result to trigger the execution of the global self-destruction operation specifically includes: If the first detection result exceeds a preset first threshold, the central node sends a global self-destruction operation instruction to other nodes in the distributed cloud system; A first detection trigger module is deployed in the other nodes of the distributed cloud system. For the central node system, the first detection trigger module is used to monitor the global self-destruction operation instruction sent by the central node and perform a global self-destruction operation according to the global self-destruction operation instruction.

3. The self-destruction method of the distributed cloud system according to claim 1, Features: Determining whether to execute a local self-destruction operation according to the second detection result specifically includes: for a non-central node system, deploying a second detection trigger module in each node; if the second detection result exceeds a preset second threshold, each node sends a local self-destruction instruction to the second detection trigger module for executing a local self-destruction operation.

4. The self-destruction method of a distributed cloud system according to claim 2 or 3, It is characterized in that The self-destruction operation includes: obtaining the highest system authority and using the shred command to delete key data and key operating files in the cloud system; wherein the key data includes: user data, configuration files and database files; the key operating files include system kernel files, application files and log files.

5. A self-destruction device for a distributed cloud system, It is characterized in that include: The distributed cloud system status acquisition module is configured to: acquire system status information of the cloud system; The distributed cloud system structure determination module is configured to: determine whether the distributed cloud system is a central node system; The central node system state detection module is configured to: in response to the system being a central node system, periodically execute a first algorithm to detect the system state and obtain a first detection result; and determine whether to send a global self-destruction operation instruction according to the first detection result to trigger the execution of a global self-destruction operation; The non-central node system state monitoring module is configured to: in response to the system being a non-central node system, periodically execute a second algorithm to detect the system state and obtain a second detection result; and determine whether to send a local self-destruction instruction according to the second detection result to trigger the execution of a local self-destruction operation; Wherein, judging whether the distributed cloud system is a central node system specifically includes: in a system with N nodes, the communication delay between node i and node j is d(i, j), and there are node pairs; D represents the maximum two-way communication delay among all node pairs in the entire system, D=max(d(i, j)+d(j, i)); E represents the average two-way communication delay between any two nodes, E=(d(i, j)+d(j, i)) / N; if D / E is greater than the preset threshold , then the distributed cloud system is the non-central node system; otherwise, it is the central node system; Wherein, for the central node system, the first algorithm includes: , Among them, Y is the status information of the nodes in the central node system, m is the number of nodes, is the first detection result, is the weight coefficient of node b, K is the kernel function used to measure the similarity between node states; is the current status data of node b, is the historical status data of node b; Wherein, for a non-central node system, the second algorithm includes: , Wherein, G is the node state evaluator of the second detection result, represents the node status evaluation result at time t; f The time window for node status evaluation is used to adjust the time position of observation data; Evaluate function for node status The weight factor represents the contribution of different state indicators to the overall state evaluation, which is used to perform weighted summation on the observation data to obtain the node at time t The state evaluation result at ; d is the function of the time offset with time t as the parameter during the node state evaluation; j is the time offset coefficient, which is used to adjust the time position of the observation data.