Real-time chip detection method, device, equipment and storage medium
By collecting multi-dimensional data on the chip and dynamically adjusting the detection intensity, the problem of the impact of real-time chip detection on the task is solved, and efficient, comprehensive chip detection without affecting the task is achieved.
Patent Information
- Application Number
- CN202410856374.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-06-28
AI Technical Summary
In the existing technology, the real-time detection of the chip will have an impact on the tasks being performed by the chip, resulting in poor user experience.
Through multi-dimensional data collection of the target chip, task execution characteristics and chip burden characteristics are obtained, and the preset algorithm model is substituted to generate the detection execution sequence and analysis framework, and the detection intensity is dynamically adjusted to avoid impact on real-time tasks.
It achieves real-time, multi-dimensional accurate detection of chips, improves the comprehensiveness and efficiency of detection, and ensures chip performance and reliability.
Smart Images

Figure CN118409194B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of chip detection, and in particular to a real-time chip detection method, device, equipment and storage medium. Background Art
[0002] In the integrated circuit and semiconductor industries, real-time detection and functional monitoring of chips are important steps to ensure chip performance and reliability. Real-time detection of chips includes detection when the chip is not performing a task and detection when the chip is performing a task. When the chip is performing a task, running the detection program may affect the task the chip is performing, resulting in a poor user experience. Summary of the invention
[0003] The purpose of the present invention is to provide a real-time detection method, device, equipment and storage medium for a chip, aiming to solve the problem in the prior art that real-time detection of a chip has an impact on the task being performed by the chip.
[0004] The present invention is implemented in this way. In a first aspect, the present invention provides a real-time detection method of a chip, comprising:
[0005] Performing multi-dimensional data collection on the real-time execution task of the target chip to obtain the task execution characteristics of the real-time execution task of the target chip and the chip burden characteristics of the target chip when executing the real-time execution task;
[0006] Substituting the task execution characteristics and the chip burden characteristics into a preset chip detection scheme algorithm model, and performing chip detection scheme analysis and processing according to the task execution characteristics and the chip burden characteristics through the chip detection scheme algorithm model to obtain a detection execution sequence and a detection analysis framework for the target chip; wherein the detection execution sequence includes a number of detection execution gradients arranged in sequence according to gradient sequence numbers, and the gradient sequence numbers are used to describe the chip detection strength of the detection execution gradients on the target chip;
[0007] Performing chip detection processing on the target chip according to the detection execution gradient of the first bit of the detection execution sequence to obtain detection execution characteristics and detection burden characteristics of the target chip when executing the real-time execution task and the detection execution gradient;
[0008] The detection execution feature and the detection burden feature are analyzed and processed by the detection analysis framework to obtain a chip function detection map of the target chip; wherein the chip function detection map is used to provide functional feedback to the target chip;
[0009] Analyzing and processing the chip function detection map to determine whether it is necessary to perform chip detection processing on the target chip according to the detection execution gradient of the next bit of the detection execution sequence;
[0010] If the judgment result is that the target chip needs to be subjected to chip detection processing according to the detection execution gradient of the next position in the detection execution sequence, the target chip is subjected to chip detection processing according to the detection execution gradient of the next position in the detection execution sequence, and the chip function detection map is adjusted by the detection execution characteristics and detection burden characteristics obtained by the chip detection processing through the detection analysis framework; if the judgment result is that the target chip does not need to be subjected to chip detection processing according to the detection execution gradient of the next position in the detection execution sequence, the chip detection processing of the target chip is terminated.
[0011] In a second aspect, the present invention provides a real-time detection device for a chip, which is used to implement a real-time detection method for a chip as described in any one of the first aspects.
[0012] In a third aspect, the present invention provides a computer device comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, and when the processor executes the computer program, the real-time detection method for a chip as described in any one of the first aspects is implemented.
[0013] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the processor executes a real-time detection method for a chip as described in any one of the first aspects.
[0014] The present invention provides a real-time detection method for a chip, which has the following beneficial effects:
[0015] The present invention performs multi-dimensional data collection on the real-time execution tasks of the target chip, obtains the task execution characteristics and the chip burden characteristics, substitutes the characteristics into a preset algorithm model, generates a detection execution sequence and an analysis framework, performs chip detection according to the first detection gradient of the sequence, obtains the detection characteristics and the burden characteristics, generates a chip function detection map through the analysis framework, analyzes the map, determines whether to continue the detection of the next detection gradient, and if necessary, adjusts the map and performs the next gradient detection, otherwise terminates the detection. This method realizes real-time, multi-dimensional and accurate detection of the chip, dynamically adjusts the detection scheme, improves the comprehensiveness and efficiency of the detection, ensures the chip performance and reliability, and solves the problem in the prior art that the real-time detection of the chip affects the tasks being executed by the chip. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1It is a schematic diagram of the steps of a real-time detection method of a chip provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0017] 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.
[0018] The implementation of the present invention is described in detail below in conjunction with specific embodiments.
[0019] Reference Figure 1 As shown, a preferred embodiment of the present invention is provided.
[0020] In a first aspect, the present invention provides a real-time detection method for a chip, comprising:
[0021] S1: performing multi-dimensional data collection on the real-time execution task of the target chip to obtain the task execution characteristics of the real-time execution task of the target chip and the chip burden characteristics of the target chip when executing the real-time execution task;
[0022] S2: Substituting the task execution characteristics and the chip burden characteristics into a preset chip detection scheme algorithm model, and performing chip detection scheme analysis and processing according to the task execution characteristics and the chip burden characteristics through the chip detection scheme algorithm model to obtain a detection execution sequence and a detection analysis framework for the target chip; wherein the detection execution sequence includes a number of detection execution gradients arranged in sequence according to gradient sequence numbers, and the gradient sequence numbers are used to describe the chip detection strength of the detection execution gradients on the target chip;
[0023] S3: performing chip detection processing on the target chip according to the detection execution gradient of the first position of the detection execution sequence, so as to obtain detection execution characteristics and detection burden characteristics of the target chip when executing the real-time execution task and the detection execution gradient;
[0024] S4: Analyzing and processing the detection execution feature and the detection burden feature through the detection analysis framework to obtain a chip function detection map of the target chip; wherein the chip function detection map is used to provide functional feedback to the target chip;
[0025] S5: Analyze and process the chip function detection map to determine whether it is necessary to perform chip detection processing on the target chip according to the detection execution gradient of the next bit of the detection execution sequence;
[0026] S6: If the judgment result is that the target chip needs to be subjected to chip detection processing according to the detection execution gradient of the next position in the detection execution sequence, the target chip is subjected to chip detection processing according to the detection execution gradient of the next position in the detection execution sequence, and the chip function detection map is adjusted by using the detection analysis framework to the detection execution features and detection burden features obtained by the chip detection processing. If the judgment result is that the target chip does not need to be subjected to chip detection processing according to the detection execution gradient of the next position in the detection execution sequence, the chip detection processing of the target chip is terminated.
[0027] Specifically, in step S1 of the embodiment provided by the present invention, multi-dimensional data collection is performed on the real-time execution task of the target chip to obtain the task execution characteristics of the real-time execution task of the target chip and the chip burden characteristics of the target chip when executing the real-time execution task.
[0028] More specifically, the target chip is identified to be performing running tasks at the current moment, that is, the real-time execution tasks of the target chip, such as running games, playing videos, etc. The real-time execution tasks of the target chip are collected from multiple information dimensions such as task type and task specifications to obtain the task execution characteristics of the target chip when performing real-time execution tasks.
[0029] More specifically, the resource scheduling characteristics of the target chip when executing tasks, such as CPU utilization, memory usage, disk I / O, etc., are collected, and system performance monitoring tools (such as the sysstat toolset under Linux) are used to obtain real-time resource scheduling data. The temperature changes of the target chip when executing tasks are monitored, and temperature data is obtained through the chip's built-in temperature sensor or external temperature monitoring equipment to obtain the chip burden characteristics of the target chip when executing real-time tasks.
[0030] It can be understood that for chips of different quality states, their task execution characteristics and the corresponding chip burden characteristics show a corresponding relationship. That is to say, by analyzing the correlation between the task execution characteristics and the chip burden characteristics when the target chip performs real-time execution tasks, the quality and state of the target chip can be judged.
[0031] Furthermore, the detection strength of the real-time execution task on the target chip may be insufficient, so subsequent testing can be performed based on the task execution characteristics and chip burden characteristics of the real-time execution task of the target chip.
[0032] Specifically, in step S2 of the embodiment provided by the present invention, the task execution characteristics and the chip burden characteristics are substituted into a preset chip detection scheme algorithm model, and the chip detection scheme is analyzed and processed according to the task execution characteristics and the chip burden characteristics through the chip detection scheme algorithm model to obtain a detection execution sequence and a detection analysis framework for the target chip; wherein the detection execution sequence includes a number of detection execution gradients arranged in sequence according to gradient numbers, and the gradient numbers are used to describe the chip detection strength of the detection execution gradients on the target chip.
[0033] More specifically, the detection method of the target chip is analyzed and processed by using a pre-trained chip detection method algorithm model to analyze the task execution characteristics and chip burden characteristics, and a corresponding detection execution sequence and detection analysis framework are obtained.
[0034] It should be noted that the task execution characteristics and chip burden characteristics can show the current state of the target chip, and based on this state, the remaining space for detection that can be performed on the target chip can be calculated.
[0035] More specifically, since the execution of additional test programs will cause corresponding operating pressure on the functions of the target chip, when the operating pressure is excessive, it will affect the real-time execution tasks being performed by the target chip. Therefore, a detection execution sequence is used as a detection scheme for the target chip. The detection execution sequence includes several detection execution gradients arranged in sequence according to gradient numbers. That is to say, the target chip is detected in sequence according to the size of the detection intensity. When it is detected that the operating pressure of the target chip is about to be overloaded, the detection is stopped to avoid affecting the real-time execution tasks of the target chip.
[0036] More specifically, based on the detection execution sequence and the feature analysis results, a detection analysis framework is constructed, and the detection analysis framework is used to analyze the results of the detection execution sequence to determine the real-time status of the target chip.
[0037] Specifically, in step S3 of the embodiment provided by the present invention, chip detection processing is performed on the target chip according to the detection execution gradient of the first bit of the detection execution sequence to obtain the detection execution characteristics and detection burden characteristics of the target chip when performing real-time execution tasks and detection execution gradients.
[0038] More specifically, the first detection execution gradient in the detection execution sequence corresponds to the smallest detection intensity, has the smallest detection requirement for the target chip, performs the specified detection task on the target chip, records various performance characteristics and burden characteristics of the chip when performing the detection task, and uses monitoring tools to monitor the performance and status of the chip in real time.
[0039] More specifically, the performance data of the target chip during the execution of the detection task is collected, including CPU utilization, memory usage, I / O performance, temperature changes, etc., to ensure the comprehensiveness and real-time nature of data collection, avoid data omissions and collection delays, analyze the collected detection data, and extract the detection execution characteristics and burden characteristics of the target chip during the execution of the detection task.
[0040] Specifically, in step S4 of the embodiment provided by the present invention, the detection execution characteristics and the detection burden characteristics are analyzed and processed through the detection analysis framework to obtain a chip function detection map of the target chip; wherein the chip function detection map is used to provide functional feedback to the target chip.
[0041] More specifically, the detection execution characteristics and detection burden characteristics data are input into the detection analysis framework, and the detection execution characteristics and detection burden characteristics are detected through the detection analysis framework to obtain comprehensive detection analysis results, which are sorted and summarized to extract key characteristics and indicators. Based on the comprehensive analysis results, a chip function detection map is constructed. The function detection map includes a visual representation of various performance indicators, load characteristics, temperature characteristics, as well as evaluation results and trend analysis of various indicators.
[0042] Furthermore, a detailed functional feedback report can be generated based on the chip functional detection map, which includes a comprehensive evaluation of chip performance, load and temperature, as well as optimization suggestions and improvement measures.
[0043] Specifically, in step S5 of the embodiment provided by the present invention, the chip function detection map is analyzed and processed to determine whether it is necessary to perform chip detection processing on the target chip according to the detection execution gradient of the next bit of the detection execution sequence.
[0044] Specifically, in step S6 of the embodiment provided by the present invention, if the judgment result is that it is necessary to perform chip detection processing on the target chip according to the detection execution gradient of the next bit of the detection execution sequence, then chip detection processing is performed on the target chip according to the detection execution gradient of the next bit of the detection execution sequence, and the chip function detection map is adjusted by the detection execution features and detection burden features obtained by the chip detection processing through the detection analysis framework; if the judgment result is that it is not necessary to perform chip detection processing on the target chip according to the detection execution gradient of the next bit of the detection execution sequence, then the chip detection processing of the target chip is terminated.
[0045] More specifically, a previously generated chip function detection map is loaded from a database or file system, and a comprehensive analysis is performed on various performance indicators, load characteristics, and temperature characteristics in the function detection map to identify bottlenecks, anomalies, and potential problems shown in the map. According to the design specifications and usage requirements of the chip, thresholds for various key performance indicators are set. The thresholds include the maximum tolerance ranges of CPU usage, memory usage, I / O performance, temperature, etc., and judgment criteria are determined to evaluate whether the next step of detection is needed. The judgment criteria include: whether the set threshold is exceeded, performance degradation trend, load stability, temperature changes, etc. The various indicators in the function detection map are compared with the set thresholds. Based on the comparison and evaluation results, a judgment report is generated to determine whether it is necessary to perform detection according to the next gradient of the detection execution sequence.
[0046] More specifically, the detection task of the next detection gradient is performed, the previous detection steps are repeated, new detection data are collected, the new detection data are incorporated into the analysis framework, the functional detection map is updated, and the analysis and processing are continued.
[0047] It should be noted that during the detection process, priority is given to not affecting the real-time execution of the target chip. When it is detected that the chip state of the target chip is not good and continued detection will affect the target chip's execution of the real-time execution task, further detection is stopped.
[0048] It is understandable that the poor performance of the chip status of the target chip in the earlier detection execution gradient represents the poor overall quality of the target chip.
[0049] The present invention provides a real-time detection method for a chip, which has the following beneficial effects:
[0050] The present invention performs multi-dimensional data collection on the real-time execution tasks of the target chip, obtains the task execution characteristics and the chip burden characteristics, substitutes the characteristics into a preset algorithm model, generates a detection execution sequence and an analysis framework, performs chip detection according to the first detection gradient of the sequence, obtains the detection characteristics and the burden characteristics, generates a chip function detection map through the analysis framework, analyzes the map, determines whether to continue the detection of the next detection gradient, and if necessary, adjusts the map and performs the next gradient detection, otherwise terminates the detection. This method realizes real-time, multi-dimensional and accurate detection of the chip, dynamically adjusts the detection scheme, improves the comprehensiveness and efficiency of the detection, ensures the chip performance and reliability, and solves the problem in the prior art that the real-time detection of the chip affects the tasks being executed by the chip.
[0051] Preferably, the step of performing multi-dimensional data collection on the real-time execution task of the target chip to obtain the task execution characteristics of the real-time execution task of the target chip and the chip burden characteristics of the target chip when executing the real-time execution task includes:
[0052] S11: collecting data on the task type, task specification and task requirement of the real-time execution task of the target chip to obtain the task type, task specification and task requirement of the real-time execution task;
[0053] S12: taking the task type, the task specification and the task requirement of the real-time execution task as the task execution feature of the real-time execution task;
[0054] S13: collecting data on resource scheduling of the target chip when executing the real-time execution task, so as to obtain resource scheduling characteristics of the target chip when executing the real-time execution task;
[0055] S14: collecting temperature data of the target chip through a preset sensor group to obtain chip temperature characteristics of the target chip when executing the real-time execution task;
[0056] S15: taking the resource scheduling characteristics and the chip temperature characteristics of the target chip together as the chip burden characteristics.
[0057] Specifically, identify and record the task type currently being executed by the target chip, such as computing tasks, storage tasks, communication tasks, etc., and use system monitoring tools (such as a task manager or customized monitoring software) to identify and record the task type.
[0058] More specifically, obtain the specification information of the current task, such as the priority of the task, the computing resources required for the task, memory usage, I / O requirements, etc., obtain the task specification information through the monitoring interface of the operating system or the chip, collect the specific requirements of the task, including processing time limit, data throughput requirements, real-time requirements, etc., and obtain relevant information through the task scheduling system or task management system.
[0059] More specifically, the task type, task specification and task requirement are integrated into task execution features, and a complete dataset is constructed to describe the execution characteristics of the current task.
[0060] More specifically, monitor and record the resource scheduling of the target chip when executing real-time tasks, including CPU usage, memory allocation, I / O operations, bandwidth usage, etc., and use operating system monitoring tools or dedicated monitoring tools provided by chip manufacturers to collect resource scheduling data.
[0061] More specifically, the temperature change of the target chip is monitored in real time through a preset sensor group, and the temperature data is recorded. The sensor group may include a temperature sensor, an infrared thermal imaging device, etc., and the temperature data is read through a hardware interface or a software API.
[0062] More specifically, the resource scheduling features are integrated with the chip temperature features to construct a data set of chip burden features for analyzing the load of the chip when executing real-time tasks.
[0063] It is understandable that through multi-dimensional data collection, including task type, task specifications, task requirements, resource scheduling and temperature characteristics, the real-time execution status of the target chip can be fully understood, and complete task execution characteristics and chip burden characteristic data can be provided to support in-depth analysis and optimization. Real-time monitoring and recording of various execution data of the target chip can ensure the accuracy and real-time nature of the data. Through detailed task specifications and requirement data, the execution characteristics of each task can be accurately characterized. Based on real-time data, potential performance bottlenecks and overheating problems can be discovered and warned in a timely manner, and measures can be taken in advance to prevent system performance degradation or hardware damage.
[0064] Preferably, the step of substituting the task execution characteristics and the chip burden characteristics into a preset chip detection scheme algorithm model, and performing analysis and processing of the chip detection scheme according to the task execution characteristics and the chip burden characteristics by the chip detection scheme algorithm model to obtain the detection execution sequence and detection analysis framework of the target chip includes:
[0065] S21: Substituting the task execution characteristics and the chip burden characteristics into a preset chip detection scheme algorithm model; wherein the chip detection scheme algorithm model includes a chip preliminary analysis algorithm unit, a chip resource remaining algorithm unit, a chip temperature remaining algorithm unit and a detection scheme generation unit;
[0066] S22: Analyzing and processing the task type, the task specification and the task requirement of the task execution characteristics in terms of theoretical resource scheduling characteristics and theoretical chip temperature characteristics through the chip preliminary analysis algorithm unit, so as to obtain theoretical resource scheduling characteristics and theoretical chip temperature characteristics of the target chip when executing the real-time execution task;
[0067] S23: comparing and analyzing the theoretical resource scheduling characteristics and the theoretical chip temperature characteristics of the target chip when executing the real-time execution task with the resource scheduling characteristics and the chip temperature characteristics of the chip burden characteristics of the target chip through the chip preliminary analysis algorithm unit to obtain the chip deviation characteristics of the target chip;
[0068] S24: Analyzing and processing the chip deviation characteristics of the target chip by the chip preliminary analysis algorithm unit to obtain the chip preliminary detection characteristics of the target chip; wherein the chip preliminary detection characteristics are used to feedback the chip function quality of the target chip when performing the real-time execution task;
[0069] S25: Analyzing and processing the resource scheduling characteristics of the target chip by the chip resource remaining algorithm unit to obtain the chip resource remaining characteristics of the target chip; wherein the chip resource remaining characteristics are used to describe the remaining schedulable chip resources of the target chip;
[0070] S26: analyzing and processing the chip temperature characteristic of the target chip by the chip temperature remaining algorithm unit to obtain the chip temperature remaining characteristic of the target chip; wherein the chip temperature remaining characteristic is used to describe the remaining chip temperature that can be increased of the target chip;
[0071] S27: Analyzing and processing the preliminary detection features of the chip, the remaining chip resource features, and the remaining chip temperature features through the detection scheme generation unit to obtain a detection execution sequence and a detection analysis framework for the target chip.
[0072] Specifically, the task execution characteristics and chip burden characteristics are input into a preset chip detection scheme algorithm model. The chip detection scheme algorithm model includes the following units: chip preliminary analysis algorithm unit, chip resource remaining algorithm unit, chip temperature remaining algorithm unit, detection scheme generation unit, and chip preliminary analysis algorithm unit.
[0073] More specifically, the task type, task specification and task requirement in the task execution characteristics are analyzed and processed by theoretical resource scheduling characteristics and theoretical chip temperature characteristics to obtain theoretical resource scheduling characteristics and theoretical chip temperature characteristics.
[0074] More specifically, the theoretical resource scheduling characteristics and theoretical chip temperature characteristics are compared and analyzed with the actual resource scheduling characteristics and chip temperature characteristics to obtain chip deviation characteristics, which are further analyzed to obtain preliminary chip detection characteristics, which are used to provide feedback on the functional quality of the target chip when performing tasks.
[0075] More specifically, the resource scheduling characteristics of the target chip are analyzed to obtain chip resource residual characteristics, which are used to describe the remaining schedulable resources of the target chip. The temperature characteristics of the target chip are analyzed to obtain chip temperature residual characteristics, which are used to describe the remaining rising temperature of the target chip.
[0076] More specifically, a comprehensive analysis is performed on the chip preliminary detection features, chip resource residual features, and chip temperature residual features to generate a detection execution sequence and a detection analysis framework for the target chip.
[0077] It can be understood that by comparing theoretical features with actual features, the deviation characteristics of the chip can be accurately identified, the accuracy of the test results can be ensured, and the resource scheduling, chip temperature and deviation characteristics can be comprehensively analyzed to comprehensively evaluate the performance and burden of the chip when executing tasks. Through the generated test execution sequence and test analysis framework, a systematic test and optimization solution is provided to improve the overall performance and stability of the chip.
[0078] Preferably, the step of analyzing and processing the preliminary detection features of the chip, the remaining chip resource features, and the remaining chip temperature features by the detection scheme generation unit to obtain the detection execution sequence and the detection analysis framework of the target chip includes:
[0079] S271: taking the chip resource remaining characteristics and the chip temperature remaining characteristics as constraint targets, taking the target chip as a constraint object, and performing a simulated constraint process of task running on the constraint object according to the constraint targets, so as to obtain the remaining executable tasks of the constraint object under the constraint targets; wherein the remaining executable tasks are used to describe the functional tasks that the target chip can execute to the maximum extent under the constraints of the chip resource remaining characteristics and the chip temperature remaining characteristics;
[0080] S272: adjusting the remaining executable tasks based on the preliminary detection features of the chip to obtain the predicted actual remaining tasks of the target chip; wherein the predicted actual remaining tasks are used to describe the prediction of the actual maximum executable functional tasks of the target chip corresponding to the preliminary detection features of the chip;
[0081] S273: performing a progressive gradient segmentation process based on the predicted actual remaining tasks to obtain a plurality of detection execution gradients, and generating a corresponding gradient sequence number for each of the detection execution gradients, and arranging each of the detection execution gradients according to the gradient sequence number to obtain the detection execution gradient of the target chip;
[0082] S274: Predict the theoretical performance of the chip on the detection execution gradient based on the preliminary detection characteristics of the chip to obtain a theoretical prediction set of the target chip corresponding to the detection execution gradient, and perform reverse processing based on the theoretical prediction set to obtain a detection analysis framework; wherein the theoretical prediction set includes several theoretical prediction performances, and each of the theoretical prediction performances corresponds to a chip detection result of the target chip.
[0083] Specifically, the chip resource residual characteristics and chip temperature residual characteristics are taken as constraint targets, and the target chip is taken as the constraint object. The task running is simulated and constrained according to the constraint targets to obtain the remaining executable tasks. These tasks describe the functional tasks that the target chip can execute to the maximum extent under the constraints of resource and temperature residual characteristics.
[0084] More specifically, based on the preliminary detection features of the chip, the remaining executable tasks are adjusted to obtain predicted actual remaining tasks, which describe the prediction of the actual maximum executable functional tasks of the target chip corresponding to the preliminary detection features.
[0085] More specifically, based on the prediction of the actual remaining tasks, progressive gradient segmentation is performed to obtain several detection execution gradients, a corresponding gradient number is generated for each detection execution gradient, and the gradient numbers are arranged according to the gradient numbers to obtain the detection execution gradients of the target chip, and based on the preliminary detection features of the chip, the detection execution gradients are predicted in terms of the theoretical performance of the chip to obtain a theoretical prediction set of detection execution gradients corresponding to the target chip.
[0086] More specifically, reverse processing is performed on the theoretical prediction set to obtain a detection analysis framework. The theoretical prediction set includes several theoretical prediction performances, each of which corresponds to a detection result of the target chip. That is to say, based on the detection intensity of the detection execution gradient, the effect that the target chip should exhibit can be predicted, and based on this prediction, the chip state of the target chip corresponding to the various effects of each detection execution gradient can be determined.
[0087] It can be understood that by taking the resource residual characteristics and temperature residual characteristics as constraint targets, the simulation constraint processing is more accurate and can truly reflect the operation of the chip under different resource and temperature conditions. Based on the adjustment processing of the preliminary detection characteristics, the remaining tasks can be optimized to make the prediction more in line with the actual performance of the chip, thereby providing more valuable detection information. Through progressive gradient segmentation and gradient sequence arrangement, the performance of the chip under different task intensities can be comprehensively analyzed to form a systematic detection execution gradient covering a variety of operating conditions. The predictive processing and reverse analysis of theoretical performance provide forward-looking detection results, which can foresee the performance of the chip under different conditions, help to identify and solve potential problems in advance, and generate detection execution sequences and analysis frameworks in steps, making the entire detection process more flexible and able to adapt to changes in different chip and task characteristics.
[0088] Preferably, the step of performing chip detection processing on the target chip according to the detection execution gradient of the first bit of the detection execution sequence to obtain the detection execution characteristics and detection burden characteristics of the target chip when executing the real-time execution task and the detection execution gradient includes:
[0089] S31: performing chip detection processing on the target chip according to the detection execution gradient of the first position of the detection execution sequence;
[0090] S32: respectively collecting data on the task execution status of the real-time execution task and the task execution status of the detection execution gradient when the target chip is performing chip detection processing, so as to obtain a first task execution status corresponding to the real-time execution task and a second task execution status corresponding to the detection execution gradient when the target chip is performing chip detection processing, and taking the first task execution status and the second task execution status of the target chip together as the detection execution feature of the target chip;
[0091] S33: collecting data on resource scheduling of the target chip when the chip detection process is being performed, so as to obtain resource scheduling burden characteristics of the target chip when the chip detection process is being performed, and collecting temperature data of the target chip when the chip detection process is being performed through a preset sensor group, so as to obtain chip temperature burden characteristics of the target chip when the chip detection process is being performed;
[0092] S34: taking the resource scheduling burden characteristic and the chip temperature burden characteristic of the target chip during chip detection processing as the detection burden characteristic.
[0093] Specifically, according to the first detection execution gradient of the detection execution sequence, the target chip is subjected to chip detection processing. During the chip detection processing, data are collected for the real-time execution task of the target chip and the task execution status of the detection execution gradient, respectively, to obtain the first task execution status of the target chip corresponding to the real-time execution task and the second task execution status corresponding to the detection execution gradient.
[0094] More specifically, the first task execution status and the second task execution status of the target chip are taken together as the detection execution feature of the target chip.
[0095] More specifically, data is collected on the resource scheduling of the target chip when performing chip detection processing to obtain resource scheduling burden characteristics, and temperature data of the target chip when performing chip detection processing is collected through a preset sensor group to obtain chip temperature burden characteristics, and the resource scheduling burden characteristics of the target chip when performing chip detection processing and the chip temperature burden characteristics are used together as detection burden characteristics.
[0096] It can be understood that by separately collecting the task execution status of real-time execution tasks and detection execution gradients, the performance of the target chip under different task conditions can be comprehensively evaluated, thereby forming a comprehensive detection execution feature, the collection and combination of resource scheduling and temperature burden features, making the detection burden feature more accurate, and being able to accurately reflect the performance and stability of the chip under different load and temperature conditions. The generation of detection execution features and detection burden features provides practical data support for chip performance optimization and problem location, and facilitates targeted improvements and adjustments. Temperature data is collected through the preset sensor group, which improves the data accuracy and reliability of the temperature burden feature and ensures the credibility of the detection results.
[0097] Preferably, the step of analyzing and processing the detection execution feature and the detection burden feature through the detection analysis framework to obtain a chip function detection map of the target chip includes:
[0098] Analyzing and processing the detection execution feature and the detection burden feature through the detection analysis framework to obtain detection analysis results of the detection analysis framework corresponding to the detection execution feature and the detection burden feature;
[0099] S41: performing a graph-based expression process on the real-time execution task of the target chip and the detection execution gradient to obtain a first-layer detection graph;
[0100] S42: performing a graph expression process on the detection execution feature and the detection burden feature of the target chip to obtain a second layer detection graph;
[0101] S43: performing a graph expression process on the chip functional state fed back by the detection and analysis result of the target chip to obtain a third layer detection graph;
[0102] S44: using the first layer detection map, the second layer detection map and the third layer detection map together as the chip function detection map of the target chip.
[0103] Specifically, the detection execution characteristics and detection burden characteristics are analyzed and processed through the detection analysis framework to obtain the detection analysis results corresponding to the detection analysis framework.
[0104] More specifically, the real-time execution tasks and detection execution gradients of the target chip are expressed graphically to generate a first-layer detection map, the detection execution characteristics and detection burden characteristics of the target chip are expressed graphically to generate a second-layer detection map, and the chip functional status fed back by the detection analysis results is expressed graphically to generate a third-layer detection map.
[0105] More specifically, the first layer detection map, the second layer detection map and the third layer detection map are integrated to generate a chip function detection map of the target chip.
[0106] It can be understood that through graphical expression, complex test data and analysis results can be displayed in an intuitive graphical way, which is easy to understand and analyze. The detection map is generated in a hierarchical manner, which can clearly display the detection information at different levels, including real-time task execution status, detection characteristics and burden characteristics, and functional status feedback. The detection map integrates various information and provides a comprehensive perspective and data support for chip performance evaluation and functional testing. The application of the detection and analysis framework improves the efficiency of analysis and processing, and can quickly generate chip functional detection maps, providing timely data reference for decision-making and improvement.
[0107] Preferably, the step of analyzing and processing the chip function detection map to determine whether it is necessary to perform chip detection processing on the target chip according to the detection execution gradient of the next bit of the detection execution sequence includes:
[0108] S51: performing analysis and processing on the executability of continued detection according to the first layer detection map, the second layer detection map, and the third layer detection map of the functional detection map, respectively, to obtain a first continued executable weight corresponding to the first layer detection map, a second continued executable weight corresponding to the second layer detection map, and a third continued executable weight corresponding to the third layer detection map;
[0109] S52: performing weight-adding calculation processing on the first continue-executable weight, the second continue-executable weight, and the third continue-executable weight to obtain a chip continue-executable weight;
[0110] S53: Perform weight judgment processing on the first continueable execution weight, the second continueable execution weight, the third continueable execution weight and the chip continueable execution weight respectively according to preset standards to determine whether it is necessary to perform chip detection processing on the target chip according to the detection execution gradient of the next bit of the detection execution sequence.
[0111] Specifically, analysis and processing are performed according to the first layer detection spectrum to obtain a first continuous execution weight corresponding to the first layer detection spectrum, analysis and processing are performed according to the second layer detection spectrum to obtain a second continuous execution weight corresponding to the second layer detection spectrum, and analysis and processing are performed according to the third layer detection spectrum to obtain a third continuous execution weight corresponding to the third layer detection spectrum.
[0112] It should be noted that the continueable execution weight is used to describe the feasibility of the continueable execution of the detection execution sequence fed back by the detection map.
[0113] More specifically, the first continue executable weight, the second continue executable weight and the third continue executable weight are weighted and calculated to obtain a comprehensive chip continue executable weight.
[0114] More specifically, according to the preset standard, a weight judgment is made on the first weight that can be continued to be executed to determine whether the conditions for continued detection are met; according to the preset standard, a weight judgment is made on the second weight that can be continued to be executed to determine whether the conditions for continued detection are met; according to the preset standard, a weight judgment is made on the third weight that can be continued to be executed to determine whether the conditions for continued detection are met; according to the preset standard, a weight judgment is made on the comprehensive chip weight that can be continued to be executed, and finally it is determined whether chip detection processing is required for the target chip based on the detection execution gradient of the next bit in the detection execution sequence.
[0115] It can be understood that through hierarchical executable analysis and comprehensive weighted calculation, it is possible to accurately evaluate whether the chip needs to continue testing and avoid unnecessary testing steps. It is possible to conduct executable analysis at multiple levels, systematically and comprehensively evaluate the status of the chip under different testing conditions, improve the accuracy of testing decisions, make rapid weight judgments through preset standards, improve the efficiency of the testing process, and make timely decisions on whether to continue testing. Multi-level weight judgments and comprehensive analysis ensure the reliability of testing decisions and reduce possible misjudgments and misoperations during the testing process.
[0116] In a second aspect, the present invention provides a real-time detection device for a chip, which is used to implement a real-time detection method for a chip as described in any one of the first aspects.
[0117] In this embodiment, for the specific implementation of each module in the above-mentioned device embodiment, please refer to the above-mentioned method embodiment, which will not be described in detail here.
[0118] In a third aspect, the present invention provides a computer device comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, and when the processor executes the computer program, the real-time detection method for a chip as described in any one of the first aspects is implemented.
[0119] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the processor executes a real-time detection method for a chip as described in any one of the first aspects.
[0120] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A real-time detection method for a chip, It is characterized in that include: Performing multi-dimensional data collection on the real-time execution task of the target chip to obtain the task execution characteristics of the real-time execution task of the target chip and the chip burden characteristics of the target chip when executing the real-time execution task; Substituting the task execution characteristics and the chip burden characteristics into a preset chip detection scheme algorithm model, and performing chip detection scheme analysis and processing according to the task execution characteristics and the chip burden characteristics through the chip detection scheme algorithm model to obtain a detection execution sequence and a detection analysis framework for the target chip; wherein the detection execution sequence includes a number of detection execution gradients arranged in sequence according to gradient sequence numbers, and the gradient sequence numbers are used to describe the chip detection strength of the detection execution gradients on the target chip; Performing chip detection processing on the target chip according to the detection execution gradient of the first bit of the detection execution sequence to obtain detection execution characteristics and detection burden characteristics of the target chip when executing the real-time execution task and the detection execution gradient; The detection execution feature and the detection burden feature are analyzed and processed by the detection analysis framework to obtain a chip function detection map of the target chip; wherein the chip function detection map is used to provide functional feedback to the target chip; Analyzing and processing the chip function detection map to determine whether it is necessary to perform chip detection processing on the target chip according to the detection execution gradient of the next bit of the detection execution sequence; If the judgment result is that the target chip needs to be subjected to chip detection processing according to the detection execution gradient of the next position in the detection execution sequence, the target chip is subjected to chip detection processing according to the detection execution gradient of the next position in the detection execution sequence, and the chip function detection map is adjusted by the detection execution characteristics and detection burden characteristics obtained by the chip detection processing through the detection analysis framework; if the judgment result is that the target chip does not need to be subjected to chip detection processing according to the detection execution gradient of the next position in the detection execution sequence, the chip detection processing of the target chip is terminated.
2. A real-time detection method for a chip as claimed in claim 1, It is characterized in that The step of collecting multi-dimensional data of the real-time execution task of the target chip to obtain the task execution characteristics of the real-time execution task of the target chip and the chip burden characteristics of the target chip when executing the real-time execution task includes: Collecting data on the task type, task specification and task requirement of the real-time execution task of the target chip to obtain the task type, task specification and task requirement of the real-time execution task; Taking the task type, the task specification and the task requirement of the real-time execution task as the task execution characteristics of the real-time execution task; Collecting data on resource scheduling of the target chip when executing the real-time execution task to obtain resource scheduling characteristics of the target chip when executing the real-time execution task; Collecting temperature data of the target chip through a preset sensor group to obtain chip temperature characteristics of the target chip when executing the real-time execution task; The resource scheduling characteristics and the chip temperature characteristics of the target chip are used together as the chip burden characteristics.
3. A real-time detection method for a chip as claimed in claim 2, It is characterized in that Substituting the task execution characteristics and the chip burden characteristics into a preset chip detection scheme algorithm model, and performing chip detection scheme analysis and processing according to the task execution characteristics and the chip burden characteristics by the chip detection scheme algorithm model to obtain the detection execution sequence and detection analysis framework of the target chip includes: Substituting the task execution characteristics and the chip burden characteristics into a preset chip detection scheme algorithm model; wherein the chip detection scheme algorithm model includes a chip preliminary analysis algorithm unit, a chip resource remaining algorithm unit, a chip temperature remaining algorithm unit and a detection scheme generation unit; The chip preliminary analysis algorithm unit performs analysis and processing on the task type, the task specification and the task requirement of the task execution characteristics in terms of theoretical resource scheduling characteristics and theoretical chip temperature characteristics, so as to obtain the theoretical resource scheduling characteristics and theoretical chip temperature characteristics of the target chip when executing the real-time execution task; By means of the chip preliminary analysis algorithm unit, the theoretical resource scheduling characteristics and the theoretical chip temperature characteristics of the target chip when executing the real-time execution task are compared and analyzed with the resource scheduling characteristics and the chip temperature characteristics of the chip burden characteristics of the target chip to obtain the chip deviation characteristics of the target chip; The chip deviation characteristics of the target chip are analyzed and processed by the chip preliminary analysis algorithm unit to obtain the chip preliminary detection characteristics of the target chip; wherein the chip preliminary detection characteristics are used to feedback the chip function quality of the target chip when performing the real-time execution task; The resource scheduling characteristics of the target chip are analyzed and processed by the chip resource remaining algorithm unit to obtain the chip resource remaining characteristics of the target chip; wherein the chip resource remaining characteristics are used to describe the remaining schedulable chip resources of the target chip; The chip temperature feature of the target chip is analyzed and processed by the chip temperature residual algorithm unit to obtain the chip temperature residual feature of the target chip; wherein the chip temperature residual feature is used to describe the residual chip temperature of the target chip that can be increased; The detection scheme generation unit analyzes and processes the chip preliminary detection features, the chip resource remaining features, and the chip temperature remaining features to obtain a detection execution sequence and a detection analysis framework for the target chip.
4. A real-time detection method for a chip as claimed in claim 3, It is characterized in that The step of analyzing and processing the preliminary detection features of the chip, the remaining chip resource features, and the remaining chip temperature features by the detection scheme generation unit to obtain the detection execution sequence and the detection analysis framework of the target chip includes: The chip resource remaining characteristics and the chip temperature remaining characteristics are used as constraint targets, the target chip is used as a constraint object, and according to the constraint targets, a simulated constraint process of task running is performed on the constraint object to obtain the remaining executable tasks of the constraint object under the constraint targets; wherein the remaining executable tasks are used to describe the functional tasks that the target chip can execute to the maximum extent under the constraints of the chip resource remaining characteristics and the chip temperature remaining characteristics; The remaining executable tasks are adjusted based on the preliminary detection characteristics of the chip to obtain the predicted actual remaining tasks of the target chip; wherein the predicted actual remaining tasks are used to describe the prediction of the actual maximum executable functional tasks of the target chip corresponding to the preliminary detection characteristics of the chip; Based on the predicted actual remaining tasks, a progressive gradient segmentation process is performed to obtain a plurality of detection execution gradients, and a corresponding gradient sequence number is generated for each of the detection execution gradients, and each of the detection execution gradients is arranged according to the gradient sequence number to obtain the detection execution gradient of the target chip; The detection execution gradient is processed based on the preliminary detection characteristics of the chip to predict the theoretical performance of the chip, and a theoretical prediction set of the target chip corresponding to the detection execution gradient is obtained, and reverse processing is performed based on the theoretical prediction set to obtain a detection analysis framework; wherein the theoretical prediction set includes several theoretical prediction performances, and each of the theoretical prediction performances corresponds to a chip detection result of the target chip.
5. A real-time detection method for a chip as claimed in claim 1, It is characterized in that The step of performing chip detection processing on the target chip according to the detection execution gradient of the first bit of the detection execution sequence to obtain the detection execution characteristics and detection burden characteristics of the target chip when executing the real-time execution task and the detection execution gradient comprises: Perform chip detection processing on the target chip according to the detection execution gradient of the first bit of the detection execution sequence; Data are collected respectively on the task execution status of the real-time execution task and the task execution status of the detection execution gradient when the target chip is performing chip detection processing, so as to obtain a first task execution status corresponding to the real-time execution task and a second task execution status corresponding to the detection execution gradient when the target chip is performing chip detection processing, and the first task execution status and the second task execution status of the target chip are used together as the detection execution feature of the target chip; Collecting data on resource scheduling of the target chip when performing chip detection processing to obtain resource scheduling burden characteristics of the target chip when performing chip detection processing, and collecting temperature data of the target chip when performing chip detection processing through a preset sensor group to obtain chip temperature burden characteristics of the target chip when performing chip detection processing; The resource scheduling burden characteristic and the chip temperature burden characteristic of the target chip during chip detection processing are used together as the detection burden characteristic.
6. A real-time detection method for a chip as claimed in claim 1, It is characterized in that The step of analyzing and processing the detection execution feature and the detection burden feature through the detection analysis framework to obtain a chip function detection map of the target chip includes: Analyzing and processing the detection execution feature and the detection burden feature through the detection analysis framework to obtain detection analysis results of the detection analysis framework corresponding to the detection execution feature and the detection burden feature; Performing graph expression processing on the real-time execution task of the target chip and the detection execution gradient to obtain a first-layer detection graph; Performing graph expression processing on the detection execution feature and the detection burden feature of the target chip to obtain a second layer detection graph; Performing a graph-based expression process on the chip functional state fed back by the detection and analysis result of the target chip to obtain a third-layer detection graph; The first layer of detection maps, the second layer of detection maps and the third layer of detection maps are collectively used as chip function detection maps of the target chip.
7. A real-time detection method for a chip as claimed in claim 6, It is characterized in that The step of analyzing and processing the chip function detection map to determine whether it is necessary to perform chip detection processing on the target chip according to the detection execution gradient of the next bit of the detection execution sequence includes: According to the first layer detection map, the second layer detection map and the third layer detection map of the functional detection map, respectively, analysis and processing of the executability of continued detection are performed to obtain a first continued execution weight corresponding to the first layer detection map, a second continued execution weight corresponding to the second layer detection map and a third continued execution weight corresponding to the third layer detection map; Performing weight-adding calculation processing on the first continue-executable weight, the second continue-executable weight, and the third continue-executable weight to obtain a chip continue-executable weight; The first continueable execution weight, the second continueable execution weight, the third continueable execution weight and the chip continueable execution weight are respectively weight judged according to preset standards to determine whether it is necessary to perform chip detection processing on the target chip according to the detection execution gradient of the next bit of the detection execution sequence.
8. A real-time detection device for a chip, It is characterized in that A real-time detection method for a chip used to implement any one of claims 1-7.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, It is characterized in that When the processor executes the computer program, the real-time detection method of a chip as described in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, It is characterized in that A computer program is stored thereon, and when the computer program is executed by a processor, the processor is enabled to execute a real-time detection method for a chip as described in any one of claims 1-7.
Citation Information
Patent Citations
Chip stability test method and related device
CN117434429A
The test method of semiconductor device and test system for performing the same
KR1020180078897A
