CN-115629302-B - Chip operation performance detection method, storage medium and system
Abstract
The invention relates to a chip operation performance detection method which comprises the steps of selecting a detection task, configuring an incubator according to the detection task, sending detection data, a detection script and a detection case library configured according to the detection task to a detection terminal, executing the detection script sequentially, calling a detection case library encryption interface corresponding to a chip in the execution process, obtaining a result of calculating data encryption by calling the chip by the detection case library, and carrying out correctness verification after obtaining the result. The invention also provides a storage medium and a chip operation performance detection system, and the chip operation performance detection method, the storage medium and the system can support simultaneous detection of a plurality of chips and a plurality of chips, support simultaneous detection of a plurality of tasks and improve detection efficiency.
Inventors
- HAO YONGLI
Assignees
- 北京握奇数据股份有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20220830
Claims (10)
- 1. The chip operation performance detection method is characterized by comprising the following steps: Selecting a detection task, and configuring an incubator according to the detection task; Sending detection data configured according to the detection task, a detection script and a detection case library to a detection terminal; Executing the detection script according to the sequence, calling a detection case library encryption interface corresponding to the chip in the executing process, and obtaining the result of the detection case library calling chip to realize calculation data encryption; and after the result is obtained, checking the correctness.
- 2. The method for detecting the operation performance of a chip according to claim 1, wherein: the configuration Wen Xiangbao includes adjusting the incubator mode, detecting the highest temperature, detecting the lowest temperature, and step size.
- 3. The method for detecting the operation performance of a chip according to claim 1, wherein: And sending an instruction for adjusting the temperature of the incubator to the incubator through socket communication.
- 4. The method for detecting the operation performance of a chip according to claim 1, wherein: and selecting a detection task through a web client interface, and starting to execute the detection task after checking a detection script to be run.
- 5. The method for detecting the operation performance of a chip according to claim 1, wherein: and the detection data, the detection script and the detection case library are formed into zip packets and sent to the detection terminal.
- 6. The method for detecting the operation performance of a chip according to claim 1, wherein the steps of executing the detection script in sequence, calling the detection case library encryption interface corresponding to the chip in the executing process, and obtaining the result of the detection case library calling chip to realize the encryption of the calculation data further comprise the steps of: the detection terminal executes the detection script according to the sequence; Calling a detection case library encryption interface corresponding to the chip, and transmitting detection data to the detection case library in a parameter transmission mode; Detecting the result of the encryption of the calculation data by using an instance library calling chip; and transmitting the result to the encryption interface in a return parameter mode.
- 7. The method for detecting the operation performance of a chip as claimed in claim 6, wherein: The calculated data encryption uses the sm4 encryption algorithm.
- 8. The method for detecting the operation performance of a chip according to claim 1, wherein: And after the detection terminal checks, packaging and uploading the detection log, generating a detection report after uploading the detection log, and downloading the detection log and the detection report and displaying the detection report at a browser end after generating the detection report.
- 9. A storage medium, characterized by: The storage medium having stored therein a computer program, wherein the computer program is arranged to execute the chip arithmetic performance detection method as claimed in any one of claims 1-8 when run.
- 10. A chip arithmetic performance detection system, comprising: the task selection module is used for selecting a detection task, checking a detection script and executing the detection task; the detection platform module is used for configuring detection data, detection scripts and detection case libraries according to the detection tasks, sending the configured detection data, detection scripts and detection case libraries to the detection terminal, and adjusting the incubator; the detection module is used for executing the detection script in sequence, calling a detection case library encryption interface corresponding to the chip in the execution process, and obtaining the result of the detection case library calling chip to realize calculation data encryption; and the verification module is used for carrying out correctness verification after the detection module acquires the result.
Description
Chip operation performance detection method, storage medium and system Technical Field The invention belongs to the technical field of chip detection, and particularly relates to a chip operation performance detection method, a storage medium and a system. Background The chip test is to use special automatic test equipment to test whether the functions and performances of the manufactured chips meet certain requirements, so that the chip test can comprise various contents, wherein the operation performance of the chips comprises the operation speed of the chips, and the performance of one chip determines the performance of the product, so that the chip operation performance test is a key in the chip test. In the existing chip detection, the performance simulator obtained by forward development is usually designed and realized according to the hardware of the chip, namely, the detection of each chip needs to be independently developed according to the hardware of the chip. However, in the test development process, a developer needs to understand the design and implementation method of the chip deeply, and a great deal of development resources and time cost are required to be consumed. Meanwhile, accuracy and precision of the detection result are difficult to improve, flexibility is low, and cost of version iteration is high. Disclosure of Invention Aiming at the defects in the prior art, the invention aims to provide a chip operation performance detection method, a storage medium and a system for supporting detection of various chip operation performances and reducing development cost required by detection. The technical scheme includes that the chip operation performance detection method comprises the steps of selecting detection tasks, configuring an incubator according to the detection tasks, sending detection data, detection scripts and detection case libraries configured according to the detection tasks to a detection terminal, executing the detection scripts sequentially, calling a detection case library encryption interface corresponding to a chip in the execution process, obtaining a result of calculating data encryption by the detection case library calling chip, and checking correctness after the result is obtained. Further, the configuration Wen Xiangbao includes adjusting the incubator mode, detecting the highest temperature, detecting the lowest temperature, and step size. Further, a command for adjusting the temperature of the incubator is sent to the incubator through socket communication. Further, a detection task is selected through the web client interface, and after a detection script to be run is checked, the detection task is started to be executed. Further, the detection data, the detection script and the detection case library are formed into a zip packet, and the zip packet is sent to the detection terminal. The method comprises the steps of executing a detection script according to a sequence, calling a detection case library encryption interface corresponding to a chip in the executing process, obtaining a result of calculating data encryption by the detection case library calling chip, enabling a detection terminal to execute the detection script according to the sequence, calling the detection case library encryption interface corresponding to the chip, transmitting detection data to the detection case library in a parameter transmission mode, enabling the detection case library calling chip to realize the result of calculating data encryption, and transmitting the result to the encryption interface in a parameter return mode. Further, the calculated data encryption uses the sm4 encryption algorithm. Further, after the detection terminal checks, the detection log is packed and uploaded, after the detection log is uploaded, a detection report is generated, after the detection report is generated, the detection log and the detection report are downloaded and displayed at a browser end. The present invention also provides a storage medium having a computer program stored therein, wherein the computer program is configured to execute the chip arithmetic performance detection method at run-time. The invention also provides a chip operation performance detection system, which comprises a task selection module, a detection platform module, a detection module and a verification module, wherein the task selection module is used for selecting a detection task, checking a detection script and executing the detection task, the detection platform module is used for configuring detection data, the detection script and a detection case library according to the detection task, sending the configured detection data, the detection script and the detection case library to a detection terminal, adjusting a temperature box at the same time, the detection module is used for executing the detection script in sequence, calling a detection case library encryption interface corresponding to a chip in the e