Methods, apparatus, equipment and storage media for detecting memory-length tables

By acquiring and populating the original memory-length table data, randomly sampling and comparing it with the target data, the problem of erroneous data in memory-length table detection was solved, ensuring that the graphics card chip manufacturing meets design expectations and avoiding mass scrapping.

CN115827378BActive Publication Date: 2026-05-19WUHAN BITLAND INFORMATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
WUHAN BITLAND INFORMATION TECH CO LTD
Filing Date
2022-11-23
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

Existing methods for detecting memory length table errors cannot accurately detect errors in the memory length table, causing graphics card chips to fail to meet design expectations and resulting in mass scrapping.

Method used

By obtaining the original memory-equal-length table, filling it with data based on the preset memory-equal-length table, randomly sampling data, and comparing the sampled data with the target data for detection, the influence of human factors is eliminated, ensuring the accuracy of the detection results.

Benefits of technology

It enables memory length table detection without human intervention, avoiding mass scrapping of graphics card chips due to erroneous data and improving detection accuracy and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115827378B_ABST
    Figure CN115827378B_ABST
Patent Text Reader

Abstract

This invention relates to the field of data inspection technology, and discloses a method, apparatus, device, and storage medium for detecting memory equal-length tables. The method includes: obtaining an original memory equal-length table; filling a preset memory equal-length table with data based on the original memory equal-length table to obtain a memory equal-length table to be inspected; randomly sampling each data in the memory equal-length table to be inspected to obtain a preset number of sampled data; and inspecting the memory equal-length table to be inspected based on the sampled data and the target data corresponding to the sampled data. Compared with existing methods for detecting memory equal-length tables, this invention uses a program to inspect the data, and its inspection process is not affected by human factors or external factors. Furthermore, the inspection logic for each set of data is consistent, thereby eliminating the potential for erroneous memory equal-length table data in manual inspection, and thus avoiding the mass scrapping of graphics cards in production due to erroneous data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data detection technology, and in particular to a method, apparatus, device, and storage medium for detecting memory-equal-length tables. Background Technology

[0002] With the development of information technology, the amount of data in graphics card chips is increasing. Correspondingly, the amount of data contained in the memory length table used in the early stages of graphics card design is also growing larger. Since the memory length table directly determines the corresponding trace lengths of the graphics card chip, only an accurate memory length table can produce a graphics card chip that meets design expectations. Therefore, the testing of the memory length table has become an indispensable part of the graphics card chip manufacturing process.

[0003] Current memory length table testing technology typically employs manual testing methods. This inevitably leads to various factors during the testing process (such as work fatigue, external interference, etc.) causing testers to fail to detect erroneous data contained in the memory length table. Consequently, graphics card chips manufactured using memory length tables containing erroneous data fail to meet design requirements, resulting in mass scrapping and significant losses.

[0004] The above content is only used to help understand the technical solution of the present invention and does not represent an admission that the above content is prior art. Summary of the Invention

[0005] The main objective of this invention is to provide a method, apparatus, device, and storage medium for detecting memory-equal-length tables, aiming to solve the technical problem that existing methods for detecting memory-equal-length tables cannot accurately detect erroneous data in memory-equal-length tables.

[0006] To achieve the above objectives, the present invention provides a method for detecting memory-equal-length tables, the method comprising the following steps:

[0007] Obtain the original memory length table, which contains the trace length data between the processor and video memory of the graphics card chip to be manufactured.

[0008] Based on the original memory equal-length table, the preset memory equal-length table is filled with data to obtain the memory equal-length table to be detected.

[0009] Randomly sample each data item in the memory table to be tested to determine a preset number of sampled data items;

[0010] Based on the sampling data and the target data corresponding to the sampling data, the memory table of equal length to be detected is detected to obtain the detection result.

[0011] Optionally, the step of filling a preset memory equal-length table with data based on the original memory equal-length table to obtain a memory equal-length table to be detected includes:

[0012] Extract trace identifiers and chip pin identifiers from a preset memory length table;

[0013] Using the trace identifiers and chip pin identifiers as search terms, a search is performed in the original memory table of equal length.

[0014] Based on the search results, the preset memory equal-length table is populated with data to obtain the memory equal-length table to be detected.

[0015] Optionally, the step of filling the preset memory equal-length table with data based on the search results to obtain the memory equal-length table to be detected includes:

[0016] When the trace identifier and chip pin identifier that are the same as those in the preset memory length table are retrieved, the corresponding surface variables and inner variables in the original memory length table are extracted.

[0017] Based on the surface variables and the inner variables, the preset memory equal-length table is filled with data to obtain the memory equal-length table to be tested.

[0018] Optionally, the step of filling the preset memory-equal-length table with data based on the surface variables and the inner variables to obtain the memory-equal-length table to be detected includes:

[0019] The surface variables and the inner variables are summed respectively to obtain the overall surface variables and the overall inner variables;

[0020] Fill the overall surface variables and the overall inner variables into the preset memory table of equal length;

[0021] Determine whether there are empty cells in the preset memory equal-length table;

[0022] If there are no empty cells in the preset memory equal length table, then the current preset memory equal length table is set as the memory equal length table to be tested.

[0023] Optionally, after determining whether there are empty cells in the preset memory equal-length table, the method further includes:

[0024] If there are empty cells in the preset memory length table, then obtain the trace identifier and chip pin identifier corresponding to the empty cell;

[0025] Based on the trace identifier and chip pin identifier corresponding to the empty cell, the original memory equal-length table is searched;

[0026] Based on the search results, the preset memory equal-length table is populated with data to obtain the memory equal-length table to be detected.

[0027] Optionally, the step of detecting the memory-bound table to be detected based on the sampled data and the target data corresponding to the sampled data to obtain the detection result includes:

[0028] The sampled data is compared with the target data corresponding to the sampled data;

[0029] Based on the comparison results, the memory table of equal length to be tested is tested, and the test results are obtained.

[0030] Optionally, the step of detecting the memory table of equal length to be detected based on the comparison results to obtain the detection results includes:

[0031] Determine whether there is a situation in the comparison results where the sampled data is not equal to the target data corresponding to the sampled data;

[0032] If there is a case where the sampled data is not equal to the target data corresponding to the sampled data, then the detection result of the memory table of equal length to be detected is determined to be incorrect;

[0033] If there is no situation where the sampled data is not equal to the target data corresponding to the sampled data, then the detection result of the memory table of equal length to be detected is determined to be correct.

[0034] Furthermore, to achieve the above objectives, the present invention also proposes a detection device for memory-equal-length tables, the detection device comprising:

[0035] The data acquisition module is used to acquire the original memory length table, which contains the trace length data between the processor and video memory of the graphics card chip to be manufactured.

[0036] The data filling module is used to fill the preset memory equal-length table with data based on the original memory equal-length table to obtain the memory equal-length table to be detected.

[0037] The data sampling module is used to randomly sample each data in the memory table to be tested to determine a preset number of sampled data.

[0038] The data detection module is used to detect the memory table of equal length to be detected based on the sampled data and the target data corresponding to the sampled data, and to obtain the detection result.

[0039] Furthermore, to achieve the above objectives, the present invention also proposes a detection device for a memory-equal-length table, the device comprising: a memory, a processor, and a memory-equal-length table detection program stored in the memory and executable on the processor, the memory-equal-length table detection program being configured to implement the steps of the memory-equal-length table detection method described above.

[0040] Furthermore, to achieve the above objectives, the present invention also proposes a storage medium storing a detection program for a memory-equal-length table, wherein when the memory-equal-length table detection program is executed by a processor, it implements the steps of the memory-equal-length table detection method described above.

[0041] This invention obtains an original memory length table containing trace length data between the processor and video memory of a graphics card. Then, it fills a preset memory length table with data based on the original table to obtain a memory length table to be tested. Next, it randomly samples data from each data point in this table to determine a preset number of samples. Finally, based on the sampled data and their corresponding target data, the memory length table is tested to obtain the test results. Compared to existing methods that test memory length tables, this invention obtains the memory length table to be tested based on a preset and original memory length table, and then randomly checks it to determine the correctness of the data. Because this invention uses a program to test the data, the testing process is unaffected by human or external factors, and the testing logic for each set of data is consistent. This eliminates the hidden danger of erroneous data remaining in memory length tables that are manually verified as correct in existing technologies, thus avoiding mass scrapping of graphics cards due to incorrect memory length table data. Attached Figure Description

[0042] Figure 1 This is a schematic diagram of the structure of a detection device for a memory equal-length table of the hardware operating environment involved in an embodiment of the present invention.

[0043] Figure 2 This is a flowchart illustrating the first embodiment of the method for detecting memory-equal-length tables according to the present invention.

[0044] Figure 3 This is a flowchart illustrating the second embodiment of the method for detecting memory-equal-length tables according to the present invention;

[0045] Figure 4 This is a flowchart illustrating the third embodiment of the method for detecting memory-equal-length tables according to the present invention;

[0046] Figure 5 This is a structural block diagram of the first embodiment of the detection device for memory-equal-length tables of the present invention.

[0047] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0048] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.

[0049] Reference Figure 1 , Figure 1 This is a schematic diagram of the structure of a detection device for a memory equal-length table in the hardware operating environment involved in an embodiment of the present invention.

[0050] like Figure 1 As shown, the detection device for the memory length table may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to establish communication between these components. The user interface 1003 may include a display screen or an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be high-speed random access memory (RAM) or stable non-volatile memory (NVM), such as a disk storage device. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0051] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on the detection device for memory-equal length tables, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0052] like Figure 1 As shown, the memory 1005, which serves as a storage medium, may include an operating system, a network communication module, a user interface module, and a detection program for a long table of memory.

[0053] exist Figure 1In the memory equal-length table detection device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the memory equal-length table detection device of the present invention can be set in the memory equal-length table detection device, and the memory equal-length table detection device calls the memory equal-length table detection program stored in the memory 1005 through the processor 1001 and executes the memory equal-length table detection method provided in the embodiment of the present invention.

[0054] This invention provides a method for detecting memory-equal-length tables, referring to... Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of the method for detecting memory-equal-length tables according to the present invention.

[0055] In this embodiment, the method for detecting the memory-equal-length table includes the following steps:

[0056] Step S10: Obtain the original memory length table, which contains the trace length data between the processor and video memory of the graphics card chip to be manufactured.

[0057] It should be noted that the executing entity of the method in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a mobile phone, tablet computer, or personal computer, or other electronic devices capable of performing the same or similar functions. This embodiment does not limit this. Here, we will use a memory equal-length table detection device (hereinafter referred to as the detection device) as an example to describe various embodiments of the memory equal-length table detection method of the present invention.

[0058] Understandably, when designing graphics card chips for production, manufacturers need to plan and draw the PCB circuitry for the internal processor and video memory. The resulting table of PCB trace lengths is the original memory length table mentioned above. The processor (graphics processing unit), also known as the display core, visual processor, or display chip, is a microprocessor specifically designed for image and graphics-related calculations in personal computers, workstations, game consoles, and some mobile devices (such as tablets and smartphones). Video memory (Graphics Double Data Rate), also known as frame buffer, is used to store rendering data processed or about to be retrieved by the graphics chip. Like computer RAM, video memory stores the graphics information to be processed. The image we see on the screen is composed of individual pixels, and each pixel uses 4 to 32 or even 64 bits of data to control its brightness and color. This data is stored in video memory, then allocated by the display chip and CPU, and finally the calculation result is output.

[0059] In a specific implementation, the original memory length table can be obtained by directly connecting the data receiving port of the testing device to the data sending port of the graphics card chip device to be manufactured. Alternatively, the original memory length table stored in the graphics card chip device to be manufactured can be copied using a removable storage device, and then the removable storage device can be connected to the testing device to obtain the original memory length table. Other methods for obtaining the original memory length table are also applicable to this embodiment and will not be elaborated here.

[0060] Step S20: Fill the preset memory equal-length table with data based on the original memory equal-length table to obtain the memory equal-length table to be detected.

[0061] It should be noted that the aforementioned preset memory length equalization table is a table containing entries corresponding to the target trace length data. The target trace length data refers to the PCB trace length data of the internal processor and memory chips during the production of the graphics card chip. Furthermore, all cells corresponding to entries in the preset memory length equalization table are in an unfilled state, i.e., empty. For example, if the preset memory length equalization table contains three entries A, B, and C, then the trace length data X, Y, and Z corresponding to entries A, B, and C respectively need to be selected from the original memory length equalization table, and then X, Y, and Z need to be filled into the aforementioned preset memory length equalization table.

[0062] In a specific implementation, a data transmission channel can be established between the original memory equal-length table and the preset memory equal-length table, so that data filling can be achieved each time data needs to be filled. Alternatively, the data to be filled from the original memory equal-length table into the preset memory equal-length table can be stored in local memory. When the amount of data in the preset memory equal-length table is detected to be consistent with the amount of data in the local memory, the data stored in the local memory can be sent to fill the preset memory equal-length table. This embodiment does not limit the method of data filling.

[0063] Step S30: Randomly sample each data in the memory table to be tested to determine a preset number of sampled data.

[0064] It should be noted that the above-mentioned memory length table to be tested is the table when all empty cells in the above-mentioned preset memory length table have been filled.

[0065] It should be understood that the above sampling data refers to the trace length data between the processor and video memory of the graphics card chip to be manufactured, corresponding to any cell in the table of equal lengths of memory to be tested. In addition, the specific value of the preset quantity can be determined based on the total number of data in the table of equal lengths of memory to be tested.

[0066] In specific implementations, stratified sampling can be used to randomly sample the data in the memory table to be tested. That is, the data population is first divided into several subpopulations based on one or a set of characteristics. Each subpopulation is called a stratum. Then, a subsample is randomly selected from each stratum. These subsamples together are the sampled data of the preset number. Alternatively, pure random sampling can be used to randomly sample the data in the memory table to be tested. That is, all data in the data population is numbered, and then sampling is performed from a random starting point (any row or column) in the random number table from left to right or from right to left, up or down, until the preset number of sampled data is obtained.

[0067] Step S40: Based on the sampling data and the target data corresponding to the sampling data, the memory table of equal length to be detected is detected to obtain the detection result.

[0068] It should be noted that the target data mentioned above refers to the PCB trace lengths for the processor and memory in the final graphics card chip manufacturing process. In other words, only graphics card chips manufactured using the target data will meet the design expectations.

[0069] In a practical implementation, the above-mentioned sampled data and target data can be vectorized separately, and then the above-mentioned memory table of equal length to be detected can be detected based on the vectorized data.

[0070] This embodiment obtains an original memory length table, which stores the trace length data between the processor and video memory of the graphics card. Then, based on the original memory length table, a preset memory length table is populated with data to obtain a memory length table to be tested. Next, a preset number of sampled data are randomly sampled from each data point in the memory length table to be tested. Finally, based on the sampled data and the corresponding target data, the memory length table to be tested is tested to obtain the test result. Compared to existing methods for testing memory length tables, the method of this invention obtains the memory length table to be tested based on a preset memory length table and an original memory length table, and then randomly checks to determine whether the data in the memory length table to be tested is correct. Because the method of this embodiment uses a program to test the data, its testing process is not affected by human factors or external factors, and the testing logic for each set of data is consistent. This eliminates the hidden danger of erroneous data still existing in memory length tables that are manually tested as correct in existing technologies, thereby avoiding mass scrapping of graphics cards to be manufactured due to erroneous memory length table data.

[0071] refer to Figure 3 , Figure 3 This is a flowchart illustrating the second embodiment of the method for detecting memory-equal-length tables according to the present invention.

[0072] Based on the first embodiment described above, in this embodiment, to ensure that the data in the preset memory equal-length table all originate from the original memory equal-length table, thereby enhancing the accuracy of the detection results, step S20 may include:

[0073] Step S201: Extract trace identifiers and chip pin identifiers from the preset memory length table.

[0074] It should be noted that the above trace identifier is the net name, which is used to indicate the name of the PCB trace of the internal processor and video memory when the graphics card chip is to be manufactured; the above chip pin identifier is the pin number, which is used to indicate the pin name of the graphics card chip to be manufactured.

[0075] In a specific implementation, a data transmission channel can be established between the detection device and the aforementioned preset memory table of equal length. This data transmission channel can then be used to perform the extraction operation whenever it is necessary to extract trace identifiers and chip pin identifiers. Alternatively, the trace identifiers and chip pin identifiers to be extracted can be stored in a removable memory. If no extraction command is detected within a preset time, the data stored in the removable memory can be transmitted to the detection device. This embodiment does not limit the method of extracting trace identifiers and chip pin identifiers.

[0076] Step S202: Use the trace identifier and the chip pin identifier as search terms to perform a search in the original memory length table.

[0077] In a practical implementation, the search can be performed row by row and column by column in the original memory table. Furthermore, other search methods capable of searching for trace identifiers and chip pin identifiers are also applicable to this embodiment, and will not be elaborated upon here.

[0078] Step S203: Fill the preset memory equal-length table with data based on the search results to obtain the memory equal-length table to be detected.

[0079] In a specific implementation, the data to be filled into the aforementioned preset memory-equal-length table can be stored in local memory. When no fill instruction is detected within a preset time, the data stored in local memory is sent to fill the aforementioned preset memory-equal-length table. Furthermore, other filling methods capable of filling the preset memory-equal-length table are also applicable to this embodiment, and will not be elaborated upon here.

[0080] Furthermore, in this embodiment, in order to improve the accuracy of data in long tables such as memory to be detected, step S203 may include:

[0081] Step S2031: When the trace identifier and chip pin identifier that are the same as those in the preset memory length table are retrieved, the corresponding surface variables and inner variables in the original memory length table are extracted.

[0082] It should be noted that the PCB circuitry corresponding to the processor and video memory inside the graphics card chip contains several layers. The routing data of the top and bottom layers are the aforementioned surface layer variables, and the routing data of the middle layers (excluding the top and bottom layers) are the aforementioned inner layer variables.

[0083] In a specific implementation, a data transmission channel can be established between the detection device and the original memory table of equal length. This data transmission channel can then be used to perform the extraction operation whenever it is necessary to extract the surface variables and inner variables. Alternatively, the surface variables and inner variables to be extracted can be stored in a removable memory. If no extraction command is detected within a preset time, the data stored in the removable memory can be transmitted to the detection device. This embodiment does not limit the method of extracting surface variables and inner variables.

[0084] Step S2032: Based on the surface variables and the inner variables, fill the preset memory equal-length table with data to obtain the memory equal-length table to be detected.

[0085] In a specific implementation, the data to be filled into the aforementioned preset memory-equal-length table can be stored in local memory. When no fill instruction is detected within a preset time, the data stored in local memory is sent to fill the aforementioned preset memory-equal-length table. Furthermore, other filling methods capable of filling the preset memory-equal-length table are also applicable to this embodiment, and will not be elaborated upon here.

[0086] Furthermore, in this embodiment, to ensure that all empty cells in the aforementioned preset memory equal-length table are filled, thereby improving the accuracy of the memory equal-length table to be detected, step S2032 may include:

[0087] Step S20321: Summate the surface variables and the inner variables respectively to obtain the overall surface variables and the overall inner variables.

[0088] In a specific implementation, the above-mentioned surface variables and inner variables can be summed separately by accumulation, superposition or other methods, and this embodiment does not impose any restrictions on this.

[0089] Step S20322: Fill the overall surface variables and the overall inner variables into the preset memory table of equal length.

[0090] In a specific implementation, the data to be filled into the aforementioned preset memory-equal-length table can be stored in local memory. When no fill instruction is detected within a preset time, the data stored in local memory is sent to fill the aforementioned preset memory-equal-length table. Furthermore, other filling methods capable of filling the preset memory-equal-length table are also applicable to this embodiment, and will not be elaborated upon here.

[0091] Step S20323: Determine whether there are empty cells in the preset memory equal-length table.

[0092] It should be noted that the empty cells mentioned above are the PCB trace length data of the processor and memory corresponding to the graphics card chip to be manufactured, which are the cells to be filled.

[0093] In a specific implementation, it can be determined whether there are empty cells in the preset memory equal-length table by performing null value detection on all cells in the preset memory equal-length table row by row and column by column. Alternatively, it can be determined whether there are empty cells in the preset memory equal-length table by converting the two-dimensional dataset corresponding to all cells in the preset memory equal-length table into a three-dimensional vector dataset and then searching for vector data corresponding to null values ​​in the three-dimensional vector dataset. This embodiment does not limit the above determination method.

[0094] Step S20324: If there are no empty cells in the preset memory equal length table, then set the current preset memory equal length table as the memory equal length table to be detected.

[0095] It should be understood that when no empty values ​​are detected in the above-mentioned preset memory length table, it means that all cells in the preset memory length table are filled, that is, the PCB trace length data of the processor and video memory corresponding to the graphics card chip to be manufactured are filled. Therefore, it can be set as the memory length table to be tested.

[0096] Furthermore, in this embodiment, to prevent the presence of empty cells in the aforementioned preset memory table from causing errors in the final detection result, after step S20324, the following may also be included:

[0097] Step S20325: If there are empty cells in the preset memory length table, then obtain the trace identifier and chip pin identifier corresponding to the empty cell.

[0098] It should be understood that if there are empty cells in the preset memory length table after the initial filling operation, it means that the data in the preset memory length table is missing and does not meet the PCB trace length data of the processor and memory corresponding to the graphics card chip to be produced. Therefore, there is no point in testing. At this time, the specific location information of the empty cells can be confirmed by obtaining the trace identifier and chip pin identifier corresponding to the missing data table item.

[0099] Step S20326: Search the original memory equal-length table based on the trace identifier and chip pin identifier corresponding to the empty cell.

[0100] In a practical implementation, the search can be performed row by row and column by column in the original memory table. Furthermore, other search methods capable of searching for trace identifiers and chip pin identifiers are also applicable to this embodiment, and will not be elaborated upon here.

[0101] Step S20327: Fill the preset memory equal-length table with data based on the search results to obtain the memory equal-length table to be detected.

[0102] In a specific implementation, the data to be filled into the aforementioned preset memory-equal-length table can be stored in the local memory of the detection device. When no filling instruction is detected within a preset time, the data stored in the local memory is sent to fill the aforementioned preset memory-equal-length table. Furthermore, other filling methods capable of filling the preset memory-equal-length table are also applicable to this embodiment, and will not be elaborated upon here.

[0103] This embodiment extracts trace identifiers and chip pin identifiers from a preset memory equalization table. Using these identifiers as search terms, it searches the original memory equalization table. When trace identifiers and chip pin identifiers identical to those in the preset memory equalization table are found, the corresponding surface and inner variables in the original memory equalization table are extracted. Finally, the preset memory equalization table is filled with data based on these surface and inner variables to obtain the memory equalization table to be tested. Compared to existing methods for obtaining the memory equalization table to be tested, this embodiment uses a detection device to perform fixed-logic extraction, retrieval, and filling methods to fill the corresponding data from the original memory equalization table into the preset memory equalization table. Simultaneously, it performs null value checks on the filled preset memory equalization table, thereby avoiding the technical problems of data omission or error that easily occur when obtaining large amounts of memory equalization tables to be tested in existing technologies, and accurately obtaining the memory equalization table to be tested.

[0104] refer to Figure 4 , Figure 4 This is a flowchart illustrating the third embodiment of the method for detecting memory-equal-length tables according to the present invention.

[0105] Based on the above embodiments, in this embodiment, in order to accurately determine whether the trace length data in the above-mentioned memory length table meets the design requirements of the graphics card chip, step S40 may include:

[0106] Step S401: Compare the sampled data with the target data corresponding to the sampled data.

[0107] It should be understood that the target data corresponding to the sampling data can be identified through the trace markings and chip pin markings in the above sampling data.

[0108] In a practical implementation, the two-dimensional space corresponding to the above-mentioned sampling data and the target data corresponding to the above-mentioned sampling data can be converted into a three-dimensional space. In this three-dimensional space, the sampling data and the target data are vectorized respectively, so that the comparison can be realized based on the vectorized vector data.

[0109] Step S402: Based on the comparison results, the memory table to be detected is tested to obtain the detection results.

[0110] It should be understood that the above comparison results are used to reflect the degree of data consistency between the sampled data and the target data corresponding to the sampled data. It can be reflected in the form of a percentage, for example, the degree of data consistency between the sampled data and the target data corresponding to the sampled data is 100%, in which case the sampled data and the target data corresponding to the sampled data are completely equal; it can also be reflected by listing specific data, for example, the sampled data are A, B, and C, and the target data corresponding to the sampled data are A, B, and C, in which case the sampled data and the target data corresponding to the sampled data are completely equal.

[0111] Furthermore, based on the above embodiments, in this embodiment, in order to quickly detect the memory table of equal length to be detected, step S402 may include:

[0112] Step S4021: Determine whether there is a situation in the comparison results where the sampled data is not equal to the target data corresponding to the sampled data.

[0113] Understandably, there are various formats for presenting comparison results. The purpose of this embodiment is to determine whether the trace length data in the memory length table to be tested is consistent with the corresponding trace length data in the final graphics card chip manufacturing process, rather than listing the specific data that are inconsistent between the two. Therefore, the detection speed of the memory length table to be tested can be improved by simply determining whether there are cases where the sampled data is unequal to the target data corresponding to the sampled data in the comparison results, thereby improving work efficiency. Furthermore, when a case where the sampled data is unequal to the target data is detected for the first time, the detection result of the memory length table to be tested can be judged immediately without needing to test subsequent data, thereby further improving the detection speed of the memory length table to be tested.

[0114] In practical implementation, a data detection table with a judgment function can be established. By filling the above sampled data and the target data corresponding to the sampled data into the corresponding cells of the data detection table, the output column of the data detection table can directly observe whether there is a situation in the comparison results where the sampled data and the target data corresponding to the sampled data are not equal.

[0115] Step S4022: If there is a case where the sampled data is not equal to the target data corresponding to the sampled data, then the detection result of the memory table of equal length to be detected is determined to be incorrect.

[0116] It should be understood that if the sampled data and the corresponding target data are not equal in the above comparison results, it indicates that the trace length data in the memory length matching table to be tested is inconsistent with the trace length data in the final graphics card chip manufacturing process. In other words, if the trace length data in the current memory length matching table to be tested is used to produce the graphics card chip, the resulting graphics card chip will definitely be inconsistent with the design expectation. Therefore, it can be determined that the test results of the current memory length matching table to be tested are incorrect.

[0117] Step S4023: If there is no case where the sampled data is not equal to the target data corresponding to the sampled data, then the detection result of the memory table of equal length to be detected is determined to be correct.

[0118] In practical implementation, it should be understood that if there is no discrepancy between the sampled data and the target data corresponding to the sampled data in the above comparison results, it means that the trace length data in the memory length table to be tested is consistent with the PCB trace length data of the processor and video memory in the final graphics card chip manufacturing process. In this case, it can be determined that the detection result of the current memory length table to be tested is correct.

[0119] This embodiment compares the sampled data with the corresponding target data. It determines whether there is a discrepancy between the sampled data and the target data in the comparison results. If such a discrepancy exists, the detection result for the memory-equal-length table is determined to be incorrect; otherwise, the detection result is determined to be correct. Compared to existing technologies, this embodiment's method, by determining whether there is a discrepancy between the sampled data and the target data in the comparison results, and immediately stopping the comparison process and outputting the detection result when a detection result can be determined, can quickly detect memory-equal-length tables, improving work efficiency.

[0120] Furthermore, this embodiment of the invention also proposes a storage medium storing a detection program for a memory-equal-length table. When the memory-equal-length table detection program is executed by a processor, it implements the steps of the memory-equal-length table detection method described above.

[0121] Reference Figure 5 , Figure 5 This is a structural block diagram of the first embodiment of the detection device for memory-equal-length tables of the present invention.

[0122] like Figure 5 As shown, the memory-equal-length table detection device proposed in this embodiment of the invention includes:

[0123] Data acquisition module 501 is used to acquire the original memory length table, which stores the trace length data between the processor and video memory of the graphics card chip to be manufactured.

[0124] Data filling module 502 is used to fill the preset memory equal-length table with data based on the original memory equal-length table to obtain the memory equal-length table to be detected;

[0125] The data sampling module 503 is used to randomly sample each data in the memory table to be tested to determine a preset number of sampled data.

[0126] The data detection module 504 is used to detect the memory table of equal length to be detected based on the sampled data and the target data corresponding to the sampled data, and obtain the detection result.

[0127] This embodiment obtains an original memory length table, which stores the trace length data between the processor and video memory of the graphics card. Then, based on the original memory length table, a preset memory length table is populated with data to obtain a memory length table to be tested. Next, a preset number of sampled data are randomly sampled from each data point in the memory length table to be tested. Finally, based on the sampled data and the corresponding target data, the memory length table to be tested is tested to obtain the test result. Compared to existing methods for testing memory length tables, the method of this invention obtains the memory length table to be tested based on a preset memory length table and an original memory length table, and then randomly checks to determine whether the data in the memory length table to be tested is correct. Because the method of this embodiment uses a program to test the data, its testing process is not affected by human factors or external factors, and the testing logic for each set of data is consistent. This eliminates the hidden danger of erroneous data still existing in memory length tables that are manually tested as correct in existing technologies, thereby avoiding mass scrapping of graphics cards to be manufactured due to erroneous memory length table data.

[0128] Other embodiments or specific implementations of the detection device for memory equal-length tables of the present invention can be referred to the above-described method embodiments, and will not be repeated here.

[0129] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.

[0130] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0131] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as read-only memory / random access memory, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0132] The above are merely preferred embodiments of the present invention and do not limit the patent scope of the present invention. Any equivalent structural or procedural transformations made based on the content of the present invention's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of the present invention.

Claims

1. A method for detecting memory-equal-length tables, characterized in that, include: Obtain the original memory length table, which contains the trace length data between the processor and video memory of the graphics card chip to be manufactured. Based on the original memory equal-length table, the preset memory equal-length table is filled with data to obtain the memory equal-length table to be detected. Randomly sample each data item in the memory table to be tested to determine a preset number of sampled data items; Based on the sampling data and the target data corresponding to the sampling data, the memory table of equal length to be detected is detected to obtain the detection result. The step of filling a preset memory equal-length table with data based on the original memory equal-length table to obtain a memory equal-length table to be detected includes: Extract trace identifiers and chip pin identifiers from a preset memory length table. The trace identifiers represent the names of the PCB traces between the processor and the video memory, and the chip pin identifiers represent the pin names of the graphics card chip to be manufactured. Using the trace identifiers and chip pin identifiers as search terms, a search is performed in the original memory table of equal length. Based on the search results, the preset memory equal-length table is populated with data to obtain the memory equal-length table to be detected.

2. The method for detecting memory-equal-length tables as described in claim 1, characterized in that, The step of filling the preset memory equal-length table with data based on the search results to obtain the memory equal-length table to be detected includes: When the trace identifier and chip pin identifier that are the same as those in the preset memory length table are retrieved, the corresponding surface variables and inner variables in the original memory length table are extracted. Based on the surface variables and the inner variables, the preset memory equal-length table is filled with data to obtain the memory equal-length table to be tested.

3. The method for detecting memory-equal-length tables as described in claim 2, characterized in that, The step of filling the preset memory-equal-length table with data based on the surface variables and the inner variables to obtain the memory-equal-length table to be detected includes: The surface variables and the inner variables are summed respectively to obtain the overall surface variables and the overall inner variables; Fill the overall surface variables and the overall inner variables into the preset memory table of equal length; Determine whether there are empty cells in the preset memory equal-length table; If there are no empty cells in the preset memory equal length table, then the current preset memory equal length table is set as the memory equal length table to be tested.

4. The method for detecting memory-equal-length tables as described in claim 3, characterized in that, After determining whether there are empty cells in the preset memory equal-length table, the method further includes: If there are empty cells in the preset memory length table, then obtain the trace identifier and chip pin identifier corresponding to the empty cell; Based on the trace identifier and chip pin identifier corresponding to the empty cell, the original memory equal-length table is searched; Based on the search results, the preset memory equal-length table is populated with data to obtain the memory equal-length table to be detected.

5. The method for detecting memory-equal-length tables as described in claim 1, characterized in that, The step of detecting the memory-bound table of equal length based on the sampled data and the target data corresponding to the sampled data, and obtaining the detection results, includes: The sampled data is compared with the target data corresponding to the sampled data; Based on the comparison results, the memory table of equal length to be detected is tested, and the detection results are obtained.

6. The method for detecting memory-equal-length tables as described in claim 5, characterized in that, The detection of the memory-equal-length table to be detected based on the comparison results yields the following results: Determine whether there is a situation in the comparison results where the sampled data is not equal to the target data corresponding to the sampled data; If there is a case where the sampled data is not equal to the target data corresponding to the sampled data, then the detection result of the memory table of equal length to be detected is determined to be incorrect; If there is no situation where the sampled data is not equal to the target data corresponding to the sampled data, then the detection result of the memory table of equal length to be detected is determined to be correct.

7. A detection device for a memory-equal-length table, characterized in that, include: The data acquisition module is used to acquire the original memory length table, which contains the trace length data between the processor and video memory of the graphics card chip to be manufactured. The data filling module is used to fill the preset memory equal-length table with data based on the original memory equal-length table to obtain the memory equal-length table to be detected. The data sampling module is used to randomly sample each data in the memory table to be tested to determine a preset number of sampled data. The data detection module is used to detect the memory table of equal length to be detected based on the sampled data and the target data corresponding to the sampled data, and to obtain the detection result. The data filling module is also used for: Extract trace identifiers and chip pin identifiers from a preset memory length table. The trace identifiers represent the names of the PCB traces between the processor and the video memory, and the chip pin identifiers represent the pin names of the graphics card chip to be manufactured. Using the trace identifiers and chip pin identifiers as search terms, a search is performed in the original memory table of equal length. Based on the search results, the preset memory equal-length table is populated with data to obtain the memory equal-length table to be detected.

8. A detection device for memory-equal-length tables, characterized in that, The device includes: a memory, a processor, and a detection program for a memory-equal-length table stored in the memory and executable on the processor, the memory-equal-length table detection program being configured to implement the steps of the memory-equal-length table detection method as described in any one of claims 1 to 6.

9. A storage medium, characterized in that, The storage medium stores a detection program for a memory equal-length table, and when the memory equal-length table detection program is executed by the processor, it implements the steps of the memory equal-length table detection method as described in any one of claims 1 to 6.