A method and system for reading data from a memory chip

By dynamically generating keys and environmental risk assessment to select encryption algorithms, and dynamically adjusting the performance of the memory chip based on user behavior and environmental status, it solves the security, adaptability and failure prediction issues in the memory chip data reading method and achieves higher data transmission security and system stability.

CN118484151BActive Publication Date: 2024-10-15SHENZHEN COMOS INTELLIGENT TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410943326.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-10-15
Estimated Expiration
2044-07-15

AI Technical Summary

Technical Problem

Existing memory chip data reading methods have insufficient data transmission security, poor environmental adaptability, lack of dynamic optimization mechanisms, and weak fault prediction and automatic repair capabilities, making it impossible to dynamically optimize performance in complex and changeable environments.

Method used

Encrypted data transmission is performed by dynamically generating keys, designing initial command sequences based on environmental conditions, analyzing user behavior data to adjust reading speed and power configuration, and executing fault prediction and automatic repair mechanisms to optimize memory chip performance.

Benefits of technology

It improves the security and environmental adaptability of data transmission, dynamically adjusts reading speed and power configuration to improve overall performance, reduces downtime and data loss risks, and improves the long-term stability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118484151B_ABST
    Figure CN118484151B_ABST
Patent Text Reader

Abstract

The present invention discloses a data reading method and system for a storage chip, and relates to the technical field of data reading, including: dynamically generating keys for all data from the storage chip to the processor and performing encrypted data transmission; designing an initial command sequence according to the environmental state of the storage chip, and dynamically adjusting the command sequence; decrypting encrypted data, analyzing user behavior data, predicting data access requirements, adjusting the reading speed and power configuration based on the data access requirements, and optimizing the performance of the storage chip; performing fault prediction on the optimized storage chip, automatically identifying signs of hardware failure, and reconfiguring the storage chip. The data reading method for the storage chip provided by the present invention improves the security of data transmission by dynamically generating keys and environmental risk assessment. The performance of the storage chip under different environmental conditions is optimized to ensure the stability of data access. The overall performance is improved. Downtime and data loss risks are reduced, and long-term stability is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data reading, and in particular to a method and system for reading data from a storage chip. Background Art

[0002] In modern data processing and storage systems, memory chips, as core components of data storage, are responsible for storing, reading and transmitting large amounts of data.

[0003] With the rapid development of big data, cloud computing and the Internet of Things, storage chips need to work in more complex environments while meeting higher performance and security requirements.

[0004] At present, the storage chip data reading method mainly has the following problems:

[0005] Traditional data encryption methods are relatively fixed and difficult to cope with complex and changing security threats, making data vulnerable to attacks and tampering during transmission.

[0006] Existing memory chips usually lack optimization measures for environmental conditions (such as temperature, humidity, voltage fluctuations, etc.), resulting in performance degradation or even failure in harsh environments.

[0007] Many storage chips lack real-time adjustment and optimization mechanisms and are unable to make dynamic adjustments based on actual user behavior data and environmental changes, affecting data access efficiency and system performance.

[0008] The existing technology has an imperfect fault prediction and automatic repair mechanism for storage chips, which can easily lead to long system downtime after a system failure, affecting data security and system stability. Summary of the invention

[0009] The present invention is proposed in view of the above-mentioned problems.

[0010] Therefore, the technical problem solved by the present invention is: the existing storage chip data reading method has the problems of insufficient data transmission security, poor environmental adaptability, lack of dynamic optimization mechanism, and weak fault prediction and automatic repair capabilities, as well as how to dynamically optimize the performance of storage chips in a complex and changing environment.

[0011] In order to solve the above technical problems, the present invention provides the following technical solutions: a method for reading data from a memory chip, comprising:

[0012] Dynamically generate keys for all data from the memory chip to the processor and perform encrypted data transmission;

[0013] Design the initial command sequence according to the environmental status of the storage chip and dynamically adjust the command sequence;

[0014] Decrypt encrypted data, analyze user behavior data, predict data access needs, adjust read speed and power configuration based on data access needs, and optimize storage chip performance;

[0015] Perform fault prediction on optimized memory chips, automatically identify signs of hardware failure, and reconfigure memory chips.

[0016] As a preferred solution of the data reading method of the storage chip of the present invention, wherein: the dynamic key generation includes collecting data content characteristics, access frequency records and environmental factors of the transmission path, and constructing a data set after preprocessing all data;

[0017] Evaluate the data sensitivity in the data set, output the sensitivity score, calculate the access frequency score based on the sensitivity score, calculate the environmental risk score using the access frequency score and the risk level of environmental factors, and determine the encryption algorithm based on the environmental risk score.

[0018] As a preferred solution of the data reading method of the memory chip of the present invention, wherein: the sensitivity score is expressed as,

[0019] ;

[0020] in, represents the sensitivity score, Represents a data item The probability of appearing in the data set, Represents a data item The weight of

[0021] The access frequency score is expressed as,

[0022] ;

[0023] in, represents the visit frequency score, represents the time-weighted average access frequency, represents the adjusted average access frequency, Indicates the number of data accesses within a specific time interval, express The factorial of

[0024] The environmental risk score is expressed as,

[0025] ;

[0026] in, represents the environmental risk score, Indicates environmental factors The weight of Indicates environmental factors the risk level;

[0027] like <0.1, it is judged as a low-risk environment and the AES-128 encryption algorithm is selected. If 0.1≤ ≤ 0.3, it is judged as a medium-risk environment and the AES-256 encryption algorithm is selected. >0.3, it is judged as a high-risk environment and the ECC encryption algorithm is selected.

[0028] As a preferred solution of the data reading method of the memory chip of the present invention, the encrypted data transmission includes applying an excitation signal to the physical unclonable function PUF structure of the memory chip, reading the generated response signal from the PUF structure, and The determined encryption algorithm encrypts the read response signal to generate the device physical key ;

[0029] The encrypted data transmission includes using a physical key Generate a session key and encrypt the data, transmit the encrypted data, and decrypt it using the same physical key.

[0030] As a preferred solution of the data reading method of the storage chip of the present invention, the environmental data of the storage chip includes temperature, humidity, voltage and network status data collected by sensors;

[0031] Standardize the collected environmental status data, select key features from the standardized data, create features based on the key features, reflect the relationship between different environmental factors, and establish a performance evaluation model;

[0032] The key characteristics include temperature characteristics, humidity characteristics, voltage characteristics and network characteristics;

[0033] Temperature features include average temperature and temperature fluctuation range; humidity features include average humidity and humidity fluctuation range; voltage features include average voltage and voltage fluctuation range; network features include average delay and bandwidth utilization;

[0034] The performance evaluation model is established based on the features created in the feature creation step, a multivariate linear regression model is used to describe the impact of environmental features on performance indicators, historical data is used to train the multivariate linear regression model, and a cross-validation method is used to verify the multivariate linear regression model. According to the output results, an initial command sequence is designed; the dynamic adjustment of the command sequence includes dynamically adjusting the command sequence using a cyclic scheduling algorithm.

[0035] As a preferred solution of the data reading method of the storage chip described in the present invention, wherein: the predicted data access demand includes analyzing the user's historical access pattern through a machine learning method, using time series analysis to predict future data access demand, and adjusting the reading speed and power configuration according to the prediction results.

[0036] As a preferred solution of the data reading method of the storage chip described in the present invention, the execution of fault prediction includes real-time monitoring of the operating status of the storage chip, recording historical fault information, establishing a fault prediction model to predict potential hardware faults, and when a potential fault is detected, executing a repair operation and reconfiguring the storage chip.

[0037] Another object of the present invention is to provide a data reading system for a storage chip, which can solve the problems of insufficient data transmission security, poor environmental adaptability, lack of dynamic optimization mechanism, and weak fault prediction and automatic repair capabilities by constructing a data reading system for a storage chip.

[0038] In order to solve the above technical problems, the present invention provides the following technical solutions: a data reading system for a storage chip, comprising: an encryption transmission module, a command optimization module, a performance optimization module and a fault repair module;

[0039] The encryption transmission module is an encryption transmission module used to dynamically generate keys for all data from the storage chip to the processor and perform encrypted data transmission;

[0040] The command optimization module is a command optimization module used to design an initial command sequence according to the environmental state of the storage chip and dynamically adjust the command sequence;

[0041] The performance optimization module is used to decrypt encrypted data, analyze user behavior data, predict data access requirements, adjust the reading speed and power configuration based on data access requirements, and optimize the performance of the storage chip;

[0042] The fault repair module is a fault repair module used to perform fault prediction on the optimized storage chip, automatically identify signs of hardware failure, and reconfigure the storage chip.

[0043] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the data reading method of the storage chip as described above when executing the computer program.

[0044] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the data reading method of the storage chip as described above.

[0045] Beneficial effects of the present invention: The data reading method of the storage chip provided by the present invention selects the optimal encryption algorithm through dynamic key generation and environmental risk assessment to improve the security of data transmission. By real-time monitoring and dynamic adjustment of command sequences, the performance of the storage chip under different environmental conditions is optimized to ensure the stability of data access. By using user behavior data and environmental status data, the reading speed and power configuration are dynamically adjusted to improve the overall performance. Through fault prediction and automatic repair mechanism, downtime and data loss risks are reduced, and long-term stability is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0047] Figure 1 An overall flow chart of a data reading method for a memory chip provided by an embodiment of the present invention.

[0048] Figure 2 This is an overall structural diagram of a data reading system for a memory chip provided in a second embodiment of the present invention. DETAILED DESCRIPTION

[0049] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0050] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0051] Example 1

[0052] Reference Figure 1 , as an embodiment of the present invention, provides a data reading method of a memory chip, comprising:

[0053] Dynamically generate keys for all data from the memory chip to the processor and perform encrypted data transmission;

[0054] Design the initial command sequence according to the environmental status of the storage chip and dynamically adjust the command sequence;

[0055] Decrypt encrypted data, analyze user behavior data, predict data access needs, adjust read speed and power configuration based on data access needs, optimize storage chip performance, and reduce failure rates;

[0056] Perform fault prediction on optimized memory chips, automatically identify signs of hardware failure, and reconfigure memory chips.

[0057] The dynamic key generation includes collecting data content characteristics, access frequency records and environmental factors of the transmission path, and constructing a data set after preprocessing all data;

[0058] Evaluate the data sensitivity in the data set, output the sensitivity score, combine the sensitivity score, calculate the access frequency score, use the access frequency score and the risk level of the environmental factor to calculate the environmental risk score, and determine the encryption algorithm based on the environmental risk score. The sensitivity score is expressed as,

[0059] ;

[0060] in, represents the sensitivity score, Represents a data item The probability of appearing in the data set, Represents a data item The weight of , reflecting its sensitivity;

[0061] The access frequency score is expressed as,

[0062] ;

[0063] in, represents the visit frequency score, represents the time-weighted average access frequency, represents the adjusted average access frequency, Indicates the number of data accesses within a specific time interval, express The factorial of

[0064] The environmental risk score is expressed as,

[0065] ;

[0066] in, represents the environmental risk score, Indicates environmental factors The weight of each factor is set according to the environmental factors of the transmission path. Indicates environmental factors the risk level;

[0067] Environmental factors The risk level is determined by normalizing latency, bandwidth utilization, and packet loss rate.

[0068] like <0.1, it is judged as a low-risk environment and the AES-128 encryption algorithm is selected. If 0.1≤ ≤ 0.3, it is judged as a medium-risk environment and the AES-256 encryption algorithm is selected. >0.3, it is judged as a high-risk environment and the ECC encryption algorithm is selected.

[0069] The encrypted data transmission includes applying an excitation signal to the physical unclonable function PUF structure of the storage chip, reading a generated response signal from the PUF structure, and The determined encryption algorithm encrypts the read response signal to generate the device physical key .

[0070] Stimulation signal application process: Connect the voltage source to the PUF structure of the memory chip. Apply a preset voltage pulse signal to stimulate the PUF structure to generate a response signal.

[0071] Reading response signal process: Use a high-precision analog-to-digital converter (ADC) to read the PUF response signal. Convert the response signal into digital form.

[0072] The encrypted data transmission includes using a physical key Generate a session key and encrypt the data, transmit the encrypted data, and decrypt it using the same physical key.

[0073] Data content characteristics can reflect the sensitivity of data, access frequency records can reflect the usage habits and frequency of data, and environmental factors of the transmission path include the current network status and potential threat levels. By combining data content characteristics, access frequency records and environmental factors of the transmission path, dynamic keys are generated in real time.

[0074] Based on the dynamically generated keys, the encryption algorithm that best suits the current environment and data characteristics is selected. AES-128 provides fast encryption and decryption processing, suitable for low-risk environments; AES-256 provides stronger security in high-risk environments; ECC can provide high security while maintaining low computing overhead.

[0075] During the encryption process, the data is first encrypted using the generated dynamic key. Subsequently, the encrypted data is encrypted a second time using a device-specific physical key generated by a physical unclonable function (PUF). The double encryption mechanism ensures that even if the primary encryption key is cracked, the data is still protected by the secondary encryption, further improving the security of data transmission.

[0076] PUF generates a device-specific physical key to increase the uniqueness of data encryption. PUF uses tiny, random physical differences in the device manufacturing process to generate a unique physical key. These differences cannot be copied, and the key generated by PUF is extremely unique and secure.

[0077] On the basis of dynamically generated keys, double encryption is performed in combination with the physical key generated by PUF, which not only increases the uniqueness of data encryption, but also makes it impossible for attackers to crack the data even if they obtain the dynamic key, because the PUF key used in the secondary encryption is unique and cannot be copied.

[0078] The environmental data of the storage chip includes temperature, humidity, voltage and network status data collected through sensors;

[0079] Standardize the collected environmental status data, select key features from the standardized data, create features based on the key features, reflect the relationship between different environmental factors, and establish a performance evaluation model;

[0080] Through feature selection, key features that can significantly affect the performance of memory chips are identified. Through feature creation, the data set is further enriched, the potential connections between key features are revealed, and the predictive ability of the model is improved.

[0081] The key characteristics include temperature characteristics, humidity characteristics, voltage characteristics and network characteristics;

[0082] Temperature features include average temperature and temperature fluctuation range; humidity features include average humidity and humidity fluctuation range; voltage features include average voltage and voltage fluctuation range; network features include average delay and bandwidth utilization;

[0083] The performance evaluation model is established based on the features created in the feature creation step, a multivariate linear regression model is used to describe the impact of environmental features on performance indicators, historical data is used to train the multivariate linear regression model, and a cross-validation method is used to verify the multivariate linear regression model. An initial command sequence is designed based on the output results; feature creation includes creating new features through feature engineering to reflect the relationship between different environmental factors, including interaction features, nonlinear features and combination features.

[0084] The interaction features include the interaction features of the temperature feature and the humidity feature, which are expressed as average temperature*average humidity.

[0085] The interaction characteristics of temperature characteristics and voltage characteristics are expressed as average temperature*average voltage.

[0086] The interaction characteristics of temperature and network characteristics are expressed as average temperature*average delay and average temperature*bandwidth utilization.

[0087] The interaction characteristics of humidity and voltage are expressed as average humidity*average voltage.

[0088] The interaction characteristics of humidity characteristics and network characteristics are expressed as average humidity * average delay and average humidity * bandwidth utilization.

[0089] The interaction characteristics of voltage characteristics and network characteristics are expressed as average voltage*average delay and average voltage*bandwidth utilization.

[0090] Nonlinear features involve nonlinear transformation of key features to capture complex relationships between features, including:

[0091] The square and square root terms of the temperature characteristic are expressed as the square of the mean temperature and the square root of the mean temperature.

[0092] The square and square root terms of humidity characteristics are expressed as the square of the mean humidity and the square root of the mean humidity.

[0093] The square term and square root term of the voltage characteristic are expressed as the square of the average voltage and the square root of the average voltage.

[0094] The square and square root terms of network characteristics are expressed as the square of the average delay and the square root of the average delay, and the square of the bandwidth utilization and the square root of the bandwidth utilization.

[0095] Combined features combine different features to generate new combined features, including:

[0096] The combined characteristics of the temperature fluctuation range and the humidity fluctuation range are expressed as temperature fluctuation range + humidity fluctuation range.

[0097] The combined characteristics of the temperature fluctuation range and the voltage fluctuation range are expressed as temperature fluctuation range + voltage fluctuation range.

[0098] The combined features of temperature fluctuation range and network characteristics are expressed as temperature fluctuation range + average delay and temperature fluctuation range + bandwidth utilization.

[0099] The combined characteristics of the humidity fluctuation range and the voltage fluctuation range are expressed as humidity fluctuation range + voltage fluctuation range.

[0100] The combined features of humidity fluctuation range and network characteristics are expressed as humidity fluctuation range + average delay and humidity fluctuation range + bandwidth utilization.

[0101] The combined features of voltage fluctuation range and network characteristics are expressed as voltage fluctuation range + average delay and voltage fluctuation range + bandwidth utilization.

[0102] A multivariate linear regression model is established to describe the impact of environmental characteristics on the performance indicators of storage chips. The specific steps are as follows:

[0103] All key features and their interactions and nonlinear transformations are taken as input variables, and the comprehensive performance index PI of the memory chip is taken as the output variable.

[0104] Based on historical data, a multivariate linear regression model is trained. The least squares method is used to determine the regression coefficient of each feature to ensure that the model can accurately predict the comprehensive performance indicators.

[0105] The performance index PI is calculated and the accuracy of the model is verified by cross-validation. The data is divided into a training set and a validation set. By alternating training and validation, the performance of the model on different data sets is evaluated to ensure that it has good generalization ability.

[0106] According to the output results of the performance evaluation model, the impact of different environmental characteristics on storage performance is analyzed. The comprehensive performance index PI will comprehensively consider the contribution value of each feature and reflect the overall performance status of the storage chip in the current environment.

[0107] The first performance threshold and the second performance threshold are determined by analyzing the comprehensive performance index PI corresponding to the high performance state in the historical data, which is expressed as:

[0108] ;

[0109] in, represents the first performance threshold, represents the second performance threshold, and are the average PI values ​​in high performance and low performance states, respectively. and are the corresponding standard deviations, is the adjustment factor.

[0110] Based on comprehensive performance indicators PI and environmental risk scores , divide it into different intervals and generate the initial command sequence.

[0111] When the PI is higher than the first performance threshold and the environmental risk score is lower than the high risk threshold, it is judged to be in the high performance range, and the current read and write operation frequency is maintained to ensure efficient operation. The initial command sequence can include high-frequency read and write operations to ensure fast data transmission, while appropriately increasing heat dissipation operations.

[0112] When the PI is between the first performance threshold and the second performance threshold, or the environmental risk score is in the medium risk interval, it is judged to be in the medium performance interval, increase read operations, reduce continuous write operations, avoid local overheating, and increase idle time to allow cooling. The initial command sequence should balance read and write operations, increase appropriate cooling time, and adjust the operation frequency appropriately.

[0113] When the PI is lower than the second performance threshold or the environmental risk score is higher than the high risk threshold, it is judged to be in the low performance range, and the command sequence is urgently optimized to reduce various high-risk operations and ensure the stability of the storage chip. The initial command sequence should minimize high-frequency operations and increase more cooling and recovery time to ensure safe operation.

[0114] The calculation of PI comprehensively considers the impact of multi-dimensional environmental factors such as temperature, humidity, voltage and network characteristics on the performance of storage chips, and provides a comprehensive performance evaluation. The calculation of Sr further reflects the potential risks of environmental conditions to storage chips, comprehensively considers the weights of various environmental factors, and provides a comprehensive evaluation of environmental risks. By combining PI and Sr, the impact of the environment on the performance and security of storage chips can be more comprehensively and accurately evaluated.

[0115] Environmental conditions change dynamically. By real-time monitoring of environmental data and dynamically updating the performance evaluation model, the impact of the current environment on the storage chip can be reflected in a timely manner. Combined with real-time calculation of PI and Sr, the command sequence can be adjusted dynamically to adapt to environmental changes more flexibly and ensure that it is always in the best operating state.

[0116] Based on the comprehensive judgment of PI and Sr, resource allocation can be optimized in the high-performance range, medium-performance range, and low-performance range to improve operating efficiency. In the high-performance range, maintain efficient operation; in the medium-performance range, balance performance and safety; in the low-performance range, prioritize stability and safety. More accurately control the operating status of the storage chip to avoid misjudgment caused by a single indicator.

[0117] Maintain efficient operation in the high-performance range, maximize the use of hardware resources, and improve data transmission speed and processing capabilities. Through reasonable command sequence design, reduce resource contention and conflicts, and improve overall operating efficiency.

[0118] In the medium and low performance ranges, the command sequence is dynamically adjusted to optimize the read and write operation frequency and cooling time to ensure stable operation under different environmental conditions.

[0119] In high-risk environments, the risk of hardware failure is reduced and security is enhanced by reducing high-frequency operations and increasing recovery time.

[0120] By real-time monitoring of environmental data and dynamically adjusting performance evaluation models, it can flexibly adapt to environmental changes and maintain optimal operating conditions. Dynamic adjustment of command sequences improves the response speed and adaptability to environmental changes, ensuring the continuity and reliability of data transmission and processing.

[0121] Combined with the comprehensive judgment of PI and Sr, optimize resource allocation and improve energy efficiency management. In the high-performance range, make full use of resources; in the medium and low performance range, reasonably allocate resources, balance performance and energy consumption, and improve energy efficiency.

[0122] The dynamically adjusting the command sequence includes dynamically adjusting the command sequence using a circular scheduling algorithm to balance read and write operations and reduce resource contention and conflict.

[0123] Continuously monitor environmental data, including temperature, humidity, voltage, and network status. Collect real-time operation data of storage chips, including read and write operation frequency, storage utilization, and load.

[0124] Based on the latest environmental data and operation data, the performance evaluation model is updated in real time to calculate the latest comprehensive performance index PI and environmental risk score Sr.

[0125] Determine the current performance range based on the real-time calculated PI and Sr.

[0126] Determine the currently appropriate command sequence strategy to ensure optimal operation in different performance ranges.

[0127] The basic principle of the round-robin scheduling algorithm is to allocate resources to each operation in turn according to a fixed time slice to ensure that each operation has a chance to be executed and avoid some operations not being executed for a long time.

[0128] All pending read and write operations are added to the scheduling queue in a certain order. The scheduling queue can be sorted based on factors such as priority and arrival time.

[0129] A fixed time slice is allocated to each operation to ensure that each operation is executed within a time slice. The size of the time slice can be dynamically adjusted based on the load and operation type.

[0130] According to the rules of the round-robin scheduling algorithm, operations are taken out from the scheduling queue in turn, and the corresponding read and write operations are performed.

[0131] If an operation fails to complete within the allocated time slice, it is re-added to the end of the queue and waits for the next round of scheduling.

[0132] Dynamically adjust the time slice size and scheduling strategy based on real-time monitoring of load and environmental data.

[0133] In high-performance ranges, the time slice is shortened appropriately to improve response speed. In low-performance ranges, the time slice is extended appropriately to reduce the overhead caused by frequent switching and ensure stability.

[0134] When performing read and write operations, resource usage is monitored in real time to avoid resource contention and conflicts.

[0135] Use resource locking and priority promotion mechanisms to ensure that high-priority and critical operations are executed in a timely manner and avoid operation delays caused by resource contention.

[0136] Through the circular scheduling algorithm, it ensures that read and write operations are executed evenly, avoids some operations from being executed for a long time, and improves response speed and data access efficiency. Dynamic adjustment of command sequences can effectively reduce resource contention and conflict, and avoid performance degradation and operation delays caused by resource contention. Through real-time monitoring and dynamic adjustment, the scheduling strategy can be flexibly adjusted in different performance ranges to ensure efficient use of resources. In high-load and high-risk environments, the load can be effectively reduced by appropriately extending the time slice and reducing high-frequency operations. Dynamic adjustment of command sequences can also adjust operation strategies in time when environmental conditions change to ensure stable operation. Dynamic adjustment of command sequences improves operation efficiency and response speed by balancing read and write operations and reducing resource contention, and improves user experience. By optimizing resource allocation and operation scheduling, it ensures efficient operation under different environmental conditions and improves overall performance.

[0137] The predicting of data access demand includes analyzing the user's historical access pattern through machine learning methods, using time series analysis to predict future data access demand, and adjusting the reading speed and power configuration according to the prediction results.

[0138] Collect users' historical access records, including access time, access frequency, data volume, etc. Collect environmental status (temperature, humidity, etc.) and operating status (read and write frequency, power consumption, etc.) data.

[0139] The collected historical access data and environmental data are cleaned to remove noise and outliers, and are standardized to ensure data consistency and comparability.

[0140] Extract features from the cleaned data, including time features (hours, weeks, etc.), data features (number of visits, visit frequency, etc.) and environmental features (temperature, humidity, etc.).

[0141] Choose time series forecasting models, including ARIMA and LSTM.

[0142] Use the extracted features and historical access data to train the machine learning model. Split the dataset into a training set and a test set, use the training set to train the model, and use the test set to verify the model's prediction accuracy.

[0143] The mean square error was used to evaluate the predictive performance of the model to ensure that the model had good predictive ability.

[0144] Use the trained model to predict data access demand in the future, generate prediction results, analyze the prediction results, and determine whether there will be sudden data access demand during future access peak periods, trough periods, and short periods of time.

[0145] The read speed and power configuration of the memory chip are adjusted according to the prediction results.

[0146] When access peaks are predicted, increase the read speed of the storage chip, reduce the latency of data access, ensure quick response to user requests, configure more I / O channels, and increase data transmission bandwidth. Increase the power supply voltage and current to ensure stable operation of the storage chip under high load, start the backup power supply or increase power supply redundancy to prevent system failures caused by insufficient power supply. Increase heat dissipation measures, start additional cooling fans or turn on the liquid cooling system to prevent performance degradation caused by overheating. Dynamically adjust the fan speed and automatically adjust according to real-time temperature changes. Increase the allocation of processors and memory to improve data processing and caching capabilities. Start the load balancing strategy to assign tasks to multiple processing units to reduce the pressure on a single processing unit.

[0147] When a low access period is predicted, reduce the reading speed of the storage chip, reduce power consumption, and extend the life of the hardware. Reduce the use of I / O channels and reduce data transmission bandwidth. Reduce the power supply voltage and current to reduce energy consumption and reduce operating costs. Turn off the backup power supply or reduce power supply redundancy to optimize resource utilization. Reduce cooling measures, reduce fan speed or turn off some cooling fans to save energy. Dynamically adjust the operating status of the cooling device according to real-time temperature changes to maintain proper temperature control. Reduce the allocation of processors and memory, allocate resources to other required tasks, and improve the overall efficiency of the system. Stop the load balancing strategy, centralize task processing, and improve the utilization of a single processing unit.

[0148] When it is predicted that there will be sudden data access needs in a short period of time, temporarily increase the reading speed of the storage chip to ensure that the system can quickly respond to sudden needs. Temporarily open more I / O channels to increase data transmission bandwidth to meet sudden access needs. Increase the power supply voltage and current for a short period of time to ensure that the storage chip can operate stably under sudden loads. Start a temporary backup power supply to provide additional power support. Temporarily increase heat dissipation measures, such as quickly starting additional cooling fans or turning on emergency cooling mode to prevent overheating. According to real-time temperature changes, quickly adjust the fan speed to ensure that the chip operates within a safe temperature range. Temporarily increase the allocation of processors and memory to improve data processing and caching capabilities. Start an emergency load balancing strategy to quickly assign tasks to multiple processing units to relieve the pressure on a single unit.

[0149] The execution of fault prediction includes real-time monitoring of the operating status of the storage chip, recording historical fault information, establishing a fault prediction model to predict potential hardware failures, and when potential failures are detected, performing repair operations, reconfiguring the storage chip, restoring normal operating status and minimizing data loss.

[0150] Building a fault prediction model involves using sensors and monitoring software to monitor the operating status of storage chips in real time, including temperature, voltage, read and write rates, error rates, etc.

[0151] Collect and record monitoring data in real time and store it in a database. Extract key features, including temperature changes, voltage fluctuations, read and write error rates, etc. Use statistical analysis and machine learning techniques to analyze data features and identify potential signs of failure.

[0152] The fault prediction model is established by using historical fault data. The present invention adopts the random forest method, uses historical data for training, and performs cross-validation to ensure the accuracy of the model.

[0153] Input monitoring data in real time and use the trained fault prediction model to make predictions. Output prediction results, including fault probability and possible fault types.

[0154] Example 2

[0155] Reference Figure 2 , as an embodiment of the present invention, provides a data reading system of a storage chip, comprising:

[0156] Encrypted transmission module, command optimization module, performance optimization module and fault repair module.

[0157] The encryption transmission module is used to dynamically generate keys for all data from the storage chip to the processor and perform encrypted data transmission.

[0158] The command optimization module is used to design an initial command sequence according to the environmental status of the storage chip and dynamically adjust the command sequence.

[0159] The performance optimization module is used to decrypt encrypted data, analyze user behavior data, predict data access requirements, adjust the reading speed and power configuration based on data access requirements, and optimize the performance of storage chips.

[0160] The fault repair module is used to perform fault prediction on the optimized storage chip, automatically identify signs of hardware failure, and reconfigure the storage chip.

[0161] Example 3

[0162] An embodiment of the present invention is different from the first two embodiments in that:

[0163] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0164] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0165] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0166] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0167] Example 4

[0168] As an embodiment of the present invention, a method for reading data from a storage chip is provided. In order to verify the beneficial effects of the present invention, a scientific demonstration is carried out through simulation experiments.

[0169] The beneficial effects of the storage chip data reading method of the present invention in terms of data transmission security, environmental adaptability, dynamic optimization, fault prediction and automatic repair are verified, and the feasibility of the technical solution is proved.

[0170] The experimental scheme was divided into an experimental group and a control group.

[0171] The experimental group adopted the storage chip data reading method of the present invention, and the control group adopted the traditional storage chip data reading method.

[0172] Test the probability of interception and tampering during data transmission. Analyze the encryption strength and transmission security of data transmission.

[0173] Test the performance changes of memory chips under different temperature, humidity and voltage conditions. Monitor the impact of environmental changes on data reading speed and error rate.

[0174] The test dynamically adjusts the read speed and power configuration according to user behavior data during actual use. Compare the optimization degree of data access efficiency and system performance.

[0175] Test the fault prediction and automatic repair capabilities of storage chips during operation. Record system downtime and data loss.

[0176] The experimental group used dynamic key generation and encrypted data transmission, while the control group used traditional fixed key encrypted data transmission.

[0177] Simulate network attacks and monitor the success rate of data interception and tampering.

[0178] Environmental parameter settings: Set different temperature (25°C, 40°C, 60°C), humidity (30%, 60%, 90%) and voltage (±10% fluctuation) conditions.

[0179] The data reading speed and error rate were recorded under each environmental condition.

[0180] Generate behavioral patterns that simulate how users access data.

[0181] The experimental group dynamically adjusted the read speed and power configuration based on user behavior data. The control group did not make dynamic adjustments. Data access efficiency and system performance were recorded.

[0182] Simulate various hardware failures of memory chips during operation. The experimental group records the failure prediction and automatic repair. The control group records the manual repair after the failure occurs.

[0183] The system downtime and data loss are recorded. The experimental results are shown in Table 1.

[0184] Table 1 Comparison of experimental results

[0185]

[0186] By comparing the experimental results of the experimental group and the control group, it was found that in terms of data transmission security, the probability of data being intercepted and tampered with in the experimental group was significantly lower than that in the control group, and the encryption strength generated by dynamic keys was higher, ensuring the security of data transmission.

[0187] In terms of environmental adaptability, the experimental group showed higher reading speed and lower error rate under different temperature, humidity and voltage conditions, proving its stronger environmental adaptability.

[0188] In terms of dynamic optimization, the experimental group dynamically adjusted the reading speed and power configuration by analyzing user behavior data, significantly improving data access efficiency and system performance. However, due to the lack of a dynamic adjustment mechanism, the control group did not see a significant improvement in performance.

[0189] In terms of fault prediction and automatic repair, the experimental group had higher fault prediction accuracy and automatic repair success rate, significantly reducing system downtime and data loss, while the control group required manual repair after the fault occurred, with higher downtime and data loss.

[0190] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A method for reading data from a memory chip, characterized in that: include: Dynamically generate keys for all data from the memory chip to the processor and perform encrypted data transmission; Design the initial command sequence according to the environmental status of the storage chip and dynamically adjust the command sequence; Decrypt encrypted data, analyze user behavior data, predict data access needs, adjust read speed and power configuration based on data access needs, and optimize storage chip performance; Perform fault prediction on optimized memory chips, automatically identify signs of hardware failure, and reconfigure memory chips; The dynamic key generation includes collecting data content characteristics, access frequency records and environmental factors of the transmission path, and constructing a data set after preprocessing all data; Evaluate the data sensitivity in the data set, output the sensitivity score, calculate the access frequency score based on the sensitivity score, calculate the environmental risk score using the access frequency score and the risk level of the environmental factors, and determine the encryption algorithm based on the environmental risk score; The sensitivity score is expressed as, ; in, represents the sensitivity score, Represents a data item The probability of appearing in the data set, Represents a data item The weight of The access frequency score is expressed as, ; in, represents the visit frequency score, represents the time-weighted average access frequency, represents the adjusted average access frequency, Indicates the number of data accesses within a specific time interval, express The factorial of The environmental risk score is expressed as, ; in, represents the environmental risk score, Indicates environmental factors The weight of Indicates environmental factors The risk level; like <0.1, it is judged as a low-risk environment and the AES-128 encryption algorithm is selected. If 0.1≤ ≤ 0.3, it is judged as a medium-risk environment and the AES-256 encryption algorithm is selected. >0.3, it is judged as a high-risk environment and the ECC encryption algorithm is selected; The encrypted data transmission includes applying an excitation signal to the physical unclonable function PUF structure of the storage chip, reading a generated response signal from the PUF structure, and The determined encryption algorithm encrypts the read response signal to generate the device physical key ; The encrypted data transmission includes using a physical key Generate session keys and encrypt data, transmit the encrypted data, and decrypt it using the same physical key; The environmental status of the storage chip includes collecting temperature, humidity, voltage and network status data through sensors; Standardize the collected environmental status data, select key features from the standardized data, create features based on the key features, reflect the relationship between different environmental factors, and establish a performance evaluation model; The key characteristics include temperature characteristics, humidity characteristics, voltage characteristics and network characteristics; Temperature features include average temperature and temperature fluctuation range; humidity features include average humidity and humidity fluctuation range; voltage features include average voltage and voltage fluctuation range; network features include average delay and bandwidth utilization; The performance evaluation model is established based on the features created in the feature creation step, a multivariate linear regression model is used to describe the impact of environmental features on performance indicators, historical data is used to train the multivariate linear regression model, and a cross-validation method is used to verify the multivariate linear regression model, and an initial command sequence is designed according to the output results; the dynamic adjustment of the command sequence includes dynamically adjusting the command sequence using a cyclic scheduling algorithm; The predicting of data access needs includes analyzing the user's historical access patterns through machine learning methods, using time series analysis to predict future data access needs, and adjusting the reading speed and power configuration according to the prediction results; The execution of fault prediction includes real-time monitoring of the operating status of the storage chip, recording historical fault information, establishing a fault prediction model to predict potential hardware faults, and when a potential fault is detected, executing a repair operation and reconfiguring the storage chip.

2. A system using the data reading method of the memory chip as claimed in claim 1, characterized in that: include: Encrypted transmission module, command optimization module, performance optimization module and fault repair module; The encryption transmission module is an encryption transmission module used to dynamically generate keys for all data from the storage chip to the processor and perform encrypted data transmission; The command optimization module is a command optimization module used to design an initial command sequence according to the environmental state of the storage chip and dynamically adjust the command sequence; The performance optimization module is used to decrypt encrypted data, analyze user behavior data, predict data access requirements, adjust the reading speed and power configuration based on data access requirements, and optimize the performance of the storage chip; The fault repair module is a fault repair module used to perform fault prediction on the optimized storage chip, automatically identify signs of hardware failure, and reconfigure the storage chip.

3. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the data reading method of the memory chip according to claim 1 are implemented.

4. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the data reading method of the memory chip according to claim 1 are implemented.