Data processing method and device
By storing data in different physical partitions according to the data protection level and adopting corresponding deletion methods, the problem that ICT product data cannot be reused after destruction is solved, thereby saving resources and reducing costs.
Patent Information
- Application Number
- CN202310261091.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-10
- Publication Date
- 2024-09-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing technologies cannot effectively improve the reusability of ICT product data after it is destroyed, resulting in waste of resources and increased costs.
By storing data in different physical partitions according to its protection level, and using different data deletion methods for each partition, for example, high protection levels use safe deletion or physical destruction, and low protection levels use logical deletion or retention, thereby improving the storage medium's efficiency. Reusability.
On the basis of ensuring the safe deletion of sensitive data, it is possible to flexibly process other data, improve the reusability of storage media, save resources and reduce costs.
Smart Images

Figure CN118625997A
Abstract
Description
Technical Field
[0001] The present application relates to the field of data security, and more specifically, to a method and device for processing data. Background Art
[0002] The data security of information and communications technology (ICT) products at the end-of-life stage is receiving more and more attention, and more and more regulations and standards require the destruction of sensitive data stored in ICT products. For example, customer business data is a type of sensitive data, and once leaked, it will have a significant impact.
[0003] In relevant technical solutions, ICT products that store sensitive data can be physically destroyed or their software destroyed. However, after the destruction, the ICT products can no longer be used, which leads to waste of resources and increased costs.
[0004] How to improve the reusability of ICT products after data destruction is an urgent problem to be solved. Summary of the invention
[0005] The present application provides a method for processing data, which can improve the reusability of ICT products after data destruction processing.
[0006] In a first aspect, a method for processing data is provided, comprising: determining a protection level of data; storing the data in at least one physical partition corresponding to the protection level of the data, wherein physical partitions corresponding to different protection levels correspond to different data deletion methods.
[0007] The method for processing data provided by the embodiment of the present application can store data of different protection levels in different physical partitions. When data needs to be destroyed, different data deletion methods can be used for each physical partition corresponding to different protection levels. For example, the physical partition corresponding to the high protection level can be securely deleted, and the physical partition corresponding to the low protection level can be logically deleted or retained. This can improve the reusability of the storage medium, thereby saving resources and reducing costs.
[0008] In combination with the first aspect, in some implementations of the first aspect, the method further includes: deleting data from the at least one physical partition according to a data deletion method corresponding to the at least one physical partition.
[0009] The method for processing data provided in the embodiment of the present application can delete data from the physical partitions storing data according to the protection level, and different protection levels correspond to different data deletion methods. For example, the physical partitions corresponding to the high protection level can be securely deleted or physically destroyed, and the physical partitions corresponding to the low protection level can be logically deleted or retained. In this way, the reusability of the storage medium can be improved, thereby saving resources and reducing costs.
[0010] In combination with the first aspect, in some implementations of the first aspect, the data deletion method includes: logical deletion, secure deletion, or physical destruction.
[0011] In the embodiment of the present application, the data deletion method may include logical deletion, secure deletion or physical destruction, and different protection levels may correspond to different data deletion methods, so that data destruction strategies can be flexibly formulated, thereby improving the reusability of storage media, saving resources and reducing costs.
[0012] In combination with the first aspect, in certain implementations of the first aspect, data is deleted from the at least one physical partition according to the data deletion method corresponding to the at least one physical partition, including: when the protection level of the data is the second level, logically deleting or securely deleting the at least one physical partition; when the protection level of the data is the third level, securely deleting the at least one physical partition.
[0013] The method for processing data provided in the embodiment of the present application can safely delete the physical partition corresponding to the high protection level, thereby realizing data destruction. The method can also logically delete or safely delete the physical partition corresponding to the medium protection level as needed. Therefore, on the basis of ensuring that sensitive data is safely deleted, the method can flexibly process other data, improve the reusability of the storage medium, thereby saving resources and reducing costs.
[0014] In combination with the first aspect, in certain implementations of the first aspect, when the protection level of the data is the first level, the at least one physical partition is retained.
[0015] The method for processing data provided in the embodiment of the present application can also retain the physical partitions corresponding to the low protection level, thereby improving the reusability of the storage medium, saving resources and reducing costs.
[0016] In combination with the first aspect, in some implementations of the first aspect, the at least one physical partition belongs to a storage product, and when the storage product carries the data when leaving the factory, the protection level of the data is the first level.
[0017] The data that storage products carry when they leave the factory is often indispensable for system operation. The method for processing data provided in the embodiment of the present application sets a lower protection level for data that is indispensable for system operation, thereby retaining this data to a greater extent. This improves the reusability of the storage medium, thereby saving resources and reducing costs.
[0018] In combination with the first aspect, in certain implementations of the first aspect, when the storage product does not carry the data when it leaves the factory and the data is business-related data, the protection level of the data is the third level.
[0019] The method for processing data provided in the embodiment of the present application sets different protection levels for system enabling data, user operation and maintenance data, and business-related data. The protection level of system enabling data is low and can be retained. The protection level of user operation and maintenance data is medium and can be logically deleted or safely deleted. The protection level of business-related data is high, and the physical partition where the business-related data is stored can be safely deleted. Therefore, this method can retain system enabling data and improve the reusability of storage media on the basis of ensuring that sensitive data is safely deleted, thereby saving resources and reducing costs.
[0020] In a second aspect, a data processing device is provided, which includes a module for implementing the first aspect or any possible implementation manner of the first aspect.
[0021] In a third aspect, a computing device is provided, comprising a processor and a memory, wherein the processor is used to execute instructions stored in the memory so that the computing device executes the method for processing data in the first aspect or any possible implementation of the first aspect.
[0022] According to a fourth aspect, a computer program product comprising instructions is provided. When the instructions are executed by a computing device, the computing device executes the method for processing data according to the first aspect or any possible implementation of the first aspect.
[0023] In a fifth aspect, a computer-readable storage medium is provided, comprising computer program instructions. When the computer program instructions are executed by a computing device, the computing device executes the method for processing data of the first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 is a schematic block diagram of a data storage system 100 .
[0025] Figure 2 It is a schematic flowchart of a method for processing data provided in an embodiment of the present application.
[0026] Figure 3 It is a schematic block diagram of a data processing device 300 provided in an embodiment of the present application.
[0027] Figure 4 An embodiment of the present application provides a schematic diagram of the architecture of a computing device 400.
[0028] Figure 5 It is a schematic block diagram of a storage product 500 provided in an embodiment of the present application.
[0029] Figure 6 It is a schematic block diagram of another storage product 600 provided in an embodiment of the present application.
[0030] Figure 7 It is a schematic diagram of another storage product 700 provided in an embodiment of the present application.
[0031] Figure 8 It is a schematic flowchart of another method for processing data provided in an embodiment of the present application. DETAILED DESCRIPTION
[0032] The technical solution in this application will be described below in conjunction with the accompanying drawings.
[0033] The present application will present various aspects, embodiments or features around a system that may include multiple devices, components, modules, etc. It should be understood and appreciated that each system may include additional devices, components, modules, etc., and / or may not include all of the devices, components, modules, etc. discussed in conjunction with the figures. In addition, combinations of these schemes may also be used.
[0034] In addition, in the embodiments of the present application, words such as "exemplary" and "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present concepts in a concrete way.
[0035] The network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. A person of ordinary skill in the art can appreciate that with the evolution of the network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0036] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0037] The definition of sensitive data varies in different scenarios. For equipment suppliers, all business data generated by customers using equipment is sensitive data. When the equipment is recycled, this sensitive data should be securely deleted.
[0038] Figure 1 1 shows a schematic block diagram of a data storage system 100. Figure 1 , the client host 140 is in communication connection with the storage product 110, and the storage product 110 may include a controller board 120 and a hard disk array 130, wherein the controller board 120 includes a system disk 121, a system disk 122, a temporary cache disk 123, and a temporary cache disk 124, and the storage medium in the controller board 120 is used to store system enabling data, user operation and maintenance data, and cache data of customer services. The hard disk array 130 includes a data disk 131, a data disk 132, a data disk 133, and a temporary cache disk 134, and the storage medium in the hard disk array 130 is used to store service-related data. It can be understood that the controller board 120 may include more system disks or temporary cache disks, and the hard disk array 130 may also include more data disks and temporary cache disks.
[0039] Different types of data have different protection levels. For example, the technical specification ISO / IEC 21964 defines the protection levels of data as follows:
[0040] Protection class 1: The general confidentiality requirements for internal data. The most common data is for large groups. Unauthorized publication or dissemination will have a certain negative impact on the company. Personal data must be kept confidential, otherwise it will endanger the positions and financial status of relevant personnel. Data that comes with the equipment when it leaves the factory, such as system software, configuration data, customer network data, etc., all belong to protection class 1.
[0041] Protection class 2: Higher confidentiality requirements for confidential data, limited to a small group of people, unauthorized publication or dissemination will have a considerable impact on the company and may violate legal obligations or regulations, and strict requirements must be met for the confidentiality of personal data, otherwise it will endanger the social status and financial situation of the relevant personnel. Customer business data generally belongs to protection class 2.
[0042] Protection class 3: Very high confidentiality requirements for specific confidential data, which must be limited to a very small number of designated authorized personnel. Unauthorized dissemination may have a decisive and final impact on the company and may violate commercial confidentiality obligations, contracts or laws. Personal information must be protected, otherwise it will endanger the health, safety or personal freedom of the relevant personnel. Some very private personal data (such as asset status, asset account, consumption and payment information, income information, personal financial information) belongs to protection class 3.
[0043] Among them, the higher the protection level, the more difficult it is to recover the data after it is deleted. Data at protection level 3 cannot be recovered even with the latest technology.
[0044] It should be noted that the above are only examples, and the present application does not impose any specific limitation on the classification of data protection levels. For example, more protection levels or fewer protection levels may be set.
[0045] For storage products that store data with a higher protection level (also known as more sensitive data), physical destruction or software destruction can be used to destroy them. For example, physical destruction can physically damage the storage product; software destruction can repeatedly write junk data (for example, all 0s or 1s) into the storage area for sensitive data, thereby achieving data destruction.
[0046] When the storage product 110 needs to be recycled, data destruction needs to follow the "highest protection principle". That is, if a hard disk stores data with different protection levels, the data should be destroyed according to the data deletion method corresponding to the highest protection level among the data. Therefore, data with lower protection levels are also destroyed according to the highest protection level, resulting in a waste of resources and increased costs.
[0047] Figure 2 A schematic flow chart of a method for processing data provided by an embodiment of the present application is shown. The method stores data of different protection levels in different physical partitions, which helps to improve the reusability of ICT products after data destruction. Figure 2 The data processing method shown can be executed by a data processing device.
[0048] Step S210, determining the protection level of the data.
[0049] For example, different protection levels can be divided according to information such as data content, ownership, file type, and risk after leakage.
[0050] Among them, data content can be divided into system enabling data, device configuration alarm data, etc.; data ownership can be divided into operator data, customer data, etc.; file types can be divided into executable files, text (txt) files, etc. Based on the above information, the risks brought by leakage can be considered, and different data protection levels will be defined.
[0051] For example, based on data ownership, the data generated when a storage product leaves the factory can be identified as system-enabling data; the data generated after the storage product leaves the factory can be divided into user operation and maintenance data and business-related data.
[0052] User operation and maintenance data may include data that is not related to personal sensitive information, such as program codes set by users.
[0053] Business-related data may include data that is more related to personal sensitive information, such as bank card passwords, bank card balances, ID numbers, etc. Business-related data may also include business information of an enterprise, such as turnover, costs, profits, etc.
[0054] The present application does not limit the classification of protection levels. For example, more protection levels or fewer protection levels may be set.
[0055] For example, system enabling data may be set to the first level, user operation and maintenance data may be set to the second level, and business-related data may be set to the third level.
[0056] In some embodiments, the data deletion method corresponding to the third level is the most stringent, and the data deletion method corresponding to the first level is the most relaxed. For example, data at the third level can be securely deleted by overwriting, data at the second level can be securely deleted or logically deleted, and data at the first level can be retained.
[0057] Logical deletion can make the pointer of a data point to null, so that it cannot be directly read from the storage medium. However, logical deletion does not really delete the data, and the file can be restored using appropriate tools or software.
[0058] Secure deletion can replace the original data with junk data, for example, by repeatedly writing junk data into the storage area of the original data. Secure deletion overwrites each bit in the physical addressing range of the data cleaning partition, for example, by bit overwriting or module (block) power off. Secure deletion cannot restore the original data.
[0059] In other embodiments, the second level data may be securely deleted by physical destruction, and the first level data may be retained.
[0060] In still other embodiments, the second level data may be logically deleted and the first level data may be retained.
[0061] Optionally, the at least one physical partition belongs to a storage product, and when the storage product carries the data when it leaves the factory, the protection level of the data is the first level.
[0062] The data that storage products carry when they leave the factory is often indispensable for system operation. The method for processing data provided in the embodiment of the present application sets a lower protection level for data that is indispensable for system operation, thereby retaining this data to a greater extent. This improves the reusability of the storage medium, thereby saving resources and reducing costs.
[0063] Optionally, when the storage product does not carry the data when it leaves the factory and the data is business-related data, the protection level of the data is the third level.
[0064] For example, business-related data may include a person’s bank card password, deposit balance, ID number, address, as well as a company’s turnover, profit, cost, personnel information and other sensitive data.
[0065] User operation and maintenance data can be data that is not very sensitive but is entered after the storage product leaves the factory, for example, program codes written by the user.
[0066] The method for processing data provided in the embodiment of the present application sets different protection levels for system enabling data, user operation and maintenance data, and business-related data. The protection level of system enabling data is low and can be retained. The protection level of user operation and maintenance data is medium and can be logically deleted or safely deleted. The protection level of business-related data is high, and the physical partition where the business-related data is stored can be safely deleted. Therefore, this method can retain system enabling data and improve the reusability of storage media on the basis of ensuring that sensitive data is safely deleted, thereby saving resources and reducing costs.
[0067] Step S220: storing the data in at least one physical partition corresponding to the protection level of the data, wherein physical partitions corresponding to different protection levels correspond to different data deletion methods.
[0068] The protection level of the data may correspond to at least one physical partition, and these physical partitions constitute a data cleansing partition.
[0069] The data deletion mechanism determines that the minimum physical address range for safe deletion is the lower limit of the physical partition, that is, the physical partition cannot be smaller than this area, otherwise safe deletion cannot be achieved. The physical partition can be a hard disk, chip, device on a single board, single board, continuous physical address of flash memory, etc. This application does not limit the specific form of the physical partition.
[0070] A single board refers to an electronic device that can be inserted into a chassis and provide various uplink or service ports. A single board may include chips and electronic components.
[0071] For example, when the storage product is a hard disk, since only the entire hard disk is allowed to be overwritten when overwriting, the minimum deletion granularity of the hard disk is the entire hard disk. Therefore, a hard disk can be used as a physical partition, and at least one hard disk can be used as a data cleaning partition.
[0072] For example, when the storage product is a flash memory, since the flash memory allows overwriting according to a continuous physical address space when overwriting, a section of continuous physical address space is a physical partition. At least one physical partition can be used as a data cleaning partition.
[0073] It can be understood that data of different protection levels are stored in different physical partitions, so that data of different protection levels can be separated. For example, data of a high protection level can be stored in one physical partition, and data of a low protection level can be stored in another physical partition.
[0074] Physical partitions corresponding to different protection levels correspond to different data deletion methods. For example, data with a high protection level is stored in a physical partition, which can be understood as the high protection level corresponding to the physical partition, and data with a low protection level is stored in another physical partition, which can be understood as the low protection level corresponding to the other physical partition. The data deletion method of the physical partition corresponding to the high protection level is different from the data deletion method of the other physical partition corresponding to the low protection level. For example, the data deletion method of the physical partition corresponding to the high protection level is more stringent, which can be secure deletion or physical destruction, and the data deletion method of the other physical partition corresponding to the low protection level is more relaxed than the high protection level, which can be logical deletion or retention.
[0075] Optionally, storing the data in at least one physical partition corresponding to the protection level of the data includes: determining a label corresponding to the protection level of the data; and storing the data in the at least one physical partition corresponding to the determined label.
[0076] In some other embodiments, a mapping table may be maintained, the mapping table including a mapping relationship between a protection level and at least one physical partition. According to the mapping table and the protection level of the data, the data is stored in at least one physical partition corresponding to the mapping relationship of the data.
[0077] For example, the data processing device may label each physical partition, and these labels may be used to indicate the data deletion method of the corresponding physical partition. For example, colors may be used as labels, red indicating that the physical partition needs to be safely deleted, yellow indicating that the physical partition can be logically deleted, and green indicating that the physical partition needs to be retained. The present application does not limit the form of the label, for example, discrete values, continuous values, levels, etc. may also be used.
[0078] The method for processing data provided in the embodiment of the present application can determine the physical partition according to the protection level of the data and the label of the physical partition, and realizes the storage of data with different protection levels in different physical partitions, thereby helping to improve the reusability of the storage medium, thereby saving resources and reducing costs.
[0079] Optionally, the method further includes: deleting data from the at least one physical partition according to a data deletion method corresponding to the at least one physical partition.
[0080] In some embodiments, a corresponding data deletion method may be determined according to a label corresponding to a protection level, and data may be deleted from at least one physical partition according to the corresponding data deletion method.
[0081] For example, the level can be used as a label to divide it into level A and level B. The data of level A physical partition can be deleted by logical deletion, while the data of level B physical partition can be retained.
[0082] For another example, discrete values can be used as labels, divided into 1, 2, 3, and 4. The physical partition with label 1 is physically destroyed, the physical partition with label 2 is securely deleted, the physical partition with label 3 is logically deleted, and the physical partition with label 4 is retained.
[0083] In other embodiments, a mapping table may be maintained, the mapping table including a first mapping relationship between a protection level and at least one physical partition, and the mapping table also including a second mapping relationship between at least one physical partition and a data deletion method.
[0084] For example, at least one physical partition may be determined according to the protection level and the first mapping relationship, and then the data deletion method may be determined according to the second mapping relationship.
[0085] The method for processing data provided in the embodiment of the present application can delete data from the physical partitions storing data according to the protection level, and different protection levels correspond to different data deletion methods. For example, the physical partitions corresponding to the high protection level can be securely deleted or physically destroyed, and the physical partitions corresponding to the low protection level can be logically deleted or retained. In this way, the reusability of the storage medium can be improved, thereby saving resources and reducing costs.
[0086] Optionally, the data deletion method includes: logical deletion, secure deletion or physical destruction.
[0087] Logical deletion can make the pointer of a data point to null, so that it cannot be directly read from the storage medium. However, logical deletion does not really delete the data, and the file can be restored using appropriate tools or software.
[0088] Secure deletion can replace the original data with junk data, for example, by repeatedly writing junk data into the storage area of the original data. Secure deletion overwrites each bit in the physical addressing range of the data cleaning partition, for example, by bit overwriting or module (block) power off. Secure deletion cannot restore the original data.
[0089] Physical destruction can be carried out by destroying storage media through methods such as crushing and high-temperature treatment.
[0090] In the embodiment of the present application, the data deletion method may include logical deletion, secure deletion or physical destruction, and different protection levels may correspond to different data deletion methods, so that data destruction strategies can be flexibly formulated, thereby improving the reusability of storage media, saving resources and reducing costs.
[0091] Optionally, data is deleted from the at least one physical partition according to the determined label, including: when the protection level of the data is the second level, logically deleting or securely deleting the at least one physical partition; when the protection level of the data is the third level, securely deleting the at least one physical partition.
[0092] Optionally, the method further includes: when the protection level of the data is the first level, retaining the at least one physical partition.
[0093] It should be noted that the above is only an example, and the present application does not limit the division of protection levels, nor does it limit the specific destruction methods for different levels. For example, more or fewer protection levels can be set. For example, the physical partition corresponding to the first level can be logically deleted, the physical partition corresponding to the second level can be securely deleted, and the physical partition corresponding to the third level can be physically destroyed.
[0094] It can be understood that the third level is higher than the second level, and the second level is higher than the first level.
[0095] The method for processing data provided in the embodiment of the present application can safely delete the physical partition corresponding to the high protection level, thereby realizing data destruction. The method can also logically delete or safely delete the physical partition corresponding to the medium protection level as needed. Therefore, on the basis of ensuring that sensitive data is safely deleted, the method can flexibly process other data, improve the reusability of the storage medium, thereby saving resources and reducing costs.
[0096] On the other hand, the method for processing data provided in the embodiment of the present application can also retain the physical partitions corresponding to the low protection level, thereby improving the reusability of the storage medium, saving resources and reducing costs.
[0097] The method for processing data provided in the embodiment of the present application can safely delete the physical partition corresponding to the high protection level, thereby realizing data destruction. The method can also retain the data of the low protection level, and logically delete or safely delete the physical partition corresponding to the medium protection level as needed. Therefore, on the basis of ensuring that sensitive data is safely deleted, the method can flexibly process other data, improve the reusability of the storage medium, thereby saving resources and reducing costs.
[0098] Optionally, the data includes system enabling data, user operation and maintenance data or business-related data, wherein the protection level of the system enabling data, the protection level of the user operation and maintenance data and the protection level of the business-related data are different.
[0099] For example, based on data ownership, the data generated when a storage product leaves the factory can be determined as system-enabling data; the data generated after the storage product leaves the factory can be divided into user operation and maintenance data and business-related data.
[0100] System enabling data is data that is indispensable for system operation. User operation and maintenance data may or may not be sensitive data. Business-related data is often sensitive data. The method for processing data provided in the embodiment of the present application sets different protection levels for system enabling data, user operation and maintenance data, and business-related data, thereby corresponding to different data deletion methods. Therefore, on the basis of ensuring that sensitive data is securely deleted, the method can flexibly process other data, improve the reusability of storage media, thereby saving resources and reducing costs.
[0101] It can be understood that the present application does not limit the classification of data to be stored and deleted, for example, it can also be operator data, customer data, etc., for example, it can also be classified according to executable files and text files.
[0102] The method for processing data provided by the embodiment of the present application can store data of different protection levels in different physical partitions. When data needs to be destroyed, different data deletion methods can be used for each physical partition corresponding to different protection levels. For example, the physical partition corresponding to the high protection level can be securely deleted, and the physical partition corresponding to the low protection level can be logically deleted or retained. This can improve the reusability of the storage medium, thereby saving resources and reducing costs.
[0103] On the other hand, the embodiments of the present application meet the requirements of storage products that can safely delete high-protection-level data and retain low-protection-level data, so that storage products can be reused, the recycling rate of storage products can be improved, and costs can be reduced. For example, storage products that store high-protection-level data can be screened and left overseas for local processing, while storage products that store low-protection-level data can be sent to domestic processing, thereby reducing costs.
[0104] Combined with the above Figure 2 The method embodiments of the present application are described in detail. The device embodiments of the present application are described below. The device embodiments correspond to the method embodiments, so the parts not described in detail can refer to the previous method embodiments. The device can implement any possible implementation of the above method.
[0105] The present application also provides a data processing device 300, such as Figure 3 As shown, the data processing device 300 includes: a determination module 310, used to determine the protection level of data; a storage module 320, used to store the data in at least one physical partition corresponding to the protection level of the data, wherein the physical partitions corresponding to different protection levels correspond to different data deletion methods.
[0106] The determination module 310 and the storage module 320 can be implemented by software or by hardware. Exemplarily, the implementation of the determination module 310 is described below by taking the determination module 310 as an example. Similarly, the implementation of the storage module 320 can refer to the implementation of the determination module 310.
[0107] As an example of a software functional unit, the module 310 may include code running on a computing instance. The computing instance may include at least one of a physical host (computing device), a virtual machine, and a container. Furthermore, the computing instance may be one or more.
[0108] As an example of a hardware functional unit, the module 310 can include at least one computing device, such as a server, etc. Alternatively, the processing module can also be a device implemented by an application-specific integrated circuit (ASIC) or a programmable logic device (PLD). The PLD can be a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.
[0109] The present application also provides a computing device 400. Figure 4 As shown, computing device 400 includes: bus 402, processor 404, memory 406 and communication interface 408. Processor 404, memory 406 and communication interface 408 communicate through bus 402. Computing device 400 can be a server or a terminal device. It should be understood that the present application does not limit the number of processors and memories in computing device 400.
[0110] The bus 402 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 The bus 402 is represented by only one line, but it does not mean that there is only one bus or one type of bus. The bus 402 may include a path for transmitting information between various components of the computing device 400 (eg, the memory 406, the processor 404, and the communication interface 408).
[0111] The processor 404 may include any one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).
[0112] The memory 406 may include a volatile memory, such as a random access memory (RAM). The memory 406 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD).
[0113] The memory 406 stores executable program codes, and the processor 404 executes the executable program codes to respectively implement the functions of the aforementioned determination module 310 and storage module 320, thereby implementing the method for processing data. That is, the memory 406 stores instructions for executing the method for processing data.
[0114] The communication interface 408 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement communication between the computing device 400 and other devices or a communication network.
[0115] The embodiment of the present application also provides a computer program product including instructions. The computer program product may be software or a program product including instructions that can be run on a computing device or stored in any available medium. When the computer program product is run on at least one computing device, the at least one computing device executes the above-mentioned method for processing data.
[0116] The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be stored by a computing device or a data storage device such as a data center containing one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk). The computer-readable storage medium includes instructions that instruct the computing device to execute the above-mentioned method for processing data.
[0117] Figure 5 A schematic block diagram of a storage product 500 provided in an embodiment of the present application is shown. Figure 5 The method can be applied to a data storage system using a hard disk as a storage medium.
[0118] The storage product 500 includes a controller board 510 and a hard disk array 520. The controller board 510 includes a system disk 511, a system disk 512, a temporary cache disk 513 and a temporary cache disk 514, and the hard disk array 520 includes a data disk 521, a data disk 522, a data disk 523 and a temporary cache disk 524. It can be understood that Figure 5As an example only, the present application does not limit the specific number of storage media in the controller board and the hard disk array. For example, the controller board 510 may also include more system disks and temporary cache disks, and the hard disk array 520 may also include more data disks and temporary cache disks.
[0119] Storage product 500 may be divided into multiple partitions, such as data cleaning partition 530, data cleaning partition 540, and data cleaning partition 550. Data cleaning partition 530 may include system disk 511, system disk 512, and temporary cache disk 513; data cleaning partition 540 may include temporary cache disk 514, data disk 521, and data disk 522; data cleaning partition 550 may include data disk 523 and temporary cache disk 524.
[0120] In some embodiments, data with a lower protection level can be stored in the storage medium of the data cleaning partition 530, data with a medium protection level can be stored in the storage medium of the data cleaning partition 540, and data with a higher protection level can be stored in the storage medium of the data cleaning partition 550.
[0121] For example, the system enabling data can be stored in the storage medium of the data cleaning partition 530, the user operation and maintenance data can be stored in the storage medium of the data cleaning partition 540, and the business-related data can be stored in the storage medium of the data cleaning partition 550. In this way, when the data storage system 500 needs to be recycled, the storage media of the data cleaning partition 550 and the data cleaning partition 540 can be overwritten to safely delete the business-related data and the user operation and maintenance data, and retain the data cleaning partition 530, so that the system enabling data can be retained. Therefore, the storage product 500 can be reused after recycling, saving resources and reducing costs.
[0122] In some embodiments, the partitioning of the data cleaning partition is performed by a partitioning module, which may be a software module of a controller board. The partitioning module may partition multiple storage disks (e.g., a system disk, a data disk, and a temporary cache disk), and may also label each partition with a data protection level.
[0123] Figure 5 The storage product 500 shown supports a method of data partition storage and destruction, and utilizes a software and hardware implementation mechanism of interlocking data protection levels and physical storage address intervals to achieve destruction of sensitive data while maximizing the reuse of the device.
[0124] Figure 6 A schematic block diagram of another storage product 600 provided in an embodiment of the present application is shown. For example, the storage product 600 can be applied to a data storage system using a single board as a storage medium.
[0125] See also Figure 6 The storage product 600 may include a central processing unit (CPU) 610, a data cleaning partition 620 and a data cleaning partition 630. The data cleaning partition 620 includes a coding (NOR) flash memory 621 and a storage (NAND) flash memory 622, and the data cleaning partition 630 includes a double data rate synchronous dynamic random access memory (DDR SDRAM) 631, an electrically erasable programmable read only memory (EEPROM) 632 and a universal serial bus (USB) interface 633. It should be noted that Figure 6 The storage product 600 shown is only an example and does not constitute a limitation to the present application. For example, the storage product 600 may also include more storage media, and the data cleaning partitions may also be divided according to other methods.
[0126] For example, the data cleaning partition 620 may store data with a higher protection level.
[0127] In some embodiments, the first 5MB of the NOR flash memory 621 can be used to store the diskless boot ROM firmware of the board, and other storage areas of the NOR flash memory 621 can be used to store data with less changes, such as device certificates imported by customers.
[0128] In some embodiments, the NAND flash memory 622 can be used to store the customer's operation and maintenance data and business data. For example, the NAND flash memory 622 can be divided into partitions such as a system area, a version area, a log area, and a running area to store data.
[0129] For example, the data cleaning partition 630 may store data with a lower protection level.
[0130] In some embodiments, DDR SDRAM 631 may store data in the “running area” of NAND flash memory 622 .
[0131] In some embodiments, EEPROM632 may belong to a controller area network (CAN) and be used to store electronic tags, single-board electronic insurance policies, etc.
[0132] In some embodiments, the USB interface 633 is used for internal testing and debugging and is not involved in the storage of data.
[0133] During data storage, the "board coloring principle" can be followed, that is, the highest partition to which the storage medium on the board belongs determines which data cleaning partition the board belongs to.
[0134] Figure 6 The storage product 600 shown divides the single board or the components in the single board into different partitions, so that data deletion can be performed according to the partition granularity. For single boards and components on the single boards that do not involve high-protection-level data, safe deletion may not be performed.
[0135] Figure 7 A schematic diagram of another storage product 700 provided in an embodiment of the present application is shown. For example, the storage product 700 can be applied to a data storage system using flash memory as a storage medium.
[0136] A data cleanup partition can also be one or more segments of continuous physical address space. For example, see Figure 7 The storage product 700 may include a data cleaning partition 710, a data cleaning partition 720, a data cleaning partition 730, and a data cleaning partition 740. The above four data cleaning partitions may store data of different protection levels.
[0137] It should be noted that Figure 7 The number on the left (e.g. 0x00000000) indicates the address. Figure 7 This is only an example and does not constitute a limitation of the present application. A person skilled in the art can divide more or fewer data cleaning partitions as needed, or divide a data cleaning partition according to any address.
[0138] For example, data cleaning partition 710 can store firmware or system software; data cleaning partition 720 can store configuration data, alarm data or log data; data cleaning partition 730 can store software installed by customers themselves; data cleaning partition 740 can store customer user identification (ID), password and other data.
[0139] Among them, the protection level of data cleaning partition 740 is the highest, the protection level of data cleaning partition 730 is second, the protection level of data cleaning partition 720 is third, and the protection level of data cleaning partition 710 is the lowest.
[0140] In some embodiments, when the storage product 700 needs to be repaired, to prevent data leakage, the data cleaning partition 740 and the data cleaning partition 730 can be overwritten, and the data cleaning partition 720 can be logically deleted. In order to enable the storage product 700 to be used normally after repair, the data cleaning partition 710 can be retained.
[0141] Figure 8A schematic flowchart of another method for processing data provided in an embodiment of the present application is shown. Figure 8 This is only an example and does not constitute a limitation to the present application. Figure 8 The data processing method shown can be executed by a data processing device.
[0142] S810, divide at least one data cleaning partition.
[0143] In some embodiments, the data processing device may define a data cleaning partition of the storage product. The data processing device may use the address interval of the minimum deletion granularity as a physical partition, and at least one physical partition constitutes a data cleaning partition.
[0144] For example, when the storage product is a hard disk, since only the entire hard disk is allowed to be overwritten when overwriting, the minimum deletion granularity of the hard disk is the entire hard disk. Therefore, a hard disk can be used as a physical partition, and at least one hard disk can be used as a data cleaning partition. Figure 5 In the example, data disk 521 , data disk 522 and temporary cache disk 514 belong to data cleaning partition 540 .
[0145] For example, when the storage product is a flash memory, since the flash memory allows overwriting according to the continuous physical address space when overwriting, a section of continuous physical address space is a physical partition. At least one physical partition can be used as a data cleaning partition. Figure 7 In the example, the data cleaning partition 710 is a continuous physical address space (from 0x00000000 to 0x10001000), and the data cleaning partition 710 includes one physical partition.
[0146] In some other embodiments, the data cleaning partition of the flash memory may include multiple physical partitions. For example, a data cleaning partition may include a first physical partition (from 0x00000000 to 0x10001000) and a second physical partition (from 0x41001000 to 0x701001000).
[0147] In some embodiments, the data processing device may divide the storage medium into multiple data cleaning intervals. The data processing device may use the address interval of the minimum deletion granularity as a physical partition and divide at least one physical partition into a data cleaning partition. Therefore, the data processing device may divide the storage medium into multiple data cleaning spaces according to the minimum deletion granularity.
[0148] For example, in the case where the storage product is a hard disk, Figure 5 As shown; in the case where the storage product is a flash memory, it can be Figure 7 shown.
[0149] When the storage product is a single board, the data cleaning interval may be a device or a single board on the single board, or a continuous physical address space of a flash memory on the single board.
[0150] In some embodiments, the data processing device may record the number of each data cleaning interval.
[0151] S820: Store the data in a corresponding data cleaning partition according to the data protection level.
[0152] In some embodiments, the data processing apparatus defines a protection level for the data.
[0153] For example, different protection levels can be divided according to information such as data content, ownership, file type, and risk after leakage.
[0154] Among them, data content can be divided into system enabling data, device configuration alarm data, etc.; data ownership can be divided into operator data, customer data, etc.; file types can be divided into executable files, text (txt) files, etc. Based on the above information, the risks brought by leakage can be considered, and different data protection levels will be defined.
[0155] The following uses a single board as an example to explain how to define and mark the protection level of data.
[0156] Export all file directory lists through the file system function of the single board, such as through the log export function provided by the underlying software (for example, export the one-click log of the single board through uld file), and export the file snapshot HffsFilesInfo.log. The file snapshot is the file system information on the single board when exporting the log. Through this file snapshot, you can check whether the file exists and indirectly clarify the file change time based on the file refresh time to assist in positioning. Manually review each file directory in the list, add file classification and grading information, and output the data grading baseline.
[0157] In some embodiments, the data processing device may store the data in a partition corresponding to the protection level of the data.
[0158] For example, data with a higher protection level is stored in one data cleaning interval, and data with a lower protection level is stored in another data cleaning interval. In this way, data with different protection levels are stored in different data retention intervals.
[0159] There can be different data cleansing partitions for data belonging to operators and data belonging to customers, because in the reuse scenario, the system-enabling data of the storage product needs to be retained, while the customer data needs to be destroyed. Having different data cleansing partitions for these two types of data can achieve this goal.
[0160] In some embodiments, the data processing device may record data classification information and corresponding data cleaning partition information.
[0161] For example, the data processing device may maintain a mapping table, which includes a mapping relationship between data protection levels and data cleaning partitions.
[0162] S830, deleting data from each data cleaning partition.
[0163] In some embodiments, the data processing device may formulate a data deletion policy for the data partition.
[0164] For example, a data deletion method may be determined for data at different protection levels, such as requiring a logical deletion method to be used for data at a lower protection level and a secure deletion method to be used for data at a higher protection level.
[0165] In some embodiments, the data processing device may delete data from each data cleaning partition according to a data deletion policy.
[0166] Optionally, in some embodiments, the data processing device may also output a security deletion certificate.
[0167] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0168] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the module is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0169] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0170] In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.
[0171] If it is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can essentially or in other words, the part that contributes or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method of each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program code.
[0172] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for processing data, characterized in that: include: Determine the level of protection for your data; The data is stored in at least one physical partition corresponding to the protection level of the data, wherein physical partitions corresponding to different protection levels correspond to different data deletion methods.
2. The method according to claim 1, characterized in that: Also includes: Data is deleted from the at least one physical partition according to the data deletion mode corresponding to the at least one physical partition.
3. The method according to claim 1 or 2, characterized in that: The data deletion methods include: logical deletion, secure deletion or physical destruction.
4. The method according to claim 2 or 3, characterized in that: Deleting data from the at least one physical partition according to the data deletion mode corresponding to the at least one physical partition includes: In a case where the protection level of the data is the second level, logically deleting or securely deleting the at least one physical partition; In a case where the protection level of the data is the third level, the at least one physical partition is securely deleted.
5. The method according to any one of claims 1 to 4, characterized in that: Also includes: In a case where the protection level of the data is a first level, the at least one physical partition is reserved.
6. The method according to claim 5, characterized in that The physical partition belongs to a storage product. When the storage product carries the data when it leaves the factory, the protection level of the data is the first level.
7. The method according to claim 6, characterized in that In the case where the storage product does not carry the data when it leaves the factory and the data is business-related data, the protection level of the data is the third level.
8. A device for processing data, characterized in that: include: A determination module, used to determine the protection level of data; The storage module is used to store the data in at least one physical partition corresponding to the protection level of the data, wherein the physical partitions corresponding to different protection levels have different data deletion modes.
9. The device according to claim 8, characterized in that Also includes: The data deletion module is used to delete data from the at least one physical partition according to the data deletion method corresponding to the at least one physical partition.
10. The device according to claim 8 or 9, characterized in that The data deletion methods include: logical deletion, secure deletion or physical destruction.
11. The device according to claim 9 or 10, characterized in that The data deletion module is specifically used for: In a case where the protection level of the data is the second level, logically deleting or securely deleting the at least one physical partition; In a case where the protection level of the data is the third level, the at least one physical partition is securely deleted.
12. The device according to any one of claims 8 to 11, characterized in that The data deletion module is also used for: In a case where the protection level of the data is a first level, the at least one physical partition is reserved.
13. The device according to claim 12, characterized in that The at least one physical partition belongs to a storage product, and when the storage product carries the data when it leaves the factory, the protection level of the data is the first level.
14. The device according to claim 13, characterized in that In the case where the storage product does not carry the data when it leaves the factory and the data is business-related data, the protection level of the data is the third level.
15. A computing device, characterized in that: The method comprises a processor and a memory, wherein the processor is configured to execute instructions stored in the memory so that the computing device executes the method according to any one of claims 1 to 7.
16. A computer program product comprising instructions, characterized in that When the instructions are executed by a computing device, the computing device is caused to perform the method according to any one of claims 1 to 7.
17. A computer-readable storage medium, characterized in that: The method comprises computer program instructions, and when the computer program instructions are executed by a computing device, the computing device performs the method as claimed in any one of claims 1 to 7.
Citation Information
Cited By
Data processing method and device of storage equipment, electronic equipment and storage medium
CN120428919A
