Data protection method and system, storage server, and client terminal
Patent Information
- Application Number
- MYPI2025005922
- Authority / Receiving Office
- MY · MY
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-04
- Filing Date
- 2024-04-02
- Publication Date
- 2024-10-04
AI Technical Summary
Existing technology cannot identify and protect malware in cloud disks in real time, and the malware scanning process requires additional storage and computing resources, resulting in high storage costs and a wide range of data loss during data recovery.
By implementing targeted sequential storage of data between the storage server and client, and converting it into an adapted client file system format, data is scanned in real time to identify malware, reducing storage costs and reducing data loss.
It achieves real-time identification and protection of malware, reduces data security risks, reduces storage costs and effective data loss during data recovery, and provides lower RPO and RTO capabilities.
Smart Images

Figure PI2025005922_DRAWING_001 
Figure PI2025005922_DRAWING_002 
Figure PI2025005922_DRAWING_003
Abstract
Description
Data protection method and system, storage server and client
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on April 4, 2023, with application number 202310352365.X and application name “Data Protection Method and System, Storage Server and Client”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of cloud computing, and more specifically, to a data protection method and system, a storage server, and a client. Background Art
[0003] This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. No statement herein is admitted to be prior art by virtue of its inclusion in this section.
[0004] With the development of cloud computing technology, more and more customers are building IT (Internet Technology) infrastructure based on public clouds. Although mainstream public cloud vendors can significantly improve the security of their IT resources through virtualization and network isolation technologies at the IaaS (Infrastructure as a Service) layer, customers' virtual machines are interconnected with the external public network and are easily attacked by viruses. To address this problem, existing technologies protect customers' EBS (Elastic Block Storage) cloud disk data from malware. The specific process is to regularly take a snapshot of the EBS cloud disk, then restore the snapshot to a new EBS cloud disk and scan it for viruses. Although this solution can provide a certain degree of post-malware protection, it cannot scan and monitor malware in real time. At the same time, scanning requires a certain amount of storage costs.
[0005] Summary of the Invention
[0006] The embodiments of the present application provide a data protection method and system, a storage server, and a client to identify malware more promptly and reduce data security risks.
[0007] According to one aspect of the present application, a data protection method is also provided, which includes: in response to a received read and write request, reading data stored in a cloud disk in a target sequence; converting the data into a target file system format, and replaying the data in the target file system format according to the target sequence; wherein the target file system format is adapted to the file system of the client; scanning the replayed data in the target file system format to obtain a malware identification result; processing the malware identification result to restore or protect the data stored in the cloud disk.
[0008] According to another aspect of the present application, a storage server is provided, which includes a protection module and an EBS module; the protection module is used to execute the above method steps.
[0009] According to another aspect of the present application, a client is also provided, including an application module, a file system and a block device; the application module is used to send read and write requests to the storage server mentioned above in the claim through the file system and the block device, so that the EBS module stores data in the target order according to the read and write requests.
[0010] According to another aspect of the present application, a data protection system is also provided, including a client and a storage server; the storage server includes a protection module and an EBS module; the protection module is used to execute the above-mentioned method steps; the client includes an application module, a file system and a block device; the application module is used to send read and write requests to the storage server through the file system and the block device, so that the EBS module stores data in a target order according to the read and write requests.
[0011] According to another aspect of the present application, an electronic device is provided, comprising: a processor; and a memory storing a program, wherein the program comprises instructions, which, when executed by the processor, enable the processor to perform the above method.
[0012] According to another aspect of the present application, a non-transitory computer-readable storage medium storing computer instructions is further provided, wherein the computer instructions are used to enable the computer to execute the steps of the above method.
[0013] According to another aspect of the present application, a computer program product is provided. The computer program product includes a computer program. When the computer program is executed by a processor, the above method steps are implemented.
[0014] In an embodiment of the present application, in response to a received read / write request, the data stored in the cloud disk in a target sequence is read; the data is converted into a target file system format, and the data in the target file system format is replayed according to the target sequence; wherein the target file system format is adapted to the file system of the client; the data in the target file system format after replay is scanned to obtain a malware identification result; and the malware identification result is processed to restore or protect the data stored in the cloud disk. In response to a read / write request, the present application reads the data stored in the cloud disk in a target sequence, converts the data into a target file system format adapted to the file system of the client, and continuously tracks and scans the replayed data in the target file system format, thereby achieving real-time malware identification and minimizing data security risks. There is no need to plan storage space separately for scanning tasks, thereby reducing storage costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Further details, features and advantages of the present disclosure are disclosed in the following description of exemplary embodiments in conjunction with the accompanying drawings, in which:
[0016] FIG1 shows a flow chart of a data protection method according to an embodiment of the present application;
[0017] FIG2 shows an architecture diagram of an existing cloud disk data protection solution;
[0018] FIG3 shows an architecture diagram of a data protection method according to an embodiment of the present application;
[0019] FIG4 shows a block diagram of an exemplary electronic device that can be used to implement the embodiments of the present disclosure;
[0020] FIG5 shows a schematic structural diagram of a storage server according to an embodiment of the present application. DETAILED DESCRIPTION
[0021] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0022] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0023] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the description below. It should be noted that the concepts of "first", "second", etc. mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0024] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".
[0025] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0026] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0027] With the widespread application of computer technology and the high popularity of Internet technology, malware has also become prevalent. Due to its high infectiousness, concealment and destructiveness, this malware has become a major problem plaguing the computer industry and even the Internet industry.
[0028] Referring to FIG2 , which shows the architecture of an existing cloud disk data protection solution, the existing solution architecture includes:
[0029] 1. Customer virtual machines, which provide computing, storage, network, and other resources for customer applications;
[0030] a. Application: the customer's application;
[0031] b. File system: The file system in the client operating system provides data storage services for upper-layer applications and is used to store the client's key data;
[0032] c. Block device: EBS block storage presents a virtual block device in the guest VM, providing a block interface for the upper file system;
[0033] 2. Remote storage server, which acts as the physical storage resource for the EBS block device;
[0034] a. EBS: As the remote server for EBS block devices, it provides computing-side clients with access to block device resources.
[0035] b. Storage unit: The physical storage unit that makes up EBS, used to disperse customer data across different disks to improve data performance and reliability;
[0036] 3. Snapshot service, which provides the ability to create snapshots based on EBS block devices and restore them using snapshots;
[0037] 4. Object storage service, used to save snapshot files;
[0038] 5. A temporary virtual machine, used to provide an operating environment for the scanning software;
[0039] a. Malware scanning module, which performs security scans on customers' EBS data using open source or commercial anti-virus software.
[0040] Based on the above architecture, follow the process from ① to ⑥ in Figure 2 and execute the following steps:
[0041] The protection monitoring module monitors a customer's EC2 for abnormal behavior in real time, such as command interaction with suspicious external services, malicious attacks, etc. When a suspicious event occurs, the protection monitoring module notifies the snapshot service module to take a snapshot of the customer's EBS. After that, the snapshot service module takes a snapshot of the EBS and saves the snapshot file in the remote object storage service module. The protection monitoring module starts a temporary EC2 virtual machine, restores a new EBS to EC2 through the snapshot service module, and uses the malware scanning module to scan the EBS data for malware. Once the malware scanning module finds malware, it reports it to the customer through the protection monitoring module for further processing.
[0042] This solution requires creating a snapshot and a new EBS storage during the scanning process, introducing additional storage resources and computing resources, such as temporary virtual machines. The introduction of additional resources increases scanning costs. The periodicity of snapshot creation leads to a high RPO, which can cause significant data loss during data recovery. Snapshot recovery is performed at the cloud disk level, resulting in significant data loss.
[0043] Malware intrusion is extremely subtle, making it difficult to prevent through proactive interception. Furthermore, grayscale malware like ransomware can wreak havoc on customer data, often undetected until it's too late. While snapshots are currently available as a backup and recovery method, there's no guarantee that valid data is included in them. Furthermore, snapshots are based on the granularity of entire disk restores, which can easily lead to widespread loss of valid data.
[0044] Based on the above background, the present application provides a data protection method and system, a storage server and a client. The method can perform security scans on data stored in a target order based on EBS, without the need to plan storage space separately for scanning tasks, thereby reducing storage costs. The method can also recover and restore customer data based on CDP (Continuous Data Protection) technology, thereby reducing RPO and reducing effective data loss. In addition, the method also implements file-granularity data recovery capabilities, further reducing effective data loss.
[0045] The following describes the terms used in this application.
[0046] RPO (Recovery Point Objective): The data recovery point target mainly refers to the amount of data loss that the service system can tolerate.
[0047] RTO (Recovery Time Objective): Recovery time objective, mainly refers to the longest tolerable service outage time, that is, the shortest time period from the occurrence of a disaster to the service system restoring service functions.
[0048] Log-structured: A data storage method that appends metadata and data sequentially into a circular log file.
[0049] In this embodiment, a data protection method is provided. FIG1 is a flow chart of the data protection method according to the embodiment of the present application. The method steps involved in FIG1 are described below.
[0050] Step S102: In response to the received read / write request, read the data stored in the cloud disk in a target order.
[0051] In this step, read and write requests can be issued by a client, which can be a client virtual machine. The client issues read and write requests to the EBS through the file system and block device in the client virtual machine application. These read and write requests can be used to store data in the cloud disk in the target order. For example, data can be stored in the EBS of the cloud disk in chronological order according to the read and write requests, ensuring that both historical and real-time data are stored persistently.
[0052] After EBS completes a data storage according to a read and write request, the present application reads the data stored in the cloud disk in real time according to the target order of EBS data storage. Among them, the target order can be used to specify the storage order of data stored in the cloud disk according to actual needs. Compared with storage in a random order, etc., it can prevent the problem of inaccurate data caused by mutual interference of data in the subsequent data processing process. The embodiment of the present invention does not make specific restrictions on the specific order of the target order. For example, it can be based on time order, data importance order, label annotation order, etc., among which, if it is based on time order, the cloud disk can specifically store data in a log-structured manner.
[0053] It should be noted that when storing data in a log-structured format, all write operations continuously add data to the log-structured data structure without updating existing values. Therefore, based on the structural characteristics of log-structured data, data stored in the cloud disk can be read continuously and in real time.
[0054] It should also be noted that, referring to the architecture diagram of the data protection method shown in FIG3 , EBS may include persistent data that has completed write operations and active data that is being written. The data stored in the cloud disk in a log-structured manner is read. In specific implementation, the cloud disk operation interface can be used to read the persistent data in EBS.
[0055] Step S104: convert the data into a target file system format, and replay the data in the target file system format according to the target sequence; wherein the target file system format is adapted to the file system of the client.
[0056] In this step, a unified file system abstraction layer can be used to connect to various files in the client operating system, including various file systems such as ext4 (Fourth Extended Filesystem) and xfs (a high-performance log file system). In specific implementation, the target file system format is determined according to the file system format in the client operating system, and the target file system format is adapted to the client's file system. The data read from EBS is converted to the target file system format.
[0057] It should be noted that when replaying data in the target file system format, it is also necessary to replay it in the above-mentioned target order to ensure that the arrangement order of the target file system format after replay is consistent with the reading order when reading the data stored in the cloud disk, so as to reduce the probability of errors in subsequent data processing.
[0058] In this step, the target file system format can be some common file system formats, such as ext4, xfs, and NTFS (New Technology File System, a file system for Windows NT environments). Therefore, in one possible implementation, converting the data to the target file system format can be achieved by the following steps: converting the data to an ext4 file, an xfs file, or an NTFS file. Thereafter, replaying the data in the target file system format according to the target order of reading the data from the EBS.
[0059] It should be noted that the storage order of the data after conversion into the target file system format may change. Therefore, through the replay operation, the storage order of the data in the target file system format is made consistent with the order when reading the data stored on the cloud disk, so as to facilitate the subsequent identification of malware.
[0060] Step S106: Scan the replayed data in the target file system format to obtain malware identification results.
[0061] In this step, the data in the target file system format after scanning and replay is continuously tracked. Since different malware has different behavioral characteristics, such as large-scale data deletion, large-scale data reading, large-scale data destruction, and large-scale data modification, etc., based on the data operation behavior in the target file system format, whether there is malware is identified to obtain the malware identification result.
[0062] It should be noted that malware is a general definition and can be divided into two categories based on the nature of the damage it causes. The first category primarily includes backdoor programs, keyloggers, password stealers, and spyware, which reside on customer computers and harm their interests by stealing important data such as online banking passwords and private photos. The second category is a new type of computer virus known as "ransomware," which is primarily spread through emails, Trojan programs, and other means. This virus uses various encryption algorithms to irreversibly encrypt files, making them generally impossible for infected users to decrypt. The decryption requires the private key of the virus publisher. Virus publishers use customers' important data to extort high ransoms. In this step, by scanning the replayed data in the target file system format, either of these two types of malware can be identified. In addition to the malware types listed above, other malware with certain behavioral characteristics can also be identified.
[0063] In the above steps, malware intrusion can be detected in real time. In addition, the scan can be completed directly in the production area where the data is stored, eliminating the need to allocate storage space for the scan task, thus reducing storage costs.
[0064] It should be noted that the information in the malware library can be continuously updated, and the update strategy can be determined according to actual needs, which is not specifically limited in the embodiment of the present invention.
[0065] Step S108: Process the malware identification result to restore or protect the data stored in the cloud disk.
[0066] In this step, the malware identification results can be used to determine the damaged data. Deletion and recovery operations can be performed on the damaged data, thereby restoring or protecting the data stored in the cloud disk, reducing data security risks, and ensuring data security. The specific processing methods used can be determined based on actual needs and are not specifically limited in this embodiment of the present invention.
[0067] In an embodiment of the present application, in response to a received read / write request, the data stored in the cloud disk in a target order is read; the data is converted into a target file system format, and the data in the target file system format is replayed according to the target order; wherein the target file system format is adapted to the file system of the client; the data in the target file system format after replay is scanned to obtain a malware identification result; and the malware identification result is processed to restore or protect the data stored in the cloud disk. In response to a read / write request, the present application reads the data stored in the cloud disk in a target order, converts the data into a target file system format adapted to the file system of the client, and continuously tracks and scans the replayed data in the target file system format, thereby achieving real-time malware identification and minimizing data security risks. There is no need to plan storage space separately for scanning tasks, thus reducing storage costs.
[0068] In one possible implementation, scanning the replayed data in the target file system format to obtain a malware identification result can be performed according to the following steps: scanning the replayed data in the target file system format to obtain scanning information; using a malware library to identify target malware and target files damaged by the target malware in the scanning information; the malware library is used to provide behavioral feature information of the target malware; and using the target malware and / or the target file as a malware identification result.
[0069] In this possible implementation, the replayed data in the target file system format is scanned to obtain scanning information. A malware library may be pre-generated to provide target malware file and behavioral characteristic information as a basis for identifying malware and infected files in the scanning information. Specifically, the malware library is used to identify the target malware in the scanning information and the target files damaged by the target malware, and the target malware and / or the target files are used as malware identification results.
[0070] After malware is identified, in order to prevent the malware from causing further damage or increasing the amount of damaged data, in one possible implementation, processing the malware identification result may be performed according to the following steps: generating a processing instruction based on the malware identification result, and sending the processing instruction to a control terminal; wherein the processing instruction is used to delete and / or isolate the malware identification result.
[0071] In an embodiment of the present invention, based on the malware identification results, the identified malware or files damaged by the malware can be located, a processing instruction can be generated, and the instruction can be sent to the control terminal, so that the control terminal deletes and / or isolates the identified malware or files damaged by the malware according to the processing instruction. It should be noted that the control terminal can be part of the user terminal and controlled by the user terminal, or it can be an independent control terminal. The configuration can be based on actual needs and is not specifically limited in this embodiment of the present invention.
[0072] If a file damaged by malware is found and contains important data, in order to reduce the loss of valid data and provide a higher RPO, in one possible implementation, the malware identification result can be processed according to the following steps: determining the recovery time of the invaded file, and restoring the invaded file according to the recovery time or deleting the invaded file.
[0073] In an embodiment of the present invention, CDP technology can be combined to determine the recovery time of the invaded file based on actual needs. The specific recovery time point depends on different strategies. For example, it can be restored to the moment when the file is just created, to a period of time before the malware invades, to any customer-defined moment, or to directly clear the file. Afterwards, the invaded file is restored or deleted according to the recovery time.
[0074] It should be noted that CDP provides users with a new data protection method. System administrators do not need to pay attention to the data backup process (because the CDP system will continuously monitor changes in key data, thereby automatically protecting data). Instead, when a disaster occurs, they only need to select the time point to be restored to achieve rapid data recovery.
[0075] CDP technology embeds a file filter driver within the operating system's core layer to capture all file access operations in real time. For files requiring CDP continuous backup protection, when the CDP management module intercepts an overwrite operation via the file filter driver, it automatically backs up the file data changes, along with the current system timestamp, to the CDP storage volume. In theory, every file data change is automatically recorded, hence the term "continuous data protection."
[0076] In the above steps, more accurate protection of valid data can be achieved, data recovery capability at the file granularity is realized, and loss of valid data is further reduced.
[0077] If there is no important data that needs to be protected after the malware invades, in one possible implementation, the malware identification results can be processed according to the following steps: if any file in the malware identification results does not meet the preservation conditions, the target storage area of the cloud disk is restored to a state that has not been invaded by the malware.
[0078] In embodiments of the present invention, the preservation conditions can be set based on actual needs to filter out files that need to be preserved. The target storage area can be the entire disk of a cloud disk. After malware intrusion, if no important data exists on the cloud disk, that is, if any files in the malware identification results do not meet the preservation conditions, the target storage area of the cloud disk is restored to a state before the malware intrusion, for example, to a time period before the malware intrusion.
[0079] It should be noted that if any file in the malware identification results does not meet the preservation requirements, the disk-level repair function can be activated to directly restore the entire disk to a state without intrusion. If any file in the malware identification results meets the preservation requirements, the file-level repair function can be used to restore it.
[0080] Considering that malware may have certain characteristic behaviors such as large-scale deletion, reading, or destruction, in order to intercept potential intrusion behaviors, the method can also perform the following steps:
[0081] Utilizing a machine learning model and a malicious behavior feature library, risky behaviors are determined based on the data stored in the target sequence; an interception instruction is generated, and the interception instruction is sent to a control terminal so that the control terminal intercepts the risky behaviors.
[0082] In an embodiment of the present invention, a malicious behavior signature library is used to provide characteristic information about risky behaviors. A machine learning model can be pre-trained using the malicious behavior signature library. The trained machine learning model is used to identify abnormal behaviors in data stored in a target order in real time. Specifically, the machine learning model and the malicious behavior signature library are used to determine risky behaviors based on the data stored in the target order. If an abnormality is detected, an interception operation for the potential intrusion behavior is triggered, i.e., an interception instruction is generated and sent to a control terminal, causing the control terminal to intercept the risky behavior.
[0083] It should be noted that the control terminal can be a part of the user terminal and controlled by the user terminal, or it can be an independent control terminal and can be set according to actual needs. The embodiment of the present invention does not make any specific limitations here.
[0084] The present application also provides a storage server. Referring to the schematic diagram of the storage server structure shown in FIG5 , the storage server 500 includes a protection module 501 and an EBS module 502 . The protection module is configured to execute the steps of any of the aforementioned data protection methods. The specific implementation of the data protection method is not further described herein.
[0085] Referring to the architecture diagram of the data protection method shown in FIG3 , a possible architecture of a storage server and the workflow of the architecture are described below.
[0086] The protection module in the storage server may include the following architecture:
[0087] a. Malware scanning module, responsible for scanning customer cloud disk data for malware and accurately identifying malware and files damaged by malware;
[0088] i. Malware library, which provides malware files and behavioral characteristics as a basis for identifying malware and infected files;
[0089] ii. A file system adapter (general file interface layer in FIG. 3 ) for providing a unified file system abstraction layer to connect various file systems in the client operating system;
[0090] iii. Cloud disk operation interface, used to access cloud disk data;
[0091] b. Data recovery device: When user data is invaded by malware, it is responsible for restoring the data to its pre-invasion state or clearing damaged files;
[0092] i. File recovery module, which provides granular file repair capabilities and can accurately remove malicious and infected files or directly restore them to their pre-infection state;
[0093] ii. The entire disk recovery module is used for disk-level repair, which can directly restore the entire disk to its unintruded state;
[0094] iii. Continuous Data Protection Module: This module provides continuous data protection and data restoration capabilities at any time.
[0095] c. Malicious behavior prediction device: Based on a malware signature library and machine learning algorithms, it can predict the data destruction behavior of malware in advance;
[0096] i. Malicious behavior signature library: Responsible for tracking customer data operations and predicting possible malicious software damage;
[0097] ii. Data protection trigger module: When a potential data breach risk is detected, it notifies the Scanner to intercept the potential intrusion;
[0098] The EBS module in the storage server may include the following architecture:
[0099] a. Persistent data: Based on the log-structured data structure, it records the historical data of the customer's cloud disk;
[0100] b. Active data: the latest data written to the customer's cloud disk.
[0101] Based on the architecture shown in Figure 3, and following the process from ① to ③ in Figure 3, the above data protection method can be implemented through the following steps:
[0102] 1. The customer's application in the guest VM sends block device read and write requests to EBS through the file system and block device layer;
[0103] 2. EBS stores data in a log-structured manner, ensuring that both historical and real-time data are stored persistently.
[0104] 3. The scanning device reads persistent data through the cloud disk operation interface in chronological order;
[0105] 4. The scanning device converts the EBS log-structured data format into a common file system format, such as ext4 or xfs, through the universal file interface layer, and replays the customer data in chronological order.
[0106] 5. The scanning device performs a security scan on the replayed data through the malware scanning module, detects malware intrusion in real time, and notifies the data recovery device to recover or isolate the data:
[0107] a. If malware is found, notify the customer to delete or quarantine it;
[0108] b. If a file is found to have been damaged by malware, the file recovery module will recover the file. The specific recovery time depends on different strategies. For example, 1) it can be restored to the moment the file was created, 2) to a period before the malware intrusion, 3) to directly delete the file, etc., or 4) to any time defined by the customer.
[0109] c. If there is no important data to protect after the malware intrusion, the entire disk can be restored using the full disk recovery module, for example, to a period before the malware intrusion.
[0110] 6. At the same time, the malicious behavior prediction device detects abnormal behavior in real time based on the customer's data characteristics. If an abnormality is found, the scanning device is triggered to intercept potential intrusion behavior.
[0111] In the process of implementing the data protection method using the storage server, real-time malware identification is achieved by continuously tracking and scanning log structured data, minimizing data security risks. In addition, the scan is completed directly in the production area where the data is stored, eliminating the need to plan storage space separately for the scanning task, reducing storage costs, providing lower RPO (Recovery Point Objective) and RTO (Recovery Time Objective) capabilities, and minimizing the loss of valid data when the data is invaded by malware. This application significantly reduces storage costs and solves the problem of scanning tasks invading the customer environment. In addition, malware can be identified more promptly and valid data can be protected more accurately. This application implements intelligent malware protection based on the log structured storage structure characteristics of public cloud block storage and can be applied to EBS storage products involving cloud computing, as well as cloud security-related products.
[0112] The present application also provides a client, including an application module, a file system and a block device; the application module is used to send read and write requests to the above-mentioned storage server through the file system and the block device, so that the EBS module stores data in the target order according to the read and write requests.
[0113] It should be noted that the client can be a client virtual machine, providing computing, storage, and network resources for the client's applications. The file system can be the file system within the client operating system, providing data storage services to upper-layer applications and storing the client's critical data. The block device can be a virtual block device presented by EBS block storage within the client virtual machine, providing a block interface to the upper-layer file system. The storage server can serve as the physical storage resource for the EBS block device.
[0114] The present application also provides a data protection system, including a client and a storage server; the storage server includes a protection module and an EBS module; the protection module is used to execute the above-mentioned method steps; the client includes an application module, a file system and a block device; the application module is used to send read and write requests to the storage server through the file system and the block device, so that the EBS module stores data in a target order according to the read and write requests.
[0115] The present disclosure also provides a data protection device, which includes: an interface module for reading data stored in a cloud disk through a target sequence in response to a received read or write request;
[0116] A file conversion module is configured to convert the data into a target file system format and replay the data in the target file system format in the target order; wherein the target file system format is adapted to the file system of the client; a malicious file scanning module is configured to scan the replayed data in the target file system format to obtain a malware identification result; and a data recovery module is configured to process the malware identification result to recover or protect the data stored in the cloud disk.
[0117] The system or device is used to implement the functions of the method in the above-mentioned embodiment. Each module in the system or device corresponds to each step in the method, which has been explained in the method and will not be repeated here.
[0118] Optionally, converting the data into a target file system format includes converting the data into an ext4 file, an xfs file, or an NTFS file.
[0119] Optionally, scanning the data in the target file system format after replay to obtain a malware identification result includes: scanning the data in the target file system format after replay to obtain scanning information; using a malware library to identify target malware and target files damaged by the target malware in the scanning information; the malware library is used to provide behavioral feature information of the target malware; and using the target malware and / or the target file as a malware identification result.
[0120] Optionally, processing the malware identification result includes: generating a processing instruction based on the malware identification result, and sending the processing instruction to the control end; wherein the processing instruction is used to delete and / or isolate the malware identification result.
[0121] Optionally, processing the malware identification result includes: determining a recovery time of the invaded file, and restoring the invaded file or deleting the invaded file according to the recovery time.
[0122] Optionally, processing the malware identification result includes: if any file in the malware identification result does not meet the saving condition, restoring the target storage area of the cloud disk to a state not invaded by the malware.
[0123] Optionally, it also includes: using a machine learning model and a malicious behavior feature library to determine risky behavior based on the data stored in the target sequence; generating an interception instruction, and sending the interception instruction to the control end so that the control end intercepts the risky behavior.
[0124] The exemplary embodiments of the present disclosure further provide an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor. The memory stores a computer program executable by the at least one processor, the computer program being configured to cause the electronic device to perform a method according to an exemplary embodiment of the present disclosure when executed by the at least one processor.
[0125] Exemplary embodiments of the present disclosure further provide a non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor of a computer, is used to cause the computer to perform a method according to an embodiment of the present disclosure.
[0126] Exemplary embodiments of the present disclosure further provide a computer program product, including a computer program, wherein when the computer program is executed by a processor of a computer, it is used to cause the computer to perform the method according to the embodiment of the present disclosure.
[0127] With reference to Figure 4, a block diagram of an electronic device 400 that can serve as a server or client of the present disclosure will now be described, which is an example of a hardware device that can be applied to various aspects of the present disclosure. The electronic device is intended to represent various forms of digital electronic computer equipment, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0128] As shown in Figure 4, electronic device 400 includes a computing unit 401, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 402 or a computer program loaded from a storage unit 408 into a random access memory (RAM) 403. In RAM 403, various programs and data required for the operation of device 400 can also be stored. Computing unit 401, ROM 402, and RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to bus 404.
[0129] Multiple components within electronic device 400 are connected to I / O interface 405, including an input unit 406, an output unit 407, a storage unit 408, and a communication unit 409. Input unit 406 can be any type of device capable of inputting information into electronic device 400. Input unit 406 can receive input numeric or character information and generate key input signals related to user settings and / or function control of the electronic device. Output unit 407 can be any type of device capable of presenting information, and may include, but is not limited to, a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. Storage unit 408 may include, but is not limited to, a magnetic disk or an optical disk. Communication unit 409 allows electronic device 400 to exchange information / data with other devices via computer networks such as the Internet and / or various telecommunication networks, and may include, but is not limited to, a modem, a network card, an infrared communication device, a wireless communication transceiver and / or a chipset, such as a Bluetooth device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.
[0130] The computing unit 401 can be various general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 401 include, but are not limited to, a processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units that run machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 401 performs the various methods and processes described above. For example, in some embodiments, the aforementioned data protection method can be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 408. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 400 via the ROM 402 and / or the communication unit 409. In some embodiments, the computing unit 401 can be configured to perform the data protection method in any other appropriate manner (e.g., by means of firmware).
[0131] The program code for implementing the method of the present disclosure can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device so that when the program code is executed by the processor or controller, the functions / operations specified in the flow chart and / or block diagram are implemented. The program code can be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0132] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0133] As used in this disclosure, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and / or device (e.g., a magnetic disk, an optical disk, a memory, a programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including machine-readable media that receive machine instructions as machine-readable signals. The term "machine-readable signal" refers to any signal used to provide machine instructions and / or data to a programmable processor.
[0134] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or an LCD (liquid crystal display)) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0135] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.
[0136] Computer systems may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The client and server relationship arises through computer programs running on the respective computers and having a client-server relationship to each other.
[0137] The above are merely embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should all be included within the scope of the claims of the present application.
Claims
1. A data protection method, comprising: In response to the received read / write request, read the data stored in the cloud disk through the target sequence; Converting the data into a target file system format, and replaying the data in the target file system format according to the target sequence; wherein the target file system format is adapted to the file system of the client; Scan the replayed data in the target file system format to obtain malware identification results; The malware identification result is processed to recover or protect the data stored in the cloud disk.
2. The method according to claim 1, wherein: Converting the data to a target file system format includes: The data is converted into an ext4 file, an xfs file or an NTFS file.
3. The method according to claim 1, wherein: Scan the replayed data in the target file system format to obtain malware identification results, including: Scanning the replayed data in the target file system format to obtain scanning information; Using a malware library to identify target malware in the scan information and target files destroyed by the target malware; the malware library is used to provide behavioral feature information of the target malware; The target malware and / or the target file are used as malware identification results.
4. The method according to claim 1, wherein: Processing the malware identification result includes: A processing instruction is generated according to the malware identification result, and the processing instruction is sent to a control terminal; wherein the processing instruction is used to delete and / or isolate the malware identification result.
5. The method according to claim 1, wherein: Processing the malware identification result includes: Determine a recovery time of the hacked file, and restore the hacked file or delete the hacked file according to the recovery time.
6. The method according to claim 1, wherein: Processing the malware identification result includes: If any file in the malware identification result does not meet the saving condition, the target storage area of the cloud disk is restored to a state not invaded by the malware.
7. The method according to any one of claims 1 to 6, wherein: The method further comprises: Using a machine learning model and a malicious behavior signature library, based on the data stored in the target sequence, determine risky behaviors; An interception instruction is generated, and the interception instruction is sent to a control end so that the control end intercepts the risky behavior.
8. A storage server, wherein: It comprises a protection module and an EBS module; the protection module is used to execute the method steps described in any one of claims 1-7.
9. A client, comprising an application module, a file system and a block device; The application module is used to send a read / write request to the storage server according to claim 8 through the file system and the block device, so that the EBS module stores data in a target order according to the read / write request.
10. A data protection system comprising a client and a storage server; The storage server comprises a protection module and an EBS module; the protection module is used to execute the method steps according to any one of claims 1 to 7; The client includes an application module, a file system and a block device; the application module is used to send a read / write request to the storage server through the file system and the block device, so that the EBS module stores data in a target order according to the read / write request.
11. An electronic device, comprising: processor; as well as Memory for storing programs, The program comprises instructions, which, when executed by the processor, cause the processor to perform the method steps according to any one of claims 1 to 7.
12. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method steps according to any one of claims 1-7.
13. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method steps of any one of claims 1 to 7 are implemented.
