Method and device for automatically detecting graphics card under domestic platform, and medium

By developing automatic detection applications based on Linux system on domestic platforms, the problem of low complexity and automation of graphics card detection on domestic platforms has been solved, efficient automatic detection of graphics cards has been achieved, detection efficiency and accuracy have been improved, and domestically produced has been promoted. The development of graphics cards.

CN119311554APending Publication Date: 2025-01-14西安超越申泰信息科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411424918.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-12
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

There is a lack of general graphics card detection software on domestic platforms. The existing detection methods are complex in operation and low in automation, making it difficult to achieve batch flow detection, resulting in low detection efficiency and low accuracy.

Method used

Develop an automatic detection application based on Linux system. By writing test scripts and building a domestic test platform, the basic information, functions and stability detection of the graphics card is realized, including entering graphics card parameters, video playback tests and repeated switch-off tests, and generating tests Record the document.

Benefits of technology

It realizes automated detection of graphics cards under domestic platforms, improves detection efficiency and accuracy, reduces detection difficulty, and provides a general testing method suitable for different domestic platforms and graphics cards. It has simple operation and high software automation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119311554A_ABST
    Figure CN119311554A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of video card detection, and relates to a video card automatic detection method and device under a domestic platform, and a medium. The method comprises the following steps: writing an automatic detection application program for detecting a display card; in the automatic detection application program, compiling a test script by using a related command of a Linux system so as to detect basic information of the display card; building a domestic test platform; for the type of the graphics card tested for the first time, inputting basic parameters of the graphics card in the automatic detection program, and storing the basic parameters as a graphics card target parameter file; inserting a to-be-tested display card into a PCIE slot of a computer, connecting a corresponding interface of a display, and starting up to check whether the system and the display card can normally display; if the display card can normally display, starting an automatic detection application program for testing; after the test is completed, the system automatically judges whether the display card is qualified or not and generates a test record document. The detection efficiency is improved, the detection difficulty is reduced, and the accuracy of the detection result is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of graphics card detection technology, and more particularly to a method, device and medium for automatically detecting graphics cards on a domestic platform. Background Art

[0002] At present, the full name of the graphics card is display interface card. It is an important component that connects the monitor and the mainboard of the personal computer. It is responsible for processing graphics and video related computing tasks in the computer system, converting the display information required by the computer system to drive the monitor, and providing the monitor with progressive or interlaced scanning signals to control the correct display of the monitor. Graphics card detection is a technology used to detect whether the display function and performance of the graphics card are normal, ensuring that there are no abnormal working conditions such as screen distortion and freeze when it is working. The purpose of graphics card detection is to ensure that the display function of the graphics card is normal.

[0003] At present, the operating systems of domestic processor platforms, such as Kirin and UOS, are developed based on the Linux kernel, which is significantly different from the Windows system. Therefore, applications on domestic operating systems often need to be developed separately or undergo specific conversions before they can run. This has led to a lack of universal graphics card testing software on domestic platforms, which has brought many inconveniences to the detection of graphics cards.

[0004] The current inspection methods for graphics cards in the industry mainly rely on manually entering the BIOS and system for inspection, or manually entering command lines based on the Linux system for inspection. These methods are not only complicated to operate, but also require the inspectors to have a certain software foundation, with a low degree of automation, making it difficult to achieve batch flow inspection. With the continuous development and popularization of domestic platforms, the demand for graphics card inspection is increasing, and a more efficient and convenient graphics card inspection method is urgently needed.

[0005] In view of the above situation, it is particularly important to invent a graphics card automatic detection method based on a domestic platform.

[0006] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0007] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0008] The disclosed embodiments provide a method, device, and medium for automatically detecting graphics cards on a domestic platform, thereby realizing automatic detection of graphics cards, thereby improving detection efficiency, reducing detection difficulty, and improving the accuracy of detection results.

[0009] In some embodiments, the method comprises:

[0010] Write an automatic detection application based on Linux system to detect the basic information, functions and stability of the graphics card;

[0011] In the automatic detection application, a test script is written using relevant commands of the Linux system to detect basic information of the graphics card;

[0012] Build a domestic test platform and install the domestic operating system and related drivers and video playback software required for the test tasks on the domestic computer platform;

[0013] For the graphics card model tested for the first time, enter the basic parameters of the graphics card in the automatic detection program, including model, video memory, resolution, etc., and save them as a graphics card target parameter file;

[0014] In the subsequent test, insert the graphics card to be tested into the PCIE slot of the computer, connect it to the corresponding interface of the monitor, and turn on the computer to check whether the system and graphics card can display normally;

[0015] If the graphics card can display normally, start the automatic detection application to test, and perform basic information detection, function detection and stability detection in sequence;

[0016] After the test is completed, the system automatically determines whether the graphics card is qualified and generates a test record document, which is saved in the default folder.

[0017] Preferably, the basic information of the graphics card includes checking the graphics card model, checking the video memory capacity, checking the resolution and checking the driver version.

[0018] Preferably, the automatic detection application also includes a function test of the graphics card, by running a specific video playback test command and performance test software to evaluate the performance of the graphics card;

[0019] The automatic detection application also includes a stability test for the graphics card, which evaluates the stability of the graphics card by executing repeated power on and power off test instructions and reading relevant information of the graphics card.

[0020] Preferably, the test script also includes new file creation and data saving instructions for saving data generated during the test process.

[0021] Preferably, the stability detection of the graphics card also includes performing a long-time operation test on the graphics card.

[0022] In some embodiments, the system comprises:

[0023] Automatic detection application, which runs on Linux system and is used to perform basic information detection, function detection and stability detection of graphics cards;

[0024] Basic information detection module, check the graphics card model, video memory capacity, resolution and driver version through the relevant commands of the Linux system, and create a new file to save the detection data;

[0025] Function detection module, including video playback test command, Unixbench software running command, glxgears software running command and glmark2 software running command, used to evaluate the performance of graphics card;

[0026] The stability detection module detects the stability of the graphics card by repeating the power on and power off test instructions and reading the relevant information of the graphics card;

[0027] The visual window interface module is implemented through Linux programming and is used to display detection functions and results.

[0028] Preferably, the automatic detection application further includes a graphics card target parameter file entry module, which is used to enter the graphics card model, video memory, and resolution when testing a certain model of graphics card for the first time, and save it as a graphics card target parameter file.

[0029] In some embodiments, the device includes a processor and a memory storing program instructions, and the processor is configured to execute the method for automatic detection of graphics cards on a domestic platform when running the program instructions.

[0030] In some embodiments, the storage medium stores program instructions, and when the program instructions are run, they execute the method for automatic detection of graphics cards on a domestic platform.

[0031] The embodiments of the present disclosure provide a method, device, and medium for automatically detecting a graphics card on a domestic platform, which can achieve the following technical effects:

[0032] The present invention can provide a universal testing method for the automatic detection of graphics cards under domestic platforms, realize automatic testing and automatically generate test reports, reduce the technical difficulty of testing graphics cards under domestic platforms, and improve the testing efficiency of graphics cards; the present invention performs function and performance tests on graphics cards, is applicable to different domestic platforms and graphics cards, is simple to operate, has a high degree of software automation, and is conducive to promoting the localization development of graphics cards.

[0033] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:

[0035] Figure 1 It is a schematic flow chart of the method of the present invention;

[0036] Figure 2 It is a schematic diagram of a device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0037] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.

[0038] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so as to describe the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0039] Unless otherwise stated, the term "plurality" means two or more.

[0040] like Figure 1 As shown, a method for automatically detecting a graphics card on a domestic platform includes:

[0041] S1: Write an automatic detection application based on Linux system to detect the basic information, functions and stability of the graphics card;

[0042] S2: In the automatic detection application, a test script is written using relevant commands of the Linux system to detect basic information of the graphics card;

[0043] S3: Build a domestic test platform and install the domestic operating system and related drivers and video playback software required for the test task on the domestic computer platform;

[0044] S4: For the graphics card model tested for the first time, enter the basic parameters of the graphics card in the automatic detection program, including model, video memory, and resolution, and save them as a graphics card target parameter file;

[0045] S5: In the subsequent test, insert the graphics card to be tested into the PCIE slot of the computer, connect it to the corresponding interface of the monitor, and start the computer to check whether the system and graphics card can display normally;

[0046] S6: If the graphics card can display normally, start the automatic detection application to test, and perform basic information detection, function detection and stability detection in sequence;

[0047] S7: After the test is completed, the system determines whether the graphics card is qualified and generates a test record document, which is saved in the default folder.

[0048] As a refinement of the above embodiment, the basic information test program of the graphics card is composed of relevant instructions of the Linux system, including commands for checking the graphics card model, checking the video memory capacity, checking the resolution, checking the driver version, etc., as well as creating new files and saving data.

[0049] As a refinement of the above embodiment, the automatic detection application also includes a function detection of the graphics card, which evaluates the performance of the graphics card by running specific video playback test commands and performance test software; including video playback test commands, Unixbench software running commands, glxgears software running commands, and glmark2 software running commands.

[0050] The automatic detection application also includes a stability test for the graphics card, which evaluates the stability of the graphics card by executing repeated power on and power off test instructions and reading relevant information of the graphics card.

[0051] As a refinement of the above embodiment, the test script also includes a new file creation and data saving instruction for saving the data generated during the test process.

[0052] As a refinement of the above embodiment, the stability detection of the graphics card also includes performing a long-time operation test on the graphics card.

[0053] A graphics card automatic detection system under a domestic platform, comprising:

[0054] Automatic detection application, which runs on Linux system and is used to perform basic information detection, function detection and stability detection of graphics cards;

[0055] Basic information detection module, check the graphics card model, video memory capacity, resolution and driver version through the relevant commands of the Linux system, and create a new file to save the detection data;

[0056] Function detection module, including video playback test command, Unixbench software running command, glxgears software running command and glmark2 software running command, used to evaluate the performance of graphics card;

[0057] The stability detection module detects the stability of the graphics card by repeating the power on and power off test instructions and reading the relevant information of the graphics card;

[0058] The visual window interface module is implemented through Linux programming and is used to display detection functions and results.

[0059] The automatic detection application also includes a graphics card target parameter file entry module, which is used to enter the model, video memory, and resolution of the graphics card when testing a certain model of graphics card for the first time, and save it as a graphics card target parameter file.

[0060] Combination Figure 2 As shown, the embodiment of the present disclosure provides a device 300 for automatically detecting a graphics card on a domestic platform, including a processor 304 and a memory 301. Optionally, the device may also include a communication interface 302 and a bus 303. The processor 304, the communication interface 302, and the memory 301 may communicate with each other through the bus 303. The communication interface 302 may be used for information transmission. The processor 304 may call the logic instructions in the memory 301 to execute the method for automatically detecting a graphics card on a domestic platform of the above embodiment.

[0061] In addition, the logic instructions in the memory 301 described above can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.

[0062] The memory 301 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor 304 executes the functional application and data processing by running the program instructions / modules stored in the memory 301, that is, the automatic detection method of the graphics card on the domestic platform in the above embodiment is realized.

[0063] The memory 301 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 301 may include a high-speed random access memory and may also include a non-volatile memory.

[0064] The embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to execute the above-mentioned method for automatically detecting a graphics card on a domestic platform.

[0065] The computer-readable storage medium mentioned above may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.

[0066] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes, or a transient storage medium.

[0067] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.

[0068] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present disclosure. The technicians may clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0069] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.

[0070] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A method for automatically detecting a graphics card on a domestic platform, characterized in that: The following steps are involved: Write an automatic detection application based on Linux system to detect the basic information, functions and stability of the graphics card; In the automatic detection application, a test script is written using relevant commands of the Linux system to detect basic information of the graphics card; Build a domestic test platform and install the domestic operating system and related drivers and video playback software required for the test tasks on the domestic computer platform; For the graphics card model tested for the first time, enter the basic parameters of the graphics card in the automatic detection program, including model, video memory, and resolution, and save them as a graphics card target parameter file; In the subsequent test, insert the graphics card to be tested into the PCIE slot of the computer, connect it to the corresponding interface of the monitor, and turn on the computer to check whether the system and graphics card can display normally; If the graphics card can display normally, start the automatic detection application to test, and perform basic information detection, function detection and stability detection in sequence; After the test is completed, the system determines whether the graphics card is qualified and generates a test record document, which is saved in the default folder.

2. The method for automatically detecting a graphics card on a domestic platform according to claim 1, characterized in that: The basic information of the graphics card includes checking the graphics card model, checking the video memory capacity, checking the resolution and checking the driver version.

3. The method for automatically detecting a graphics card on a domestic platform according to claim 1, characterized in that: The automatic detection application also includes a function detection of the graphics card, which evaluates the performance of the graphics card by running specific video playback test commands and performance test software; The automatic detection application also includes a stability test for the graphics card, which evaluates the stability of the graphics card by executing repeated power on and power off test instructions and reading relevant information of the graphics card.

4. The method for automatically detecting a graphics card on a domestic platform according to claim 1, characterized in that: The test script also includes new file creation and data saving instructions for saving data generated during the test process.

5. The method for automatically detecting a graphics card on a domestic platform according to claim 1, characterized in that: The stability detection of the graphics card also includes performing a long-term operation test on the graphics card.

6. A graphics card automatic detection system on a domestic platform for executing any of the methods described in claims 1-5, characterized in that: include: Automatic detection application, which runs on Linux system and is used to perform basic information detection, function detection and stability detection of graphics cards; Basic information detection module, check the graphics card model, video memory capacity, resolution and driver version through the relevant commands of the Linux system, and create a new file to save the detection data; Function detection module, including video playback test command, Unixbench software running command, glxgears software running command and glmark2 software running command, used to evaluate the performance of graphics card; The stability detection module detects the stability of the graphics card by repeating the power on and power off test instructions and reading the relevant information of the graphics card; The visual window interface module is implemented through Linux programming and is used to display detection functions and results.

7. The automatic detection system for graphics cards on a domestic platform according to claim 6 is characterized in that: The automatic detection application also includes a graphics card target parameter file entry module, which is used to enter the model, video memory, and resolution of the graphics card when testing a certain model of graphics card for the first time, and save it as a graphics card target parameter file.

8. A graphics card automatic detection device under a domestic platform, comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to execute the method for automatically detecting a graphics card on a domestic platform as described in any one of claims 1 to 5 when running the program instructions.

9. A storage medium storing program instructions, characterized in that: When the program instructions are run, the method for automatically detecting a graphics card on a domestic platform as described in any one of claims 1 to 5 is executed.