Optical disk data storage method and optical disk library management method
By analyzing user access mode and environment changes, and optimizing the data sorting and read and write parameters of CD storage, the traditional CD storage methods are solved in terms of flexibility and response speed, and more efficient data retrieval and longer CD life. Reduced maintenance costs.
Patent Information
- Application Number
- CN202411183490.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2024-12-31
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional CD storage methods are difficult to cope with changes in user behavior and environmental changes, resulting in insufficient flexibility and response speed of the storage system, increasing equipment failure rate and maintenance costs, and affecting the long-term storage and reliability of data.
By analyzing user data access history, optimizing data sorting and location, adjusting laser power and reading speed, collecting environmental data in real time, adjusting read and write parameters, predicting power demand, optimizing the energy output of optical disk drives, and compensating read and write with historical read and write data. Error, realizes flexibility and stability of data storage.
It improves data retrieval efficiency, extends the service life of the CD, optimizes the stability and reliability of data processing, reduces maintenance costs, and improves the data management and maintenance efficiency of the CD library.
Smart Images

Figure CN119225637A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data storage, and in particular to a method for storing data on an optical disc and a method for managing an optical disc library. Background Art
[0002] The field of data storage technology focuses on the preservation, management and retrieval of information. It develops and optimizes a variety of methods and media to safely and efficiently store and retrieve data, including disk storage, optical disk storage, solid-state drives, cloud storage, and data storage networks. It aims to optimize the capacity, durability, access speed, and cost-effectiveness of storage devices, provide high-capacity, high-speed, highly reliable, and cost-effective storage solutions, improve storage density and optimize data access speed, enhance data security and reliability, and meet the needs of various application scenarios of enterprise data centers and personal data backup.
[0003] Among them, the optical disc data storage method stores and retrieves data through optical media optical discs, uses laser technology to record information on the optical disc, and achieves long-term data preservation through physical and chemical changes. It is used for long-term archiving of large-capacity data, distribution of audio and video data, and dissemination of software and games to achieve long-term data storage and backup. It has the advantages of high capacity and relatively low cost. It burns tiny pits on the surface of the optical disc and uses differentiated reflectivity layers to encode data, and uses laser technology to write and read. It is suitable for data that needs to be preserved for a long time and is not frequently accessed, including document archiving and audio and video storage.
[0004] Traditional optical disc data storage and retrieval methods perform data storage and retrieval by setting fixed read and write speeds and powers. This makes it difficult to cope with the diversity of user behaviors and the real-time impact of environmental changes, limits the flexibility and response speed of the storage system, and makes it difficult to adapt when user access patterns change and environmental conditions change. It cannot fully utilize historical data and environmental data to predict the physical wear and power requirements of the optical disc, resulting in storage device aging and energy waste, increasing equipment failure rates and maintenance costs, affecting the long-term preservation and reliability of data, and having poor efficiency and cost-effectiveness when processing batch data. Summary of the invention
[0005] The purpose of the present invention is to solve the shortcomings of the prior art and to propose a method for storing data in an optical disc and a method for managing an optical disc library.
[0006] In order to achieve the above object, the present invention adopts the following technical solution, a method for storing data on an optical disc, comprising the following steps: S1: Based on data read and write records, collect users’ data access history records, analyze the time-dependent characteristics in users’ access patterns, evaluate and record the access frequencies of various data, and obtain access pattern analysis results; S2: Based on the access pattern analysis results, analyze and identify the sorting priorities of various types of data, sort and optimize the location of the data in combination with the access pattern and the physical location of the data, and generate data priority sorting parameters; S3: Based on the data priority sorting parameters, adjust the laser power and reading speed according to the data type and physical properties, optimize the reading process to reduce the impact of physical defects, and obtain a read-write parameter adjustment record; S4: Based on the read / write parameter adjustment record, collect environmental temperature and humidity data in real time, analyze the impact of various environmental factors on data reading and writing, adjust the read / write parameters to match the environmental changes, and generate environment-matching read / write parameters; S5: using the environment to match the read / write parameters, combining historical read / write data, identifying read / write errors and errors, adjusting the laser scanning path and the reading speed to compensate for the read / write errors, and obtaining read / write error compensation parameters; S6: Analyze historical energy consumption data in combination with the read / write error compensation parameters, predict power demand, adjust the energy output of the optical disk drive to optimize power consumption, and generate optical disk storage control parameters.
[0007] As a further solution of the present invention, the access pattern analysis results include user access time information, user access frequency information, and user access data type; the data priority sorting parameters include data access number sorting, data type priority, and data physical location optimization parameters; the read-write parameter adjustment records include laser power setting parameters, reading speed change data, and data reading quality assessment information; the environment matching read-write parameters include temperature adjustment parameters, humidity matching adjustment parameters, and the degree of influence of environmental factors on the read-write speed; the read-write error compensation parameters include laser scanning path adjustment parameters, reading speed compensation values, and read-write error rate change records; the optical disk storage control parameters include energy consumption prediction data, power demand adjustment records, and energy output optimization parameters.
[0008] As a further solution of the present invention, based on data read and write records, the user's data access history records are collected, the time-dependent characteristics in the user's access pattern are analyzed, and the access frequency of various data is evaluated and recorded. The steps of obtaining the access pattern analysis results are specifically as follows: S101: Based on the data reading and writing records, collect the user's data access history records, record the number of accesses to various data, and obtain access frequency records; S102: Analyze the access frequency records, analyze and identify the access time and frequency of multiple data types, and obtain time feature evaluation information; S103: Analyze user behavior patterns based on the time feature evaluation information, evaluate and predict access frequencies of multiple data types, and obtain access pattern analysis results.
[0009] As a further solution of the present invention, based on the access pattern analysis results, the sorting priorities of various types of data are analyzed and identified, and the data are sorted and the location is optimized in combination with the access pattern and the physical location of the data. The steps of generating data priority sorting parameters are specifically as follows: S201: Based on the access pattern analysis result, identifying access patterns of various data, evaluating access urgency of data types, and generating urgency evaluation results; S202: Based on the urgency evaluation result and in combination with the physical storage location of the data, a greedy algorithm is used to analyze and optimize the data storage order to obtain a data sorting optimization result; S203: According to the data sorting optimization result, adjust the location of the data on the physical storage device, optimize the access efficiency and response time, and obtain data priority sorting parameters.
[0010] As a further solution of the present invention, the greedy algorithm is according to the formula: ; Compute the order in which data is stored and accessed, where For the The optimization score of the data, For the The storage priority score of the data, For the The access frequency of the data, For the The urgency assessment results of the data are as follows: For the The physical distance of the data to the storage device, is the weight coefficient for storing the priority score, is the weight coefficient of access frequency, It is the adjustment parameter of the urgency assessment result.
[0011] As a further solution of the present invention, based on the data priority sorting parameters, the laser power and reading speed are adjusted according to the data type and physical properties, the reading process is optimized to reduce the impact of physical defects, and the steps of obtaining the read-write parameter adjustment record are specifically as follows: S301: Analyze and identify laser power requirements of multiple data types based on the data priority sorting parameters, adjust the laser power to match the data access frequency, optimize the data signal strength of multiple optical disc areas, and obtain laser power setting parameters; S302: Analyze and adjust the reading speed according to the laser power setting parameters and the physical storage locations of the multiple data, optimize the data reading response time and reduce the reading error, and generate a reading speed adjustment result; S303: Analyze the reading and writing speed and error rate of the reading and writing process according to the reading speed adjustment result, evaluate and record the fluency and efficiency of the reading and writing process, and obtain a reading and writing parameter adjustment record.
[0012] As a further solution of the present invention, based on the read-write parameter adjustment record, the environmental temperature and humidity data are collected in real time, the influence of various environmental factors on data reading and writing is analyzed, and the read-write parameters are adjusted to match the environmental changes. The steps of generating environmental matching read-write parameters are specifically as follows: S401: Based on the read-write parameter adjustment record, collect temperature and humidity data of the current environment in real time, record environmental parameters, and obtain environmental data records; S402: Analyze the environmental data record, evaluate the impact of temperature and humidity changes on the optical disk data reading and writing process, analyze and identify the required reading and writing parameter adjustment values, and generate environmental impact analysis results; S403: Apply the environmental impact analysis result to adjust the read and write parameters to match the environmental changes, optimize the data access response, and obtain the environmental matching read and write parameters.
[0013] As a further solution of the present invention, the steps of using the environment to match read and write parameters, combining historical read and write data, identifying read and write errors and errors, adjusting the laser scanning path and reading speed to compensate for the read and write errors, and obtaining the read and write error compensation parameters are specifically as follows: S501: Matching read and write parameters based on the environment, monitoring read and write errors in the read and write process in real time, recording error types and frequencies, and generating read and write error records; S502: Based on the read / write error record, analyze data and identify error patterns and frequencies, analyze the relationship between the laser scanning path, the reading speed and the read / write error, and obtain an impact relationship analysis record; S503: Based on the influence relationship analysis record, adjust the laser scanning path and the reading speed to compensate for the reading and writing errors, and compare and evaluate the reading and writing efficiency before and after the parameter adjustment to obtain the reading and writing error compensation parameters.
[0014] As a further solution of the present invention, the steps of combining the read / write error compensation parameters, analyzing historical energy consumption data, predicting power demand, adjusting the energy output of the optical disk drive to optimize power consumption, and generating the optical disk storage control parameters are specifically as follows: S601: Based on the read / write error compensation parameters, collect and analyze historical energy consumption data, identify energy consumption levels of multiple read / write modes, and generate energy consumption mode analysis data; S602: Analyze the data according to the energy consumption pattern and combine it with the user behavior pattern to analyze the reading and writing frequency of various data types and predict the power demand to obtain the power demand prediction record; S603: Based on the power demand prediction record, adjust the power setting of the optical disk drive to optimize energy distribution and obtain the optical disk storage control parameters.
[0015] A method for managing an optical disc library, the method for managing an optical disc library is used to execute the above optical disc data storage method, and the method for managing an optical disc library comprises: S1: Based on the data reading and writing records, by analyzing the time information, location information, and usage frequency information of historical access data, the access frequency and priority of various data are calculated to obtain access demand prediction information; S2: adjusting the order of the optical disc positions according to the access demand prediction information, constructing a storage position mapping table, and generating optical disc position adjustment parameters; S3: Based on the optical disk position adjustment parameter, in combination with the temperature sensor, the humidity sensor, and the dust level sensor, collect and store environmental data to obtain environmental status data; S4: Analyze the optical disc read and write error frequency data based on the environmental status data, identify the optical disc read and write error pattern and time series relationship, and generate a read and write error analysis result; S5: According to the read-write error analysis results, the lifespan change trends of multiple optical discs are calculated, and according to the error frequency changes, maintenance and replacement information is identified and sent to generate optical disc storage control parameters.
[0016] Compared with the prior art, the advantages and positive effects of the present invention are: In the present invention, by analyzing user data access records and combining the physical location of the data, data priority sorting is adjusted in real time, the data access order is optimized, the access delay is reduced, the efficiency of data retrieval is improved, the laser power and reading speed are adjusted according to various data types and physical properties of the optical disc, physical wear and tear and read and write errors are reduced, the service life of the optical disc is extended, the read and write control parameters are adjusted to compensate for the impact of environmental factors on data reading and writing, the stability and reliability of data processing are optimized, and the data management and maintenance efficiency of the optical disc library is improved by predicting power demand and optimizing energy output. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 A schematic diagram of the working process of a method for storing data on an optical disc according to the present invention; Figure 2 A detailed flow chart of a method S1 for storing data on an optical disc according to the present invention; Figure 3 A detailed flow chart of a method S2 for storing data on an optical disc according to the present invention; Figure 4 A detailed flow chart of a method S3 for storing data on an optical disc according to the present invention; Figure 5A detailed flow chart of a method S4 for storing data on an optical disc according to the present invention; Figure 6 A detailed flow chart of a method S5 for storing data on an optical disc according to the present invention; Figure 7 A detailed flow chart of a method S6 for storing data on an optical disc according to the present invention; Figure 8 The present invention is a schematic diagram of the workflow of a method for managing an optical disk library. DETAILED DESCRIPTION
[0018] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0019] In the description of the present invention, it should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, in the description of the present invention, "multiple" means two or more, unless otherwise clearly and specifically defined.
[0020] Embodiment 1 See also Figure 1 The present invention provides a technical solution, a method for storing data on an optical disc, comprising the following steps: S1: Based on data read and write records, collect users’ data access history records, analyze the time-dependent characteristics in users’ access patterns, evaluate and record the access frequencies of various data, and obtain access pattern analysis results; S2: Based on the access pattern analysis results, analyze and identify the sorting priorities of various types of data, sort and optimize the data location based on the access pattern and the physical location of the data, and generate data priority sorting parameters; S3: Based on the data priority sorting parameters, adjust the laser power and reading speed according to the data type and physical properties, optimize the reading process to reduce the impact of physical defects, and obtain the read and write parameter adjustment record; S4: Based on the read-write parameter adjustment records, collect environmental temperature and humidity data in real time, analyze the impact of various environmental factors on data reading and writing, adjust the read-write parameters to match environmental changes, and generate environment-matching read-write parameters; S5: using the environment to match the read / write parameters, combined with historical read / write data, identifying read / write errors and errors, adjusting the laser scanning path and reading speed to compensate for the read / write errors, and obtaining the read / write error compensation parameters; S6: Combine the read-write error compensation parameters, analyze the historical energy consumption data, predict the power demand, adjust the energy output of the optical disk drive to optimize the power consumption, and generate the optical disk storage control parameters.
[0021] The access pattern analysis results include user access time information, user access frequency information, and user access data type; data priority sorting parameters include data access count sorting, data type priority, and data physical location optimization parameters; read and write parameter adjustment records include laser power setting parameters, reading speed change data, and data reading quality assessment information; environmental matching read and write parameters include temperature adjustment parameters, humidity matching adjustment parameters, and the degree of influence of environmental factors on reading and writing speeds; read and write error compensation parameters include laser scanning path adjustment parameters, reading speed compensation values, and read and write error rate change records; optical disk storage control parameters include energy consumption prediction data, power demand adjustment records, and energy output optimization parameters.
[0022] See also Figure 2 ,Based on data read and write records, collect users’ data access history, analyze the time-dependent characteristics in users’ access patterns, evaluate and record the access frequencies of various data, and obtain the access pattern analysis results in the following steps: S101: Based on the data reading and writing records, collect the user's data access history records, record the number of accesses to various data, and obtain the access frequency records. The specific process is as follows; In sub-step S101, based on the data reading and writing records, the user's data access history records are collected, and the number of data accesses is calculated according to each user's interaction record, including the number of logins, the number of data viewings, and the number of data downloads. Classification statistics are performed for differentiated data types, and the access frequency of each data type is calculated. By constructing a data access frequency array, each element represents the access frequency of the corresponding data type. The calculation formula is: ,in, represents the access frequency of data type i, represents the number of accesses to the target data type i, It represents the total evaluation time, reflects the user's attention to differentiated data types, and obtains the access frequency record.
[0023] S102: Analyze access frequency records, analyze and identify access time and frequency of various data types, and obtain time feature evaluation information. The specific process is as follows; In sub-step S102, the access frequency records are analyzed, the access time and frequency of various data are analyzed and identified, and time series analysis is performed on the access records of various data to identify the peak access period and the valley period, including calculating the total number of accesses in each time window and normalizing it, comparing the activity of different time periods, and using the normalized time frequency analysis method. The formula is: ,in, represents the normalized access frequency at target time t, is the access frequency of data type i at time t, is the total number of data types, The maximum access frequency in all time windows is analyzed, and the relationship between access frequency and time is obtained to obtain time feature evaluation information.
[0024] S103: Based on the time feature evaluation information, analyze the user behavior pattern, evaluate and predict the access frequency of various data types, and obtain the access pattern analysis result. The specific process is as follows; In sub-step S103, based on the time feature evaluation information, the user behavior pattern is analyzed, the access frequency of various data types is evaluated and predicted, and the access trend is predicted by building a linear regression model using the identified time features and access frequency data. The access frequency of various data types is calculated using the linear trend prediction formula ,in, is the predicted access frequency, is the time coefficient, reflecting the access change rate over time. is the intercept, indicating the baseline visit frequency, For the time variable, we evaluate the access dynamics of differentiated data types over time and generate access pattern analysis results.
[0025] See also Figure 3 ,Based on the access pattern analysis results, analyze and identify the sorting priorities of various types of data, combine the access pattern and the physical location of the data, sort and optimize the data location, and generate the data priority sorting parameters in the following steps: S201: Based on the access pattern analysis result, the access patterns of various data are identified, the access urgency of the data types is evaluated, and the process of generating the urgency evaluation result is specifically as follows; In sub-step S201, based on the access pattern analysis results, the access frequency and time characteristics of the differentiated data types are analyzed to identify and evaluate the access patterns and urgency of the data types. The urgency is evaluated based on the frequency of use and time sensitivity of the data. The formula is: ,in, Represents data type The urgency of is the predicted access frequency, is the weighted average access time, To balance the coefficient, adjust the weights of the predicted frequency and time characteristics, and combine the inverse of the access frequency and access time to evaluate the urgency of the data. Indicates the data type, It is used to balance the impact of frequency and time on urgency and generate urgency assessment results.
[0026] S202: Based on the urgency evaluation result and in combination with the physical storage location of the data, a greedy algorithm is used to analyze and optimize the data storage order, and the specific process of obtaining the data sorting optimization result is as follows; In sub-step S202, based on the urgency assessment result, the physical storage location of the data is taken into consideration, the storage order of the data is analyzed and optimized to improve access efficiency, and a greedy algorithm is used to calculate and identify the priority of various data in the storage system by considering the data urgency and the relative distance of the physical storage location, combined with the access frequency of various data, and optimize the storage order of the data to obtain the data sorting optimization result.
[0027] Greedy algorithm, according to the formula: ; Compute the order in which data is stored and accessed, where For the The optimization score of the data, For the The storage priority score of the data, For the The access frequency of the data, For the The urgency assessment results of the data are as follows: For the The physical distance of the data to the storage device, is the weight coefficient for storing the priority score, is the weight coefficient of access frequency, It is the adjustment parameter of the urgency assessment result.
[0028] The specific execution process of the formula is as follows: Collect storage priority scores for each type of data , access frequency , Urgency Assessment Results , the physical distance between the data and the storage device , determine the weight coefficient through statistical analysis based on historical data and user needs , , , adjust the influence of each factor to ensure that the impact of multiple factors on storage priority is effectively reflected, substitute the parameters into the formula, and calculate the comprehensive score , sort all data and determine its priority in the storage system.
[0029] S203: According to the data sorting optimization result, the location of the data on the physical storage device is adjusted to optimize the access efficiency and response time, and the process of obtaining the data priority sorting parameter is specifically as follows; In sub-step S203, according to the data sorting optimization result, including adjusting the location of data on the physical storage device, improving the efficiency and response time of data access through physical rearrangement, considering the optimal match between physical and logical locations, and optimizing the data location. The formula is: ,in, It is an operation symbol used to determine the maximum optimization value of a given physical location and determine the optimal data storage location. An index indicating the type of data. It is an adjustment factor used to measure the weight of the impact of physical distance on data priority sorting and the sensitivity of data location adjustment on physical storage devices. For the The optimized location value of the physical location, For the Storage optimization value of class data, For the Class data and The distance between the physical locations is determined by maximizing the optimization value minus the product of the adjustment factor and the distance to determine the optimal physical location for each type of data and obtain the data priority sorting parameter.
[0030] See also Figure 4 Based on the data priority sorting parameters, the laser power and reading speed are adjusted according to the data type and physical properties, the reading process is optimized to reduce the impact of physical defects, and the steps to obtain the read and write parameter adjustment records are as follows: S301: Based on the data priority sorting parameters, analyze and identify the laser power requirements of multiple data types, adjust the laser power to match the data access frequency, optimize the data signal strength of multiple optical disc areas, and obtain the laser power setting parameters. In sub-step S301, based on the data priority sorting parameters, the basic requirements of multiple types of data for laser power are analyzed, including calculating the laser baseline power requirement for each data type, dynamically adjusting the baseline requirement according to the data access frequency, ensuring that the laser power output, data type and access frequency match, and through the dynamic adjustment algorithm, real-time monitoring of data access mode, adjusting laser power output, optimizing the intensity of multiple types of data signals in the optical disc area, and calculating the optimal laser power output for each data type. The formula is: ,in, represents the laser power output of the i-th type of data, Represents the access frequency of the target data type, It is the access frequency adjustment coefficient determined according to the actual application environment. Indicates the baseline laser power corresponding to the data type, is the baseline power adjustment factor, and the laser power setting parameter is obtained.
[0031] S302: Analyze and adjust the reading speed according to the laser power setting parameters and the physical storage locations of the multiple data, optimize the data reading response time and reduce the reading error, and generate the reading speed adjustment result in the following process; In sub-step S302, according to the laser power setting parameters, the reading speed is analyzed and adjusted for the physical storage locations of multiple data, the laser reading speed of the current multiple storage locations is analyzed, and based on the laser power setting parameters, the ideal reading speed of each location is calculated, the actual reading speed is adjusted to match the ideal speed, the data reading response time is optimized and the occurrence rate of reading errors is reduced. The formula is: ,in, is the adjusted reading speed, is the original reading speed, The ideal laser power calculated for each data position, is the current laser power, It is the speed adjustment factor, which is flexibly set according to system response and hardware limitations to generate a read speed adjustment result.
[0032] S303: Analyze the reading and writing speed and error rate of the reading and writing process according to the reading speed adjustment result, evaluate and record the fluency and efficiency of the reading and writing process, and obtain the reading and writing parameter adjustment record. In sub-step S303, according to the reading speed adjustment result, the speed and error rate in the reading and writing process are analyzed, and an evaluation model is constructed to quantify the fluency and efficiency of the reading and writing process. The influence of speed and error rate is considered, and a comprehensive evaluation index is output. By comparing the reading and writing speed and error rate before and after the adjustment, the overall performance improvement of the reading and writing process is evaluated. The formula is: ,in, It is an evaluation index of reading and writing efficiency. is the average read and write speed, is the error rate, and are the weight coefficients of speed and error rate respectively, which are adjusted according to the application scenario and performance target to obtain the read and write parameter adjustment record.
[0033] See also Figure 5Based on the read-write parameter adjustment records, collect environmental temperature and humidity data in real time, analyze the impact of various environmental factors on data reading and writing, adjust the read-write parameters to match environmental changes, and generate environmental matching read-write parameters in the following steps: S401: Based on the read-write parameter adjustment record, the temperature and humidity data of the current environment are collected in real time, the environmental parameters are recorded, and the specific process of obtaining the environmental data record is as follows; In sub-step S401, based on the read-write parameter adjustment record, the real-time monitoring system is implemented to collect temperature and humidity data in the current environment. By deploying environmental sensors, environmental parameters are regularly collected and recorded. The formula is ,in, Indicates at time Environmental data records, and Respectively represent the temperature and humidity readings at the same time point, directly record the real-time data provided by the environmental sensor, and ensure the accuracy and timeliness of the data. Represents a time point and obtains environmental data records.
[0034] S402: Analyze environmental data records, evaluate the impact of temperature and humidity changes on the optical disk data reading and writing process, analyze and identify the required reading and writing parameter adjustment values, and generate environmental impact analysis results. The specific process is as follows; In sub-step S402, the environmental data records are analyzed, including the changing trends of temperature and humidity, and the impact on the optical disc data reading and writing process is evaluated. By analyzing the impact of temperature and humidity on the physical and chemical properties of the optical disc material, the parameter values that need to be adjusted during the reading and writing process are calculated to analyze the environmental impact. The formula is: ,in, Indicates the adjustment value of the read and write parameters. and are the sensitivity coefficients of temperature and humidity on read and write parameters, and It is the change in temperature and humidity. By multiplying the change in temperature and humidity with their respective sensitivity coefficients, the read and write parameter adjustment values are estimated to generate the environmental impact analysis results.
[0035] S403: Apply the environmental impact analysis results, adjust the read and write parameters to match the environmental changes, optimize the data access response, and obtain the environmental matching read and write parameters. In sub-step S403, the results of the environmental impact analysis are applied to adjust the read and write parameters to match the changes in the current environment, including modifying sensitive parameters on the data read and write devices to match the changes in environmental conditions, optimize the data access response and the stability of device operation. The formula is ,in, For the adjusted read and write parameters, is the original read and write parameter, Adjust the parameter values caused by environmental changes to ensure that the read and write parameters respond to environmental changes in real time, ensure the accuracy and response speed of data access, and obtain environmental matching read and write parameters.
[0036] See also Figure 6 , using the environment to match the read-write parameters, combined with historical read-write data, identifying read-write errors and errors, adjusting the laser scanning path and reading speed to compensate for the read-write errors, and obtaining the steps of the read-write error compensation parameters are as follows: S501: Matching read and write parameters based on the environment, monitoring read and write errors in the read and write process in real time, recording error types and frequencies, and generating read and write error records. Specifically, the process is as follows; In sub-step S501, read and write parameters are matched based on the environment, read and write errors in the read and write process are monitored in real time, and the error types and frequencies are recorded. Various errors in the read and write process are captured and recorded in real time through data acquisition, including lost data, data dislocation and delay errors. Time series analysis is performed on the target data, and error events are matched with timestamps to generate read and write error records. Error frequency analysis is performed using the formula: ,in, is the error frequency, Representative in the The number of errors recorded during the monitoring interval, Generates read and write error records for the total monitoring time.
[0037] S502: Based on the read and write error records, analyze the data and identify the error mode and frequency, analyze the relationship between the laser scanning path, the reading speed and the read and write errors, and obtain the impact relationship analysis record. The specific process is as follows; In sub-step S502, based on the read-write error records, the data is analyzed and the error patterns and frequencies are identified. The relationship between the laser scanning path, the reading speed and the read-write error is analyzed to obtain the influence relationship analysis record. The multivariate regression analysis is used to analyze the intrinsic relationship between the laser scanning path, the reading speed and the read-write error. The formula is: ,in, Indicates read and write errors, is the laser scanning path parameter, For reading speed, is the intercept, and are the coefficients of path and speed respectively, For error terms, identify the impact of multiple factors on reading and writing errors and generate impact relationship analysis records.
[0038] S503: Based on the influence relationship analysis record, the laser scanning path and the reading speed are adjusted to compensate for the reading and writing errors, and the reading and writing efficiencies before and after the parameter adjustment are compared and evaluated to obtain the reading and writing error compensation parameters. The specific process is as follows; In sub-step S503, based on the influence relationship analysis record, the laser scanning path and reading speed are adjusted to compensate for the read-write error, and the read-write efficiency before and after the parameter adjustment is compared and evaluated to obtain the read-write error compensation parameters, optimize the laser scanning path and reading speed to minimize the read-write error, and evaluate the read-write efficiency after the adjustment. The formula is: ,in, For the adjusted read and write efficiency, is the adjusted reading speed, For the adjusted read and write errors, evaluate the adjustment effect and obtain the read and write error compensation parameters.
[0039] See also Figure 7 , combined with the read-write error compensation parameters, analyzing historical energy consumption data, predicting power demand, adjusting the energy output of the optical drive to optimize power consumption, and generating the optical storage control parameters are as follows: S601: Based on the read-write error compensation parameters, the historical energy consumption data is collected and analyzed, the energy consumption levels of various read-write modes are identified, and the process of generating energy consumption mode analysis data is specifically as follows; In sub-step S601, based on the read-write error compensation parameters, the system collects historical energy consumption data of the storage medium, analyzes the energy consumption of the equipment under the differentiated read-write mode, identifies and records the energy consumption level of each mode, obtains data using energy consumption monitoring sensors, classifies and summarizes data according to the read-write mode, and analyzes the energy consumption mode. The formula is: ,in, represents the total energy consumption of the target read and write mode, For the Energy consumption of class operations, The proportion of the target operation during the observation period is used to evaluate the impact of differentiated read and write operations on the total energy consumption through weighted calculation, and energy consumption pattern analysis data is generated.
[0040] S602: Analyze data according to energy consumption patterns, combine with user behavior patterns, analyze the read and write frequencies of various data types and predict power demand, and obtain the power demand prediction record. Specifically, the process is as follows; In sub-step S602, the data is analyzed according to the energy consumption pattern, combined with the user behavior pattern, the read and write frequency of various data types is analyzed, and the power demand is predicted. Considering the historical data and expected user activities, the impact of the data type and user behavior on the power demand is modeled and the power demand formula is predicted. The formula is: ,in, For time The forecast electricity demand, For the The predicted read and write frequencies of the data types, is the corresponding energy consumption mode, To adjust the coefficient and balance the demand forecast, the power demand is estimated by summing the predicted reading and writing frequencies with the products of the corresponding energy consumption patterns to obtain the power demand forecast record.
[0041] S603: Based on the power demand forecast record, the optical disk drive power setting is adjusted to optimize energy distribution, and the process of obtaining the optical disk storage control parameter is specifically as follows; In sub-step S603, based on the power demand forecast record, the power setting of the optical disk drive is adjusted to optimize energy distribution. The power setting is optimized by adjusting the power settings of multiple drives. The formula is: ,in, For the adjusted power setting, is the maximum safe power limit, As the basic power requirement, is the electricity demand elasticity coefficient, For the predicted electricity demand, Based on the baseline power demand, the power setting is adjusted to cope with the changes in the predicted power demand, ensuring the efficiency and safety of power use, and obtaining the optical disk storage control parameters.
[0042] See also Figure 8 A method for managing an optical disc library is provided. The method for managing an optical disc library is used to execute the above optical disc data storage method. The method for managing an optical disc library comprises: S1: Based on data read and write records, by analyzing the time information, location information, and usage frequency information of historical access data, the access frequency and priority of various data are calculated to obtain access demand forecast information; S2: adjusting the order of the optical disc positions according to the access demand prediction information, building a storage position mapping table, and generating optical disc position adjustment parameters; S3: Based on the optical disk position adjustment parameter, the temperature sensor, the humidity sensor, and the dust level sensor are combined to collect storage environment data to obtain environment status data; S4: Analyze the read and write error times of the optical disc based on the environmental status data, identify the pattern and time series relationship of the read and write errors of the optical disc, and generate a read and write error analysis result; S5: According to the read and write error analysis results, the lifespan change trends of multiple optical discs are calculated, and according to the error frequency changes, maintenance and replacement information is identified and sent to generate optical disc storage control parameters.
[0043] The above are only preferred embodiments of the present invention and are not intended to limit the present invention in other forms. Any technician familiar with the profession may use the technical contents disclosed above to change or modify them into equivalent embodiments with equivalent changes and apply them to other fields. However, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present invention without departing from the technical solution of the present invention still falls within the protection scope of the technical solution of the present invention.
Claims
1. A method for storing data on an optical disc, characterized in that: The following steps are involved: Based on data read and write records, collect users' data access history records, analyze the time-dependent characteristics in users' access patterns, evaluate and record the access frequencies of various data, and obtain access pattern analysis results; Based on the access pattern analysis results, analyze and identify the sorting priorities of various types of data, sort and optimize the location of the data in combination with the access pattern and the physical location of the data, and generate data priority sorting parameters; Based on the data priority sorting parameters, adjusting the laser power and reading speed according to the data type and physical properties, optimizing the reading process to reduce the impact of physical defects, and obtaining a read / write parameter adjustment record; Based on the read-write parameter adjustment record, collect environmental temperature and humidity data in real time, analyze the impact of various environmental factors on data reading and writing, adjust the read-write parameters to match environmental changes, and generate environmental matching read-write parameters; Using the environment to match read and write parameters, combined with historical read and write data, to identify read and write errors and errors, adjust the laser scanning path and reading speed to compensate for the read and write errors, and obtain read and write error compensation parameters; In combination with the read-write error compensation parameters, historical energy consumption data is analyzed to predict power demand, the energy output of the optical disk drive is adjusted to optimize power consumption, and optical disk storage control parameters are generated.
2. The optical disc data storage method according to claim 1, characterized in that: The access pattern analysis results include user access time information, user access frequency information, and user access data type; the data priority sorting parameters include data access count sorting, data type priority, and data physical location optimization parameters; the read-write parameter adjustment records include laser power setting parameters, reading speed change data, and data reading quality assessment information; the environment matching read-write parameters include temperature adjustment parameters, humidity matching adjustment parameters, and the degree of influence of environmental factors on the reading and writing speed; the read-write error compensation parameters include laser scanning path adjustment parameters, reading speed compensation values, and read-write error rate change records; the optical disk storage control parameters include energy consumption prediction data, power demand adjustment records, and energy output optimization parameters.
3. The optical disc data storage method according to claim 1, characterized in that: Based on data read and write records, collect the user's data access history, analyze the time-dependent characteristics in the user's access pattern, evaluate and record the access frequency of various data, and obtain the access pattern analysis results in the following steps: Based on data read and write records, collect users' data access history records, record the number of accesses to various data, and obtain access frequency records; Analyze the access frequency records, analyze and identify access times and frequencies of multiple data types, and obtain time feature evaluation information; Based on the time feature evaluation information, the user behavior pattern is analyzed, the access frequency of various data types is evaluated and predicted, and the access pattern analysis result is obtained.
4. The optical disc data storage method according to claim 1, characterized in that: Based on the access pattern analysis results, the sorting priorities of various types of data are analyzed and identified, and the data is sorted and the location is optimized in combination with the access pattern and the physical location of the data. The steps of generating data priority sorting parameters are as follows: Based on the access pattern analysis results, identifying access patterns of various data, evaluating access urgency of data types, and generating urgency evaluation results; Based on the urgency assessment result and in combination with the physical storage location of the data, a greedy algorithm is used to analyze and optimize the data storage order to obtain a data sorting optimization result; According to the data sorting optimization result, the location of the data on the physical storage device is adjusted to optimize the access efficiency and response time, and the data priority sorting parameters are obtained.
5. The optical disc data storage method according to claim 4, characterized in that: The greedy algorithm, according to the formula: ; Compute the order in which data is stored and accessed, where For the The optimization score of the data, For the The storage priority score of the data, For the The access frequency of the data, For the The urgency assessment results of the data are as follows: For the The physical distance of the data to the storage device, is the weight coefficient for storing the priority score, is the weight coefficient of access frequency, It is the adjustment parameter of the urgency assessment result.
6. The optical disc data storage method according to claim 1, characterized in that: Based on the data priority sorting parameters, the laser power and reading speed are adjusted according to the data type and physical properties, the reading process is optimized to reduce the impact of physical defects, and the steps of obtaining the read-write parameter adjustment record are specifically as follows: Based on the data priority sorting parameters, analyzing and identifying the laser power requirements of multiple data types, adjusting the laser power to match the data access frequency, optimizing the data signal strength of multiple optical disc areas, and obtaining laser power setting parameters; According to the laser power setting parameters, according to the physical storage locations of the multiple data, the reading speed is analyzed and adjusted to optimize the data reading response time and reduce the reading error, and the reading speed adjustment result is generated; According to the reading speed adjustment result, the reading and writing speed and error rate of the reading and writing process are analyzed, the fluency and efficiency of the reading and writing process are evaluated and recorded, and the reading and writing parameter adjustment record is obtained.
7. The optical disc data storage method according to claim 1, characterized in that: Based on the read-write parameter adjustment record, real-time collection of environmental temperature and humidity data, analysis of the impact of various environmental factors on data reading and writing, adjustment of read-write parameters to match environmental changes, and generation of environmental matching read-write parameters are specifically as follows: Based on the read-write parameter adjustment record, the temperature and humidity data of the current environment are collected in real time, the environmental parameters are recorded, and the environmental data record is obtained; Analyzing the environmental data records, evaluating the impact of temperature and humidity changes on the optical disk data reading and writing process, analyzing and identifying the required reading and writing parameter adjustment values, and generating environmental impact analysis results; The environmental impact analysis result is applied to adjust the read and write parameters to match the environmental changes, optimize the data access response, and obtain the environmental matching read and write parameters.
8. The optical disc data storage method according to claim 1, characterized in that: The steps of using the environment to match the read-write parameters, combining historical read-write data, identifying read-write errors and errors, adjusting the laser scanning path and reading speed to compensate for the read-write errors, and obtaining the read-write error compensation parameters are specifically as follows: Matching read and write parameters based on the environment, monitoring read and write errors in the read and write process in real time, recording error types and frequencies, and generating read and write error records; Based on the read and write error records, analyzing data and identifying error patterns and frequencies, analyzing the relationship between the laser scanning path, reading speed and read and write errors, and obtaining an impact relationship analysis record; Based on the influence relationship analysis record, the laser scanning path and the reading speed are adjusted to compensate for the reading and writing errors, and the reading and writing efficiencies before and after the parameter adjustment are compared and evaluated to obtain the reading and writing error compensation parameters.
9. The optical disc data storage method according to claim 1, characterized in that: The steps of combining the read-write error compensation parameters, analyzing historical energy consumption data, predicting power demand, adjusting the energy output of the optical disk drive to optimize power consumption, and generating the optical disk storage control parameters are as follows: Based on the read / write error compensation parameters, historical energy consumption data is collected and analyzed, energy consumption levels of multiple read / write modes are identified, and energy consumption mode analysis data is generated; Analyze the data according to the energy consumption pattern, combine it with the user behavior pattern, analyze the reading and writing frequency of various data types and predict the power demand, and obtain the power demand prediction record; Based on the power demand forecast record, the power setting of the optical disk drive is adjusted to optimize energy distribution and obtain the optical disk storage control parameters.
10. A method for managing an optical disk library, characterized in that: According to the optical disc data storage method according to any one of claims 1 to 9, the optical disc library management method comprises: Based on the data read and write records, by analyzing the time information, location information, and usage frequency information of historical access data, the access frequency and priority of various data are calculated to obtain access demand prediction information; According to the access demand prediction information, the optical disc position sequence is adjusted, and a storage position mapping table is constructed to generate optical disc position adjustment parameters; Based on the optical disk position adjustment parameter, in combination with a temperature sensor, a humidity sensor, and a dust level sensor, environmental data is collected and stored to obtain environmental status data; Based on the environmental status data, the optical disc read and write error frequency data is analyzed to identify the pattern and time series relationship of the optical disc read and write errors, and generate a read and write error analysis result; According to the read-write error analysis results, the life-span change trends of multiple optical discs are calculated, and according to the error frequency changes, maintenance and replacement information is identified and sent to generate optical disc storage control parameters.