A data storage optimization method and system based on multi-level information security

By generating a security performance fusion feature tensor and performing differentiated security processing, the data storage hierarchy is dynamically and adaptively determined, solving the problem that existing data storage solutions cannot be differentiated according to security requirements, and achieving efficient and reasonable data storage and security management.

CN123139318APending Publication Date: 2026-11-20XINZHI CLOUD SERVICE (BEIJING) TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611535858.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-30
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing data storage solutions are unable to differentiate management based on actual data security needs, resulting in the inability to achieve efficient and reasonable data storage while ensuring data security.

Method used

By generating a security performance fusion feature tensor, and combining the load status of the business system and the multidimensional semantic features of the data block, the storage level of the data block is dynamically and adaptively determined, and differentiated security processing strategies are adopted, including the use of HMAC-SHA256 algorithm, Paillier homomorphic encryption algorithm and LZ4 compression algorithm, to build an intelligent hierarchical partitioning mechanism.

Benefits of technology

It enables a leap from static rules to dynamic adaptation in data storage hierarchy decision-making, improves the utilization efficiency of computing and storage resources, resolves the contradiction between data security and system performance in traditional solutions, and establishes an efficient and reliable data management and access system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123139318A_ABST
    Figure CN123139318A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of data storage, and discloses a data storage optimization method and system based on multi-level information security, which comprises the following steps: obtaining original business data; generating a load state vector of a business system; performing sliding window sampling on the original business data to obtain data blocks; generating a semantic feature vector of the data blocks; splicing to generate a security performance fusion feature tensor; inputting a preset hierarchical division model to analyze the storage level of the data blocks; performing security processing on the data blocks; inserting a metadata header indicating the storage level of the data blocks; re-encapsulating according to an original time sequence; storing the data blocks in corresponding storage media; and generating a storage index table of the original business data according to a logical address of the original business data and physical addresses of the data blocks. The application constructs an intelligent hierarchical division mechanism driven by a security performance fusion feature tensor by deeply fusing a real-time load state of a business system and multi-dimensional security semantic features of data blocks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data storage technology, and more specifically, to a data storage optimization method and system based on multi-level information security. Background Technology

[0002] With the rapid development of information technology and the deepening of digital transformation, various business systems (such as financial transaction systems, e-commerce platforms, healthcare information systems, and government data management platforms) generate massive amounts of business data every day. This data is not only enormous in scale and diverse in type, but also contains different levels of security sensitivity requirements. How to achieve efficient and reasonable data storage while ensuring data security has become a key technical problem that urgently needs to be solved in the field of information technology.

[0003] Currently, common data storage solutions in the industry mainly fall into two categories: unified centralized storage and tiered storage. Unified centralized storage stores all business data on the same type of storage medium and manages it using a single security policy. Tiered storage technology typically divides data into different performance tiers of storage media (such as high-speed solid-state drives, hard disk drives, and tape archives) based on data access frequency or timeliness. When tiering, the focus is primarily on data access performance and storage costs, rather than the security requirements of the data content.

[0004] Therefore, there is an urgent need for a data storage optimization method and system that can perform differentiated storage management based on the actual security needs of the data, so as to achieve efficient and reasonable data storage while ensuring data security. Summary of the Invention

[0005] To address the aforementioned technical issues, this application is proposed to provide a data storage optimization method and system based on multi-level information security, which achieves efficient and reasonable data storage while ensuring data security.

[0006] In a first aspect, the present invention provides a data storage optimization method based on multi-level information security, comprising: obtaining raw business data from a business system; generating a load state vector of the business system based on the load state of the business system; performing sliding window sampling on the raw business data to obtain data blocks; extracting and generating a semantic feature vector of the data blocks based on the data entropy value, field sensitivity identifier density, and access frequency prediction value of the data blocks; concatenating the semantic feature vector of the data blocks with the load state vector of the business system to generate a security performance fusion feature tensor; and inputting the security performance fusion feature tensor into a preset hierarchical partitioning model, through... The hierarchical partitioning model analyzes the storage hierarchy of the data blocks; based on the storage hierarchy, the data blocks are subjected to security processing; a metadata header indicating the storage hierarchy of the data blocks is inserted into the data blocks; the multiple data blocks corresponding to the original business data, after security processing, are repackaged according to their original time sequence; based on the metadata headers of the multiple data blocks, the multiple data blocks are stored in their corresponding storage media, and their physical addresses are extracted; based on the logical address of the original business data and the physical addresses of the multiple data blocks, a storage index table for the original business data is generated as the basis for accessing the original business data.

[0007] Optionally, in the aforementioned data storage optimization method based on multi-level information security, the hierarchical partitioning model has an attention mechanism. Analyzing the storage level of the data block using the hierarchical partitioning model includes: calculating the contextual dependencies between multiple feature elements in the security performance fusion feature tensor based on the attention mechanism of the hierarchical partitioning model; determining the correlation strength between the multiple feature elements based on the contextual dependencies; weighting the security performance fusion feature tensor based on the correlation strength between the multiple feature elements; calculating the probability distribution of the data block corresponding to multiple preset storage levels based on the weighted security performance fusion feature tensor; and selecting the storage level with the highest probability as the storage level of the data block.

[0008] Optionally, the aforementioned data storage optimization method based on multi-level information security further includes: obtaining an access request for the original business data; extracting the logical address and operation instructions of the original business data from the access request; querying the storage index table according to the logical address of the original business data to obtain the physical addresses of the multiple data blocks; forming a read instruction sequence for the original business data according to the physical addresses of the multiple data blocks and the operation instructions; and executing the read instruction sequence to read the multiple data blocks to obtain the original business data.

[0009] Optionally, the aforementioned data storage optimization method based on multi-level information security further includes, in addition to, performing security processing on the data blocks according to their storage levels: storing parameters for the security processing of the data blocks in a preset security configuration table; and, based on the physical addresses of the multiple data blocks and the operation instructions, assembling a sequence of read instructions for the original business data, further including: reading parameters corresponding to the multiple data blocks from the security configuration table; and assembling the read instruction sequence based on the physical addresses of the multiple data blocks, the parameters, and the operation instructions.

[0010] Optionally, the aforementioned data storage optimization method based on multi-level information security includes the following steps: If the data block's storage level is a hot data layer, the HMAC-SHA256 algorithm is used to calculate an integrity tag for the data block and append it to the end of the data block; if the data block's storage level is a warm data layer, the Paillier homomorphic encryption algorithm is used to perform format-preserving encryption on the numeric fields in the data block; if the data block's storage level is a cold data layer, the LZ4 compression algorithm is used to compress the data block, and the AES-256-GCM algorithm is used to perform full encryption on the data block.

[0011] Optionally, the aforementioned data storage optimization method based on multi-level information security further includes, before generating the storage index table of the original business data according to the logical address of the original business data and the physical addresses of the multiple data blocks, the following steps: performing semantic-aware parsing on the protocol header or metadata fields of the original business data to extract a business object identifier; determining whether the business object identifier conforms to a preset logical address specification; if the determination result is yes, using the business object identifier as the logical address of the original business data; if the determination result is no, extracting the payload content features of the original business data; processing the payload content features of the original business data using a deterministic hash algorithm to generate a normalized logical address; and using the normalized logical address as the logical address of the original business data.

[0012] Optionally, the aforementioned data storage optimization method based on multi-level information security further includes, before processing the payload content characteristics of the original business data using a deterministic hash algorithm to generate a normalized logical address, the following steps: detecting the rate of change of the payload content characteristics of the original business data over multiple consecutive time periods; when the rate of change of the payload content characteristics of the original business data is higher than a preset first threshold, processing the payload content characteristics of the original business data using a deterministic hash algorithm to generate a normalized logical address; and when the rate of change of the payload content characteristics of the original business data is lower than the preset first threshold, sending a negotiation request to the business system to request the acquisition of the logical address of the original business data.

[0013] Optionally, the aforementioned data storage optimization method based on multi-level information security further includes, in addition to storing the plurality of data blocks to the corresponding storage medium, recording the payload content characteristics of the plurality of data blocks; executing the read instruction sequence to read the plurality of data blocks to obtain the original business data, including: for the target data block currently being read, obtaining the current payload content characteristics of the target data block; comparing the current payload content characteristics of the target data block with the recorded payload content characteristics; and when the difference between the current payload content characteristics of the target data block and the recorded payload content characteristics is higher than a preset second threshold, requesting the business system to retransmit the target data block.

[0014] Secondly, the present invention provides a data storage optimization system based on multi-level information security, comprising: a data acquisition module for acquiring raw business data from a business system; a load calculation module for generating a load state vector of the business system based on the load state of the business system; a data sampling module for obtaining data blocks by performing sliding window sampling on the raw business data; a semantic feature module for extracting and generating a semantic feature vector of the data block based on the data entropy value, field sensitivity identifier density, and access frequency prediction value of the data block; a vector concatenation module for concatenating the semantic feature vector of the data block with the load state vector of the business system to generate a security performance fusion feature tensor; and a hierarchy partitioning module for inputting the security performance fusion feature tensor into a preset hierarchy partitioning module. The system comprises the following modules: a model for analyzing the storage hierarchy of data blocks using the hierarchical partitioning model; a security processing module for performing security processing on the data blocks according to their storage hierarchy; a storage indication module for inserting metadata headers indicating the storage hierarchy of the data blocks; a data encapsulation module for re-encapsulating the multiple data blocks corresponding to the original business data in their original time sequence; a data storage module for storing the multiple data blocks to their corresponding storage media based on their metadata headers and extracting their physical addresses; and a storage index module for generating a storage index table for the original business data based on its logical address and the physical addresses of the multiple data blocks, serving as the basis for accessing the original business data.

[0015] The above-described technical solutions of the present invention have at least one or more of the following beneficial effects: According to the technical solution of this invention, by deeply integrating the real-time load status of the business system with the multi-dimensional security semantic features of data blocks, an intelligent hierarchical partitioning mechanism driven by the security performance fusion feature tensor is constructed, realizing a leap from static rules to dynamic adaptation in data storage hierarchy decision-making. This method not only effectively resolves the inherent contradiction between data security and system performance in traditional solutions, but also significantly improves the utilization efficiency of computing and storage resources through differentiated security processing strategies. Simultaneously, by leveraging techniques such as metadata header embedding, time-series re-encapsulation, and unified index table construction, an efficient and reliable data management and access system is established in a hierarchical storage environment. Attached Figure Description

[0016] The above and other objects, features, and advantages of this application will become more apparent from the more detailed description of the embodiments of this application in conjunction with the accompanying drawings. The drawings are provided to further illustrate the embodiments of this application and form part of the specification. They are used together with the embodiments of this application to explain this application and do not constitute a limitation thereof. In the drawings, the same reference numerals generally represent the same components or steps.

[0017] Figure 1 A flowchart illustrating a data storage optimization based on multi-level information security according to an embodiment of this application; Figure 2 This is another flowchart illustrating a data storage optimization based on multi-level information security according to an embodiment of this application; Figure 3 This is yet another flowchart illustrating a data storage optimization based on multi-level information security according to an embodiment of this application; Figure 4 This is another flowchart illustrating a data storage optimization based on multi-level information security according to an embodiment of this application; Figure 5 For implementation of embodiments according to this application Figure 1 This is a block diagram of a data storage system based on multi-level information security. Detailed Implementation

[0018] Some embodiments of the present invention will now be described with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are merely illustrative of the technical principles of the present invention and are not intended to limit the scope of protection of the present invention.

[0019] like Figure 1 As shown, one embodiment of the present invention provides a data storage optimization method based on multi-level information security, including: Step S110: Obtain raw business data from the business system.

[0020] Step S120: Generate a load status vector for the business system based on its load status.

[0021] Step S130: Obtain data blocks by performing sliding window sampling on the original business data.

[0022] Step S140: Extract and generate the semantic feature vector of the data block based on the data entropy value, field sensitivity identifier density, and access frequency prediction value of the data block.

[0023] In this embodiment, when generating the semantic feature vector of a data block, three dimensions of features are comprehensively considered: data entropy value, field sensitivity identifier density, and access frequency prediction value. Data entropy value reflects the information complexity and compression potential of the data block; field sensitivity identifier density characterizes the concentration of sensitive information within the data block; and access frequency prediction value predicts the future access frequency of the data block. The semantic feature vector formed by the fusion of these three factors can comprehensively and multidimensionally characterize the security attributes and access characteristics of the data block. This allows the hierarchical partitioning model to make decisions based on richer and more accurate feature information, avoiding hierarchical misjudgments caused by single-dimensional features, and significantly improving the rationality and refinement of storage hierarchical partitioning.

[0024] Step S150: Concatenate the semantic feature vector of the data block with the load status vector of the business system to generate a security performance fusion feature tensor.

[0025] In this embodiment, a load state vector of the business system is generated and concatenated with the semantic feature vector of the data blocks to form a security performance fusion feature tensor, which serves as the input to the hierarchical partitioning model. Compared to existing technologies that rely solely on data access frequency or static security policies for storage stratification, this embodiment incorporates the real-time operational load of the business system into the storage stratification decision-making process. During peak business periods when the system load is high, the model can adaptively adjust the hierarchical partitioning strategy to avoid performing high-overhead security processing operations on a large number of data blocks, thereby ensuring the responsiveness of the business system. During off-peak business periods, idle computing power is fully utilized to enhance the security protection level. This dynamic collaborative mechanism effectively solves the technical problem of the disconnect or even mutual constraint between security processing and system performance in traditional solutions, achieving a balance between data security and business continuity.

[0026] Step S160: Input the security performance fusion feature tensor into the preset hierarchical partitioning model, and analyze the storage level of the data block through the hierarchical partitioning model.

[0027] Step S170: Perform security processing on the data block according to its storage level.

[0028] In this embodiment, security processing is applied to data blocks according to the storage tiers output by the hierarchical partitioning model, rather than applying a uniform security policy to all data. Highly sensitive, frequently accessed data blocks are allocated to a high-level security storage tier and subjected to robust security measures such as enhanced encryption and integrity checks; low-sensitivity, infrequently accessed data blocks are allocated to a low-level storage tier and treated with lightweight security processing or basic protection. This differentiated security processing mechanism avoids the waste of computing resources and redundant storage overhead caused by a "one-size-fits-all" strategy. While meeting the actual security needs of each data block, it minimizes the overall security protection cost and improves the resource utilization efficiency of the storage system.

[0029] Step S180: Insert a metadata header indicating the storage level of the data block into the data block.

[0030] Step S190: Repackage multiple data blocks that have undergone security processing corresponding to the original business data according to their original time sequence.

[0031] In this embodiment, by inserting metadata headers indicating storage levels into data blocks, repackaging multiple data blocks according to their original chronological order, and generating a unified storage index table based on logical and physical addresses, a complete mapping link from logical access to physical storage is constructed. The embedding of metadata headers allows each data block to carry its own hierarchical identification information, enabling rapid identification of its security attributes and storage location during data reading without the need for additional queries to an external metadata database, thus reducing access latency. Simultaneously, repackaging according to the original chronological order ensures that the logical relationships between data blocks are not disrupted. Combined with the storage index table, this achieves efficient location and reorganization of distributed data blocks, significantly improving the efficiency of cross-level and cross-media data retrieval and recovery, and providing a reliable data foundation for subsequent implementation of differentiated access control and security auditing.

[0032] Step S1100: Based on the metadata headers of multiple data blocks, store the multiple data blocks to the corresponding storage medium and extract the physical addresses of the multiple data blocks.

[0033] Step S1110: Generate a storage index table for the original business data based on the logical address of the original business data and the physical addresses of multiple data blocks, which serves as the basis for accessing the original business data.

[0034] According to the technical solution of this embodiment, by deeply integrating the real-time load status of the business system with the multi-dimensional security semantic features of data blocks, an intelligent hierarchical partitioning mechanism driven by the security performance fusion feature tensor is constructed, realizing the leap from static rules to dynamic adaptation in data storage hierarchy decision-making. This method not only effectively resolves the inherent contradiction between data security and system performance in traditional solutions, but also significantly improves the utilization efficiency of computing and storage resources through differentiated security processing strategies. Simultaneously, by leveraging techniques such as metadata header embedding, time-series re-encapsulation, and unified index table construction, an efficient and reliable data management and access system is established in a hierarchical storage environment.

[0035] like Figure 2 As shown, another embodiment of the present invention provides a data storage optimization method based on multi-level information security. Compared with the aforementioned embodiments, the data storage optimization method based on multi-level information security in this embodiment has an attention mechanism in its hierarchical partitioning model. Step S160 includes: Step S210: Based on the attention mechanism of the hierarchical partitioning model, calculate the contextual dependencies between multiple feature elements in the security performance fusion feature tensor.

[0036] In this embodiment, an attention mechanism is introduced to calculate the contextual dependencies and correlation strengths among multiple feature elements in the security performance fusion feature tensor. This enables the model to "understand" the deep business logic behind different feature combinations. For example, the model can identify that the contextual dependencies generated when "high field sensitivity identifier density" and "high system load" occur simultaneously are completely different from those when "high sensitivity" and "low load" occur simultaneously. This achieves a leap from simple "feature concatenation" to deep "semantic fusion," significantly improving the model's ability to represent features in complex business scenarios.

[0037] Step S220: Determine the correlation strength between multiple feature elements based on the contextual dependencies between them.

[0038] Step S230: The security performance fusion feature tensor is weighted according to the correlation strength between multiple feature elements.

[0039] In this embodiment, the security performance fusion feature tensor is weighted according to the correlation strength between feature elements, which is equivalent to equipping the model with "dynamic focusing" capability, enabling it to automatically amplify the weight of key features that play a decisive role in hierarchical decision-making based on the specific situation of the current data block, while suppressing the interference of secondary features or noisy features.

[0040] Step S240: Based on the weighted security performance fusion feature tensor, calculate the probability distribution of the data block corresponding to multiple preset storage levels.

[0041] In this embodiment, instead of directly outputting an absolute level label after weighted processing, the probability distribution of data blocks corresponding to multiple preset storage levels is calculated, and the level with the highest probability is selected. This soft decision-making method based on probability distribution not only quantifies the model's confidence in each storage level, but also provides a probability reference for suboptimal levels when the system needs to perform dynamic level adjustments or load balancing in the future (for example, when the storage medium corresponding to the highest probability is full, it can be smoothly downgraded to the storage level with the second highest probability), greatly enhancing the flexibility of storage scheduling strategies and the robustness of the system.

[0042] Step S250: Select the storage level with the highest probability as the storage level of the data block.

[0043] This embodiment introduces an attention mechanism, endowing the hierarchical partitioning model with the intelligent decision-making ability to "weigh the pros and cons and prioritize key aspects." It not only solves the weight allocation problem during multi-dimensional feature fusion but also ensures the efficiency, accuracy, and security of storage hierarchical partitioning in extreme scenarios with drastic system load fluctuations and complex data security requirements. It is a core technological support for achieving deep synergy between multi-level information security and system performance.

[0044] like Figure 3 As shown, another embodiment of the present invention provides a data storage optimization method based on multi-level information security. Compared with the foregoing embodiments, the data storage optimization method based on multi-level information security in this embodiment further includes: Step S310: Obtain the access request for the original business data.

[0045] Step S320: Extract the logical address and operation instructions of the original business data from the access request.

[0046] Step S330: Query the storage index table based on the logical address of the original business data to obtain the physical addresses of multiple data blocks.

[0047] In this embodiment, a precise mapping relationship is established between the logical address of the original business data and the physical addresses of multiple data blocks through a storage index table. This allows the upper-layer business system to trigger data reading simply by providing a unified logical address, without needing to know the actual storage medium or security level of the underlying data blocks. This decoupling of logic and physical storage shields the complexity of multi-level storage architectures and provides a unified and transparent data access interface for business systems.

[0048] Step S340: Based on the physical addresses and operation instructions of multiple data blocks, a sequence of read instructions for the original business data is formed.

[0049] In this embodiment, a read instruction sequence is formed based on the physical addresses and operation instructions of multiple data blocks, and executed sequentially to read the data blocks. This ensures that the data blocks recovered from the distributed storage medium can be reassembled strictly according to the original timing. Since the data blocks in the aforementioned embodiment have been repackaged according to the original timing and embedded with metadata headers, the execution order of the read instruction sequence is naturally aligned with the logical order of the data blocks, effectively avoiding data block out-of-order problems caused by concurrent reading or cross-media I / O latency differences.

[0050] Step S350: Execute the read instruction sequence to read multiple data blocks to obtain the original business data.

[0051] This embodiment effectively resolves the contradiction between distributed data storage and unified, efficient access in a multi-level secure storage architecture by constructing a complete data access closed loop of "logical address → index query → instruction sequence → ordered reading." This mechanism significantly reduces retrieval latency and application integration complexity while ensuring the correctness of data reconstruction and access security. This makes the multi-level secure storage optimization scheme implemented in the aforementioned embodiment practically implementable data reading capabilities, forming a complete technical closed loop of "secure storage, reasonable distribution, and efficient reading." For example, in a medical image archiving system, after a complete patient electronic medical record (raw business data) is processed by the aforementioned method, its header data block containing sensitive identity information is stored in a high-performance encrypted SSD layer, while the large-capacity raw image data block is stored in a low-cost mechanical hard disk archiving layer. When a doctor's workstation initiates a request to access the medical record, the system only needs to query the storage index table based on the medical record's logical ID to automatically obtain the physical addresses of each data block on the SSD and HDD, and generate the corresponding read instruction sequence for parallel execution. The business side does not need to call the APIs of two storage systems separately, nor does it need to manually concatenate data, thus realizing unified access to heterogeneous storage resources and significantly reducing the development complexity and operation and maintenance costs of the application layer.

[0052] In another embodiment of the present invention, a data storage optimization method based on multi-level information security is provided. Compared with the foregoing embodiments, the data storage optimization method based on multi-level information security in this embodiment further includes step S170 as follows: The parameters for secure processing of data blocks are stored in a preset security configuration table.

[0053] Step S340 also includes: (1) Read the parameters corresponding to multiple data blocks from the security configuration table.

[0054] (2) Based on the physical address, parameters and operation instructions of multiple data blocks, a read instruction sequence is formed.

[0055] This embodiment stores the security processing parameters (such as encryption algorithm, key identifier, integrity verification method, compression strategy, etc.) of each data block independently in a security configuration table during the write phase, and automatically extracts the corresponding parameters from this table to assemble the read instruction sequence during the read phase. This design creates a self-describing closed-loop link between "how to securely process" and "how to securely read" data blocks. Business systems or storage engines do not need to know or hard-code the security processing rules for various data blocks in advance, nor do they need to rely on external manual configuration to match decryption / signature verification strategies. This completely avoids the risk of read failure or data corruption caused by changes in security policies, personnel handover, or configuration omissions, significantly improving the system's autonomy and operational reliability. For example, to meet newly promulgated data security regulations, a financial institution needs to migrate the encryption algorithm of existing customer sensitive data blocks from RSA-2048 to ECC-384. By adopting the solution of this invention, the operation and maintenance team only needs to update the algorithm identifier and key version of the corresponding data block in the security configuration table in batches. The read instruction sequence will automatically load the new parameters and perform ECC decryption on the next access. There is no need to re-encrypt or migrate the massive data blocks that are already distributed in SSDs, HDDs and tape libraries online, realizing a secure and compliant "hot upgrade" with zero business interruption and zero storage disturbance.

[0056] Another embodiment of the present invention provides a data storage optimization method based on multi-level information security. Compared with the foregoing embodiments, the data storage optimization method based on multi-level information security in this embodiment includes step S170 as follows: (1) If the storage level of the data block is the hot data layer, call the HMAC-SHA256 algorithm to calculate the integrity tag for the data block and append it to the end of the data block.

[0057] (2) If the storage level of the data block is the warm data layer, call the Paillier homomorphic encryption algorithm to perform format-preserving encryption on the numerical fields in the data block.

[0058] For numerical fields in the warm data layer that frequently participate in statistical analysis but cannot be exposed in plaintext, this embodiment innovatively introduces the Paillier homomorphic encryption algorithm and performs format-preserving encryption. This design allows statistical operations such as addition and aggregation to be performed directly on the data in encrypted form, and the encrypted fields retain their original data type and length without requiring modification to the SQL logic or data structure definition of the upper-layer analysis application. This truly achieves the dual goals of "data usable but invisible" and "zero business modification".

[0059] (3) If the storage level of the data block is the cold data layer, call the LZ4 compression algorithm to compress the data block and call the AES-256-GCM algorithm to encrypt the data block in full.

[0060] This embodiment employs a sequential design that first calls LZ4 compression and then performs AES-256-GCM encryption in the cold data layer. This design offers two technical advantages: Firstly, LZ4, as a high-speed lossless compression algorithm, can significantly reduce data volume with extremely low CPU overhead, thereby lowering archiving and storage costs. Secondly, AES-256-GCM, as an authentication encryption mode, provides strong confidentiality while embedding integrity verification capabilities, avoiding the space overhead of additional HMAC tag storage. This makes it particularly suitable for the long-term secure archiving of massive amounts of cold data.

[0061] In this embodiment, the security algorithms selected for each layer are deeply coupled with the I / O characteristics of the underlying storage medium: the HMAC-SHA256 algorithm for the hot data layer is lightweight and stateless, which complements the low latency of the SSD; the Paillier encryption for the warm data layer only applies to numerical fields, avoiding the blocking of analysis and query by full-block encryption; the LZ4 compression speed for the cold data layer far exceeds the HDD write bandwidth bottleneck, and AES-256-GCM can be accelerated by utilizing the AES-NI instruction set of modern CPUs, so that security processing is no longer a limiting factor for archive throughput.

[0062] The technical solution in this embodiment abandons the traditional approach of applying uniform high-strength security measures to all data. Instead, it adapts the security algorithm combination that best suits the business needs of each data block's storage level characteristics. This hierarchical approach ensures that frequently accessed hot data does not sacrifice response time due to excessive encryption, that infrequently archived cold data does not pose compliance risks due to insufficient protection, and that warm data analyzed in a medium frequency achieves an optimal balance between availability and confidentiality.

[0063] like Figure 4 As shown, another embodiment of the present invention provides a data storage optimization method based on multi-level information security. Compared with the aforementioned embodiments, the data storage optimization method based on multi-level information security in this embodiment further includes the following step before step S1110: Step S410: Perform semantic-aware parsing on the protocol header or metadata fields of the original business data to extract the business object identifier.

[0064] Step S420: Determine whether the business object identifier conforms to the preset logical address specification.

[0065] Step S430: If the judgment result is yes, use the business object identifier as the logical address of the original business data.

[0066] In this embodiment, when the business object identifier conforms to the preset specifications, the system directly uses it as the logical address, preserving the original business semantics. This facilitates maintenance personnel in quickly locating data ownership, troubleshooting problems, and implementing business-based access control. When the identifier is missing or non-compliant, the payload content characteristics are processed using a deterministic hash algorithm to ensure that data blocks with the same content generate completely consistent logical addresses regardless of when or from which node they are written. This avoids address conflicts and naturally supports cross-system data deduplication and consistency verification.

[0067] Step S440: If the judgment result is negative, extract the payload content features of the original business data.

[0068] Step S450: Process the payload content characteristics of the original business data using a deterministic hash algorithm to generate a normalized logical address.

[0069] Step S460: Use the normalized logical address as the logical address of the original business data.

[0070] In this embodiment, a "semantic-first, content-backup" intelligent address generation system is constructed by prioritizing the parsing of business object identifiers in the protocol header or metadata, and automatically switching to a deterministic hash generation path based on payload content features when the identifiers do not conform to the specifications. This mechanism enables the system to seamlessly accept raw business data from different business systems using different communication protocols or data formats, without the need to develop separate address mapping plugins for each data source or force upstream systems to modify their data formats, significantly reducing the integration complexity and access cost of multi-level storage systems. For example, in a smart city data aggregation platform, a traffic checkpoint system reports vehicle capture records through a private TCP protocol, and its protocol header contains a vehicle_id:timestamp format identifier that conforms to the platform specifications; while an older environmental monitoring station uploads CSV files via FTP without any structured metadata. With this invention, the system directly extracts the vehicle_id:timestamp as the logical address from the checkpoint data, and automatically extracts payload features such as "site number + sampling time + pollutant concentration" from the CSV file, generating a normalized logical address through SHA-256 hashing. Both types of data can be uniformly incorporated into the subsequent multi-level storage optimization process without any preprocessing, shortening the new data source access cycle from several weeks to hours.

[0071] Another embodiment of the present invention provides a data storage optimization method based on multi-level information security. Compared with the foregoing embodiments, the data storage optimization method based on multi-level information security in this embodiment further includes the following step before step S450: (1) Detect the rate of change of the load content characteristics of the original business data over multiple consecutive time periods.

[0072] (2) When the rate of change of the load content characteristics of the original business data is higher than the preset first threshold, step S450 is executed.

[0073] (3) When the rate of change of the load content characteristics of the original business data is lower than the preset first threshold, a negotiation request is sent to the business system to request the logical address of the original business data.

[0074] This embodiment no longer mechanically performs hash generation on all non-standard data. Instead, it dynamically decides based on the temporal change rate of the payload content characteristics: for "streaming / state-based" data with high-frequency content changes, deterministic hashing is automatically used to ensure the real-time performance and deduplication capability of address generation; for "configuration / archive-based" data with long-term stable content, semantic logical addresses are proactively requested from upstream. This adaptive mechanism avoids the operational difficulties caused by stable data lacking business meaning in hash addresses, and also prevents performance bottlenecks caused by frequent negotiation for high-frequency data, ensuring that the address generation strategy is precisely matched with the dynamic characteristics of the data itself. For example, in an industrial internet device data acquisition scenario, a CNC machine tool reports real-time sensor data such as spindle speed and temperature every 50ms. Its load characteristic change rate is extremely high (>90%). The system automatically triggers SHA-256 hashing to generate a normalized address, ensuring millisecond-level writes do not block. Meanwhile, the process parameter configuration file for the same machine tool may only be updated every few weeks, with a change rate below a threshold. The system then initiates a negotiation request with the MES system to obtain a logical address with a clear business meaning, such as CNC-001:PROCESS-PARAM-V3.2. Maintenance personnel can directly locate the process parameters of a specific version through this address without needing to look up the hash mapping table, improving troubleshooting efficiency by more than 80%.

[0075] In another embodiment of the present invention, a data storage optimization method based on multi-level information security is provided. Compared with the foregoing embodiments, the data storage optimization method based on multi-level information security in this embodiment further includes step S1100 as follows: Record the payload content characteristics of multiple data blocks.

[0076] Step S1110 includes: (1) For the target data block currently being read, obtain the current payload content characteristics of the target data block.

[0077] (2) Compare the current payload content features of the target data block with the recorded payload content features.

[0078] (3) When the difference between the current payload content characteristics of the target data block and the recorded payload content characteristics is higher than the preset second threshold, request the business system to retransmit the target data block.

[0079] Traditional storage systems typically rely on checksums (such as CRC and HMAC) generated during write operations to verify data integrity. However, such mechanisms cannot detect "silent flips" caused by media aging, firmware defects, or cosmic rays after writing but before reading. This embodiment records the characteristics of the original payload content and compares the current characteristics with historical records during reading, essentially creating an "application-layer fingerprint" for each data block independent of the underlying storage medium. When the difference exceeds a preset threshold, the system can immediately determine that the data has been irreversibly damaged and proactively request retransmission from upstream, thus completing self-healing before the data is consumed by the business and completely preventing the risk of dirty data spreading downstream. For example, in a bank's core transaction record archiving system, a critical clearing data block, after being stored in an SSD for 6 months, experienced a 3-bit flip due to charge leakage in the NAND flash memory cell. The underlying ECC error correction failed but no error code was reported. When the risk control system reads the data block in batches for anti-money laundering analysis in the early morning of the following day, the mechanism of this invention calculates its current SHA-256 feature and compares it with the feature recorded when it was entered into the database. It finds that the Hamming distance far exceeds the threshold and immediately initiates a retransmission request to the transaction front-end server. The front-end server re-pushes the original message from its memory cache, the storage system overwrites it, and then verifies it again. The entire repair process takes less than 50ms and does not output any erroneous data to the risk control engine, avoiding potential compliance misjudgments. like Figure 5 As shown, one embodiment of the present invention provides a data storage optimization system based on multi-level information security, comprising: Data acquisition module 510 acquires raw business data from the business system.

[0080] The load calculation module 520 generates a load status vector of the business system based on the load status of the business system.

[0081] The data sampling module 530 performs sliding window sampling on the original business data to obtain data blocks.

[0082] The semantic feature module 540 extracts and generates semantic feature vectors for data blocks based on their data entropy values, field sensitivity identifier density, and access frequency prediction values.

[0083] In this embodiment, when generating the semantic feature vector of a data block, three dimensions of features are comprehensively considered: data entropy value, field sensitivity identifier density, and access frequency prediction value. Data entropy value reflects the information complexity and compression potential of the data block; field sensitivity identifier density characterizes the concentration of sensitive information within the data block; and access frequency prediction value predicts the future access frequency of the data block. The semantic feature vector formed by the fusion of these three factors can comprehensively and multidimensionally characterize the security attributes and access characteristics of the data block. This allows the hierarchical partitioning model to make decisions based on richer and more accurate feature information, avoiding hierarchical misjudgments caused by single-dimensional features, and significantly improving the rationality and refinement of storage hierarchical partitioning.

[0084] The vector concatenation module 550 concatenates the semantic feature vector of the data block with the load status vector of the business system to generate a security performance fusion feature tensor.

[0085] In this embodiment, a load state vector of the business system is generated and concatenated with the semantic feature vector of the data blocks to form a security performance fusion feature tensor, which serves as the input to the hierarchical partitioning model. Compared to existing technologies that rely solely on data access frequency or static security policies for storage stratification, this embodiment incorporates the real-time operational load of the business system into the storage stratification decision-making process. During peak business periods when the system load is high, the model can adaptively adjust the hierarchical partitioning strategy to avoid performing high-overhead security processing operations on a large number of data blocks, thereby ensuring the responsiveness of the business system. During off-peak business periods, idle computing power is fully utilized to enhance the security protection level. This dynamic collaborative mechanism effectively solves the technical problem of the disconnect or even mutual constraint between security processing and system performance in traditional solutions, achieving a balance between data security and business continuity.

[0086] The hierarchical partitioning module 560 inputs the security performance fusion feature tensor into the preset hierarchical partitioning model, and analyzes the storage hierarchy of the data block through the hierarchical partitioning model.

[0087] The security processing module 570 performs security processing on the data blocks according to their storage level.

[0088] In this embodiment, security processing is applied to data blocks according to the storage tiers output by the hierarchical partitioning model, rather than applying a uniform security policy to all data. Highly sensitive, frequently accessed data blocks are allocated to a high-level security storage tier and subjected to robust security measures such as enhanced encryption and integrity checks; low-sensitivity, infrequently accessed data blocks are allocated to a low-level storage tier and treated with lightweight security processing or basic protection. This differentiated security processing mechanism avoids the waste of computing resources and redundant storage overhead caused by a "one-size-fits-all" strategy. While meeting the actual security needs of each data block, it minimizes the overall security protection cost and improves the resource utilization efficiency of the storage system.

[0089] Storage indication module 580 inserts a metadata header into the data block that indicates the storage level of the data block.

[0090] The data encapsulation module 590 re-encapsulates multiple data blocks that have undergone security processing corresponding to the original business data according to their original time sequence.

[0091] In this embodiment, by inserting metadata headers indicating storage levels into data blocks, repackaging multiple data blocks according to their original chronological order, and generating a unified storage index table based on logical and physical addresses, a complete mapping link from logical access to physical storage is constructed. The embedding of metadata headers allows each data block to carry its own hierarchical identification information, enabling rapid identification of its security attributes and storage location during data reading without the need for additional queries to an external metadata database, thus reducing access latency. Simultaneously, repackaging according to the original chronological order ensures that the logical relationships between data blocks are not disrupted. Combined with the storage index table, this achieves efficient location and reorganization of distributed data blocks, significantly improving the efficiency of cross-level and cross-media data retrieval and recovery, and providing a reliable data foundation for subsequent implementation of differentiated access control and security auditing.

[0092] The data storage module 5100 stores multiple data blocks to their corresponding storage media based on the metadata headers of the multiple data blocks, and extracts the physical addresses of the multiple data blocks.

[0093] The step storage index module 5110 generates a storage index table for the original business data based on the logical address of the original business data and the physical addresses of multiple data blocks, which serves as the basis for accessing the original business data.

[0094] According to the technical solution of this embodiment, by deeply integrating the real-time load status of the business system with the multi-dimensional security semantic features of data blocks, an intelligent hierarchical partitioning mechanism driven by the security performance fusion feature tensor is constructed, realizing the leap from static rules to dynamic adaptation in data storage hierarchy decision-making. This method not only effectively resolves the inherent contradiction between data security and system performance in traditional solutions, but also significantly improves the utilization efficiency of computing and storage resources through differentiated security processing strategies. Simultaneously, by leveraging techniques such as metadata header embedding, time-series re-encapsulation, and unified index table construction, an efficient and reliable data management and access system is established in a hierarchical storage environment.

[0095] The basic principles of this application have been described above with reference to specific embodiments. However, it should be noted that the advantages, benefits, and effects mentioned in this application are merely examples and not limitations, and should not be considered as essential features of each embodiment of this application. Furthermore, the specific details disclosed above are for illustrative and facilitative purposes only, and are not limitations. These details do not limit the application to the necessity of employing the aforementioned specific details for implementation.

[0096] The block diagrams of devices, apparatuses, devices, and systems involved in this application are merely illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As those skilled in the art will recognize, these devices, apparatuses, devices, and systems can be connected, arranged, and configured in any manner. Words such as “comprising,” “including,” “having,” etc., are open-ended terms meaning “including but not limited to,” and are used interchangeably with them. The terms “or” and “and” as used herein refer to the terms “and / or,” and are used interchangeably with them unless the context clearly indicates otherwise. The term “such as” as used herein refers to the phrase “such as but not limited to,” and is used interchangeably with it.

[0097] It should also be noted that in the apparatus, equipment, and methods of this application, the components or steps can be disassembled and / or recombined. These disassemblies and / or recombinations should be considered as equivalent solutions of this application.

[0098] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use this application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein can be applied to other aspects without departing from the scope of this application. Therefore, this application is not intended to be limited to the aspects shown herein, but rather to be accorded the widest scope consistent with the principles and novel features disclosed herein.

[0099] The above description has been given for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of this application to the forms disclosed herein. Although numerous exemplary aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, alterations, additions, and sub-combinations thereof.

Claims

1. A data storage optimization method based on multi-level information security, comprising: Obtain raw business data from the business system; Generate a load status vector for the business system based on its load status. Data blocks are obtained by performing sliding window sampling on the original business data; Extract and generate the semantic feature vector of the data block based on the data entropy value, field sensitivity identifier density, and access frequency prediction value of the data block; The semantic feature vector of the data block is concatenated with the load status vector of the business system to generate a security performance fusion feature tensor. The security performance fusion feature tensor is input into a preset hierarchical partitioning model, and the storage level of the data block is analyzed through the hierarchical partitioning model. The data block is subjected to security processing according to its storage level; Insert a metadata header indicating the storage level of the data block into the data block; The original business data, which has undergone security processing, is repackaged according to its original time sequence. Based on the metadata headers of the multiple data blocks, the multiple data blocks are stored in the corresponding storage medium, and the physical addresses of the multiple data blocks are extracted; Based on the logical address of the original business data and the physical addresses of the multiple data blocks, a storage index table for the original business data is generated as the basis for accessing the original business data.

2. The data storage optimization method based on multi-level information security according to claim 1, wherein, The hierarchical partitioning model has an attention mechanism, and analyzes the storage hierarchy of the data block through the hierarchical partitioning model, including: Based on the attention mechanism of the hierarchical partitioning model, the contextual dependencies between multiple feature elements in the security performance fusion feature tensor are calculated. The correlation strength among the multiple feature elements is determined based on the contextual dependencies among the multiple feature elements; The security performance fusion feature tensor is weighted according to the correlation strength among the multiple feature elements; Based on the weighted security performance fusion feature tensor, the probability distribution of the data block corresponding to multiple preset storage levels is calculated; The storage level with the highest probability is selected as the storage level for the data block.

3. The data storage optimization method based on multi-level information security according to claim 1, wherein, The data storage optimization method based on multi-level information security also includes: Access request to obtain the original business data; Extract the logical address and operation instructions of the original business data from the access request; The physical addresses of the multiple data blocks are obtained by querying the storage index table based on the logical address of the original business data. Based on the physical addresses of the multiple data blocks and the operation instructions, a sequence of read instructions for the original business data is formed; The read instruction sequence is executed to read the multiple data blocks to obtain the original business data.

4. The data storage optimization method based on multi-level information security according to claim 3, wherein, Based on the storage level of the data block, security processing of the data block further includes: The parameters for secure processing of the data block are stored in a preset security configuration table; Based on the physical addresses of the multiple data blocks and the operation instructions, a sequence of read instructions for the original business data is formed, further comprising: Read the parameters corresponding to the plurality of data blocks from the security configuration table; The read instruction sequence is formed based on the physical addresses, parameters, and operation instructions of the multiple data blocks.

5. The data storage optimization method based on multi-level information security according to claim 1, wherein, Based on the storage level of the data block, security processing is performed on the data block, including: If the storage level of the data block is the hot data layer, the HMAC-SHA256 algorithm is called to calculate the integrity tag for the data block and append it to the end of the data block; If the storage level of the data block is a warm data layer, the Paillier homomorphic encryption algorithm is called to perform format-preserving encryption on the numerical fields in the data block; If the storage level of the data block is the cold data layer, the LZ4 compression algorithm is called to compress the data block, and the AES-256-GCM algorithm is called to encrypt the data block in its entirety.

6. The data storage optimization method based on multi-level information security according to claim 1, wherein, Before generating the storage index table of the original business data based on the logical address of the original business data and the physical addresses of the multiple data blocks, the method further includes: Perform semantic-aware parsing on the protocol header or metadata fields of the original business data to extract the business object identifier; Determine whether the business object identifier conforms to the preset logical address specification; If the judgment result is yes, the business object identifier is used as the logical address of the original business data; If the determination result is negative, extract the payload content features of the original business data; The payload content characteristics of the original business data are processed by a deterministic hash algorithm to generate a normalized logical address; The normalized logical address is used as the logical address of the original business data.

7. The data storage optimization method based on multi-level information security according to claim 6, wherein, Before processing the payload content characteristics of the original business data using a deterministic hash algorithm to generate a normalized logical address, the process also includes: Detect the rate of change of the load content characteristics of the original business data over multiple consecutive time periods; When the rate of change of the payload content characteristics of the original business data is higher than a preset first threshold, the payload content characteristics of the original business data are processed by a deterministic hash algorithm to generate a normalized logical address. When the rate of change of the payload content characteristics of the original business data is lower than a preset first threshold, a negotiation request is sent to the business system to request the logical address of the original business data.

8. The data storage optimization method based on multi-level information security according to claim 6, wherein, Storing the plurality of data blocks to the corresponding storage medium further includes: Record the payload content characteristics of the multiple data blocks; Executing the read instruction sequence to read the plurality of data blocks to obtain the original business data includes: For the target data block currently being read, obtain the current payload content characteristics of the target data block; Compare the current payload content features of the target data block with the recorded payload content features; When the difference between the current payload content characteristics of the target data block and the recorded payload content characteristics exceeds a preset second threshold, a request is made to the business system to retransmit the target data block.

9. A data storage optimization system based on multi-level information security, comprising: The data acquisition module retrieves raw business data from the business system; The load calculation module generates a load status vector for the business system based on its load status. The data sampling module performs sliding window sampling on the original business data to obtain data blocks; The semantic feature module extracts and generates a semantic feature vector for the data block based on the data entropy value, field sensitivity identifier density, and access frequency prediction value of the data block. The vector concatenation module concatenates the semantic feature vector of the data block with the load status vector of the business system to generate a security performance fusion feature tensor. The hierarchical partitioning module inputs the security performance fusion feature tensor into a preset hierarchical partitioning model, and analyzes the storage hierarchy of the data block through the hierarchical partitioning model; The security processing module performs security processing on the data block according to its storage level. The storage indication module inserts a metadata header into the data block that indicates the storage level of the data block; The data encapsulation module re-encapsulates multiple data blocks corresponding to the original business data that have undergone security processing, according to the original time sequence. The data storage module stores the multiple data blocks to the corresponding storage medium according to the metadata header of the multiple data blocks, and extracts the physical address of the multiple data blocks; The storage index module generates a storage index table for the original business data based on the logical address of the original business data and the physical addresses of the multiple data blocks, serving as the basis for accessing the original business data.