Chip detection data storage method, equipment, device and storage medium
By chunked storage and redundant backup of chip detection data, combined with consistent hashing algorithms and end-to-end encryption, the problems of chip detection data security and privacy protection are solved, and efficient data management and security guarantees are achieved.
Patent Information
- Application Number
- CN202411093388.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-08
- Publication Date
- 2024-12-06
AI Technical Summary
The prior art cannot effectively ensure the security, integrity and privacy protection of chip detection data, especially in large and sensitive data generated in large-scale production and testing.
By performing pin welding quality detection and functional performance detection on the target chip, split data blocks to store them in multiple storage nodes, and redundant backups are performed for each node. The consistent hash algorithm is used to ensure data consistency and load balancing. End-to-end encryption is used for data transmission.
It realizes distributed storage and management of data, improves data security and reliability, reduces the risk of data loss, ensures the security and reliability of data transmission, and improves access efficiency and processing performance.
Smart Images

Figure CN119088615A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of chip detection technology, and in particular to a method, equipment, device and storage medium for storing chip detection data. Background Art
[0002] Chip quality inspection and performance inspection play a vital role in the chip manufacturing process. They can ensure that the quality and performance of the chip meet the requirements and improve the reliability and stability of the product. During the chip manufacturing process, each chip may need to undergo dozens or even hundreds of tests. Considering large-scale production and testing, the amount of data generated will be very large. These test data involve sensitive information such as chip design, manufacturing, and performance. The leakage of this data may lead to intellectual property leakage, product imitation, or other security issues, so it needs to be strictly protected.
[0003] Due to the large amount of data and the sensitive data involved, it is crucial for chip manufacturers to ensure the security, integrity and privacy protection of these inspection data. Summary of the invention
[0004] The technical problem to be solved by the embodiments of the present invention is to provide a method for storing chip detection data to solve the problem that the security, integrity and privacy protection of the detection data cannot be ensured in the prior art.
[0005] The present invention discloses a method for storing chip detection data, comprising:
[0006] Conduct pin welding quality inspection and functional performance inspection on the target chip to obtain inspection data;
[0007] Dividing the detection data into a plurality of data blocks, and storing them respectively on a plurality of storage nodes;
[0008] Performing redundant backup of the database on each storage node;
[0009] The consistency among the storage nodes is ensured by a consistent hashing algorithm, and the storage load of the storage nodes is balanced;
[0010] Wherein, when transmitting the detection data, an end-to-end encryption method is adopted.
[0011] Optionally, the step of performing pin welding quality inspection on the target chip includes:
[0012] Dividing the pins of the target chip into a control group, a high and low bit group, a data group and an address group according to their functions;
[0013] Test data is written into any address of the target chip, and the test data is read, and the welding quality of the control group, the high and low bit groups, the data group and the address group is respectively detected according to the read results.
[0014] Optionally, the step of respectively detecting the welding qualities of the control group, the high and low bit groups, the data group and the address group according to the read results includes:
[0015] If the read results are all 0 or all 1, it is determined that the welding quality of the control group is poor;
[0016] Comparing the read result with the high-order byte and the low-order byte of the test data to see if they are consistent, and if the two are inconsistent in the high-order byte and / or the low-order byte, determining that the welding quality of the high-and low-order group is poor;
[0017] Performing the steps of writing the test data and reading the test data through each pin in the data group, and if the read result is inconsistent with the test data, determining that the welding quality of the data group is poor;
[0018] The success rate of the write operation is detected when writing the test data, and if the success rate is lower than a preset threshold, it is determined that the welding quality of the address group is poor.
[0019] Optionally, the step of performing functional performance testing on the target chip includes:
[0020] Acquire an input / output detection file, and acquire the model of the target chip and the input / output characteristic curve of each pin of the target chip based on the input / output detection file;
[0021] Generate a test voltage value and / or a test current value according to the input-output characteristic curve;
[0022] Inputting analog levels to each pin of the target chip in turn, and reading actual output voltage value and / or actual output current value of the target chip;
[0023] The test voltage value and / or the test current value are compared with the actual output voltage value and / or the actual output current value to obtain a functional performance test result.
[0024] Optionally, the step of generating a test voltage value and / or a test current value according to the input-output characteristic curve includes:
[0025] The structure and unit of the input-output characteristic curve are analyzed to obtain the electrical characteristics described by the input-output characteristic curve, and a mathematical method is used to correspond the points on the input-output characteristic curve to the test voltage value and / or the test current value.
[0026] Optionally, the step of dividing the detection data into a plurality of data blocks comprises:
[0027] The detection data is divided into a plurality of data blocks according to the pin type and the slicing rule, and the data blocks are stored in corresponding storage nodes respectively.
[0028] Optionally, the step of adopting an end-to-end encryption method when transmitting the detection data includes:
[0029] Set different access rights for different users and systems to ensure that only authorized users can access the test data;
[0030] Audit logs are created to record data access and operations in order to track data usage and identify potential security issues.
[0031] The present invention also discloses a storage device for chip detection data, comprising:
[0032] An acquisition module is used to perform pin welding quality inspection and functional performance inspection on the target chip and obtain inspection data;
[0033] A storage module, used for dividing the detection data into a plurality of data blocks, and storing the data blocks in a plurality of storage nodes respectively;
[0034] A backup module, used for performing redundant backup of the database on each storage node;
[0035] A balancing module, used to ensure consistency among the storage nodes through a consistent hashing algorithm and balance the storage load of the storage nodes;
[0036] The encryption module is used to adopt an end-to-end encryption method when transmitting the detection data.
[0037] The present invention also discloses an intelligent device, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the above method.
[0038] The present invention also discloses a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor executes the steps of the above method. Compared with the prior art, the chip detection data storage method provided by the embodiment of the present invention has the following beneficial effects:
[0039] By dividing the detection data into blocks and storing them on multiple storage nodes, distributed storage and management of data can be achieved, improving data security and reliability, while also improving data access efficiency and processing performance. By performing redundant backups of the database on each storage node, data security and reliability can be improved, the risk of data loss can be reduced, and data can be quickly restored in unexpected situations. The consistent hashing algorithm can ensure data consistency between storage nodes and effectively balance the load of storage nodes, thereby improving the performance and reliability of the distributed storage system. The use of end-to-end encryption methods can ensure the security and reliability of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The scheme of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments, in which:
[0041] Figure 1 It is a flowchart of a first embodiment of a method for storing chip detection data provided by the present invention;
[0042] Figure 2 It is a flow chart of an embodiment of a method for detecting the pin welding quality of a target chip provided by the present invention;
[0043] Figure 3 It is a flow chart of an embodiment of a method for performing functional performance testing on a target chip provided by the present invention;
[0044] Figure 4 It is a structural schematic diagram of an embodiment of a storage device for chip detection data provided by the present invention;
[0045] Figure 5 The figure shows the internal structure of a smart device in one embodiment.
[0046] The reference numerals in the figures are:
[0047] 10. Storage device for chip detection data; 11. Acquisition module; 12. Storage module; 13. Backup module; 14. Balance module; 15. Encryption module. DETAILED DESCRIPTION
[0048] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. Now, in conjunction with the accompanying drawings, a preferred embodiment of the present invention is described in detail.
[0049] See also Figure 1 , Figure 1 1 is a flow chart of a first embodiment of a method for storing chip detection data provided by the present invention. The method for storing chip detection data provided by the present invention comprises the following steps:
[0050] S101: Perform pin welding quality inspection and functional performance inspection on the target chip to obtain inspection data.
[0051] In a specific implementation scenario, test equipment for pin welding quality detection is prepared, such as welding robots, detection instruments, etc. The target chip is placed on the test equipment to perform pin welding quality detection and functional performance detection. For example, welding strength test, solder joint appearance inspection, welding contact resistance test, etc., as well as power consumption test, speed test, signal response test, etc. During the welding quality detection process, the detection data is recorded in real time.
[0052] Chip pin welding quality problems may cause the entire chip to fail or performance degradation, affecting the reliability of the entire chip. Integrated chip functional performance problems may cause specific functional modules to fail or perform substandardly, affecting the functional integrity of the chip. Chip pin welding quality testing mainly focuses on the connection quality between the chip pins and the package, including welding quality, welding strength, etc. Integrated chip functional performance testing mainly focuses on the functional performance of the chip's internal circuits, such as logical functions, timing performance, power consumption, etc.
[0053] The common goal of chip pin welding quality inspection and integrated chip functional performance inspection is to ensure the reliability and performance of the chip under normal operation; both will generate a large amount of data, which needs to be effectively processed and analyzed (i.e., data processing through distributed storage steps and data encryption) to ensure that the quality and performance of the chip meet the specification requirements.
[0054] S102: Divide the detection data into multiple data blocks, and store them in multiple storage nodes respectively.
[0055] In a specific implementation scenario, the original detection data is divided into multiple data blocks according to certain rules or algorithms. These data blocks can be fixed-size blocks or dynamically resized as needed. The purpose of block division is to divide a large amount of data into small blocks for easy management, transmission and storage, and also helps to improve the efficiency and parallelism of data processing.
[0056] Each data block is stored on a designated storage node. These storage nodes may be located in different geographical locations to improve the disaster recovery and reliability of the data. The storage process may include operations such as data encryption, data compression, and data backup to ensure the security and integrity of the data.
[0057] The large amount of data generated during the pin welding quality inspection process can be divided into data blocks, each of which contains information about the quality of a specific pin welding, such as welding strength, connection status, etc. These data blocks can be assigned to different processing nodes to achieve parallel processing and improve data processing efficiency.
[0058] A large amount of functional performance test data can be processed in shards, and different data blocks can be tested and analyzed on different processing nodes at the same time. Parallel processing can speed up the detection speed and improve efficiency. Data sharding can improve the fault tolerance of the system. Even if a node fails, the system can still detect and analyze through data blocks on other nodes. Data redundancy and backup can ensure data reliability and system stability.
[0059] In addition, data segmentation can help store detection data on different storage nodes to ensure that data is evenly distributed and avoid single point failures. Block storage can increase data access speed and reduce data access bottlenecks. When specific data needs to be accessed, the system can determine the location of the data block according to preset rules and retrieve the data from the corresponding storage node.
[0060] S103: Perform redundant backup of the data blocks on each storage node.
[0061] In a specific implementation scenario, a full backup is performed for the data blocks on each storage node, including the backup of all data and table structures. You can choose to perform incremental backups regularly, backing up only the data parts that have changed since the last full backup or incremental backup. The same data blocks can be stored on different storage nodes to improve the security and reliability of the detection data. You can set a backup plan, which can be daily, weekly, or other time intervals based on requirements. You can also back up in real time to ensure the timeliness and integrity of the data. You can save multiple backup points so that you can restore to the data status at different points in time when needed. After the backup is completed, perform data verification and validation to ensure the integrity and availability of the backup data. You can also develop a disaster recovery plan, including data recovery procedures, backup data recovery strategies, etc. Regularly test the recovery process of backup data to ensure the availability and effectiveness of backup data.
[0062] The large amount of data generated during the pin welding quality inspection process can be regularly backed up to multiple backup storage media, such as hard disks, cloud storage, etc. Redundant backup can prevent data loss, and even if the original data storage medium fails, it can still be restored from the backup data.
[0063] The test data generated during the functional performance testing process can be regularly backed up to multiple backup storages to prevent data loss. Redundant backups can ensure the integrity of the test data so that it can be restored and analyzed when needed.
[0064] In addition, data is copied to multiple locations to ensure data reliability and security. In data redundancy backup, the same data may be stored on different storage nodes to prevent data loss due to single point failure. Redundant backup can improve the fault tolerance of the system. Even if a storage node or backup medium fails, it can still be restored and accessed through other backup data.
[0065] S103: Ensure the consistency between the various storage nodes through the consistent hashing algorithm and balance the storage load of each storage node.
[0066] In a specific implementation scenario, the consistency between storage nodes is ensured through the consistent hashing algorithm, and the storage load of each storage node is balanced. The consistent hashing algorithm can be used to determine the location of data storage and the distribution of load-balanced data. Each storage node will be mapped to a point on the ring, and the data will be mapped to the storage node on the ring according to the hash value to achieve data distribution and load balancing.
[0067] Select a hash function, take the identifier of the data block (such as the key or name of the data block) as input, and output a hash value in the range of integer space. Use the hash function to map the storage nodes to the range of integer space, which is a ring-shaped range (called a hash ring). Map the hash value of each data block to a point on the hash ring. In this way, each data block corresponds to a position on the hash ring. Use the same hash function to map each storage node to a point on the hash ring. In this way, each storage node also corresponds to a position on the hash ring. Assign the data block to the storage node closest in the clockwise direction. In this way, each data block is mapped to a storage node on the hash ring.
[0068] When a new storage node joins the system, it is mapped to a position on the hash ring. The system then recalculates which data blocks need to be migrated to the new node. When a storage node leaves the system, it recalculates which data blocks were originally stored on the leaving node and need to be migrated to other nodes.
[0069] In this way, the consistent hashing algorithm can ensure that the amount of data migration is minimized when storage nodes are added or removed, thereby maintaining the balanced data distribution of the system and ensuring consistency between nodes. This design enables the system to better cope with node changes while maintaining high data availability and reliability.
[0070] The consistent hashing algorithm is an algorithm used for data distribution and load balancing in distributed systems. It can ensure consistency between storage nodes and balance the load of storage nodes. The consistent hashing algorithm regards the entire hash space as a ring space and maps both data and storage nodes to this ring. When data needs to be stored or searched, the hash value of the data is calculated and the first storage node with a hash value greater than or equal to the hash value is found in the clockwise direction of the ring. This node is the node where the data should be stored.
[0071] When storage nodes increase, decrease or change, the consistent hashing algorithm can minimize the amount of data migration, and most of the data can still be mapped to the original nodes, thereby maintaining data consistency. This feature enables the consistent hashing algorithm to effectively maintain data consistency in a dynamic environment and reduce the cost of data migration.
[0072] In this implementation scenario, the detection data is distributed on multiple storage nodes, which may be distributed in different geographical locations or belong to different organizations. In such an environment, the security and privacy of data become particularly important. During the transmission of data, end-to-end encryption can be used to protect the confidentiality of the data. For example, when a user uploads data to a distributed storage system, the client can encrypt the data and then transmit it to the storage node. During the data storage process, the storage node can also use an encryption algorithm to encrypt and store the data to ensure that the data is also encrypted when stored.
[0073] Different users and systems may have different access rights requirements. Through Access Control Lists (ACL) or Role-Based Access Control (RBAC), specific access rights can be set for each user or system. You can control the access rights to data based on the user's identity or role, ensuring that only authorized users can access specific data.
[0074] Choose a proven and widely used encryption algorithm such as AES (Advanced Encryption Standard) when encrypting. AES offers a variety of key lengths (128, 192, 256 bits) to provide strong security. Encrypting stored and transmitted data ensures that the data cannot be read without authorization.
[0075] In addition, detailed information about all data access and operations can be recorded, including access time, visitor identity, accessed data, and operation type, in order to track data usage and identify potential security issues. Store logs in a secure and tamper-proof environment to ensure the integrity and reliability of logs. Analyze logs regularly to identify potential security issues and abnormal behaviors.
[0076] In this implementation scenario, when transmitting pin welding quality inspection data, end-to-end encryption can ensure that the data is protected during transmission and prevent unauthorized access by third parties. Through end-to-end encryption, only the sender and receiver can decrypt the data, protecting data privacy and integrity. End-to-end encryption can prevent data from being tampered with during transmission and ensure data integrity and reliability.
[0077] Functional performance test data may contain sensitive information. End-to-end encryption can protect the security of this data during transmission and storage. End-to-end encryption can prevent third-party eavesdroppers from stealing data during data transmission and ensure the confidentiality of communication content. Through end-to-end encryption, both parties in communication can exchange information securely, ensuring the security and reliability of data transmission.
[0078] It can be seen from the above description that in this embodiment, by dividing the detection data into blocks and storing them on multiple storage nodes, distributed storage and management of data can be achieved, the security and reliability of data can be improved, and the access efficiency and processing performance of data can also be improved. By performing redundant backup of the database on each storage node, the security and reliability of data can be improved, the risk of data loss can be reduced, and data can be quickly restored in unexpected situations. Through the consistent hashing algorithm, the data consistency between each storage node can be ensured, and the load of the storage node can be effectively balanced, thereby improving the performance and reliability of the distributed storage system. The use of end-to-end encryption method can ensure the security and reliability of data transmission.
[0079] Please refer to Figure 2 , Figure 2 1 is a flow chart of an embodiment of a method for detecting the pin welding quality of a target chip provided by the present invention. The method for detecting the pin welding quality of a target chip provided by the present invention comprises the following steps:
[0080] S201: Divide the pins of the target chip into a control group, a high and low bit group, a data group and an address group according to their functions.
[0081] In a specific implementation scenario, the pins of the target chip are divided into a control group, a high-low bit group, a data group, and an address group according to their functions. The control group usually includes pins such as power control, clock control, and reset. The high-low bit group is the high and low bits of the data line. The data group is the data input and output pins. The address group is the address line pins.
[0082] S202: writing test data at any address of the target chip, and reading the test data, and detecting the welding quality of the control group, the high and low bit groups, the data group and the address group respectively according to the read results.
[0083] In a specific implementation scenario, prepare a set of test data to ensure that the data covers all data pins. Write the test data to any address of the target chip. Read data from the same address to ensure that the read operation covers all data pins. According to the read results, detect the welding quality of the control group, high and low bit groups, data group and address group respectively.
[0084] Specifically, if all bits of the read result are 0 or 1, the control group welding quality is judged to be poor. If the read data is consistent with the written data, the control group welding quality is judged to be good. The read high byte and low byte data are compared with the previously written test data. If the read high byte data is exactly the same as the written high byte data, it means that the welding quality of the high-order pin is good. If the read low byte data is exactly the same as the written low byte data, it means that the welding quality of the low-order pin is good. If the read high byte or low byte data is inconsistent with the written data, it may indicate that there is a problem with the welding of the corresponding high and low pins.
[0085] The operation of writing test data is performed through each pin in the data group. The data written through each pin is read. The writing and reading results of each pin are compared. If the reading result is inconsistent with the test data, it is determined that the welding quality of the data group corresponding to the pin is poor. Otherwise, the welding quality of the data group is normal.
[0086] Write test data to multiple addresses and read data from these addresses. Calculate the success rate of the write operation. If the success rate is lower than the preset threshold, the welding quality of the address group is judged to be poor. Otherwise, the welding quality of the address group is normal.
[0087] According to the test results, locate the problem pins and re-solder or adjust them. After repair, repeat the above test steps to ensure that the welding quality of all pins meets the requirements.
[0088] From the above description, we can know that the pins of the target chip are divided into control group, high and low bit group, data group and address group according to their functions; pins of different functional groups may face different welding challenges, and group detection can solve specific problems in a targeted manner and improve the accuracy of detection. Through group detection, the problem pins can be quickly located, reducing the comprehensive detection of the entire chip, thereby improving the detection efficiency. Avoiding misjudgment caused by a single detection method, group detection can more comprehensively evaluate the welding quality.
[0089] See also Figure 3 , Figure 3 1 is a flow chart of an embodiment of a method for testing the functional performance of a target chip provided by the present invention. The method for testing the functional performance of a target chip provided by the present invention comprises the following steps:
[0090] S301: Acquire an input / output detection file, and acquire the model of a target chip and an input / output characteristic curve of each pin of the target chip based on the input / output detection file.
[0091] In a specific implementation scenario, the input / output detection file is an IBIS (Input / Output Buffer Information Specification) model file. The IBIS model file is a standard file format for describing the behavior of the input / output buffer of a digital circuit. The IBIS model file contains information such as the electrical characteristics, timing characteristics, and logic characteristics of the input / output buffer of a digital circuit. By parsing the IBIS file, the electrical characteristics and signal transmission parameters of the target chip (for example, the model of the target chip and the input / output characteristic curve of each pin of the target chip) can be obtained.
[0092] IBIS file is an XML file that contains detailed electrical characteristics of the chip's I / O buffers. By parsing the XML structure, key elements and attributes in the file are identified, such as <model> , <pin> , <iopins>Extract key information, including but not limited to chip model, pin type, voltage and current curve, threshold, time delay, etc. <model>Find the attribute or sub-element containing the chip model in the element. Traverse all <pin>element. Determines whether each pin is an input pin or an output pin. <iopins>Find the curve data describing the input and output characteristics in the element. Extract data such as voltage-current characteristic curve, input and output thresholds, time delay, etc. By parsing the obtained I / O characteristic curve, signal analysis can be performed. The I / O characteristic curve describes the electrical characteristics of the pin, such as voltage-current characteristics and input and output thresholds.
[0093] S302: Generate a test voltage value and / or a test current value according to the input-output characteristic curve.
[0094] In a specific implementation scenario, the input and output characteristic curves provided in the IBIS file are analyzed. These curves usually include voltage-current (VI) curves, input thresholds, output thresholds, etc. Determine the range of test voltage and current based on the characteristic curves to ensure that the normal operating range of the chip is covered. Identify key points on the characteristic curves, such as threshold points, saturation points, maximum / minimum operating points, etc. Distribute test points evenly between key points to ensure that the test covers the entire operating area. Design a test sequence, including a series of test voltage values and / or test current values, and generate corresponding analog levels based on these values. The analog levels are used to input into the target chip to stimulate the target chip. The test voltage values and / or test current values include test points under marginal conditions, such as maximum voltage, minimum voltage, maximum current, and minimum current.
[0095] In other implementation scenarios, a mathematical function, such as a linear, logarithmic, or exponential function, may be used to generate the test points. If desired, a statistical distribution (such as a normal distribution) may also be used to determine the distribution of the test points.
[0096] Specifically, the IBIS file is parsed to find the pin <iopins>Elements, obtain relevant electrical characteristic data. Determine the units of the data in the characteristic curve, such as voltage may be volts (V) and current may be amperes (A). Understand the structure of the curve data, for example, the curve may be a series of points (V, I) given in a table. Analyze the electrical characteristics described by the curve, such as linearity, nonlinearity, threshold, saturation region, etc. Use curve fitting techniques (such as least squares method) to find a mathematical function that can best approximate the original data points. According to the fitted mathematical model, the selected points on the input-output characteristic curve correspond to test voltage values and / or test current values.
[0097] S303: Inputting analog levels to each pin of the target chip in turn, and reading the actual output voltage value and / or actual output current value of the target chip.
[0098] In a specific implementation scenario, the output of the signal generator is connected to the first pin of the target chip. The analog levels in the test sequence are sequentially input to the pin. An oscilloscope or a digital multimeter is used to measure and record the actual output voltage value and / or actual output current value of each test point.
[0099] S304: Compare the test voltage value and / or the test current value with the actual output voltage value and / or the actual output current value to obtain a functional performance test result.
[0100] In a specific implementation scenario, record the test voltage / current value and the actual output voltage / current value of each pin. Use data analysis software or manual methods to compare the difference between the two. Evaluate whether the functional performance of each pin meets expectations based on the comparison results. Determine whether there are deviations beyond the specifications or other abnormal conditions. If abnormalities are found, record the details and perform fault diagnosis.
[0101] From the above description, we can know that by obtaining the model of the target chip and the input and output characteristic curve of each pin through the input and output detection file, we can accurately understand the specifications and characteristics of the target chip. By detecting the electrical characteristics of the pins, we can ensure that the chip can meet the performance requirements in actual applications.
[0102] See also Figure 4 , Figure 4 The chip detection data storage device 10 includes an acquisition module 11, a storage module 12, a backup module 13, a balance module 14 and an encryption module 15.
[0103] The acquisition module 11 is used to perform pin welding quality inspection and functional performance inspection on the target chip to obtain inspection data; the storage module 12 is used to divide the inspection data into multiple data blocks and store them on multiple storage nodes respectively; the backup module 13 is used to perform redundant backup of the database on each storage node; the balancing module 14 is used to ensure the consistency between the various storage nodes through the consistent hashing algorithm and balance the storage load of each storage node; the encryption module 15 is used to adopt an end-to-end encryption method when transmitting the inspection data.
[0104] The acquisition module 11 is used to divide the pins of the target chip into a control group, a high and low bit group, a data group and an address group according to their functions; write test data at any address of the target chip, and read the test data, and detect the welding quality of the control group, the high and low bit group, the data group and the address group according to the read results.
[0105] The acquisition module 11 is used to determine that the welding quality of the control group is poor if the read results are all 0 or all 1; compare whether the read results are consistent with the high-order byte and low-order byte of the test data, if the two are inconsistent in the high-order byte and / or low-order byte, determine that the welding quality of the high-order and low-order groups is poor; execute the steps of writing test data and reading test data through each pin in the data group, if the read results are inconsistent with the test data, determine that the welding quality of the data group is poor; detect the success rate of the write operation when writing the test data, if the success rate is lower than the preset threshold, determine that the welding quality of the address group is poor.
[0106] The acquisition module 11 is used to obtain the input and output detection file, and obtain the model of the target chip and the input and output characteristic curve of each pin of the target chip based on the input and output detection file; generate a test voltage value and / or a test current value according to the input and output characteristic curve; input an analog level to each pin of the target chip in turn, and read the actual output voltage value and / or the actual output current value of the target chip; compare the test voltage value and / or the test current value with the actual output voltage value and / or the actual output current value to obtain a functional performance test result.
[0107] The acquisition module 11 is used to analyze the structure and unit of the input-output characteristic curve, obtain the electrical characteristics described by the input-output characteristic curve, and correspond the points on the input-output characteristic curve to the test voltage value and / or the test current value by using mathematical methods.
[0108] The storage module 12 is used to divide the detection data into multiple data blocks according to the pin type and the slicing rule, and store them in corresponding storage nodes respectively.
[0109] The encryption module 15 is used to set different access rights for different users and systems to ensure that only authorized users can access the detection data; and to record audit logs of data access and operations in order to track data usage and discover potential security issues.
[0110] It can be seen from the above description that in this embodiment, by dividing the detection data into blocks and storing them on multiple storage nodes, distributed storage and management of data can be achieved, the security and reliability of data can be improved, and the access efficiency and processing performance of data can also be improved. By performing redundant backup of the database on each storage node, the security and reliability of data can be improved, the risk of data loss can be reduced, and data can be quickly restored in unexpected situations. Through the consistent hashing algorithm, the data consistency between each storage node can be ensured, and the load of the storage node can be effectively balanced, thereby improving the performance and reliability of the distributed storage system. The use of end-to-end encryption method can ensure the security and reliability of data transmission.
[0111] See also Figure 5 , Figure 5 FIG. 1 shows an internal structure diagram of an intelligent device in an embodiment. The intelligent device may be a terminal or a server. Figure 5 As shown, the smart device includes a processor, a memory and a network interface connected via a system bus. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the smart device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement the temperature control method described above. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can execute the method for detecting chip data. Those skilled in the art will understand that Figure 5 The structure shown in the figure is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the smart device to which the solution of the present application is applied. A specific smart device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0112] In one embodiment, a smart device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes Figure 1 Steps shown.
[0113] In one embodiment, a computer-readable storage medium is provided, which stores a computer program. When the computer program is executed by a processor, the processor executes Figure 1 Steps shown.
[0114] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0115] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0116] It should be understood that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. For those skilled in the art, the technical solutions described in the above embodiments can be modified, or some of the technical features therein can be replaced by equivalents; and all these modifications and replacements should fall within the scope of protection of the claims attached to the present invention.< / iopins> < / iopins> < / pin> < / model> < / iopins> < / pin> < / model>
Claims
1. A method for storing chip detection data, characterized in that: include: Conduct pin welding quality inspection and functional performance inspection on the target chip to obtain inspection data; Dividing the detection data into a plurality of data blocks, and storing them respectively on a plurality of storage nodes; Performing redundant backup of the database on each storage node; The consistency among the storage nodes is ensured by a consistent hashing algorithm, and the storage load of the storage nodes is balanced; Wherein, when transmitting the detection data, an end-to-end encryption method is adopted.
2. The method for storing chip detection data according to claim 1, characterized in that: The step of performing pin welding quality inspection on the target chip comprises: Dividing the pins of the target chip into a control group, a high and low bit group, a data group and an address group according to their functions; Test data is written into any address of the target chip, and the test data is read, and the welding quality of the control group, the high and low bit groups, the data group and the address group is respectively detected according to the read results.
3. The method for storing chip detection data according to claim 2, characterized in that: The step of respectively detecting the welding quality of the control group, the high and low bit groups, the data group and the address group according to the read results includes: If the read results are all 0 or all 1, it is determined that the welding quality of the control group is poor; Comparing the read result with the high-order byte and the low-order byte of the test data to see if they are consistent, and if the two are inconsistent in the high-order byte and / or the low-order byte, determining that the welding quality of the high-and low-order group is poor; Performing the steps of writing the test data and reading the test data through each pin in the data group, and if the read result is inconsistent with the test data, determining that the welding quality of the data group is poor; The success rate of the write operation is detected when writing the test data, and if the success rate is lower than a preset threshold, it is determined that the welding quality of the address group is poor.
4. The method for storing chip detection data according to claim 1, characterized in that: The step of performing functional performance testing on the target chip includes: Acquire an input / output detection file, and acquire the model of the target chip and the input / output characteristic curve of each pin of the target chip based on the input / output detection file; Generate a test voltage value and / or a test current value according to the input-output characteristic curve; Inputting analog levels to each pin of the target chip in turn, and reading actual output voltage value and / or actual output current value of the target chip; The test voltage value and / or the test current value are compared with the actual output voltage value and / or the actual output current value to obtain a functional performance test result.
5. The method for storing chip detection data according to claim 4, characterized in that: The step of generating a test voltage value and / or a test current value according to the input-output characteristic curve comprises: The structure and unit of the input-output characteristic curve are analyzed to obtain the electrical characteristics described by the input-output characteristic curve, and a mathematical method is used to correspond the points on the input-output characteristic curve to the test voltage value and / or the test current value.
6. The method for storing chip detection data according to claim 1, characterized in that: The step of dividing the detection data into a plurality of data blocks comprises: The detection data is divided into a plurality of data blocks according to the pin type and the slicing rule, and the data blocks are stored in corresponding storage nodes respectively.
7. The method for storing chip detection data according to claim 1, characterized in that: The step of adopting an end-to-end encryption method when transmitting the detection data includes: Set different access rights for different users and systems to ensure that only authorized users can access the test data; Audit logs are created to record data access and operations in order to track data usage and identify potential security issues.
8. A storage device for chip detection data, characterized in that: include: An acquisition module is used to perform pin welding quality inspection and functional performance inspection on the target chip and obtain inspection data; A storage module, used for dividing the detection data into a plurality of data blocks, and storing the data blocks in a plurality of storage nodes respectively; A backup module, used for performing redundant backup of the database on each storage node; A balancing module, used to ensure consistency among the storage nodes through a consistent hashing algorithm and balance the storage load of the storage nodes; The encryption module is used to adopt an end-to-end encryption method when transmitting the detection data.
9. A computer-readable storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 7.
10. A smart device, characterized in that: The method comprises a plurality of power supplies to be matched, a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method as claimed in any one of claims 1 to 7.
Citation Information
Cited By
System and method for quickly backing up and recovering data
CN120407289A
