A whole-process closed-loop security management system for privacy data

By introducing a registry-dependent query mechanism into the cold and hot tiered storage system, the problem of not being able to retrieve metadata in real time after migration is solved, realizing closed-loop security management of privacy data throughout the entire process, and ensuring the continuity of access control and de-identification processing as well as the efficient use of resources.

CN122569841BActive Publication Date: 2026-11-27HANGZHOU SHUOYUN COMMUNICATION TECHNOLOGY SERVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202610673811.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-05-15
Publication Date
2026-11-27
Estimated Expiration
2046-05-15

AI Technical Summary

Technical Problem

In a distributed edge node cold and hot tiered storage system, after the data volume is cold migrated, the metadata on which privacy protection depends is migrated to cold storage, which makes it impossible for the security protection system to retrieve it in real time. This leads to access control failure and lack of de-identification processing, creating an uncontrollable protection gap.

Method used

A dependency registry query mechanism is introduced to identify and retain metadata in the hot storage area when the cold migration process is triggered, ensuring that the metadata can still be called by the security protection system after the data body is migrated. Combined with the lifecycle management of dependency registration and deregistration, the entire process of metadata is controlled.

Benefits of technology

It achieves continuous security protection for metadata at the boundary between cold and hot migration, ensures a closed loop of secure management of privacy data throughout its entire lifecycle, avoids resource waste, and improves storage resource utilization efficiency and the integrity of privacy security management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122569841B_ABST
    Figure CN122569841B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of data security management, in particular to a whole-process closed-loop security management system for private data. The system monitors the access heat value of a data body in a hot storage area, and when the access heat value is lower than a preset migration threshold value, the data body is migrated from the hot storage area to a cold storage area. Before the cold migration process is started and the data body is not migrated out, when the metadata is declared as a runtime dependency item by a security daemon system according to a dependency registration table maintained in the hot storage area, the metadata is kept in the hot storage area as hot cache metadata. The security daemon system performs privacy protection processing on the access of the data body according to the hot cache metadata. When the dependency registration is identified to be cancelled, the metadata is migrated to the cold storage area according to a preset cold-hot layered migration strategy, a closed-loop security management of the private data is formed, and the storage resource utilization efficiency and the privacy security management integrity are effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data security management technology, specifically a closed-loop security management system for privacy data throughout the entire process. Background Technology

[0002] In edge computing scenarios, distributed edge nodes are typically deployed at the network's periphery, undertaking the real-time collection and local processing of large amounts of privacy-sensitive data. To balance storage costs and access performance, such systems employ a tiered storage architecture, placing frequently accessed data in a high-speed, hot storage area and automatically migrating less frequently accessed data to a low-cost, cold storage area according to a frequency decay strategy. Simultaneously, access control for privacy-sensitive data is implemented through a security protection system that intercepts and enforces policies along the access path. This security protection system must read the metadata bound to the data in real time when performing the aforementioned privacy protection processes.

[0003] However, in tiered cold and hot storage systems, data volumes and their associated metadata are typically managed as a single object at the storage layer. This often leads to a failure to meet real-time access control requirements in environments with limited edge node resources and unstable network conditions. More seriously, some cold storage implementations employ offline archiving or batch read mechanisms, where metadata may be inaccessible within a specific time window. This prevents security protection systems from loading privacy policies within the window, resulting in access control failures or missing anonymization processes. This leaves privacy data exposed without protection at the access layer, creating an uncontrollable protection gap at the boundary of cold / hot data migration, making it difficult to form a complete closed loop for the full lifecycle security management of privacy data. Summary of the Invention

[0004] (1) Technical problems to be solved The purpose of this invention is to provide a closed-loop security management system for privacy data throughout the entire process, in order to solve the problem that in a distributed edge node cold and hot tiered storage system, after the data body is cold migrated, the metadata on which privacy protection depends is also migrated into cold storage, causing the security protection system to be unable to retrieve the metadata in real time to complete access control and de-identification processing.

[0005] (2) Technical solution To achieve the above objectives, on the one hand, the present invention provides a closed-loop security management system for privacy data throughout the entire process, applied to a distributed edge node tiered cold and hot storage system, wherein the tiered cold and hot storage system includes a hot storage area and a cold storage area, and the system includes: The privacy data writing and hot storage association module is used to receive privacy data to be written, generate a data body and metadata corresponding to the privacy data, and establish an association between the data body and the metadata in the hot storage area and store them.

[0006] The access heat monitoring and cold migration triggering module is used to monitor the access heat value of data bodies in the hot storage area according to the preset hot and cold layered migration strategy. When the access heat value of the data body is lower than the preset migration threshold, the cold migration process of migrating the data body from the hot storage area to the cold storage area is triggered.

[0007] The runtime dependency metadata hot cache resident module is used to read the metadata associated with the data body before the cold migration process is started and the data body is not migrated out. If the dependency registry maintained in the hot storage area determines that the metadata is declared as a runtime dependency by the security protection system, the metadata is resident in the hot storage area as hot cache metadata, and the metadata is prevented from being migrated into the cold storage area with the data body. The security protection system needs to call the metadata when performing privacy protection processing on the access of the data body.

[0008] The hot cache metadata retrieval and privacy protection processing module is used to retrieve hot cache metadata from the hot storage area in response to the metadata retrieval request initiated by the security protection system. The security protection system performs privacy protection processing on the access to the data body based on the hot cache metadata.

[0009] The dependency removal and metadata cold migration closed-loop module is used to reduce the access popularity value of the metadata to below a preset migration threshold when the security protection system that has declared the metadata as a runtime dependency has been identified by the dependency registry. The metadata is then migrated to the cold storage area according to a preset cold and hot tiered migration strategy, forming a closed-loop security management of privacy data.

[0010] Furthermore, the runtime-dependent metadata hot caching and residing module includes: A dependency registry creation module is used by the security system to create a dependency registry in the hot storage area. The dependency registry is used to record the unique identifier of the metadata of each item declared as a runtime dependency by the security system.

[0011] The runtime dependency registration and writing module is used by the security protection system to write unique identifiers and corresponding declaration tags of metadata into the dependency registry by calling the registration interface before performing privacy protection processing on the data body of any privacy data.

[0012] The cold migration pre-dependency query and determination module is used to read the unique identifier of the metadata associated with the data body from the hot storage area before the cold migration process is triggered and the data body is migrated out of the hot storage area. The unique identifier of the metadata is used as the query key value. If a unique identifier with the same query key value is found in the dependency registry and the corresponding declaration flag is in a valid state, it is determined that the metadata is declared as a runtime dependency by the security protection system.

[0013] Furthermore, the runtime dependency registration and writing module includes: The dependency type identification and declaration tag allocation module is used to parse the unique identifier of the associated metadata from the data body of the privacy data, and determine the dependency type of the metadata according to the business context of the current operation of the security protection system. The dependency type includes strong dependency type and weak dependency type. The security protection system allocates an indefinite declaration tag to the metadata of the strong dependency type, allocates a finite-term declaration tag to the metadata of the weak dependency type, and attaches a valid lifespan in the declaration tag.

[0014] The registration request construction and dependency registry writing module is used by the security protection system to construct a registration request data packet, which contains a unique identifier and a declaration tag of the metadata. The registration request data packet is written to the dependency registry in the hot storage area through the registration interface. During the writing process, the dependency registry uses the unique identifier of the metadata as the primary key. If the primary key already exists, the new declaration tag is merged with the existing declaration tag.

[0015] Furthermore, the dependency type identification and declaration tag allocation module includes: The baseline time window calculation module is used to read the current access popularity value of the data body and the access popularity decay curve of the data body in the most recent statistical period from the cold and hot tiered storage system; and to fit the access popularity decay curve to calculate the estimated time required for the access popularity of the data body to drop to a preset migration threshold, which is used as the baseline time window.

[0016] The survival validity period calculation module is used by the security protection system to obtain the current load coefficient of the distributed edge nodes and the average execution latency of cold migration of the cold and hot tiered storage system, and calculate the survival validity period based on the baseline time window, the current load coefficient and the average execution latency of cold migration.

[0017] Furthermore, the reference time window calculation module includes the following steps: Read multiple discrete sampling points on the access popularity decay curve, each discrete sampling point corresponding to a historical timestamp and data access popularity value; input the multiple discrete sampling points into a double exponential smoothing prediction model, the double exponential smoothing prediction model includes a horizontal component and a trend component, and automatically optimize the smoothing parameters of the horizontal component and the trend component by minimizing the sum of squared prediction errors.

[0018] The dual exponential smoothing prediction model extrapolates outward based on the horizontal and trend components to generate a predicted access popularity trajectory for the data body in future time series. Starting from the current time point, the model iterates along the predicted access popularity trajectory, comparing the predicted access popularity value corresponding to each future time point with a preset migration threshold. When the predicted access popularity value is less than the preset migration threshold for the first time, the time difference between the future time point and the current time point is calculated as the estimated duration.

[0019] Furthermore, the runtime-dependent metadata hot caching and resident module includes the following steps: Read the current storage location pointer and current access popularity value of the metadata in the hot storage area, and assign an independent hot cache area identifier to the metadata. The hot cache area identifier is used to mark the metadata as a resident object that cannot be selected by the cold migration process.

[0020] A hot cache residency mapping table is created in the hot storage area. The hot cache residency mapping table uses the unique identifier of the metadata as the key and the combination of the hot cache area identifier and the current access popularity value as the value. The metadata is moved from the ordinary data area of ​​the hot storage area to a pre-defined hot cache dedicated area within the hot storage area, and the new storage location of the metadata is recorded in the hot cache residency mapping table.

[0021] Furthermore, the hot-cached metadata retrieval and privacy protection processing module includes: When the distributed edge node receives a data access request for the data body, the security protection system intercepts the data access request and extracts the requester's identity and the requested data body's identity from the data access request.

[0022] The security protection system locates the corresponding hot cache metadata in the hot storage area based on the data body identifier. The hot cache metadata pre-stores the privacy policy field of the privacy data. The privacy policy field includes a list of allowed roles, de-identification rules, and an anonymization mapping table.

[0023] Furthermore, the hot-cached metadata retrieval and privacy protection processing module includes: If the requester's identity fails to match the list of allowed roles, the security protection system directly returns an access denied message to the requester, ending the privacy protection process; otherwise, the security protection system reads the desensitization rules, determines which fields in the data body need to be transformed according to the desensitization rules, and extracts the corresponding anonymized replacement values ​​from the anonymization mapping table.

[0024] The security protection system initiates a data read request for the cold storage area to the cold and hot tiered storage system based on the data body identifier. After obtaining the data body located in the cold storage area, the system performs data transformation operation on the specified fields in the data body according to the desensitization rules, replacing the original values ​​with the preset anonymization replacement values ​​in the anonymization mapping table, and generating the desensitized data body.

[0025] (3) Beneficial effects Compared with the prior art, the beneficial effects of the present invention are: 1. This invention introduces a registry query mechanism when the cold migration process is triggered, which enables accurate identification of the metadata that the security protection system depends on during operation and forced residency in the hot storage area. This ensures that the metadata continues to be retained on the high-speed access path after the data body is migrated to cold storage. This eliminates the access control failure and missing de-identification processing problems caused by the security protection system's inability to obtain privacy policy metadata in real time at the boundary between cold and hot migration, and ensures the continuity of security protection for privacy data in cross-storage layer access scenarios.

[0026] 2. Based on the continuous availability of the aforementioned metadata, a complete lifecycle management mechanism for dependency registration and deregistration is implemented to achieve a fully controlled flow of hot-cached metadata from its residence to its migration. During the existence of the security protection system, the metadata always resides in the hot storage area to support real-time privacy protection processing. After the dependency is removed, cold migration and archiving are triggered in a timely manner. This not only avoids the waste of resources caused by metadata occupying hot storage space for a long time, but also ensures that privacy data is in a closed-loop controlled state at each stage from writing and access protection to final archiving. This achieves a synergistic improvement in storage resource utilization efficiency and the integrity of privacy and security management. Attached Figure Description

[0027] Figure 1 This is a schematic diagram of the module composition of a closed-loop security management system for privacy data according to the present invention. Detailed Implementation

[0028] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0029] Example 1: As Figure 1 As shown, this embodiment provides a closed-loop security management system for privacy data throughout the entire process, applied to a distributed edge node tiered cold and hot storage system. The tiered cold and hot storage system includes a hot storage area and a cold storage area. The system includes: The privacy data writing and hot storage association module receives the privacy data to be written, generates a data body and metadata corresponding to the privacy data, and establishes an association between the data body and the metadata in the hot storage area and stores them. The hot and cold tiered storage system is physically or logically divided into two parts: a hot storage area and a cold storage area. The hot storage area is typically implemented using solid-state storage media or memory mapping, featuring low latency and high throughput, suitable for handling frequently accessed active data. The cold storage area is implemented using large-capacity disk arrays or object storage services, with higher read latency but a much lower unit storage cost than the hot storage area, suitable for archiving historical data whose access frequency has significantly decreased. The security protection system is deployed independently on the access link, responsible for intercepting access operations and performing privacy protection processing before any external request reaches the data body.

[0030] When a distributed edge node receives privacy data to be written, the system first performs structured parsing on the privacy data, splitting it into two related but physically independent storage objects: the data body and metadata. The data body carries the actual business content of the privacy data, such as raw fields like a user's ID number, medical records, or behavioral patterns. The metadata carries management information associated with the data body, including a unique identifier for the data body, data classification tags, privacy policy fields, a list of allowed roles, anonymization rules, and an anonymization mapping table. The system establishes a bidirectional index between the two in a hot storage area, allowing for quick retrieval of the corresponding metadata using the data body identifier, and also enabling reverse location of the data body's storage location using the metadata identifier. Both the data body and metadata are placed in the hot storage area during the write phase, ensuring high-speed accessibility for both during initial access.

[0031] The access heat monitoring and cold migration triggering module is used to monitor the access heat value of data bodies in the hot storage area according to the preset hot and cold tiered migration strategy. When the access heat value of the data body is lower than the preset migration threshold, a cold migration process is triggered to migrate the data body from the hot storage area to the cold storage area. The hot and cold tiered storage system continuously monitors the access heat value of each data body in the hot storage area. The access heat value is a quantitative indicator reflecting the access activity of a data body. The specific calculation method can adopt a time decay weighted counting model: using a fixed statistical period (e.g., every five minutes as a statistical period) as the basic unit, the number of accesses to the data body in the current statistical period is recorded as the original count, and the counts of the historical statistical periods are multiplied by a decay coefficient (the decay coefficient is usually set between 0.7 and 0.95, and the specific value can be configured according to the access pattern of the business data). The original count of the current statistical period is added to the cumulative value after historical decay to obtain the current access heat value. The preset migration threshold is a value jointly determined by the system during the deployment phase based on the capacity of the hot storage area, the read latency tolerance of the cold storage area, and the business access baseline. For example, in a deployment scenario where the capacity of the hot storage area of ​​an edge node is 500 gigabytes and the average read latency of the cold storage area is 200 milliseconds, the preset migration threshold can be set to a cumulative weighted access count of less than 10 times in the last three statistical periods. When the access heat value of a data body continues to decrease and falls below the preset migration threshold for the first time, the hot and cold tiered storage system determines that the data body has entered the access cooling state and then triggers the cold migration process for the data body.

[0032] The runtime dependency metadata hot cache resident module is used to read the metadata associated with the data body before the cold migration process is started and the data body is not migrated out. If the dependency registry maintained in the hot storage area determines that the metadata is declared as a runtime dependency by the security protection system, the metadata is resident in the hot storage area as hot cache metadata, and the metadata is prevented from being migrated into the cold storage area with the data body. The security protection system needs to call the metadata when performing privacy protection processing on the access of the data body.

[0033] The hot cache metadata retrieval and privacy protection processing module is used to retrieve hot cache metadata from the hot storage area in response to a metadata retrieval request initiated by the security protection system. The security protection system performs privacy protection processing on the access to the data body based on the hot cache metadata.

[0034] The dependency removal and metadata cold migration closed-loop module is used to reduce the access popularity value of metadata below a preset migration threshold when the security guardian system, which has identified metadata declared as a runtime dependency by the dependency registry, removes the dependency registration. The metadata is then migrated to the cold storage area according to a preset hot-cache tiered migration strategy, forming a closed-loop security management system for privacy data. When the security guardian system completes all privacy protection tasks for a data body and no longer needs to continuously call the corresponding hot cache metadata, the security guardian system initiates a dependency removal operation to the dependency registry through the deregistration interface, setting the declaration flag corresponding to the metadata to an invalid state. After detecting that the declaration flag of the metadata in the dependency registry has become invalid, the hot-cache metadata in the hot storage area actively adjusts the access popularity value of the hot cache metadata in the hot storage area to below the preset migration threshold, making the hot cache metadata eligible for recognition and selection by the cold migration process. In the next cold migration process, the hot cache metadata is migrated to the cold storage area for archiving according to the same hot-cache tiered migration strategy as ordinary data bodies, releasing the cache space occupied in the hot storage area. Thus, a complete closed loop is formed for the entire lifecycle process of privacy data, from writing and access protection to final archiving. Each stage of the privacy data lifecycle is under control, eliminating the security protection gap caused by the inaccessibility of metadata at the boundary between cold and hot migration.

[0035] The runtime-dependent metadata hot caching and resident module includes: A dependency registry creation module is used by the security system to create a dependency registry in the hot storage area. This dependency registry records the unique identifier of each metadata item declared as a runtime dependency by the security system. When the security system completes initial deployment on the distributed edge nodes, it creates a dedicated dependency registry in the hot storage area. The dependency registry's data structure uses the unique identifier of the metadata as the primary key, and each record corresponds to a piece of metadata that was once declared as a runtime dependency by the security system. The dependency registry needs to be built in the hot storage area, not the cold storage area. This is because the cold migration process requires a real-time query of the dependency registry. If the dependency registry itself is located in the cold storage area, the query operation may time out and fail when the read latency in the cold storage area is high or even within the offline archiving window, causing the dependency determination mechanism to fail. Therefore, the dependency registry must be located on the same high-speed access path in the hot storage area as the hot-cached metadata.

[0036] The runtime dependency registration and writing module is used by the security protection system to write unique identifiers and corresponding declaration tags of metadata into the dependency registry by calling the registration interface before performing privacy protection processing on any data body containing privacy data. Before performing privacy protection processing on any data body, the security protection system must first complete the dependency registration operation to ensure that the corresponding metadata is not incorrectly migrated out of the hot storage area during the cold migration process of the security protection system. The dependency registration operation is triggered when the security protection system takes over the access control task of a data body, that is, when the security protection system first intercepts an access request for a data body, or when the security protection system is pre-assigned as the access protection responsible party for a data body according to business orchestration logic. The security protection system writes the unique identifiers of the required metadata and the corresponding declaration tags into the dependency registry by calling the registration interface. The declaration tag is a structured field containing dependency validity information, used to indicate whether the current declaration is still valid.

[0037] The cold migration pre-dependency query and determination module is used to read the unique identifier of the metadata associated with the data body from the hot storage area before the cold migration process is triggered and the data body is migrated out of the hot storage area. Using the unique identifier of the metadata as the query key, if a unique identifier with the same query key is found in the dependency registry and the corresponding declaration flag is valid, then the metadata is determined to be declared as a runtime dependency by the security protection system. The cold and hot tiered storage system performs a dependency determination query before the cold migration process is triggered and the data body has not yet completed the migration operation. The system reads the unique identifier of the metadata bound to the data body to be migrated through the bidirectional association index established between the data body and metadata during the write phase, and uses this unique identifier as the query key to perform an exact match search in the dependency registry of the hot storage area. There are two scenarios for the search results: First, if there is no unique identifier entry in the dependency registry that matches the query key value, it means that the security system has never initiated dependency registration for this metadata, and the metadata currently has no valid runtime dependencies. The system allows the metadata to be migrated to the cold storage area along with the data body. Second, if there is a unique identifier entry in the dependency registry that matches the query key value, it is necessary to further check whether the declaration flag corresponding to the entry is in a valid state. If the declaration flag has been marked as invalid (for example, the security system has completed the deregistration operation in advance through the deregistration interface), it is also considered that there is no valid runtime dependency, and the metadata is allowed to be migrated with the data body. If the declaration flag is still in a valid state, it is determined that the metadata has been declared as a runtime dependency by the security system. The cold migration process must separate the metadata from the data body, the data body is migrated to the cold storage area, and the metadata is forcibly kept in the hot storage area in the form of hot cached metadata.

[0038] The runtime dependency registration and writing module includes: The dependency type identification and declaration tag allocation module is used to parse the unique identifier of the associated metadata from the data body of the privacy data, and determine the dependency type of the metadata based on the current business context of the security protection system. The dependency types include strong dependency types and weak dependency types. The security protection system assigns an indefinite declaration tag to metadata with strong dependencies and a finite-term declaration tag to metadata with weak dependencies, attaching a validity period to the declaration tag. Before performing the registration operation, the security protection system parses the unique identifier of the metadata bound to the data body from the data body of the privacy data. The unique identifier of the metadata is usually embedded in the header description field of the data body in a fixed format. The security protection system extracts this identifier from the header of the data body according to a predefined field parsing specification. Simultaneously, the security protection system evaluates the dependency nature of the metadata based on the current business context, classifying the dependency type into strong dependency type and weak dependency type.

[0039] Strong dependency type is suitable for scenarios where security guardians need to continuously call metadata within an unpredictable time frame. For example, a security guardian is responsible for protecting data access to a long-term online service, and the business layer cannot determine in advance when to terminate the dependency on the metadata. In this case, the security guardian assigns an indefinite declaration tag to the metadata, and the expiration field in the declaration tag is set to a special flag value that never expires (e.g., setting the expiration field to the maximum timestamp value or a specific permanent tag constant), indicating that the declaration tag will always remain valid until the security guardian actively performs a deregistration operation.

[0040] Weak dependencies are suitable for scenarios where the security system can predict the duration of the dependency. For example, the security system may only need to access metadata during the execution of a batch data processing task, and the dependency may automatically terminate after the task is completed. In this case, the security system assigns a time-limited declaration tag to the metadata, which includes a specific lifetime value. After receiving the declaration tag, the dependency registry records the expiration time of the declaration tag as the sum of the current timestamp and the lifetime. The declaration tag remains valid until the expiration time arrives, and automatically becomes invalid after expiration, without requiring the security system to initiate a deregistration operation.

[0041] The registration request construction and dependency registry writing module is used by the security protection system to construct a registration request data packet containing a unique identifier and a declaration tag of the metadata. This registration request data packet is then written to the dependency registry in the hot storage area via a registration interface. During the writing process, the dependency registry uses the unique identifier of the metadata as the primary key. If the primary key already exists, the new declaration tag is merged with the existing declaration tag. After completing the dependency type determination, the security protection system constructs a registration request data packet containing two core fields: the unique identifier and the declaration tag of the metadata. This registration request data packet is then submitted to the dependency registry in the hot storage area via the registration interface. When the dependency registry receives the registration request data packet, it checks whether a corresponding entry already exists, using the unique identifier of the metadata as the primary key. If no corresponding entry exists, the unique identifier and declaration tag from the registration request data packet are directly written as a new record to the dependency registry. If a corresponding entry already exists, it indicates that the same metadata may be declared as a runtime dependency by multiple security daemon instances or multiple tasks within the same security daemon. In this case, the registry is used to merge the declaration tags. The merging rule is as follows: newly written declaration tags are merged with existing declaration tags based on the larger of their validity periods. That is, if an existing declaration tag is valid indefinitely, the merged result remains valid indefinitely; if an existing declaration tag is valid for a limited period and a newly written declaration tag is valid indefinitely, the merged result is updated to be valid indefinitely; if both are valid for a limited period, the later of the two expiration times is used as the merged expiration time. This merging rule ensures that when multiple dependency declarations coexist, any declaration still being valid is considered a valid runtime dependency for that metadata, preventing the erroneous triggering of cold migration operations due to the expiration of some declaration tags.

[0042] The dependency type identification and declaration tag allocation module includes: The baseline time window calculation module is used to read the current access popularity value of the data body and the access popularity decay curve of the data body in the most recent statistical period from the cold and hot tiered storage system; based on the access popularity decay curve, it fits the estimated time required for the access popularity of the data body to decrease to a preset migration threshold, which is used as the baseline time window; the cold and hot tiered storage system reads the current access popularity value of the data body from the hot storage area and the access popularity decay curve of the data body in the most recent statistical period, where the access popularity decay curve is a set of discrete sampling points arranged in chronological order. The baseline time window represents how long it is expected to take for the data body to trigger the cold migration process, assuming that the current access popularity decay trend remains unchanged.

[0043] The lifetime validity calculation module is used by the security protection system to obtain the current load factor of the distributed edge nodes and the average execution latency of cold migration in the cold and hot tiered storage system. Based on the baseline time window, the current load factor, and the average execution latency of cold migration, the lifetime validity is calculated. The security protection system introduces two correction factors on top of the baseline time window: the current load factor of the distributed edge nodes and the average execution latency of cold migration in the cold and hot tiered storage system. These factors correct the baseline time window to obtain the final lifetime validity. The current load factor reflects the current computing and storage resource occupancy of the edge nodes. The higher the load factor, the weaker the node's responsiveness, and the actual trigger time of the cold migration process may lag behind the theoretically predicted time due to resource scheduling queue backlog. The average execution latency of cold migration reflects the average time consumed from triggering a single cold migration process to the completion of data migration and writing. Metadata must remain resident during the migration execution. Combining the two correction factors mentioned above, the formula for calculating the lifetime validity period can be expressed as follows: the lifetime validity period equals the baseline time window multiplied by the load factor correction ratio (the load factor correction ratio is an amplification factor that monotonically increases with the current load factor; for example, when the current load factor is below 40%, the correction ratio is 1.0; between 40% and 70%, it is 1.2; and above 70%, it is 1.5. The specific tiers and ratio values ​​can be configured by the system based on the node performance baseline), plus the average execution latency of cold migration. The result is the lifetime validity period attached to the weak dependency type declaration tag. Through the above correction, the lifetime validity period can adaptively cover the entire time interval required for the data body to actually complete the cold migration under different resource load conditions, ensuring that metadata continuously resides in the hot storage area throughout the entire cold migration process.

[0044] The baseline time window calculation module includes the following steps: The system reads multiple discrete sampling points from the access popularity decay curve, each corresponding to a historical timestamp and a data volume access popularity value. These discrete sampling points are then input into a double exponential smoothing prediction model, which includes horizontal and trend components. The smoothing parameters for the horizontal and trend components are automatically optimized by minimizing the sum of squared prediction errors. The input to the double exponential smoothing prediction model is the multiple discrete sampling points from the access popularity decay curve. The system extracts all historical sampling points from the access popularity records in the hot storage area, obtained within the most recent statistical period at a fixed sampling interval (e.g., recording access popularity values ​​every five minutes). Each sampling point contains a historical timestamp and a corresponding access popularity value. The number of sampling points should not be less than the minimum sample size required for model convergence. In actual deployment, a minimum of 12 sampling points are typically required, covering at least one hour of historical access popularity history, to ensure the model's fitting accuracy to the trend component.

[0045] The horizontal component reflects the estimated level of the access popularity value at the current moment, while the trend component reflects the rate of change of the access popularity value over time. When processing each new sampling point, the model updates the horizontal and trend components according to the following recursive relationship: the current horizontal component equals the horizontal smoothing parameter multiplied by the observed access popularity value of the current sampling point, plus or minus the horizontal smoothing parameter multiplied by the sum of the horizontal component and the trend component at the previous moment; the current trend component equals the trend smoothing parameter multiplied by the difference between the current and previous horizontal components, plus or minus the trend smoothing parameter multiplied by the trend component at the previous moment. The horizontal smoothing parameter and the trend smoothing parameter are both real numbers greater than zero and less than one. The specific values ​​of the two parameters are automatically optimized by minimizing the sum of squared prediction errors. That is, the historical sampling points are divided into training set and validation set according to time order. The candidate parameter combinations in the parameter space are traversed (a grid search method can be used to enumerate all combinations of the two parameters in the range of 0.05 to 0.95 with a step size of 0.05). Double exponential smoothing is performed on the training set and the sum of squared prediction errors is calculated on the validation set. The parameter combination that minimizes the sum of squared prediction errors is selected as the final horizontal smoothing parameter and trend smoothing parameter.

[0046] The double exponential smoothing prediction model extrapolates from the horizontal and trend components to generate a predicted access popularity trajectory for the data volume over future time series. Starting from the current time point, it iterates along this trajectory, comparing the predicted access popularity value for each future time point with a preset migration threshold. When the predicted access popularity value is first less than the preset migration threshold, the time difference between the future time point and the current time point is calculated as the estimated duration. After parameter optimization, the double exponential smoothing prediction model extrapolates towards the future time axis, starting from the horizontal and trend components corresponding to the last sampling point, to generate predicted access popularity values ​​for each future time point. The extrapolation formula is: the predicted access popularity value at the k-th time step after the current time point equals the horizontal component of the last sampling point plus k multiplied by the trend component of the last sampling point. Starting from the current time point, the system calculates the predicted access popularity value for each future time point one by one according to the same step size as the historical sampling interval, and compares each predicted value with the preset migration threshold. It finds the future time point corresponding to the first time point when the predicted access popularity value is lower than the preset migration threshold, calculates the time difference between the future time point and the current time point, and uses the time difference as the estimated duration.

[0047] The runtime-dependent metadata hot caching and resident module includes the following steps: The system reads the current storage location pointer and current access popularity value of the metadata in the hot storage area, and assigns a unique hot cache area identifier to the metadata. This hot cache area identifier marks the metadata as a resident object that cannot be selected by the cold migration process. After confirming that the metadata needs to reside in the form of hot cache metadata, the system reads the current storage location pointer of the metadata in the hot storage area. The storage location pointer records the physical or logical address of the metadata in the ordinary data area of ​​the hot storage area, which is used for source address location when the metadata is subsequently migrated from the ordinary data area to the dedicated hot cache area. Simultaneously, the system reads the current access popularity value of the metadata and uses this access popularity value as the initial popularity record when the metadata is marked as a hot cache resident object, storing it for later use.

[0048] The system assigns a unique hot cache region identifier to this metadata. The hot cache region identifier is a special marker bound to the unique identifier of the metadata. Its purpose is to inform the candidate object scanning module of the cold migration process that storage objects carrying this identifier should not be included in the cold migration candidate queue, even if their access frequency value is below the preset migration threshold. When performing candidate object scanning, the cold migration process should first check whether each object under consideration carries a hot cache region identifier. If it does, it should be skipped and not included in this cold migration batch. The specific form of the hot cache region identifier can be a Boolean protection flag, which, when set to true, indicates that the current storage object is in a hot cache protection state, or a region number pointing to a dedicated hot cache region, which is retrieved by the system from a pre-defined hot cache region number pool during allocation.

[0049] A hot cache residency mapping table is created in the hot storage area. The hot cache residency mapping table uses the unique identifier of the metadata as the key and the combination of the hot cache area identifier and the current access popularity value as the value. The metadata is moved from the ordinary data area of ​​the hot storage area to a pre-defined hot cache dedicated area within the hot storage area, and the new storage location of the metadata is recorded in the hot cache residency mapping table. The system creates and maintains a hot cache residency mapping table in the hot storage area, using the unique identifier of the metadata as the key and the combination of the hot cache area identifier and the current access popularity value as the value. The system then physically moves the actual storage content of the metadata from the ordinary data area of ​​the hot storage area to a pre-defined hot cache dedicated area within the hot storage area, and updates the storage location of the corresponding entry of the metadata in the hot cache residency mapping table to the new address of the metadata in the hot cache dedicated area. The dedicated hot cache area is a separately allocated storage partition within the hot storage area, prioritizing read performance and unaffected by cold migration scans. During the initial deployment of the security protection system, this partition is pre-defined and initialized based on a certain percentage of the total capacity of the node's hot storage area (e.g., reserving 10% to 15% of the total hot storage capacity as the dedicated hot cache area). When the security protection system accesses hot cache metadata via a metadata call request, the system performs a lookup in the hot cache resident mapping table using the unique identifier of the metadata as the key to obtain the new storage location within the dedicated hot cache area. Then, it directly reads the metadata content from the dedicated hot cache area. The entire read path bypasses the index layer of the ordinary data area, reducing the overhead of indirect addressing and further lowering metadata read latency.

[0050] The hot cache metadata retrieval and privacy protection processing module includes: When the distributed edge node receives a data access request for the data body, the security protection system intercepts the data access request and extracts the requester's identity and the requested data body identifier from the data access request. When the distributed edge node receives a data access request for the data body initiated by an external access party, the data access request passes through the interception layer of the security protection system before reaching the actual storage location of the data body. The interception layer of the security protection system is embedded in the node's data access link in the form of a proxy or hook, ensuring that any operation that bypasses the interception layer to directly access the data body is prohibited at the architectural level. The security protection system extracts two key pieces of information from the request header or request parameters of the intercepted data access request: one is the requester's identity identifier, which is the identity credential registered by the access party on the distributed edge node, such as a token verified by digital signature or a role identifier carried in an access certificate issued by an authentication authority; the other is the requested data body identifier, which is the unique identifier of the target data body that the access party wants to read.

[0051] The security protection system locates the corresponding hot cache metadata in the hot storage area based on the data body identifier. The hot cache metadata pre-stores a privacy policy field for the privacy data, which includes a list of allowed roles, de-identification rules, and an anonymization mapping table. Using the requested data body identifier as an index, the security protection system searches the hot cache resident mapping table for the corresponding hot cache metadata storage location and reads the hot cache metadata from the dedicated hot cache area. The hot cache metadata pre-stores a privacy policy field bound to the data body, which includes a list of allowed roles, de-identification rules, and an anonymization mapping table. The list of allowed roles explicitly records which role types of accessers are authorized to read the data body. The de-identification rules describe the data transformation operation types and parameters that need to be performed when returning data to accessers of different roles. The anonymization mapping table records the correspondence between the original values ​​and anonymized replacement values ​​of each sensitive field in the data body, used to replace the original sensitive values ​​with anonymized values ​​that cannot restore the true information during the de-identification process. The aforementioned content of the hot-cached metadata is pre-filled by the automated privacy policy configuration tool according to the data classification and grading standards during the data writing phase. The security protection system directly reads and uses it during the access interception phase without performing any modification operations.

[0052] The hot cache metadata retrieval and privacy protection processing module includes: If the identity of the requester fails to match the list of allowed roles, the security protection system will directly return a message denying access to the requester and end the privacy protection process; otherwise, the security protection system will read the de-identification rules, determine which fields in the data body need to be transformed according to the de-identification rules, and extract the corresponding anonymized replacement values ​​from the anonymization mapping table. The security protection system initiates a data read request from the cold storage area to the cold and hot tiered storage system based on the data body identifier. After obtaining the data body located in the cold storage area, it performs data transformation operations on the specified fields in the data body according to the desensitization rules, replacing the original values ​​with preset anonymization replacement values ​​in the anonymization mapping table to generate a desensitized data body. After completing the reading of hot cache metadata from the dedicated hot cache area, the security protection system performs a matching verification between the requester's identity identifier extracted from the data access request and the list of allowed access roles recorded in the hot cache metadata. The specific matching verification method is as follows: parse the role field in the requester's identity identifier, compare the value of the role field with each entry in the list of allowed access roles one by one. If any entry matches the role field in the requester's identity identifier, the identity verification is considered successful; if no match is found after traversing all entries in the list of allowed access roles, the identity verification is considered unsuccessful.

[0053] When identity verification fails, the security system directly returns an access denied message to the requester. This message may include descriptive text explaining the reason for the denial (e.g., "The current identity does not have permission to access this data"), but must not contain any data body content or privacy policy details from metadata to prevent sensitive permission configuration information from being leaked through error responses. This privacy protection process terminates at this point. When identity verification succeeds, the security system continues to read the de-identification rules from the hot-cached metadata. These rules use field names as keys and the type of data transformation operation to be performed on that field as values, explicitly specifying which fields in the data body must be de-identified before being returned to the requester. Based on the list of fields in the de-identification rules, the security system searches for the anonymization replacement value for each field requiring de-identification in the anonymization mapping table. This table uses the hash digest or field identifier of the original field as the key and a pre-generated anonymization string or replacement rule description as the value.

[0054] After parsing the anonymization rules and extracting the anonymized replacement values, the security protection system initiates a data read request to the cold and hot tiered storage system. This request targets the storage location of the data body in the cold storage area, as the data body has already been migrated there during the earlier cold migration process. Upon obtaining the original content of the data body from the cold storage area, the security protection system performs data transformation operations on each field requiring anonymization according to the field list specified in the anonymization rules, replacing the original field values ​​with preset anonymized replacement values ​​from the anonymization mapping table. After all fields requiring anonymization have been replaced, the security protection system returns the processed anonymized data body to the requester. The data received by the requester does not contain any original sensitive information, and the true privacy content of the data body remains within the controlled scope of the cold and hot tiered storage system throughout the entire access process.

[0055] Finally, it should be noted that although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A closed-loop security management system for privacy data throughout the entire process, characterized in that, The system includes: The privacy data writing and hot storage association module is used to receive privacy data to be written, generate a data body and metadata corresponding to the privacy data, and establish an association between the data body and the metadata in the hot storage area and store them. The access heat monitoring and cold migration triggering module is used to monitor the access heat value of data bodies in the hot storage area according to the preset hot and cold layered migration strategy. When the access heat value of the data body is lower than the preset migration threshold, the cold migration process of migrating the data body from the hot storage area to the cold storage area is triggered. A runtime dependency metadata hot cache resident module is used to read the metadata associated with the data body before the cold migration process is started and the data body is migrated out. If the metadata is declared as a runtime dependency by the security protection system according to the dependency registry maintained in the hot storage area, the metadata is resident in the hot storage area as hot cache metadata, and the metadata is prevented from being migrated into the cold storage area with the data body. The security protection system needs to call the metadata when performing privacy protection processing on the access to the data body. The hot cache metadata retrieval and privacy protection processing module is used to retrieve hot cache metadata from the hot storage area in response to the metadata retrieval request initiated by the security protection system. The security protection system performs privacy protection processing on the access to the data body based on the hot cache metadata. The dependency removal and metadata cold migration closed-loop module is used to reduce the access popularity value of the metadata to below a preset migration threshold when the security protection system that has declared the metadata as a runtime dependency has been identified by the dependency registry. The metadata is then migrated to the cold storage area according to a preset cold and hot tiered migration strategy, forming a closed-loop security management of privacy data. The runtime-dependent metadata hot caching and resident module includes: A dependency registry creation module is used by the security protection system to create a dependency registry in the hot storage area. The dependency registry is used to record the unique identifier of the metadata of each item declared as a runtime dependency by the security protection system. The runtime dependency registration and writing module is used by the security protection system to write the unique identifier of the metadata and the corresponding declaration tag into the dependency registry by calling the registration interface before performing privacy protection processing on the data body of any privacy data. The cold migration pre-dependency query and determination module is used to read the unique identifier of the metadata associated with the data body from the hot storage area before the cold migration process is triggered and the data body is migrated out of the hot storage area. The unique identifier of the metadata is used as the query key value. If a unique identifier with the same query key value is found in the dependency registry and the corresponding declaration flag is in a valid state, it is determined that the metadata is declared as a runtime dependency by the security protection system.

2. The closed-loop security management system for privacy data according to claim 1, characterized in that, The runtime dependency registration and writing module includes: The dependency type identification and declaration tag allocation module is used to parse the unique identifier of the associated metadata from the data body of the privacy data, and determine the dependency type of the metadata according to the business context of the current operation of the security protection system. The dependency type includes strong dependency type and weak dependency type. The security protection system allocates an indefinite declaration tag for the metadata of strong dependency type, and allocates a limited-time declaration tag for the metadata of weak dependency type, and attaches a valid lifespan in the declaration tag. The registration request construction and dependency registry writing module is used by the security protection system to construct a registration request data packet, which contains a unique identifier and a declaration tag of the metadata. The registration request data packet is written to the dependency registry in the hot storage area through the registration interface. During the writing process, the dependency registry uses the unique identifier of the metadata as the primary key. If the primary key already exists, the new declaration tag is merged with the existing declaration tag.

3. The closed-loop security management system for privacy data according to claim 2, characterized in that, The dependency type identification and declaration tag allocation module includes: The baseline time window calculation module is used to read the current access popularity value of the data body and the access popularity decay curve of the data body in the most recent statistical period from the cold and hot tiered storage system; and to fit the access popularity decay curve to calculate the estimated time required for the access popularity of the data body to drop to a preset migration threshold, which is used as the baseline time window. The survival validity period calculation module is used by the security protection system to obtain the current load coefficient of the distributed edge nodes and the average execution latency of cold migration of the cold and hot tiered storage system, and calculate the survival validity period based on the baseline time window, the current load coefficient and the average execution latency of cold migration.

4. The closed-loop security management system for privacy data according to claim 3, characterized in that, The baseline time window calculation module includes the following steps: Read multiple discrete sampling points on the access popularity decay curve, each discrete sampling point corresponding to a historical timestamp and data access popularity value; input the multiple discrete sampling points into a double exponential smoothing prediction model, the double exponential smoothing prediction model includes horizontal components and trend components, and automatically optimize the smoothing parameters of the horizontal components and trend components by minimizing the sum of squared prediction errors; The dual exponential smoothing prediction model extrapolates outward based on the horizontal and trend components to generate a predicted access popularity trajectory for the data body in future time series. Starting from the current time point, the model iterates along the predicted access popularity trajectory, comparing the predicted access popularity value corresponding to each future time point with a preset migration threshold. When the predicted access popularity value is less than the preset migration threshold for the first time, the time difference between the future time point and the current time point is calculated as the estimated duration.

5. The closed-loop security management system for privacy data according to claim 1, characterized in that, The runtime-dependent metadata hot caching and resident module includes the following steps: Read the current storage location pointer and current access popularity value of the metadata in the hot storage area, and assign an independent hot cache area identifier to the metadata. The hot cache area identifier is used to mark the metadata as a resident object that cannot be selected by the cold migration process. A hot cache residency mapping table is created in the hot storage area. The hot cache residency mapping table uses the unique identifier of the metadata as the key and the combination of the hot cache area identifier and the current access popularity value as the value. The metadata is moved from the ordinary data area of ​​the hot storage area to a pre-defined hot cache dedicated area within the hot storage area, and the new storage location of the metadata is recorded in the hot cache residency mapping table.

6. The closed-loop security management system for privacy data according to claim 3, characterized in that, The hot cache metadata retrieval and privacy protection processing module includes: When a distributed edge node receives a data access request for the data body, the security protection system intercepts the data access request and extracts the requester's identity and the requested data body's identity from the data access request. The security protection system locates the corresponding hot cache metadata in the hot storage area based on the data body identifier. The hot cache metadata pre-stores the privacy policy field of the privacy data. The privacy policy field includes a list of allowed roles, de-identification rules, and an anonymization mapping table.

7. A closed-loop security management system for privacy data according to claim 6, characterized in that, The hot cache metadata retrieval and privacy protection processing module includes: If the identity of the requester fails to match the list of allowed roles, the security protection system will directly return a message denying access to the requester and end the privacy protection process; otherwise, the security protection system will read the de-identification rules, determine which fields in the data body need to be transformed according to the de-identification rules, and extract the corresponding anonymized replacement values ​​from the anonymization mapping table. The security protection system initiates a data read request for the cold storage area to the cold and hot tiered storage system based on the data body identifier. After obtaining the data body located in the cold storage area, the system performs data transformation operation on the specified fields in the data body according to the desensitization rules, replacing the original values ​​with the preset anonymization replacement values ​​in the anonymization mapping table, and generating the desensitized data body.

Citation Information

Patent Citations

  • Method, system and apparatus for enabling live and / or hot migration of physical resources

    CN111712798A

  • Archive storage method and system based on hot and cold data layering

    CN121858045A