A data hierarchical storage optimization method and system for green computing power

By optimizing data migration through a tiered storage controller, the problem of ineffective migration in multi-tiered storage systems is solved, and efficient storage resource management is achieved under fluctuations in access performance, energy consumption, and cooling load.

CN123157148APending Publication Date: 2026-11-24MINGCHUANG HUIYUAN (CHANGSHA) MINE DESIGN & RES INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611667010.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-27
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In multi-tiered storage systems in data centers, when access performance requirements, migration energy consumption, power supply carbon intensity, and cooling load fluctuate together, existing technologies cannot effectively characterize the direction and scope of these joint changes. This leads to ineffective round-trip migrations of data objects between adjacent storage tiers, increasing additional read/write bandwidth and cooling energy consumption.

Method used

The hierarchical storage controller acquires the access status of data objects and the status data of storage levels to form a set of object status points. After normalizing and weighting access performance requirements, migration energy consumption and carbon emissions, a migration decision domain is generated. Combined with capacity, latency and media durability constraints, a candidate migration set is determined, and hierarchical storage control instructions are generated to optimize data migration.

Benefits of technology

It effectively suppressed invalid round-trip migrations, reduced read/write bandwidth and cooling energy consumption, optimized the utilization efficiency of storage resources, and met access performance requirements and low-carbon goals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123157148A_ABST
    Figure CN123157148A_ABST
Patent Text Reader

Abstract

The application relates to data center hierarchical storage control and provides a green computing-oriented data hierarchical storage optimization method and system; object state points of an access performance requirement and a migration cost are formed according to object state data and hierarchical state data; an inner-outer closed boundary is generated through a state center, two vertical directions and corresponding scales; a candidate migration set is formed according to the boundary position, a migration direction and a storage constraint; hierarchical storage control instructions are generated and executed in combination with a power supply state, a residence state and a low-carbon execution window; hierarchical storage results are obtained; and the migration judgment domain and the low-carbon execution window are updated in terms of actual time delay, migration energy consumption and reverse migration times, so that control means for reducing invalid round-trip migration of objects are provided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to data center storage resource scheduling and energy efficiency control technology, and in particular to a data hierarchical storage optimization method and system for green computing power. Background Technology

[0002] Data centers typically organize solid-state storage devices, hard disk drives, and archive media into multiple storage tiers, and set migration up and down thresholds based on the access frequency of data objects, the time of most recent access, or the input / output load. When the access metrics meet the threshold conditions, the controller migrates the object to the performance tier or the capacity tier. It can also adjust the threshold based on the remaining capacity, or set two thresholds to form a hysteresis interval to balance access latency and storage resource usage.

[0003] The above judgments primarily compare access states and migration conditions. In scenarios where hot objects are near thresholds, grid carbon intensity varies over time, and performance layer capacity is limited, access performance requirements, migration energy consumption, and cooling load will change together. The same object may alternately satisfy migration conditions in opposite directions. Since the separately set scalar thresholds cannot directly characterize the direction and discrete range of the above states in the joint distribution, the controller may repeatedly move objects between adjacent storage layers, consuming additional read / write bandwidth and generating transmission and cooling energy consumption. Therefore, it is necessary to address the problem of invalid round-trip migrations caused by the mismatch between migration judgments and actual joint states when multiple states fluctuate together. Summary of the Invention

[0004] The technical problem to be solved by this application is: how to form a migration determination relationship that can characterize the direction and range of joint changes when access performance requirements, migration energy consumption, power supply carbon intensity and cooling load fluctuate together, and suppress invalid round-trip migration of data objects between adjacent storage levels while satisfying capacity, latency and media durability constraints.

[0005] To address the aforementioned technical problems, this application provides a data hierarchical storage optimization method executed by a hierarchical storage controller, specifically including: A data tiered storage optimization method for green computing power, executed by a tiered storage controller, includes: Obtain the access status, data volume, storage level capacity, latency, power, media durability, cooling load, and power supply status of the data object to obtain object status data and level status data; Based on object state data and hierarchical state data, the access performance requirements are normalized to the first coordinate, and the migration energy consumption and migration carbon emissions are normalized and weighted to obtain the second coordinate, forming a set of object state points. Based on the set of object state points in the continuous sampling window, determine the state center, the first and second mutually perpendicular directions, and the corresponding first and second scales. Generate two closed boundaries with the inner scale coefficient and the outer scale coefficient which is greater than the inner scale coefficient to obtain the migration decision domain. The candidate migration set is obtained based on the sum of squares of the ratios of the projections of the object's state point relative to the state center in two directions to the corresponding scale, the migration direction and capacity, the time delay and the medium durability constraints. Based on the candidate migration set, power supply status, and object residency status, a low-carbon execution window is determined, and hierarchical storage control instructions containing source level, target level, migration order, and bandwidth limit are generated. Execute hierarchical storage control instructions to obtain hierarchical storage results, and update the migration decision domain and low-carbon execution window based on actual access latency, migration energy consumption, and reverse migration count.

[0006] A data hierarchical storage optimization system for green computing power includes a status acquisition module, a coordinate construction module, a boundary generation module, a candidate screening module, a control execution module, and a feedback update module. The status acquisition module obtains the object access status and hierarchical capacity, latency, power, durability, cooling and power supply status, forming object status data and hierarchical status data; The coordinate construction module constructs a set of object state points based on two types of state data, including access performance requirements and normalized weighted migration energy consumption and migration carbon emissions. The boundary generation module determines the state center, two perpendicular unit directions, and corresponding scales based on the object's state point set, generating a migration decision domain with inner and outer closed boundaries; the candidate selection module forms a candidate migration set based on the sum of squares of the ratios of the projections relative to the state center to the corresponding scales, the migration direction, and constraints on capacity, delay, and durability. The control execution module generates and executes instructions with source level, target level, migration order and bandwidth limit in the low-carbon execution window based on the candidate migration set, power supply status and object dwell status. The feedback update module updates the migration decision domain and low-carbon execution window based on execution latency, migration energy consumption, and reverse migration count.

[0007] The above-mentioned solution in this application includes at least the following beneficial effects: This application uses access performance requirements and dimensionless migration energy consumption and migration carbon emissions to form object state points. The state center, mutually perpendicular directions, and corresponding scales are determined by the object state points of a continuous window, so that the migration decision domain can characterize the joint changes of the two types of states. The candidate screening simultaneously adopts boundary position, migration direction, and capacity, latency, and media durability constraints. Combined with power supply status, dwell status, and low-carbon execution window, it generates actual control instructions, which can limit ordinary reverse actions near the boundary and select execution periods that meet power supply and load conditions for deferred tasks. The actual access latency, migration energy consumption, and reverse migration number are used to provide feedback to correct the above decision. Therefore, it provides a technical means to reduce the read and write bandwidth and additional energy consumption occupied by invalid round-trip migrations. The specific improvement depends on the equipment, service load, and parameter configuration. Attached Figure Description

[0008] Figure 1 The overall flowchart of the data hierarchical storage optimization method provided in the embodiments of this application is shown.

[0009] Figure 2 This is a flowchart illustrating the state acquisition and object state point set construction process provided in the embodiments of this application.

[0010] Figure 3 This is a flowchart illustrating the migration decision domain generation process provided in an embodiment of this application.

[0011] Figure 4 A flowchart illustrating the candidate migration set screening process provided in this application embodiment.

[0012] Figure 5 A flowchart illustrating the low-carbon execution window determination and instruction generation process provided in this application embodiment.

[0013] Figure 6 This is a flowchart illustrating the data migration execution and feedback update process provided in the embodiments of this application. Detailed Implementation

[0014] To clarify the technical solution and implementation process of this application, the following is combined with... Figures 1 to 6 This document describes the specific implementation of the data hierarchical storage optimization method. In this embodiment, the first and second directions are used to distinguish two mutually perpendicular unit directions. The first coordinate represents the access performance requirements of the data object, and the second coordinate represents the combined cost formed after the migration energy consumption and migration carbon emissions are dimensionless. The two coordinates do not represent the same physical quantity. The state center and scale are only calculated between state points using the same normalization range and combined weight.

[0015] This embodiment is deployed on a storage cluster with a performance layer, a capacity layer, and an archive layer. The performance layer can be composed of non-volatile high-speed solid-state storage devices, the capacity layer can be composed of large-capacity solid-state storage devices or mechanical hard disks, and the archive layer can be composed of low-speed disks, object storage nodes, or sequential access media. The hierarchical storage controller reads object metadata, device telemetry information, and power status through a status acquisition interface, forms a migration decision domain through a policy calculation unit, issues placement or migration commands to controllers at each level through a task orchestration interface, and receives actual access latency, migration byte volume, device power, and task results through a feedback interface. Within the system boundary, it processes data objects, storage devices, migration networks, and cooling allocation status, without using billing amount, user preferences, or management display results as the core output for migration decision.

[0016] The technical problem in this embodiment occurs in storage clusters where object access status, storage resource availability, and power supply conditions change simultaneously. When the access requests for a certain object increase, it may need to migrate to the performance layer, while in subsequent windows, when the request volume decreases, it may create a migration requirement. If the controller only compares a single access threshold each time, two consecutive migrations may not have compensated for the additional energy consumption caused by replication before changing direction again. Therefore, the controller incorporates object status, migration cost, and execution resources into the judgment and handles ordinary migrations and emergency migrations that must ensure data access separately.

[0017] The hierarchical storage controller includes a status acquisition module, a coordinate construction module, a boundary generation module, a candidate selection module, a control execution module, and a feedback update module. Each module can be deployed on the same management node or run on different nodes with consistent version management capabilities. The status acquisition module obtains records from the object metadata service, input / output statistics interface, device telemetry interface, power supply interface, and cooling interface. The coordinate construction module receives object status data and hierarchical status data. The boundary generation module receives the object status point set. The candidate selection module combines the migration decision domain to form a candidate migration set. The control execution module generates and executes hierarchical storage control instructions. The feedback update module receives the hierarchical storage results and updates the decision parameters.

[0018] Figure 1The overall flow of this embodiment is shown in step S101, which involves acquiring object state data and hierarchical state data; step S102, which involves constructing an object state point set; step S103, which involves generating a migration decision domain; step S104, which involves filtering candidate migration sets; step S105, which involves generating hierarchical storage control instructions; step S106, which involves executing the hierarchical storage control instructions and generating hierarchical storage results; and step S107, which involves updating the migration decision domain and the low-carbon execution window based on the execution record. The controller outputs the hierarchical storage results at the end of a control cycle. In the next control cycle, the updated parameters are used to re-acquire and process the state. The results of a single execution and the feedback parameters used in the next cycle are stored separately, and the results of tasks that have not yet been completed are not used to overwrite the address mappings that have already taken effect.

[0019] Object status data includes access sequence, data volume, current level, valid address version, service level, and residency status. Level status data includes capacity, available bandwidth, latency, power, media durability, cooling load, and power supply status. Both are indexed by object identifier and level identifier, respectively. The controller associates the two types of records through the current level and candidate level. Only when the applicable time period, status version, and data unit of the record meet the requirements of the current cycle will it form an input that can participate in normal migration. Therefore, the performance, energy consumption, and resource reserves used by the same task have a verifiable source.

[0020] In this embodiment, the performance layer, capacity layer, and archive layer represent logical storage layers with different service capabilities. The controller reads the access latency, bandwidth, power status, and endurance budget from the actual device profile. It cannot determine whether a certain layer has higher performance or lower power consumption under all loads based solely on the media name. High-performance migration candidates require that the expected target latency is lower than the latency of the current layer, while migration candidates require that the target latency still meets the object's service level and that there are conditions for capacity release or power reduction of the source device. These relative relationships are all based on the same object and the same valid profile.

[0021] Figure 2 Corresponding to the specific processing of steps S101 and S102, step S201 reads the object access record and storage hierarchy record; step S202 verifies the time, version, and field validity; if the record is valid, proceed to step S203 to form object status data and hierarchy status data; then, through step S204, access performance requirements are formed; through step S205, migration energy consumption and migration carbon emissions are formed; through step S206, normalization and weighting are completed; finally, in step S207, the object status point set is output; if the record is invalid, proceed to step S208 to update the missing flag, retain valid records, and wait for the next sampling window; objects that have reached the valid retention period do not continue to enter the ordinary migration status point set.

[0022] In step S101, the controller establishes an object status record for each data object. The record fields include at least the object identifier, current level, logical address, physical address version, data volume, read request count, write request count, cumulative read / write byte volume, request timestamp sequence, request completion delay sequence, access delay constraint, business continuity level, last migration direction, last migration completion time, and verification status. The object can be a fixed-size data block, a variable-length file, an object storage object, or a segment composed of consecutive addresses, as long as the minimum granularity of the statistics and migration remains consistent. The controller does not directly mix the counts of the same object at different granularities.

[0023] The establishment of state snapshots is based on the end time of the sampling window. The controller first retrieves the completed requests in the window according to the object identifier. For each request, the submission time, completion time, read / write type, and byte size are retained. The access latency of the request is obtained by subtracting the submission time from the completion time. Requests that have not yet been completed across windows are not included in the quantile statistics of completed requests, but the incomplete status and waiting time are retained for timeout protection checks. Request retries are distinguished by request identifier and retry sequence number. When counting the number of business accesses, the same business request is merged. When counting the actual read / write energy consumption of the device, the byte size generated by each retry is retained. Therefore, performance statistics and physical costs each have clear counting standards.

[0024] When calculating access intensity, the number of valid read requests and valid write requests are added together and divided by the number of seconds contained in the sampling window to obtain the number of requests per second. The sampling window is divided into short sub-intervals of equal length and non-overlapping. The ratio of the number of requests to the duration in seconds is calculated for each sub-interval. The maximum value is taken, and the average request rate of the entire window is subtracted. Then, the ratio is divided by the average request rate of the window to obtain the non-negative burst level. When the average request rate is zero, it is set to zero and a no-request flag is retained. The length of the short sub-interval is saved together with the window length. When the last sub-interval is less than a complete sub-interval, it is calculated according to its actual duration. Incomplete intervals are not treated as complete intervals, thus avoiding the systematic influence of boundary positions on the burst level.

[0025] Access latency constraints are derived from the storage service level configuration of the service to which the object belongs. This configuration specifies at least the target quantile latency, the allowable default rate, and the valid version. If an object is shared by multiple services, the controller selects the constraint with the most stringent requirements and an actual request in the current window. If multiple constraints have the same latency requirement, the constraint with the smaller allowable default rate is selected. When the configuration changes within the calculation period, the new version takes effect from the next full sampling window, thus ensuring that observations and constraints in the same window have consistent meaning.

[0026] Request latency statistics use actual latency samples of completed requests, arranged in ascending order of latency. The product of the target proportion and the number of samples is calculated and rounded up. The sample with the specified index is taken as the nearest rank quantile latency. Requests with latency strictly greater than the service configuration limit are counted as a default. Requests with latency equal to the limit satisfy the constraints in this example. The number of defaults is divided by the number of valid samples to obtain the latency default degree. When there are no valid samples, historical latency values ​​are not interpreted as current measured values. The inherited records only provide state continuity with missing markers and cannot cover the actual timeout states of requests that have not yet been completed.

[0027] The hierarchical status record must include at least the hierarchical identifier, device set, available capacity, used capacity, available read bandwidth, available write bandwidth, queue depth, average read latency, average write latency, active power, idle power, current power, device temperature, media write endurance budget, fault status, and power calibration version. The device telemetry interface acquires raw values ​​once per minute. The five raw values ​​are weighted by time to form a five-minute window value. If a raw value is missing, it is linearly filled with the valid values ​​before and after it. If two or more consecutive raw values ​​are missing, the hierarchical status is marked as incomplete and non-emergency migration is prohibited.

[0028] The energy supply information interface receives grid carbon intensity and renewable energy percentage according to the scheduling period. Grid carbon intensity represents the carbon dioxide equivalent corresponding to a unit of electricity consumption, with the unit being grams per kilowatt-hour. The renewable energy percentage is a dimensionless value between 0 and 1. Each energy supply record includes the applicable start and end times, the predicted generation time, the data source identifier, and the confidence level. Records exceeding the applicable time are not included in the future window screening. When multiple sources overlap, the source with higher time resolution and smaller recent prediction error is given priority. When all sources are unavailable, conservative scheduling is performed only based on the storage device power and business load.

[0029] The controller aligns object access records, hierarchical status records, cooling allocation records, and power supply records according to the end time of the window, with a maximum allowed time deviation of one telemetry cycle. Records within the allowed deviation are uniformly written into the status snapshot and assigned a version number, while records exceeding the deviation are left for the next cycle. If a key field is missing, the most recent valid value is used once and a missing flag is set. If three consecutive sampling windows are missing, the relevant object or level is removed from the active candidate set. Since the status snapshot clearly defines the source, time, and validity, subsequent boundaries will not mistake missing values ​​for true low load or low carbon status.

[0030] The credibility of an object's state point is determined by the completeness of its fields, the time alignment deviation, and the prediction confidence level. The controller maps each of the three items to 0 to 1, and then takes the minimum value as the total credibility. Points with credibility below the effective threshold do not participate in the determination of the state center and direction. However, if the object continuously defaults on access delays, the high-performance layer capacity and security constraints will still be checked according to the emergency path. Credibility only limits proactive optimization and does not block necessary controls to protect business access.

[0031] In step S102, the controller constructs a state point for each object and each reachable candidate level. The first coordinate represents the current access performance requirements of the data object, and the second coordinate represents the energy consumption and carbon emission costs of completing the migration. Therefore, the same data object can form different state points when facing different candidate levels. The state point stores the object identifier, source level, candidate level, first coordinate, second coordinate, snapshot version, and trustworthiness. The subsequent selection is a combination of object and candidate level, rather than just attaching an isolated hot or cold label to the object.

[0032] Access performance requirements are jointly determined by access intensity, burst level, latency default level, and business continuity level. The controller first maps each raw quantity to a dimensionless interval of 0 to 1. The upper and lower bounds of access intensity and burst level are derived from the 5th and 95th quantiles of the same time period in the most recent seven daily cycles. The latency default level itself is between 0 and 1. The business continuity level is mapped to an incremental value according to a finite number of levels from low to high. Values ​​below the lower bound are taken as zero, values ​​above the upper bound are taken as 1, and values ​​equal to the common boundary are assigned to the interval with the larger value to ensure the uniqueness of the mapping result.

[0033] The historical quantile threshold and the requested quantile delay can use different statistical methods, but the method type must be stored in the field. You cannot just write the quantile value and arbitrarily change the algorithm. In this embodiment, the historical quantile uses linear interpolation. The samples are arranged from smallest to largest. The sample number is subtracted by 1 and then multiplied by the target ratio. The integer part of the resulting position determines the zero starting index on the left. The decimal part is used as the interpolation weight. The right end is taken as the next adjacent item. The left end value is output plus the product of the decimal part and the difference between the left and right ends. When there is only one valid sample, the sample is taken. When there is no sample, no new threshold is established. When the ratio is zero or 1, the minimum or maximum sample is taken respectively. In this way, the quantile threshold of any valid historical sample set can be directly recalculated.

[0034] Normalization first verifies that the units of the upper and lower bounds of the same field are consistent and that the upper bound is not less than the lower bound. The lower bound is subtracted from the original value, and then divided by the difference between the upper and lower bounds to obtain the relative position within the interval. When the relative position is less than zero, it is taken as zero; when it is greater than 1, it is taken as 1; when the upper and lower bounds are the same, it is taken as 0.5 and the zero span mark is retained. When the upper bound is less than the lower bound, it is considered a configuration error and the previous valid range is maintained. Negative ranges cannot be used for migration judgment. When the range version is updated, the state points of the retained historical original records are recalculated according to the new upper and lower bounds, and a new migration judgment domain is generated. The coordinates under different ranges are not directly averaged.

[0035] The degree of symmetry in performance contribution can be specifically calculated based on the aforementioned changes in adjacent windows. First, calculate the change value of a normalized performance energy and the change value of the actual access delay for adjacent complete windows, subtract the mean of their respective change sequences, multiply them one by one, and then sum them. Sum the squares of the two sets of centered change values, take the square root of the product of the two sums as the denominator, and divide the product by the denominator to obtain the degree of correlation. If the denominator is zero or there are insufficient effective change pairs, the degree of correlation is not used. If the degree of correlation is less than zero, it is taken as zero. The non-negative degree of correlation is compared with the configured non-negative protection contribution and the maximum value is taken to obtain the original weight. If the sum of all original weights is greater than zero, divide them one by one according to the sum value; otherwise, the effective quantities are equally weighted.

[0036] The formation of access performance requirements first obtains the normalized results of each effective energy, then multiplies them by the corresponding normalized weights, and adds the products to obtain the first coordinate. The business continuity level is read from the ordered level table given by the service configuration. When the total number of levels is greater than 1, the value is obtained by dividing the zero starting index of the current level by the total number of levels minus 1. When there is only one level, a fixed intermediate value is used and an undifferentiated mark is saved. The level is not inferred by the service name or object identifier. When a field is missing, the marked carryover value is used only within the aforementioned effective retention period. If the period expires, the value is deleted from the current weighting item and the remaining weights are renormalized. When all performance energy is invalid, no ordinary migration state point is generated for the object. Therefore, each contribution item of the first coordinate can be traced back to the defined input.

[0037] The aforementioned correlation only provides a definition of historical homogeneity and does not directly represent the individual causal effect of the performance on latency changes. The controller still evaluates the obtained weights through the verification window under the same business load. Candidate values ​​for protection contributions can be taken from existing configuration records, and calibration and verification windows are divided according to time sequence. The same state point and service constraints are replayed for each group of candidate weights. Combinations that cause unacceptable defaults are deleted first, and then the latency estimation errors are compared among the remaining combinations. The combination with the smallest error and the version is selected. When there are no valid candidates, the most recent configuration is maintained and ordinary optimization is restricted. A certain group of weights cannot be made to appear superior by modifying the verification samples.

[0038] The calibration of unit data read / write energy consumption distinguishes between the power consumption at the device input end and the physical write volume inside the device. First, select an idle baseline with a defined duration, and then complete a known number of bytes read or written under the same power supply and temperature conditions. Subtract the idle power consumption of the same duration from the power consumption during the load period, and divide by the actual number of bytes completed to obtain the additional energy consumption per unit of data. When recording in joules and bytes, the result unit is joules per byte. Records are invalid when the calibration value is negative or the actual number of bytes completed is zero, and negative migration costs cannot be generated. If the calibration denominator has already used the host logic to write bytes, then the value already includes the write amplification under the test load, and it should not be multiplied by the same write amplification factor again.

[0039] The estimated read energy consumption is obtained by multiplying the amount of logical data to be copied by the additional energy consumption per unit of data read from the source device. The estimated write energy consumption is obtained according to the explicit physical byte or host byte caliber. The network energy consumption is accumulated segment by segment according to the actual links traversed this time. For each link, the estimated number of bytes transmitted is first multiplied by the additional energy consumption per unit of transmission for that link. Retransmission, protocol encapsulation, and encoding redundancy are only included when there is existing corresponding calibration support. The overall network power integration result of the whole machine is not added to the port-by-port energy consumption of the same device at the same time to avoid double counting. The four items of read, write, network, and cooling are recorded separately and then summed to form the migration energy consumption. Subsequent actual metering uses the same system boundary.

[0040] The calculation of the carbon cost of operation first adds the operating energy consumption and the allocated cooling energy consumption in the same window. When both are in joules, the sum is divided by 3,600,000 to get kilowatt-hours, and then multiplied by the grid carbon intensity in grams per kilowatt-hour to get the carbon dioxide equivalent in grams. For example, when the energy consumption is 3,600,000 joules and the carbon intensity is 500 grams per kilowatt-hour, it is converted to 1 kilowatt-hour, which corresponds to 500 grams of carbon dioxide equivalent. This is only a unit conversion check and does not represent the actual measured results of the equipment in this application. When crossing power supply areas, the energy consumption and carbon intensity of each area are multiplied and then added together. The carbon intensity of one area cannot be used to represent another independent area.

[0041] When a migration task spans multiple time periods, the controller decomposes the task energy consumption according to the corresponding time period. If there is only a total energy consumption estimate without time-period power, the energy consumption is allocated according to the expected number of bytes to be transmitted within a range where the power characteristics can be considered stable, and an approximate allocation mark is retained. When there are time-period device power and cooling power predictions, the energy consumption is obtained by multiplying the power by the actual duration of the time period, then converted and multiplied by the corresponding carbon intensity, and the migration carbon emissions are accumulated. When the time period lengths are unequal, the calculation is based on the actual length. The intervals where no bytes are allocated or where the applicable carbon intensity cannot be confirmed must not be silently filled with zero carbon emissions.

[0042] The basic implementation of cooling allocation adopts the power ratio method of this embodiment. First, the non-negative information technology power of each node in the same cooling area is added together. When the denominator is positive, the power of the node to be cored is divided by the sum, and then multiplied by the regional cooling power to obtain the node-allocated cooling power. When the total information technology power is zero, no proportional allocation is performed, and the regional cooling power is recorded separately as the baseline overhead. The additional cooling energy consumption during migration is the energy consumption allocated during migration minus the non-negative part of the baseline energy consumption under the same service conditions. Temperature rise correction is only used when the historical calibration can provide the relationship between temperature rise and incremental power consumption. Without calibration, degrees Celsius should not be directly added to joules or watts.

[0043] Heat load estimation is achieved by multiplying air density, volumetric flow rate, specific heat capacity of air, and the temperature difference between inlet and outlet air. Air density is expressed in kilograms per cubic meter, volumetric flow rate in cubic meters per second, specific heat capacity in joules per kilogram per Kelvin, and temperature difference in Kelvin difference. The result of the multiplication is in joules per second. Dividing the heat power by the coefficient of performance (COP) for the same operating condition yields an estimated value for the cooling power. The COP is a dimensionless positive value derived from the effective equipment calibration for that operating condition. If the fan power is already included in the cooling branch meters, it is not added again. When the heat load is only used for heat dissipation constraints, it does not need to be assumed to be equal to the cooling power consumption. This separation avoids substituting heat for carbon emission accounting.

[0044] The second coordinate is obtained by combining the normalized results of migration energy consumption and migration carbon emissions. The weights of the two components are determined based on the current green operation goals. When the data center is in carbon emission constraint mode, the weight of migration carbon emissions is increased, and when it is in power capping mode, the weight of migration energy consumption is increased. The weight change only takes effect at the scheduling cycle boundary and saves the version. If future carbon intensity prediction is unavailable, the migration carbon emission component uses the most recent effective carbon intensity and reduces its confidence. If the effective retention time is exceeded, only the migration energy consumption component is used.

[0045] The second coordinate uses two non-negative components. First, the energy consumption and carbon emissions of migration are normalized according to their respective historical ranges. Then, the non-negative energy consumption contribution weight and the non-negative carbon emission contribution weight are multiplied and added together. The two weights are uniformly normalized to a sum of 1. The carbon constraint mode and the power capping mode can use different calibrated weights, but the weights must be saved according to the state point range. When switching modes, the same version of historical state points are regenerated. The weights of the new points cannot be changed while the old point center is used. If the future time period is not yet determined, the candidate time periods provided by the energy supply records are evaluated one by one. After the task falls into a specific time period, the cost and constraints of the task are recalculated. If the change causes the candidate to fail, the allocation is canceled and the next cycle is waited for.

[0046] To ensure comparability across cycles, the first and second coordinates are mapped to 0 to 1 using the lower and upper bounds of the rolling history window, respectively. The history window covers at least one complete business cycle. Using quantile lower and upper bounds can reduce the stretching of the coordinate range by a single extreme value. When the two are equal, the coordinate is set to 0.5 and a zero span mark is recorded. When the coordinate exceeds the range, it is truncated to zero or the original value is retained for the next range update. Since each state point has a range version, the boundary generation module only combines points with the same range version.

[0047] Step S207 associates the first coordinate of each data object with the second coordinate corresponding to each reachable candidate level, and records the object identifier, source level, candidate level, two coordinate values, data volume, power supply period, range version and confidence level. The records are aggregated according to the same range version to form an object status point set. The object status point set does not contain isolated points that only have coordinates but no object and target level relationship. The boundary generation module extracts the joint distribution based on this, and the candidate screening module can use the same record to reverse locate the data that actually needs to be copied and the target device, avoiding the geometric judgment result from being separated from the storage execution object.

[0048] Figure 3 Corresponding to step S103, step S301 selects valid object state points of the same range version; step S302 checks the number of valid samples and field integrity. If the conditions are met, step S303 calculates the state center; step S304 obtains two vertical unit directions; step S305 calculates the basic scale with a positive lower limit; step S306 verifies the direction and scale. If the verification is passed, step S307 determines the scale according to the resource status and generates inner and outer closed boundaries; step S308 outputs the migration decision domain. If the samples are insufficient or the result is invalid, proceed to step S309 and use the previous valid migration decision domain. If there is no valid historical decision domain, pause ordinary boundary migration.

[0049] In step S103, the controller selects state points with a confidence level not lower than the effective threshold from the 12 most recent sampling windows, and calculates the mean of the first coordinate and the mean of the second coordinate as the state center. If it is necessary to reduce the impact of abnormal points, the points that are farthest from the median value and exceed the interquartile range multiple can be removed according to the first coordinate and the second coordinate respectively, and then the mean is calculated. The removed points are still retained for abnormal migration judgment but do not participate in the center and direction calculation, so that a small number of sudden objects will not cause the migration boundary of all objects to rotate.

[0050] The closed-form calculation in two dimensions first calculates the square of the first deviation, the square of the second deviation, and the product of the two deviations for each pair of deviations. Then, the three types of results are accumulated separately and are called the lateral discrete quantity, the longitudinal discrete quantity, and the cross discrete quantity, respectively. The difference between the lateral and longitudinal discrete quantities is squared, and four times the square of the cross discrete quantity is added. The non-negative square root of the sum is taken to obtain the discrete difference quantity. The lateral discrete quantity, the longitudinal discrete quantity, and the discrete difference quantity are added together and divided by 2 to obtain the maximum directional discrete quantity. This process only uses finite sample addition and multiplication operations and non-negative square roots. All three types of quantities are composed of dimensionless coordinates, and energy consumption or time delay units are not directly introduced into the directional space.

[0051] When constructing directions, the first candidate vector can be formed by subtracting the lateral discrepancy from the cross discrepancy and the maximum direction discrepancy. The second candidate vector can be formed by subtracting the longitudinal discrepancy from the maximum direction discrepancy and the cross discrepancy. The vector with a non-zero length and a length not less than the other vector is selected and then divided by its own length. When both candidate vectors are zero, if the lateral discrepancy is greater than the longitudinal discrepancy, the lateral unit direction is taken. If the longitudinal discrepancy is greater than the lateral discrepancy, the longitudinal unit direction is taken. When both are equal and the cross discrepancy is zero, all directions are equal, and the previous valid direction is adopted. If there is no historical direction, the lateral unit direction is taken. To eliminate the equivalence of positive and negative signs of directions, the first non-zero component is fixed as positive and then rotated by 1 / 4 turn to form the second direction.

[0052] The two directions are determined by the joint changes of the state points. The controller subtracts the two coordinates of the state center from the state points of each object to obtain the deviation pair. The direction is obtained with the goal of maximizing the cumulative square projection. The first unit direction can be obtained by following the closed-form calculation process of the two-dimensional symmetric matrix mentioned above. Then, the first direction is rotated by 1 / 4 turn to obtain the second unit direction. If the original iterative implementation is used, it starts from the horizontal unit direction and the vertical unit direction respectively. The projection of the deviation pair on the candidate direction is multiplied back by the deviation pair and accumulated. The resulting vector is divided by its length. The component difference between the new and old unit directions is compared and repeated. The convergence results are recorded respectively. The effective result with the largest cumulative square projection is taken as the first direction.

[0053] When the update vector length is zero, the starting point does not provide a valid candidate direction; when neither of the two starting points has a valid result, there are insufficient valid state points, or the upper limit of the number of iterations has been reached and convergence has not been achieved, the controller uses the previous valid migration decision domain and does not generate a new boundary with the non-converged direction; when running for the first time and there is no valid historical decision domain, normal boundary migration is paused, samples are collected, and independent capacity and safety constraint checks are performed on delay defaults or equipment failures. Normal migration is then reopened after a valid decision domain is obtained.

[0054] The aforementioned maximum directional discrete quantity corresponds to the maximum eigenvalue of the two-dimensional real symmetric discrete matrix. The sum of the squares of the projections of the deviation in any unit direction is equal to the quadratic form formed by that direction and the discrete matrix. Therefore, the cumulative square projection obtained along the direction of the maximum eigenvalue is not less than that in other unit directions. The inner product of the first direction and the second direction obtained by rotation is zero and the length of both is 1. Flipping the direction sign only changes the projection sign and does not change the boundary position. When the direction calculation is actually deployed, it should also be checked that the input is a finite value. When the discrete quantity causes a very small negative value due to rounding, it should be zeroed according to the numerical tolerance. If it exceeds the tolerance, the old domain should be retained and the anomaly should be recorded. The square root of obviously negative numbers should not be taken directly.

[0055] The first scale is determined by the dispersion of the projection of the effective state point in the first direction, and the second scale is determined by the dispersion of the projection of the effective state point in the second direction. The controller calculates the projection mean, then calculates the average of the squared deviations of each projection relative to the projection mean and obtains the non-negative square root to get the base scale. When the base scale is less than the minimum scale, the minimum scale is taken to prevent the denominator from approaching zero. When the remaining capacity of the target level is low or the allowable migration bandwidth is low, the scale facing that level is increased. When the cooling load is close to the safety limit, the second scale is increased so that triggering migration requires a more obvious joint deviation.

[0056] Scale calculation is performed on the same valid point set and the same unit direction. First, the mean of each projection is calculated. Then, the mean is subtracted from each projection, and the square is calculated. The sum of the squares is divided by the number of valid points to obtain the non-negative square root as the base scale. This definition uses the overall mean instead of the sample estimate divided by the number of points minus 1. It is not calculated when the number of points is zero. When the base scale is zero, the configured positive lower bound is used. The validity of the positive lower bound is determined by historical playback and service breach constraints. The first scale, the second scale, and the internal and external scale coefficients are stored in the same domain version. If any field is missing, the parameters of different versions are not concatenated to continue the judgment.

[0057] Capacity scaling saves parameter versions on a target level basis. When the ratio of candidate byte size to allocable capacity is less than 0.5, the base scale is used; when the ratio is not less than 0.5 and less than 0.8, 1.15 times the base scale is used; and when the ratio is not less than 0.8, 1.35 times the base scale is used. When the allocable capacity is not greater than zero, the migration candidate is directly deleted, and the ratio is not calculated. When counting candidate byte size, the preliminary candidates with the same target level before capacity check are taken to avoid calculating the scale using the final set first and then generating the same set using the scale. A single decision within each target level still uses a fixed pair of positive scales. If different resource scaling is required for migration up and down, the scale version of the target level should be recorded separately.

[0058] The cooling load correction for the second scale uses the same executable structure. The controller determines the normal range and warning range based on the load samples of the cooling area over the past seven days. When the current load is in the normal range, the base scale is used. When it enters the warning range, the second scale is continuously increased according to the relative position of the current value within the warning range. When the safety limit is reached, the normal migration is stopped. After the area load recovers, the scale is reduced by only one limit increment in each update cycle to prevent the fan speed regulation and migration power from chasing each other and forming new control oscillations.

[0059] Capacity, bandwidth, and cooling scaling should all have their input parameters determined before the boundary is established. Capacity should use the actual committed occupancy and existing reservations not yet included in this batch of candidates. Bandwidth should use the remaining capacity after the current equipment and network have committed to tasks. Cooling should use the regional thermal load within the same time window. When the ratio reaches the resource safety limit, unqualified candidates should be removed by hard constraints. Scale scaling only changes the sensitivity of ordinary optimization and cannot make tasks that do not meet capacity or heat dissipation conditions executable. If continuous scaling within the cooling warning interval is used, the current load can be subtracted from the warning lower bound and divided by the difference between the safety upper bound and the warning lower bound, truncated to zero to 1, and then linearly interpolated between the calibrated base ratio and the maximum ratio. When the warning interval span is zero, hard constraint branching should be used directly.

[0060] The inner and outer closed boundaries share a state center, a first direction, and a second direction. Both the first and second scales are positive, the inner scale coefficient is positive, and the outer scale coefficient is strictly greater than the inner scale coefficient. The controller calculates the projection of the object's state point relative to the state center in the two unit directions, divides the two projections by the first and second scales respectively, squares the two ratios, and sums them to obtain the boundary position quantity. When the boundary position quantity is less than the square of the inner scale coefficient, it belongs to the preservation domain; when it is not less than the square of the inner scale coefficient and less than the square of the outer scale coefficient, it belongs to the buffer domain; when it is not less than the square of the outer scale coefficient, it enters the direction determination. Equivalently, the sum of the squares of the ratios calculated by multiplying both scales by the same boundary coefficient is compared with a threshold of 1. The two calculation methods must not be mixed.

[0061] In another implementation, the state center can be the median of two coordinates. The two directions can be determined by traversing a finite set of angles and selecting the angle with the largest cumulative square projection. The first and second scales can be specified quantiles of the absolute deviation of the projection. Regardless of the implementation, the state point must have coordinates for access performance requirements and coordinates for the combined cost of migration energy consumption and migration carbon emissions. The two directions are perpendicular to each other, and the two scales constrain the corresponding projections respectively. The two closed boundaries form the holding, buffering, and triggering regions, and the migration output continues to be constrained by capacity, latency, durability, execution window, and dwell state.

[0062] The migration decision domain includes the two coordinates of the state center, the first unit direction, the second unit direction, the first scale, the second scale, the inner scale coefficient, the outer scale coefficient, and the applicable version. Step S308 submits these fields as a whole. When any field changes, a new version is formed, and the candidate calculation is made to use the new version or the old version completely. It is not allowed to take some fields from different versions. This makes the same object state point have a unique projection direction, scale, and boundary threshold in a single decision. Subsequent dwell statistics can also identify whether the boundary update has led to a change in the decision.

[0063] Figure 4 Corresponding to step S104, step S401 obtains the object state point and migration decision domain; step S402 calculates the boundary position quantity; step S403 compares the boundary position quantity with the square of the outer scale coefficient. If the outer boundary is not reached, step S409 maintains the current level; if the outer boundary is reached, step S404 forms candidates for upward or downward migration direction; step S405 verifies the capacity, latency, media durability, and migration bandwidth constraints item by item; step S406 determines whether the candidates pass all constraints. Candidates that fail are deleted in step S410, and candidates that pass are sorted and conflict with the target object are handled in step S407. Finally, step S408 outputs the candidate migration set.

[0064] The inner boundary corresponds to the retention domain, and objects within the retention domain retain their current level. Objects located between the inner and outer boundaries enter the buffer domain, and the controller updates their statistical state but does not generate ordinary migration instructions. Objects located on or outside the outer boundary enter the direction determination. If the component of its relative center in the first coordinate increasing direction is positive and it is expected that migrating into the high-performance layer can reduce access latency, then it becomes an upward migration candidate. If its component in the second coordinate decreasing direction is negative and it still meets the latency constraint after sinking, then it becomes a downward migration candidate. Objects in other directions are temporarily deferred.

[0065] In step S104, the controller calculates the boundary position quantity for each object that crosses the outer boundary and the reachable level, and establishes initial candidate options. The initial candidate option fields include object identifier, source level, target level, direction, boundary position quantity, expected access latency, expected migration energy consumption, expected migration carbon emissions, data volume, required read / write bandwidth, and credibility. When the same object has multiple target levels, candidate options are established separately to avoid the order deviation caused by selecting the level first and then calculating the cost.

[0066] The calibration of internal and external scale coefficients is performed according to the historical playback method of this embodiment. Each candidate combination uses the same point set version, migration constraints, initial address mapping, and residency conditions. First, it is checked that the internal coefficient is positive and the external coefficient is strictly greater than the internal coefficient. For feasible combinations, it is first compared whether the service violation is within the configuration tolerance range, and then compared in ascending order of reverse migration number. If the number is the same, it is compared in ascending order of migration energy consumption. If they are still the same, the combination with the larger interval between internal and external coefficients is selected. Finally, the combination is determined by the combination record number. If the sample is insufficient or all combinations do not meet the service constraints, one of them is not marked as the best, but the previous valid combination is retained and the reason is recorded. The deployment parameters should use the valid calibration values ​​under the corresponding equipment and business conditions.

[0067] Candidate directions and the final migration task should be handled separately. If the first coordinate is above the center, it only indicates that the object's performance requirements are relatively high compared to the current statistical center, and cannot prove that migrating into the performance layer will reduce latency. If the second coordinate is below the center, it only indicates that the migration cost of the candidate is relatively low, and cannot prove that the dwell power consumption after migration will definitely decrease. The controller must check the expected target latency, target capacity, write endurance, and whether the source device can reduce power consumption. The same object may satisfy two geometric conditions in the lower right direction at the same time. After generating preliminary candidates for upward and downward migration, the necessary selection for service breach elimination is executed first. If there is no breach, a unique target is formed based on the actual low power consumption conditions and the original candidate ranking. If the conflict cannot be eliminated, the current level is maintained and a conflict flag is written.

[0068] The ranking of migration candidates is based on the positive difference between the expected source delay and the expected target delay, divided by the non-negative migration carbon emissions. When the carbon emissions are zero and the delay difference is positive, they are treated as an independent zero-carbon priority group. Infinity is not written into the finite value field. When the carbon emissions are positive, they are sorted in descending order of ratio. When the values ​​are the same, the order is determined by the degree of default in descending order, the amount of data in ascending order, and the lexicographical order of the object identifier. When the delay difference is not positive, they are not treated as ordinary migration candidates. If the carbon emissions are missing or negative, they do not belong to zero-carbon and should be returned to cost verification instead of entering the priority group. This can avoid missing values ​​being mistakenly identified as costless migration.

[0069] The migration candidates are first required to meet the service constraints in terms of target latency, and then screened according to the relationship between capacity release and device power reduction in this embodiment. The capacity release ratio is formed by dividing the expected release of performance layer logical bytes by the expected migration carbon emissions. Zero carbon cost is processed as an independent priority group. When there are multiple active objects in the source device, they are first grouped into batches according to device identifiers, and then it is checked whether all the remaining objects have a bearing position that meets the constraints. It is not possible to determine that the entire device can hibernate based on the migration of a single object. When only some objects are migrated out in a batch, the capacity release effect is recorded, but the idle power reduction effect that did not occur is not recorded. The power reduction amount used is obtained from the device calibration state difference and is not directly added to the byte amount to form a dimensionless score.

[0070] The overall energy saving effect is compared with the baseline scheme for the same observation period. First, the expected energy consumption of the original level equipment, network and cooling without migration is recorded. Then, the additional energy consumption of migration itself and the operating energy consumption under the same business load after migration are recorded. Only if the sum of the latter two is less than the baseline energy consumption can it support the net energy saving for that period. Carbon emissions are compared by multiplying by the carbon intensity of the corresponding region and period. It cannot be concluded that the net carbon emissions have decreased simply because the carbon cost of migration is low. This verification records the low carbon migration cost and the operating energy consumption after migration. Geometric distance is only used for candidate triggering and is not used as a physical energy efficiency indicator.

[0071] The capacity check deducts existing reservations, fault recovery protection space, old copies that have not yet been reclaimed, and target copies and log space required for this migration from each target device. The remaining allocable space must be sufficient to cover this write operation. For multiple candidates, temporary reservations are made in a determined order. Subsequent candidates use the remaining space after deducting the reservations of the preceding candidates. After the task is officially submitted, the temporary reservations are converted into task reservations. When the task is canceled, the reservations are released with the same task identifier to prevent multiple candidates from reading the same capacity snapshot and over-allocating. If an object is deleted and the space has been committed but not reclaimed, it is not counted as available capacity in advance.

[0072] The media durability check first confirms that the rated write volume and cumulative write volume use the same measurement caliber. The rated volume is subtracted from the cumulative volume, and then the protection budget is deducted to obtain the remaining budget. Negative values ​​are considered zero and new migration writes are not accepted. Estimate the current replication write volume, the business write volume within the planning period, and the additional write volume of incremental logs and metadata. After summing them up using the same caliber, compare them with the remaining budget. You cannot only verify future business writes and ignore replication itself. Read-intensive objects will still undergo a migration write. Migration can only be carried out if this one write and the planned period write both meet the budget. Therefore, you cannot bypass durability constraints on the grounds of read intensity.

[0073] The capacity constraint requires the target level to retain the protection capacity required for fault recovery and burst writes after receiving the object. The protection capacity is determined based on the write peak of the most recent business cycle and the maximum occupation of the reconstruction task. The latency constraint requires that the expected quantile latency of the target level after migration should not be higher than the effective service level of the object. The expected latency is obtained by adding the current queue waiting time of the target device, the service time corresponding to the object request size, and the network path latency. The media durability constraint requires that the expected write volume of the target device after receiving the object should not exceed the write volume that its remaining durability budget can withstand within the planning period. If any constraint is not met, the corresponding candidate will be deleted.

[0074] End-to-end quantile latency verification uses records from each stage of the same request. For each request, the queuing, service, and network times are first accumulated, and then the total time of the entire group is sorted to calculate the quantile value of the service requirement. If only the quantile of each stage is provided, it cannot be directly assumed that the sum of the stage quantiles is the end-to-end quantile. Existing end-to-end calibration records can be used to verify the estimation bias, and a verified upper bound is used when the target request size, request rate, and read / write ratio are consistent with the calibration range. If the latency exceeds the valid range, the latency estimate is marked as invalid, and ordinary migration candidates are postponed. Even for emergency migration, invalid estimates cannot prove that the service level must be met.

[0075] The allowed migration bandwidth is not the nominal bandwidth of the network port, but the minimum non-negative margin obtained after deducting the corresponding service reserved bandwidth from the available bandwidth of the port, the available read bandwidth of the source device, and the available write bandwidth of the target device. If the result is not greater than zero, the ordinary candidate is postponed, and the emergency candidate can be executed under the rate limit approved by the service controller. When multiple candidates compete for the same device, the controller sorts them according to the expected latency reduction caused by the unit expected carbon emissions. The candidate with a denominator of zero and the expected latency reduction is ranked first. The migration candidate with a denominator and a latency reduction of zero does not participate in the ordinary migration sorting.

[0076] For migration candidates, the evaluation metric is changed to the performance layer capacity and idle power reduction that the expected carbon emissions from migration can release. First, the latency after migration still meets the constraints, and then the combination of objects that can put the entire low-utilization device into a low-power state is selected first. The controller groups the candidates on the same source device into batches through object-device mapping. Only when the remaining active objects on the device can be carried by other devices after the batch is executed will the device power reduction action be generated to avoid the failure to achieve energy consumption effect when migrating away a small amount of data but being unable to shut down the device.

[0077] When multiple objects have the same sorting value, the controller compares the latency default level, data volume, and object identifier in sequence. The object with the higher latency default level takes priority, followed by the object with the smaller data volume that can be completed within the window. The object identifier is used to form a stable and reproducible final order. When multiple target levels have the same sorting value, the target level that can put the source device into a low-power state is selected first, and then the target level with a sufficient write endurance budget is selected. This determines the equal cases without relying on the accidental order of the execution threads.

[0078] When the remaining write endurance budget of a performance-layer device is insufficient to handle write-intensive objects, but sufficient to cover a single migration write, log write, and planned business write for read-intensive objects, the controller can migrate read-intensive objects that pass the endurance check to that device, while keeping write-intensive objects on the high-endurance device. When the read / write ratio changes beyond the direction threshold within three windows, the object state point is reconstructed according to the new candidate level profile. Old state points do not participate in the new boundary due to version differences. The media feature profile includes at least read / write latency, energy consumption per unit of data, write endurance budget, capacity, and fault status. Therefore, the logical level can replace the physical device without changing the core judgment process.

[0079] Step S408 only associates and stores the verified candidates according to the execution priority. Each candidate includes at least the object identifier, source level, target level, migration direction, data volume, boundary location, estimated latency, migration energy consumption, migration carbon emissions, resource reservation, and valid version, forming a candidate migration set. Objects that are deleted or kept at the current level still retain diagnostic records, but are not mixed into the executable set. The control execution module can directly obtain all fields related to the task from the candidate migration set, avoiding mistaking objects that have only passed geometric screening as objects that have passed device constraints.

[0080] Figure 5 Corresponding to step S105, step S501 obtains the candidate migration set, power supply status, and object residency status. Step S502 determines whether the task meets the residency condition or emergency release condition. If not, it is postponed in step S510 and waits for the next scheduling cycle. If it meets the condition, a time period status sequence is generated in step S503. Step S504 filters continuous time periods according to carbon intensity, renewable energy ratio, and load conditions. Step S505 determines whether there is an available low-carbon execution window. If a window exists, it proceeds to step S506 to reserve bandwidth and additional heat load. Step S507 determines whether the task can be completed or executed in segments. If it passes, a hierarchical storage control instruction is generated in step S508. If resources are not sufficient, it is transferred to the postponement branch. If there is no available low-carbon execution window, step S509 only assigns the emergency task used to eliminate delay default to constraint verification, and postpones the remaining candidates.

[0081] In step S503, the controller constructs a time period status record for the next twelve scheduling periods. Each time period records the predicted value of grid carbon intensity, the predicted value of renewable energy proportion, the predicted value of business input and output load, the predicted value of cooling load, and the confidence level of each predicted value. The prediction can be provided by an external management system or generated by the controller based on the historical median of the same week type and the same time. If the historical generation method is used, the controller also expands the safety margin based on the prediction deviation of the three most recent similar time periods.

[0082] The screening order for low-carbon execution windows is as follows: first, select periods with carbon intensity no higher than the 30th percentile of the same historical period; then, retain periods with renewable energy share no lower than the 70th percentile; subsequently, delete periods with business input / output load or cooling load higher than the safety limit; and finally, merge adjacent periods into a continuous window. Common boundaries are handled according to the conditions met. When the window length is less than the minimum task duration, ordinary tasks are not arranged, but tasks that support breakpoint resumption can be split.

[0083] The task orchestrator attempts to place each candidate item into the low-carbon execution window in order of candidate order. It first checks the remaining bandwidth of the source and target devices, then checks the additional power of migration in the same cooling area, and finally checks whether the expected completion time of the object falls within the window. Objects that can be split are allocated to multiple windows as continuous data segments, and a check breakpoint is set at the end of each window. Objects that cannot be split and cannot be completed within the window are moved to the next longer window. If there are no available windows before the deadline, the task is executed as an emergency task only if its delay constraint will be violated.

[0084] Tiered storage control instructions must include at least the following: task identifier, object identifier, source level, source address version, target level, target address, migration direction, data segment range, start time, end time, bandwidth limit, power limit, verification method, failure fallback address, and priority. Instructions use non-repeatable task identifiers. When an execution node receives a duplicate task identifier, it returns the status of an existing task without copying data again. The task status changes sequentially from "created" to "allocated," "transmitting," and "verifying." After address mapping takes effect, it changes to "effective," and after completion, it changes to "completed." When execution is paused, it changes to "paused." After confirming that the mapping is ineffective and canceling the target address, it changes to "fallback." Each transition includes a timestamp and a reason.

[0085] Window orchestration first calculates the effective port bandwidth, source read bandwidth, and target write bandwidth margin for each time period, takes the minimum of the three as the transmission limit, and then combines the remaining window duration to calculate the number of bytes that can be accommodated. When a task spans multiple devices, reservations are allocated to each device separately. The additional migration heat power for the same time period is summed by region and compared with the acceptable additional heat load for that region. Power is measured in watts and cannot be directly compared with wattage using energy consumption. Tasks that can be segmented only pause at the boundary of a data segment that has been fully verified. The estimated completion time of each segment includes transmission and verification time. When the bandwidth is zero, the finite completion time is not estimated by division.

[0086] In another implementation, the low-carbon execution window does not rely on future forecasts, but is opened in real time based on the current carbon intensity relative to the quantile position of the same period in the past. It requires that the opening condition be met continuously for two scheduling periods and the closing condition be met continuously for one period. This method is suitable for environments where energy supply forecasts are unavailable but real-time carbon intensity is reliable. After the window is closed, ordinary tasks are suspended at the data segment boundary, while emergency tasks continue to be executed. The comparison path between the current state and the historical quantile is still feasible.

[0087] After object migration is completed, a residency state is written. The residency state includes migration direction, completion time, minimum residency duration, release time, and emergency release conditions. During the residency period, ordinary reverse candidates only accumulate boundary round trips even if they cross the outer boundary, and no reverse task is generated. Emergency release is allowed when three consecutive windows experience delay defaults, target device failures, or insufficient durability budget. After the residency period ends, the object's state point must be outside the outer boundary for three consecutive windows and maintain the same movement direction before reverse migration is allowed.

[0088] The dwell time determination is based on the difference between the current time and the migration completion time under the same time base. If the difference is less than the minimum dwell time, the normal reverse task is blocked. If it is equal to the minimum dwell time, the dwell period is entered and then checked. The movement direction of continuous windows is determined by the coordinate difference of the same object, the same source target relationship, and the same range version. If the version changes, the continuous counting restarts. The movement of the overall center cannot replace the movement of the object. If the direction of a window is inconsistent with the previous window or is located within the outer boundary, the continuous count is cleared. Normal reverse migration is allowed only after the conditions are met continuously. The reason for emergency cancellation is recorded separately to avoid polluting the normal jitter statistics.

[0089] The dwell time is determined based on the amount of object data, the time taken for the most recent migration, the business cycle, and the number of boundary round trips. The shortest dwell time is no less than the greater of the time required to complete a migration and the three sampling windows, and the longest dwell time is no more than the adjustment cycle allowed by the business. If the aforementioned greater one exceeds the adjustment cycle allowed by the business, the normal dwell configuration is not feasible. Instead of forcibly truncating, a configuration conflict flag is generated, normal reverse migration is suspended, and it is handled as an emergency path for service breach. The dwell time is extended when the number of boundary round trips increases, and gradually shortened when there are no delay breaches and no reverse candidates for several consecutive cycles. Emergency release does not directly shorten the subsequent dwell time, but records the reason for release for feedback to the update module to determine whether the boundary is biased in the wrong direction.

[0090] The statistical requirements for reverse migration are that the same object first migrates from the first level to the second level within the planning period, and then returns from the second level to the first level. Fault recovery, media replacement and explicit maintenance operations by the administrator are not included in ordinary reverse migration, but the reasons are recorded separately. The number of boundary round trips only counts events in which the object's state point crosses the outer boundary in a continuous window and then returns to the buffer domain. Telemetry fluctuations within the same window are aggregated and generate only one state, avoiding exaggeration of jitter with high-frequency sampling noise.

[0091] When the number of reverse migrations exceeds the control target, the feedback update module prioritizes increasing the scale factor of the outer boundary and extending the dwell time in the corresponding direction; when the number of access latency defaults exceeds the service limit, it prioritizes decreasing the scale factor in the direction towards the high-performance layer, but it must not be less than the sum of the scale factor of the inner boundary and the minimum interval; when the measured migration energy consumption is consistently higher than the expected value, it corrects the unit data read / write energy consumption and network transmission energy consumption, and increases the contribution of the second coordinate. The three types of feedback act on the stability, performance, and energy consumption relationships respectively, and do not use the same meaningless reward value to cover up the cause.

[0092] Step S508 writes the task identifier, object identifier, source level, source address version, target level, target address reservation, data segment range, estimated start time, end time, migration order, and bandwidth limit into the hierarchical storage control instruction, along with the candidate version, migration decision domain version, and power supply period version on which it is based. Before submitting the instruction, it is confirmed again that the address version has not changed and the capacity reservation is still valid. Only after the confirmation is passed will the instruction be sent to the execution node. Therefore, new writes, other migrations, or window cancellations that occur during the scheduling period will not cause the previous candidate to directly become a write task on the failed device.

[0093] Figure 6 Corresponding to steps S106 and S107, step S601 verifies the task and source version in the hierarchical storage control instruction; step S602 establishes the source baseline, target space, and incremental log; step S603 copies the data segment and completes log replay; step S604 determines whether the target data passes the consistency check; if the check fails, proceed to step S610, retain the valid source address, stop the effect, and retry or rollback according to the task status; if the check passes, obtain the object-level write barrier in step S605 and submit the atomic address switch, then step S606 queries the submission status; if it is confirmed that it has been submitted, proceed to step S607 to form the hierarchical storage result; if it is confirmed that it has not been submitted, proceed to the rollback branch; if the status is unknown, proceed to step S611 to retain the source and target data and continue querying; after the hierarchical storage result is formed, step S608 establishes a feedback record, and step S609 updates the migration judgment domain and low-carbon execution window.

[0094] When the low-carbon window is canceled or does not exist, ordinary tasks retain candidate records but do not generate executed bytes. The scope version, capacity reservation, and residency status are re-verified in the next cycle. Emergency tasks should have a reason for a continuous service breach, equipment failure, or clear deadline constraint. The existence of the target, data readability, and equipment security must still be checked. Address mappings should not be submitted to targets with insufficient space or unverifiable due to urgency. When the source device has failed and is unreadable, only existing readable copies or existing coded recovery paths can be used. Failure is reported when recoverable data is missing. Failure migration is not described as guaranteed to be completed.

[0095] Before the migration begins, the source-level controller freezes the object address mapping version and determines the baseline snapshot. Business reads continue to use the source address, and business writes are written to the incremental log in the order of commit and associated with the sequence number. The execution node replicates the baseline snapshot and verifies it segment by segment, and then replays the logs according to the sequence number. During the switchover phase, the metadata service obtains the write barrier for the object, clears the writes received before the barrier, replays the logs to the final commit sequence number and confirms that the target is consistent, and performs an atomic comparison update using the original version number. If successful, the new write is routed to the target address and the barrier is removed; if it fails, the source address is retained and the barrier is released. The last verification is connected to the address switch through brief object-level write serialization to avoid missing new writes after verification.

[0096] After a mapping update call times out, the execution node queries the commit records of the metadata service using the task identifier. If the query confirms that the new version has taken effect, it completes the process successfully. If the query confirms that the old version is still valid and the transaction has been terminated, it rolls back the ineffective target. If the query status is unknown, it maintains both the source and target data and related reservations, pauses the reclamation process, and continues querying. The absence of a response should not be interpreted as a lack of commit. Unfreezing the source version and reclamating old data should be done after the new version has been committed and the old version's readers have finished reading. Old readers can be identified by version reference count or the expired status of existing leases. This process prevents network timeouts from being translated into data loss.

[0097] The checksum can be formed by a fixed-length digest obtained by processing the data segment byte by byte or by an end-to-end checksum provided by the storage device. The source and destination must use the same checksum version. If a segment is found to be inconsistent, it can be retransmitted a maximum of a limited number of times. If it is still inconsistent, the target copy of the segment is deleted and the task is put into a rollback state. The address mapping is kept at the source address. Other data segments that have passed the checksum can be retained until the retry period expires, thereby avoiding the need to retransmit the entire object due to a single segment failure.

[0098] Verification is performed based on the same data segment boundaries and the same verification algorithm version. The same digest is only the result of integrity detection and cannot be used to prove that all possible errors will never collide. When byte-by-byte consistency verification is required, the source and target bytes under the same baseline snapshot and the final sequence number of the log are compared item by item. If any byte is different, it is judged as a failure. The comparison ends and the mapping is switched. The number of retransmissions, the pause period and the retention period of the target temporary copy are based on the existing task configuration. After the number of retransmissions is exhausted, the range of failed segments and the reason are specified. Successful verification of part of the segment is not considered as the entire object being effective.

[0099] Data replication uses task identifier, object identifier, source version, and target version to jointly locate a migration transaction. The source baseline must come from a consistent snapshot. The incremental log records the write sequence number, byte range, payload, and commit status. During replay, the corresponding range is overwritten in sequence number order. Duplicate sequence numbers only confirm the original result and do not commit again. Uncommitted writes do not enter the eventual consistency check. After obtaining the object write barrier, the last valid sequence number is determined and the previously received writes are waited for to complete. Only when the target has contained all committed writes up to that sequence number is it allowed to atomically update the address mapping using the source version as a comparison condition. The source copy must not be recycled when the address switch fails.

[0100] The execution node monitors the service latency, source device queue depth, target device queue depth, network port utilization, and migration power every ten seconds. When any value reaches the safety limit, the current bandwidth is reduced by one level. If it remains above the corresponding safety limit for three consecutive monitoring cycles, a pause condition is formed. When the pause condition is met, normal tasks are paused, and after three consecutive cycles of recovery, they continue from the most recent verification breakpoint. If there is a device failure, address version conflict, or verification service unavailable, the process is immediately paused and the mapping submission status is queried. If it is confirmed that the mapping has not taken effect, it is rolled back. If it is confirmed that the mapping has taken effect, the target address is retained. If the status is unknown, the source and target data are retained and the query continues. If the grid carbon intensity briefly exceeds the low-carbon window limit, the process is paused after completing the current data segment to prevent unverifiable states from being left by partial writes.

[0101] The execution node generates status records when the task ends, is paused, rolled back, or is pending query. The successful status must simultaneously have the target data verification record, the address mapping commit record, and the effective version. The paused status must have the current valid source address and the range of verified data segments. The rollback status must have the target transaction status confirmed as not effective. The pending query status retains the unresolved transaction identifier. Step S607 associates the status record, the actual number of bytes migrated, the actual migration energy consumption, the completion time, the effective level, and the effective version into a hierarchical storage result. The hierarchical storage result is provided to the business metadata service to confirm the current read position and to the feedback update module for adjustment in the next cycle.

[0102] Step S608 retrieves the task execution facts from the hierarchical storage results, and then associates the object status points, hierarchical profiles, and power supply records before and after execution according to the task identifier. Only records that correspond to the object, scope version, and business load conditions participate in parameter updates. Step S609 adjusts the subsequent migration judgment domain and low-carbon execution window based on the latency changes, migration energy consumption deviation, and reverse migration count under the same business conditions. The updated object is still the technical parameters used by the controller to generate tasks, and the performance, energy consumption, and address execution status are not replaced by revenue amount or display score.

[0103] In step S608, the feedback update module generates a feedback record for each completed or rolled-back task. The fields include the snapshot version before migration, the window version after migration, the access latency difference under the same business load, the estimated migration energy consumption, the actual migration energy consumption, the estimated migration carbon emissions, the actual migration carbon emissions, the number of reverse migrations, the number of boundary round trips, the number of service level violations, the number of pauses, and the reason for rollback. The same business load is determined by the fact that the request rate, read / write ratio, and request size distribution are all within the same comparison range. Records that are not in the same range are only used for security diagnosis and are not used to update the boundary scale.

[0104] The updated samples adopt a time decay method with higher recent contributions. The latest feedback record has the largest contribution coefficient, which decreases by a fixed proportion for each update cycle. After all contribution coefficients are normalized, they are used together with the state points of the same range of version objects associated with each record to calculate the new center and projection dispersion. The contribution ratio can be calibrated based on the feedback prediction error. The ratio that minimizes the sum of the dimensionless time delay prediction deviation and energy consumption prediction deviation in the next verification window is selected from the candidate ratios. If the verification samples are insufficient, the previous ratio is used.

[0105] The distance between the centers of the new and old states is represented by the non-negative square root of the sum of the squares of the two coordinate differences. The difference between the new and old scales is represented by the ratio of the absolute value of the corresponding scale difference to the old scale. When both are less than the stability threshold, the new parameter is applied once. When either exceeds the mutation threshold, the difference between the new and old values ​​is divided into multiple equal increments and applied gradually in subsequent update cycles. After each application, the service level violation and migration power are checked. If deterioration occurs, the remaining increments are stopped and the previous effective version is returned. If the condition for applying once is not met and the mutation threshold is not exceeded, the original parameters are maintained and sampling continues. The stability threshold is positive and less than the mutation threshold. Before each increment is applied, the scale positive value and the order of internal and external coefficients are rechecked, thereby limiting the mutation of the decision domain.

[0106] The phased update divides the difference between the old and new parameters by the configured positive integer number of phases, applying only one increment at a time. If the number of phases is zero or not an integer, the configuration is rejected. After application, it checks that both scales are positive, the outer coefficient is greater than the inner coefficient, the state center coordinates are valid, and the service constraints have not deteriorated. If any of these fail, the subsequent phases are stopped and the previous verified version is restored. The window carbon intensity correction is obtained by subtracting the expected carbon intensity from the actual carbon intensity to obtain a signed error. This error is then weighted according to the same time period and added to the future carbon intensity prediction. When the prediction becomes negative, it is truncated to zero and an anomaly is recorded. The carbon emission in grams cannot be directly used as this error without energy consumption conversion.

[0107] Feedback updates first connect the hierarchical storage results to the state points before and after migration through task identifiers. Latency difference, energy consumption deviation, and reverse count are used as feedback quantities for verification, weight calibration, and scale adjustment. The new center is still obtained from the two coordinates of the object's state point. From the most recent record to the historical record, each cycle is multiplied by the same decay ratio greater than zero and not greater than 1. Then, all effective contribution coefficients are divided by its sum to calculate the weighted mean of the two coordinates and the corresponding weighted projection variance. Feedback that lacks a state point or has a different range version cannot participate directly. A decay ratio of 1 indicates equal weight. When the timestamp is backward or the contribution coefficient is not finite, the old domain is retained and anomalies are recorded.

[0108] The low-carbon execution window is also updated with feedback. The controller compares the predicted carbon intensity with the actual carbon intensity during the execution period by time period, and adds the recent weighted value of the error to the prediction of the same period in the future. If the actual carbon intensity is continuously high, the corresponding window is shortened or canceled. If the actual business load or cooling load exceeds the safety limit, the screening margin is increased. If the cancellation of the window causes a delay default, the relevant object is changed to an emergency candidate and executed within the power limit. The feedback update thus maintains both green goals and service constraints.

[0109] The migration energy consumption during the operation verification is obtained by integrating power samples every ten seconds. First, the baseline power under the same service load is deducted from the total power of the device and network during the migration period. Negative deviations are retained as baseline comparison records and are not used as negative migration costs for ratio ranking. The non-negative part is used to estimate the additional energy consumption of migration. Then, the average additional power of each sampling interval is multiplied by the interval duration and accumulated. If a sampling interval is missing, it is filled by averaging the adjacent values. If the missing interval is continuous for more than one minute, the energy consumption of the task is marked as invalid and will not enter the boundary update. Only the migration bytes and latency records are retained to prevent incomplete power trajectories from causing incorrect shrinkage of the second coordinate.

[0110] After the feedback update is completed, the controller writes the new migration decision domain version, low-carbon execution window version, and applicable start time into the same configuration record, and maintains the old version until the relevant task is completed. Tasks that have already started will still perform safety monitoring according to their submitted versions, and tasks that have not yet started will be re-verified in the new cycle. Even if there is no actual migration in a control cycle, the object maintains its state and the reason for the empty candidate will be output. Sampling will continue in the next cycle to avoid losing the opportunity to update the state due to no task completion. Since the execution facts and the parameter effective time are recorded separately, it is possible to determine why a migration occurred and what impact it had on the next judgment by following the task identifier.

[0111] In maintaining Figure 1 Given the input-output chain shown, the controller can use different execution granularities for newly written objects, replica objects, encoded fragment objects, and sequentially accessed archive objects. The differences only apply to the status acquisition, data volume measurement, constraint verification, and copy submission processes. Records of different granularities are not mixed. The same object maintains a consistent identifier from sampling and candidate to address mapping submission. Therefore, changing the storage medium or management node location will not change the correspondence between the migration decision domain and the actual data migration.

[0112] The initial placement of newly written objects also uses the same migration decision domain. The controller treats the source level as empty and omits the source read energy consumption. The target write energy consumption, subsequent access performance requirements, and target level constraints constitute the object state point. If the object has no historical access sequence, the access performance requirements adopt the median state of objects of the same type in the service and reduce the confidence level. The target level prioritizes the level that meets the latency constraints and has a lower expected carbon cost. After accumulating a sufficient window, the object's own state is used. Therefore, the placement decision and subsequent migration are not made by two sets of conflicting rules.

[0113] For data objects with replicas, the controller uses replicas as the execution unit but objects as the constraint unit. It first checks whether the remaining replicas still meet the fault domain dispersion requirements after migrating one replica, and then constructs a state point for the target replica. Multiple replicas of the same object cannot enter the same fault domain at the same time. The migration order prioritizes retaining at least one readable replica. After the address mapping is switched, consistency confirmation is completed first and then the old replica is recycled. If the replica versions are different, normal migration is paused and data repair is performed first.

[0114] For sequential access media in the archive layer, the expected migration latency also includes loading, positioning, and media startup time. The controller generates migration candidates only when the allowed recovery time for an object is not less than the expected latency. The archive task can merge multiple small objects on the same media target according to the source device, target volume, and deadline. After merging, each object still retains an independent checksum and address version. When a batch fails, only the objects that failed the checksum are rolled back, and the state of a single object is not overwritten with the state of the entire batch success.

[0115] In another implementation, the hierarchical storage controller is deployed on the management node of the storage cluster, and the status acquisition module is distributed on each storage node. Coordinate construction, boundary generation, and candidate filtering are performed on the management node. Alternatively, object status points can be grouped by rack, and a local candidate set can be generated in the rack controller. Then, the cluster controller merges them according to cross-rack network energy consumption and cooling area constraints. The local and global sets use the same snapshot version and the same named field. During the merge, subsequent candidates with conflicting target capacities are deleted.

[0116] In data deletion and lifecycle end scenarios, the controller first confirms that the deletion status has been consistently committed across replicas or coded shards based on the object metadata, and then removes the object from the object status point set. Deleted objects are not used as target capacity before address reclamation is completed. The deletion release amount is recorded separately and the available capacity at the level is updated in the next window. If the deletion transaction is rolled back, the original object identifier and address version are restored, but expired candidate migration tasks are not restored to prevent the candidate set from consuming invalid capacity.

[0117] In the scenario of adding a new storage device, the status acquisition module first reads the device's media type, capacity, latency, power status, and endurance information, and performs idle, read, write, and mixed load calibration. After the calibration records reach a valid number, the device is added to the corresponding logical level. The object status points formed before access do not use the device as a candidate level. After access, the status points are reconstructed using the new profile version. If the device's power or latency deviation exceeds the tolerance during the observation period, it is removed from the candidate set and the original address mapping is retained.

[0118] In cross-rack migration scenarios, network transmission energy consumption is accumulated segment by segment according to the source rack uplink port, aggregation path, and target rack downlink port. Cooling is distributed separately in the source and target areas. If cross-rack migration can relieve the source rack hotspot but increases the cooling load in the target area, the additional migration energy consumption is calculated separately for the non-negative migration increment in both areas. The change in net energy consumption before and after deployment is recorded as the baseline difference over the same time span. The two should not be mixed. The candidate screening module retains the task only if the target area does not exceed the safety limit and the overall migration carbon cost meets the boundary direction, thereby avoiding simply transferring heat from one location to another.

[0119] When using replicated or erasure encoded objects, migration only changes the location of existing data replicas or fragments, without altering the original system's encoding rules. The controller reads the total number of existing fragments, the number required for recovery, and the distribution of fault domains for the object. It simulates the failure of fault domains declared by the original system for each mapped fragment after migration. The migration is only passed if the remaining number of valid fragments and the existing decoding checks meet the recovery conditions. If the encoded metadata cannot be obtained, the normal migration of the object is paused. The specific encoder, verification algorithm, and fault model are taken from the effective configuration of the corresponding storage system. During the migration process, the original encoding recovery interface is called to verify the recoverability of fragments.

[0120] Security audit logs only store the object identifier, hierarchy identifier, numerical status, and version required for execution, and do not require the collection of object content or personal identification information. When it is necessary to obtain the grid carbon intensity or cooling status across management domains, the interface transmits time, region, value, unit, and confidence level according to the minimum set of fields, and verifies the source identity and message integrity. Records that fail source verification are put into an isolation queue and do not participate in the low-carbon window screening, so as to avoid large-scale migration induced by external state tampering.

[0121] During audit review, the corresponding status snapshot, object status point, migration decision domain version, candidate, hierarchical storage control instructions and verification records can be retrieved from any effective address version. If any version in the chain is missing, the feedback record cannot be used to update the center and scale, and a consistency alarm will be generated. The complete chain can explain why the object was placed or migrated to the target level under specific power supply and load conditions, which is convenient for verifying whether the control results come from the disclosed technical relationships.

[0122] Corresponding to the method steps, the state acquisition module in the system executes S101, the coordinate construction module executes S102, the boundary generation module executes S103, the candidate selection module executes S104, the control execution module executes S105 and S106, and the feedback update module executes S107. Each module can be implemented by the processor executing instructions in the memory, or by programmable logic, dedicated circuits, or a combination of both. The module division is used to describe the data responsibilities and does not require each module to correspond to an independent physical device. The interface must at least transmit the aforementioned input fields, version number, valid flag, and named output.

[0123] The processor can be a general-purpose central processing unit, a network processor, or a storage control processor. The memory stores object state records, hierarchical state records, state point sets, migration decision domains, candidate migration sets, hierarchical storage control instructions, and feedback records. The communication interface connects to storage nodes, power supply information interfaces, and cooling management interfaces. When the processor executes instructions, it completes data acquisition, coordinate construction, direction and scale determination, boundary judgment, constraint filtering, task orchestration, address switching, and feedback updates, ultimately changing the actual location of the data object in the physical storage hierarchy and the device power status.

[0124] The technical effects of this embodiment arise from specific data relationships: two coordinates place the combined costs of access performance requirements, migration energy consumption, and migration carbon emissions into a state space that is comparable but does not obscure the dimensions; two directions and two scales characterize the direction and range of joint changes; two boundaries and the immediate reverse migration near the boundary of the dwell state cutoff; a low-carbon execution window schedules deferred migrations to a time period when the power supply is more suitable; capacity, latency, durability, and bandwidth constraints ensure that candidates can actually be executed; feedback records further correct the boundaries and windows; these relationships together reduce the device read / write and network bandwidth occupied by invalid migrations and control the additional energy consumption of migration under service level constraints.

[0125] In the absence of logical conflicts, the status fields, boundary acquisition methods, window filtering methods, task splitting methods, and deployment methods in the above implementation can be combined; the specific execution cycle of the steps can be adjusted according to the device telemetry resolution, but the object status data must be formed before the object status point set, the object status point set must be formed before the migration decision domain, the candidate migration set must be formed before the control instructions, and the address mapping only takes effect after copying and verification are completed. Any adjustment of the order must not destroy the data dependency and security relationship.

Claims

1. A data hierarchical storage optimization method for green computing power, characterized in that, Performed by the hierarchical storage controller, including: Obtain the access status, data volume, storage level capacity, latency, power, media durability, cooling load, and power supply status of the data object to obtain object status data and level status data; Based on object state data and hierarchical state data, the access performance requirements are normalized to the first coordinate, and the migration energy consumption and migration carbon emissions are normalized and weighted to obtain the second coordinate, forming a set of object state points. Based on the set of object state points in the continuous sampling window, determine the state center, the first and second mutually perpendicular directions, and the corresponding first and second scales. Generate two closed boundaries with the inner scale coefficient and the outer scale coefficient which is greater than the inner scale coefficient to obtain the migration decision domain. The candidate migration set is obtained based on the sum of squares of the ratios of the projections of the object's state point relative to the state center in two directions to the corresponding scale, the migration direction and capacity, the time delay and the medium durability constraints. Based on the candidate migration set, power supply status, and object residency status, a low-carbon execution window is determined, and hierarchical storage control instructions containing source level, target level, migration order, and bandwidth limit are generated. Execute hierarchical storage control instructions to obtain hierarchical storage results, and update the migration decision domain and low-carbon execution window based on actual access latency, migration energy consumption, and reverse migration count.

2. The method according to claim 1, characterized in that, Obtain the access status, data volume, and storage level capacity, latency, power consumption, media durability, cooling load, and power supply status of data objects to obtain object status data and level status data, including: The access sequence is obtained by aggregating the read and write request counts, request times, and completion delays within the sampling window based on the object identifier; the access intensity, burst level, read-write ratio, and delay default level are obtained based on the total number of requests, window duration, sub-interval request rate, and number of timeout requests in the access sequence. The hierarchical operating energy consumption is obtained by summing the products of the equipment's active time, idle time, and corresponding rated power. Add the tiered operation energy consumption to the cooling amortization energy consumption, convert them into energy units that match the grid carbon intensity, and then multiply them to obtain the tiered carbon cost. For missing fields, the most recent valid value is used and the field is marked as missing. When consecutive missing values ​​reach the retention period, the relevant actively migrated objects are removed. The object fields and hierarchical fields are aligned by time and associated with the version number to form object status data and hierarchical status data.

3. The method according to claim 2, characterized in that, Based on object state data and hierarchical state data, the access performance requirements are normalized to the first coordinate, and the migration energy consumption and migration carbon emissions are normalized and weighted to obtain the second coordinate, forming a set of object state points, including: Access intensity, burst level, latency default level and business continuity level are normalized respectively. Normalization weights are assigned according to the degree of similarity between each quantity in the historical sample and the actual access latency change. The access performance requirements are obtained by weighted summation. The migration energy consumption is obtained by calculating the amount of data to be migrated and the energy consumption of reading from the source device, transmitting along the path, writing to the target device, and cooling. The migration carbon emissions are then obtained by multiplying the calculated migration energy consumption by the corresponding period's grid carbon intensity. Normalize according to the historical upper and lower bounds respectively, cut off out-of-bounds values ​​to the endpoints, and place the value at the midpoint of the interval when the upper and lower bounds are the same; The first coordinate is formed by access performance requirements, and the second coordinate is formed by the dimensionless weighted result of energy consumption and carbon emissions. The two coordinates are associated with the object identifier, source level, candidate level and range version to form a set of object state points.

4. The method according to claim 3, characterized in that, Based on the object state point set of the continuous sampling window, the state center, the mutually perpendicular first and second directions, and the corresponding first and second scales are determined. Two closed boundaries are generated using the inner scale coefficient and the outer scale coefficient, which is greater than the inner scale coefficient, to obtain the migration decision domain, including: Calculate the mean values ​​of the two coordinates of the effective state points to obtain the state center; form a deviation pair by the coordinate deviations of the state points relative to the state center, select the unit direction with the largest cumulative square projection as the first direction, and the perpendicular unit direction as the second direction; The square root of the average square deviation of the projection in each direction is taken and a positive lower limit of the scale is set. The scale is then scaled according to the target capacity, available migration bandwidth and cooling load to obtain the first scale and the second scale. The inner closed boundary is formed by the positive inner scale coefficient, and the outer closed boundary is formed by the outer scale coefficient. The area inside the inner boundary is the preservation domain, and the area between the two boundaries is the buffer domain. If there are insufficient state points or the direction has not converged, the previous effective migration decision domain is used.

5. The method according to claim 4, characterized in that, Based on the sum of squares of the ratios of the projections of the object's state point relative to the state center in two directions to the corresponding scale, the migration direction and capacity, time delay, and media durability constraints, a candidate migration set is obtained, including: Divide the two projections by the first and second scales respectively, square the two ratios and sum them to obtain the boundary position quantity; When the boundary position is not less than the square of the outer scale coefficient, objects whose first coordinate exceeds the corresponding coordinate of the state center and whose latency decreases after migration are selected as candidates for upward migration, and objects whose second coordinate is lower than the corresponding coordinate of the state center and whose latency constraints are met after migration are selected as candidates for downward migration. When the boundary location is less than the square of the outer scale factor, the current level is maintained; candidates that do not meet the requirements of remaining capacity, expected access latency, write endurance budget, or allowed migration bandwidth are deleted. Up migration candidates are sorted in descending order of the ratio of expected latency reduction to migration carbon emissions, and down migration candidates are filtered according to the performance layer capacity released per unit migration carbon emissions and the power consumption reduction conditions of the source device, thus obtaining the candidate migration set.

6. The method according to claim 5, characterized in that, Based on the candidate migration set, power supply status, and object residency status, a low-carbon execution window is determined, and hierarchical storage control instructions containing source level, target level, migration order, and bandwidth limit are generated, including: The time period state sequence is obtained based on the grid carbon intensity, renewable energy ratio, business input and output load, and cooling load for the future scheduling period; The low-carbon implementation window is obtained by selecting a continuous period in which carbon intensity is not higher than the historical carbon intensity quantile threshold, the proportion of renewable energy is not lower than the historical proportion quantile threshold, and both types of load do not exceed their respective safety limits. Tasks are assigned sequentially based on the candidate migration set and the object's residency status, ensuring that the sum of the task bandwidths of the same device does not exceed its available bandwidth, and that the additional power of migration does not exceed the additional heat load allowed by the cooling system. When no window is available, only emergency tasks to eliminate latency violations are scheduled, and other tasks are postponed; the allocation results are associated with the source level, target level, migration order and bandwidth limit to generate hierarchical storage control instructions.

7. The method according to claim 6, characterized in that, Execute hierarchical storage control instructions to obtain hierarchical storage results, including: Freeze the source address version, allocate the target address, copy the source data in consecutive data segments and generate a checksum, and write the business information to the incremental log during the copying process. Replay the incremental logs and compare the check values ​​of the source data and the target data segment by segment. After all the logs are consistent and have been included in the write before the switch, atomically update the object address mapping, record the effective version and delay the recycling of the source data. Monitor access latency, queue depth of source and target devices and migration power. When the monitored quantity exceeds the corresponding security limit, reduce bandwidth. When the limit is exceeded continuously and the suspension condition is met, retain the verified data segment and suspend the task. If there is insufficient space, verification fails, or mapping update times out, check the mapping submission status. If it is confirmed that the mapping has not taken effect, the target address will be revoked and the source address will continue to be used. If it is confirmed that the mapping has taken effect, the target address will be retained. The associated task status, actual number of bytes migrated, actual migration energy consumption, and effective version are used to form a hierarchical storage result.

8. The method according to claim 7, characterized in that, The object residency status includes migration direction, completion time, minimum residency duration, and emergency release conditions. The residency period is determined based on the completion time and minimum residency duration. During the residency period, ordinary migration tasks in the opposite direction to those that have been completed are blocked. When an access delay violation occurs in the continuous sampling window or the current device fails, the blocking is lifted, and an emergency task is generated that is still subject to capacity, latency, and device security constraints. After the residency period ends, reverse migration is only allowed if the same object and the state point of the candidate level are continuously located outside the outer closed boundary and move in the same direction. The number of reverse migrations and the number of boundary round trips are written to the object migration history. When the number of boundary round trips exceeds the jitter limit, the outer scale coefficient is increased and the minimum residency duration is extended. When the number of access delay violations exceeds the service limit, the outer scale coefficient used for the up-migration judgment is decreased. If the updated outer scale coefficient is still greater than the inner scale coefficient, the updated value and release status are written back to the object residency status.

9. The method according to claim 8, characterized in that, The migration decision domain and low-carbon execution window are updated based on actual access latency, migration energy consumption, and reverse migration counts, including: The differences in access latency before and after migration under the same business load, the deviation between measured and expected migration energy consumption, the number of reverse migrations, and the number of service level breaches will be recorded as feedback records. The feedback records are associated with their object status points and range versions, and the contribution coefficients are normalized according to the recording time, which decrease with the age of the record, to form the updated samples. The state center and projection dispersion are re-determined based on the updated samples. When the distance between the old and new centers and the relative difference of the corresponding scales are both less than the stability threshold, the updated results are used. When any difference exceeds the mutation threshold, the update is performed in stages. When the values ​​are between the two thresholds, the original parameters are maintained and sampling continues. Based on the deviation between measured and predicted carbon intensity, the predictions for similar periods in the future are revised and the low-carbon implementation window is re-selected; when the updated sample is empty, the version is inconsistent, or the record is abnormal, the previous valid parameter is used and the diagnostic mark is recorded.

10. A data hierarchical storage optimization system for green computing power, characterized in that, It includes a status acquisition module, a coordinate construction module, a boundary generation module, a candidate filtering module, a control execution module, and a feedback update module; The status acquisition module obtains the object access status and hierarchical capacity, latency, power, durability, cooling and power supply status, forming object status data and hierarchical status data; The coordinate construction module constructs a set of object state points based on two types of state data, including access performance requirements and normalized weighted migration energy consumption and migration carbon emissions. The boundary generation module determines the state center, two vertical unit directions, and corresponding scales based on the object's state point set, and generates a migration decision domain with inner and outer closed boundaries. The candidate selection module forms a candidate migration set based on the sum of squares of the ratios of the projection of the relative state center to the corresponding scale, the migration direction and capacity, time delay, and durability constraints. The control execution module generates and executes instructions with source level, target level, migration order and bandwidth limit in the low-carbon execution window based on the candidate migration set, power supply status and object dwell status. The feedback update module updates the migration decision domain and low-carbon execution window based on execution latency, migration energy consumption, and reverse migration count.