An overall machine diagnostic system and method
Patent Information
- Application Number
- CN202610812695.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-05
- Publication Date
- 2026-09-01
AI Technical Summary
[0005]本申请提供了一种整机诊断系统和方法,以至少解决相关技术中人工诊断效率低下、精度低、成本高的问题
[0008]通过本申请,整机诊断系统包括用于承载待检测整机的治具主体、主控模块、接口适配模块、驱动模块和检测模块。主控模块分别与接口适配模块、驱动模块以及检测模块连接。主控模块,用于在接收到诊断启动指令的情况下,将待检测整机传入治具主体的测试位置。主控模块驱动检测模块扫描待检测整机的标识信息。为了适配不同类型整机的自动化诊断需求,主控模块可以预先存储不同机型各自对应的机型参数,在确定出待检测整机的标识信息后,主控模块可以筛选出与标识信息匹配的机型参数。依据机型参数向驱动模块下发驱动指令。驱动模块与接口适配模块连接,用于在接收到驱动指令的情况下,驱动接口适配模块与待检测整机的接口进行对接。检测模块用于在接收到主控模块传输的接口对接完成指令后,按照预设的检测流程对待检测整机进行检测,并将采集的检测数据反馈至主控模块。主控模块对接收到的检测数据进行分析,生成诊断报告。在该技术方案中,主控模块作为治具的核心,用于控制各模块协同工作,实现了整机检测过程的全自动化,提高了检测效率和检测精度,降低了人工成本。
Smart Images

Figure CN122673545A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a whole-machine diagnostic system and method. Background Technology
[0002] With the rapid development of computer technology, the production scale of personal computers (PCs) is constantly expanding, which places higher demands on the efficiency and accuracy of PC factory testing. Currently, PC diagnostics largely rely on manual operation. Testing personnel need to manually connect the testing equipment to the various interfaces of the PC, manually start the testing program, manually record the testing data, and manually judge the test results.
[0003] Manual diagnostic methods have several drawbacks: First, they are inefficient, with cumbersome manual procedures and lengthy testing times for each PC, making them unsuitable for large-scale production lines. Second, accuracy is susceptible to human error; operator technique and fatigue levels can lead to missed or false positives, impacting product quality. Furthermore, manually recorded data is prone to errors, and subsequent data analysis and traceability are challenging. Third, labor costs are high; large-scale production requires a large number of testing personnel, increasing overall production costs.
[0004] It is evident that how to achieve automated, rapid, and accurate diagnosis of the entire machine is a problem that needs to be solved by those skilled in the art. Summary of the Invention
[0005] This application provides a whole-machine diagnostic system and method to at least solve the problems of low efficiency, low accuracy and high cost of manual diagnosis in related technologies.
[0006] This application provides a whole machine diagnostic system, including a fixture body for supporting the whole machine to be tested, a main control module, an interface adapter module, a driver module, and a detection module; wherein, the main control module is connected to the interface adapter module, the driver module, and the detection module respectively; The main control module is used to transmit the whole machine to be tested to the test position of the fixture body when a diagnostic start command is received; the drive detection module scans the identification information of the whole machine to be tested; filters out the model parameters that match the identification information; and sends drive commands to the drive module according to the model parameters. The driver module is connected to the interface adapter module, which is used to enable the driver interface adapter module to interface with the interface of the device under test when a driver command is received. The detection module is used to detect the entire machine to be tested according to the preset detection process after receiving the interface docking completion instruction transmitted by the main control module, and to feed back the collected detection data to the main control module. The main control module is also used to analyze the received detection data and generate diagnostic reports.
[0007] This application also provides a whole-machine diagnostic method, applicable to the above-mentioned whole-machine diagnostic system, the method comprising: Upon receiving the diagnostic start command, the entire machine to be tested is transferred to the test position of the fixture body; The drive detection module scans the identification information of the machine to be tested and filters out the model parameters that match the identification information; Based on the model parameters, drive commands are sent to the drive module so that the drive module's drive interface adapter can interface with the interface of the machine under test. The interface connection completion command is transmitted to the detection module so that the detection module can perform detection on the whole machine to be tested according to the preset detection process and return the collected detection data. The received test data is analyzed to generate a diagnostic report.
[0008] According to this application, the whole-machine diagnostic system includes a fixture body for carrying the whole machine to be tested, a main control module, an interface adapter module, a driver module, and a detection module. The main control module is connected to the interface adapter module, the driver module, and the detection module. Upon receiving a diagnostic start command, the main control module transmits the whole machine to be tested to the test position on the fixture body. The main control module drives the detection module to scan the identification information of the whole machine to be tested. To adapt to the automated diagnostic needs of different types of whole machines, the main control module can pre-store the corresponding model parameters for different models. After determining the identification information of the whole machine to be tested, the main control module can filter out the model parameters that match the identification information. Based on the model parameters, it sends a drive command to the driver module. The driver module is connected to the interface adapter module and, upon receiving the drive command, drives the interface adapter module to interface with the whole machine to be tested. The detection module, upon receiving the interface interface completion command transmitted by the main control module, performs testing on the whole machine to be tested according to a preset testing process and feeds back the collected testing data to the main control module. The main control module analyzes the received test data and generates a diagnostic report. In this technical solution, the main control module, as the core of the fixture, controls the coordinated operation of various modules, realizing full automation of the entire machine testing process, improving testing efficiency and accuracy, and reducing labor costs. Attached Figure Description
[0009] To more clearly illustrate the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0010] Figure 1 This is a schematic diagram of the structure of a whole-machine diagnostic system provided in an embodiment of this application; Figure 2 This is a schematic diagram of another whole-machine diagnostic system provided in an embodiment of this application; Figure 3 This is a flowchart of a whole-machine diagnostic method provided in an embodiment of this application. Detailed Implementation
[0011] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of this application.
[0012] It should be noted that, in the description of this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. The terms "first," "second," etc., in this application are used to distinguish similar objects and are not used to describe a specific order or sequence.
[0013] At present, the diagnosis methods for complete PC machines mostly rely on manual operation. Inspectors need to manually connect the testing equipment to each interface of the complete PC machine, manually start the testing program, manually record the testing data and determine the testing results. This solution requires inspectors to manually complete all testing links throughout the whole process. First, the inspectors manually carry the complete PC machine to be tested to the testing station, and manually connect the power cable to supply power for the complete PC machine. Second, according to the interface types of the complete PC machine, manually select corresponding testing cables, and manually dock the testing equipment with various interfaces of the complete PC one by one. For example, the testing equipment may include a keyboard and mouse, an external display, etc. The testing cables may include Universal Serial Bus (USB) data cables, High-Definition Multimedia Interface (HDMI) signal cables, network cables, etc. Third, manually start the complete PC machine. If it runs a Linux system, manual operations such as system login and permission configuration are required, then various testing software (such as hardware performance testing software, system integrity detection tools, etc.) are manually started, and the testing status is continuously monitored manually during the testing process, and the test data of each testing item is recorded manually, such as the operating rate of the Central Processing Unit (CPU), memory read and write speed, hard disk storage capacity, system startup time, etc. Finally, the inspectors manually determine whether each testing item is qualified according to their own experience and preset testing standards, manually organize the testing data and form a diagnosis report, and if unqualified items are found, they also need to manually troubleshoot the cause of the fault.
[0014] There are also semi-automatic auxiliary diagnosis solutions at present. Based on the pure manual solution, this solution introduces some simple auxiliary equipment, such as fixed testing tables, integrated testing interface panels, etc., but its core testing process still relies on manual intervention. The specific implementation process includes: some fixed interfaces are preset on the testing table, and inspectors can place the complete PC machine to be tested on the testing table, quickly dock some testing equipment through the integrated interfaces of the testing table, which reduces the cumbersome operation of plugging and unplugging cables. However, key links such as positioning of the complete PC machine, power-on startup, startup and parameter setting of testing software, collection and recording of testing data, and judgment of diagnosis results still need to be completed manually, and this solution can only support the inspection of a single model. If the model is changed, or there is a machine with different interfaces, it cannot perform testing.
[0015] Current diagnostic solutions are extremely inefficient and cannot meet the demands of large-scale production. In purely manual diagnostic solutions, testing a single PC requires multiple tedious steps, including handling, wiring, startup, testing, recording, and judgment, with an average testing time of 10-12 minutes. While semi-automated solutions simplify some wiring operations, core processes still rely on manual labor, resulting in limited efficiency improvements. For large-scale PC production lines, the current solutions' testing efficiency is far below the production cycle time, easily leading to product backlogs and hindering production progress.
[0016] Poor testing accuracy and a high risk of missed or false positives. On the one hand, the operational standards of the testing personnel directly affect the test results. For example, loose cable connections can lead to abnormal signal transmission, resulting in errors in hardware performance testing. On the other hand, the judgment of test results depends on the experience of the testing personnel. For specialized testing items such as the kernel integrity and driver compatibility of Linux systems, different personnel may have different judgment standards, which can easily lead to missed detections (such as ignoring hidden driver adaptation vulnerabilities) and false positives (such as misjudging normal system logs as faults), seriously affecting product quality.
[0017] High labor costs place a heavy burden on enterprises. In large-scale production scenarios, current solutions require a large number of testing personnel to meet testing needs. Moreover, for full PCs running Linux, testing personnel need to have professional skills such as Linux system operation and hardware knowledge, resulting in high recruitment and training costs. At the same time, long hours of repetitive and tedious testing operations can easily lead to personnel fatigue, further reducing testing efficiency and accuracy, creating a vicious cycle.
[0018] Therefore, the present invention provides a whole machine diagnostic system, which carries the whole machine to be tested through a fixture body, and controls the coordinated work of the interface adapter module, drive module and detection module through the main control module to realize the full automation of the whole machine testing process, realize fully automatic line switching for whole machine diagnostics, improve testing efficiency and accuracy, reduce labor costs, and realize automatic recording, storage and traceability of test data.
[0019] The system under test for automated diagnostics can be any PC; all subsequent descriptions will use PCs as examples. The system diagnostics system is compatible with the interface specifications and hardware characteristics of various types of PCs and supports driver adaptation and testing process execution on Linux systems. A single fixture supports multiple PC models; the fixture can have a built-in multi-model parameter database, and combined with adjustable interface units, it enables rapid adaptation to different PC models.
[0020] To enable those skilled in the art to better understand the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0021] Figure 1This is a schematic diagram of a whole machine diagnostic system provided in an embodiment of the present application, including a fixture body 1 for supporting the whole machine to be tested, a main control module 2, an interface adapter module 3, a drive module 4, and a detection module 5.
[0022] The main control module 2 is connected to the interface adapter module 3, the driver module 4 and the detection module 5 respectively, and is used to control the collaborative work of each module. The main control module 2 has a built-in control program to complete the fully automatic diagnosis of the PC, label inspection, expansion card interface AI recognition and multi-model switching and adaptation functions.
[0023] The fixture body 1 is used to support the PC to be tested. The fixture body 1 is equipped with a positioning mechanism corresponding to the interface of the PC to be tested to ensure that the PC to be tested is placed accurately. The positioning mechanism is adapted to the size specifications of different models of PCs.
[0024] In this embodiment, the device encapsulating the whole-machine diagnostic system can be referred to as a fixture. In practical applications, the fixture's label inspection station corresponds to the image acquisition subunit of the label inspection unit, ensuring that the image acquisition subunit can accurately acquire label images. The fixture body 1 is also equipped with an adjustable interface docking unit, which, together with the multi-model parameter database of the main control module 2, enables rapid adaptation of the interface docking positions of different PC models and supports automatic cable switching.
[0025] The main control module 2 can be a programmable logic controller (PLC) with a built-in Linux system diagnostic program and a multi-model parameter database to coordinate the operation of each module.
[0026] The main control module 2 is used to transmit the whole machine to be tested to the test position of the fixture body 1 when a diagnostic start command is received; the drive detection module 5 scans the identification information of the whole machine to be tested; filters out the model parameters that match the identification information; and sends drive commands to the drive module 4 according to the model parameters.
[0027] The identification information of the PC to be tested can be the serial number (SN). The serial number serves as a unique identifier for the PC to be tested and is the core information scanned by the tag recognition unit.
[0028] The interface adapter module 3 includes various types of interface components, which are compatible with various interfaces of the PC under test, such as USB interface, HDMI interface, DP, serial and parallel ports, network ports, power interfaces, etc. The driver module 4 is connected to the interface adapter module 3 and is used to drive the interface adapter module 3 to automatically connect with the corresponding interface of the PC under test.
[0029] The driver module 4 is connected to the interface adapter module 3, and is used to drive the interface adapter module 3 to interface with the interface of the machine under test when a driver command is received.
[0030] The detection module 5 is used to perform detection on the whole machine to be tested according to the preset detection process after receiving the interface docking completion instruction transmitted by the main control module 2, and to feed back the collected detection data to the main control module 2.
[0031] The main control module 2 is also used to analyze the received detection data and generate a diagnostic report.
[0032] In this application, the main control module 2 has a built-in preset diagnostic process algorithm, detection standard threshold and multi-model parameter database. The multi-model parameter database stores information such as interface position, size, detection items, Linux system adaptation parameters and standard parameters of different models of PCs. It supports random switching of multiple models and adapts to the automatic line change requirements of the complete machine factory.
[0033] The detection module 5 is used to detect the hardware performance, Linux system functions, and system stability of the PC under test through the interface adapter module 3. Based on the required functions, the detection module 5 may include a label recognition unit, a hardware detection unit, a system detection unit, a stability detection unit, and a label verification unit.
[0034] The label recognition unit is used to scan the identification information of the entire machine to be inspected.
[0035] The hardware testing unit is used to detect the performance parameters of various hardware components in the machine under test.
[0036] The system detection unit is used to detect the system software parameters of the machine under test.
[0037] The stability detection unit is used to record abnormal information of the entire machine under test; the abnormal information includes system crashes, program crashes, or restarts.
[0038] The label inspection unit is used to acquire label images of the entire machine to be inspected and to verify the label images according to the set verification rules.
[0039] The label inspection unit can use optical character recognition (OCR) technology to extract the label text content and compare it with the standard content.
[0040] Taking the PC under test as an example, the label inspection unit is used to automatically inspect the label image of the PC under test, including verifying the accuracy of the label content, barcode recognition verification, and label tilt detection.
[0041] The hardware testing unit is used to detect the performance parameters of the hardware components of the PC under test, such as the CPU, memory, hard drive, graphics card, motherboard, and power supply, including operating speed, power consumption, temperature, and signal transmission quality.
[0042] The system detection unit can employ a Linux system detection unit to detect the system software parameters of the PC under test. These parameters can include Linux system integrity, driver compatibility, completeness of pre-installed software functionality, and the appropriateness of system permission configurations.
[0043] The stability testing unit is used to test the system stability of the PC under test in a Linux system environment through long-term high-load operation tests, and to record whether there are any abnormal situations such as crashes, program crashes, or restarts.
[0044] Based on the functions required to be implemented by the label inspection unit, the label inspection unit may include an image acquisition subunit, a recognition subunit, and a detection subunit.
[0045] The image acquisition subunit is used to acquire the label image of the entire device to be inspected.
[0046] The image acquisition subunit can use a high-definition industrial camera to acquire tag images.
[0047] The recognition subunit is used to decode and verify the label image and extract the label content contained in the label image; The detection subunit is used to identify the label application angle of the label image.
[0048] In the specific implementation, the detection subunit analyzes the angle between the label edge and the baseline using image algorithms to determine whether the label is correctly affixed. A preset tilt threshold of ±3° is set; exceeding this threshold indicates incorrect affixing. Simultaneously, the label content acquired by the image acquisition subunit is compared with the standard label content built into the main control module 2 to verify consistency.
[0049] Based on the functions required to be implemented by the interface adaptation module 3, the interface adaptation module 3 may include an AI recognition unit and an interface docking unit.
[0050] The AI recognition unit is used to collect interface images of the machine to be tested; to recognize and classify the interface images, and to send the classification results to the main control module 2.
[0051] Main control module 2 is used to determine the types of expansion cards included in the complete machine to be tested based on the classification results; and to call the corresponding interface module from the interface docking unit according to the type of expansion card.
[0052] The interface docking unit can include various types of interface modules and replaceable expansion card tooling libraries; each type of interface module contains various types of interface components; the various types of target interface components are compatible with various interfaces of the whole machine under test.
[0053] Driver module 4 is used to drive various types of target interface components to complete the docking with the corresponding interface of the whole machine under test; and to drive the corresponding expansion card fixture in the expansion card fixture library to be inserted into the corresponding expansion card interface of the whole machine under test.
[0054] The expansion card tooling library contains multiple expansion card toolings, which can be fixtures, adapters, adapter sockets, jigs, and tooling fixtures specifically designed for testing, adapting, and fixing expansion cards.
[0055] The AI recognition unit is used to automatically analyze the interface type of the PC expansion card area, and assists the driver module 4 in matching the corresponding tooling insertion interface to complete the diagnosis.
[0056] In its implementation, the AI recognition unit can identify the expansion card interface type using a convolutional neural network algorithm and match the corresponding fixture. The main control module 2 can compare the detection data collected by the detection module 5 with standard thresholds to automatically determine whether the PC under test is qualified and generate a diagnostic report. Simultaneously, the main control module 2 can match the corresponding fixture parameters based on the interface type analysis results from the AI recognition unit, controlling the drive module 4 to precisely insert the fixture into the expansion card interface.
[0057] Based on actual interface requirements, drive module 4 may include a linear drive unit and a rotary drive unit.
[0058] The linear drive unit is used to drive the first type of interface component in the interface docking unit to move along a linear direction to the corresponding interface of the whole machine under test; and to drive the expansion card fixture in the interface docking unit to move along a linear direction to the corresponding expansion card interface of the whole machine under test.
[0059] The rotary drive unit is used to drive the second type of interface component in the interface docking unit to rotate at a set angle to ensure that the second type of interface component is sealed and docked with the corresponding interface of the whole machine to be tested.
[0060] The first type of interface component can be an interface that can directly and completely mate with the interface on the machine under test by moving in a straight line. The second type of interface component can be an interface that requires rotation to completely mate with the interface on the machine under test, such as a circular interface component.
[0061] The linear drive unit is used to drive some interface components in interface adapter module 3 to move in a linear direction, achieving precise docking with the interface of the PC under test. The rotary drive unit is used to drive the rotational fine-tuning of some interface components to ensure the sealing and stability of the docking.
[0062] As can be seen from the above technical solution, the whole-machine diagnostic system includes a fixture body for carrying the whole machine to be tested, a main control module, an interface adapter module, a driver module, and a detection module. The main control module is connected to the interface adapter module, the driver module, and the detection module. Upon receiving a diagnostic start command, the main control module transmits the whole machine to be tested to the test position on the fixture body. The main control module drives the detection module to scan the identification information of the whole machine to be tested. To adapt to the automated diagnostic needs of different types of whole machines, the main control module can pre-store the corresponding model parameters for different models. After determining the identification information of the whole machine to be tested, the main control module can filter out the model parameters that match the identification information. Based on the model parameters, it sends a drive command to the driver module. The driver module is connected to the interface adapter module and, upon receiving the drive command, drives the interface adapter module to interface with the whole machine to be tested. The detection module, upon receiving the interface interface completion command transmitted by the main control module, performs detection on the whole machine to be tested according to a preset detection process and feeds back the collected detection data to the main control module. The main control module analyzes the received test data and generates a diagnostic report. In this technical solution, the main control module, as the core of the fixture, controls the coordinated operation of various modules, realizing full automation of the entire machine testing process, improving testing efficiency and accuracy, and reducing labor costs.
[0063] The whole machine diagnostic system also includes a data storage module 6; wherein, the data storage module 6 may include multiple memories.
[0064] The main control module 2 is connected to the data storage module 6 and is used to determine the model of the machine to be tested based on the identification information; read the model parameters from the memory corresponding to the model; and save the diagnostic report and test data to the corresponding memory.
[0065] In addition to storing various types of model parameters, the data storage module 6 can also store detection commands sent by the main control module 2, detection data collected by the detection module 5, and diagnostic results generated by the main control module 2.
[0066] To facilitate operator control of the whole-machine diagnostic system, the system also includes a human-machine interface module 7. The human-machine interface module 7 allows operators to set test parameters, start / stop the diagnostic process, and display test progress and diagnostic results.
[0067] In this embodiment, the main control module 2 is connected to the human-machine interaction module 7, and is used to adjust the detection process according to the detection adjustment instruction issued by the human-machine interaction module 7. Furthermore, the main control module can display the diagnostic results contained in the diagnostic report through the human-machine interaction module 7.
[0068] In its implementation, the human-machine interface module 7 may include a touchscreen, indicator lights, and a buzzer. The touchscreen displays detection parameters, detection progress, diagnostic results, and allows operators to input commands. The indicator lights include a power indicator, a running indicator, a pass indicator, and a fail indicator, which respectively indicate the power status, running status, and diagnostic results of the fixture. The buzzer sounds a prompt when the diagnostic is complete or an abnormality occurs.
[0069] The main control module 2 is also used to control the drive module 4 to drive the clamping and fixing mechanism after the machine under test is transferred to the test position of the fixture body, so that the machine under test is fixed in the test position of the fixture body. After generating the diagnostic report, a stop command is sent to the drive module 4, and the power supply module is controlled to stop supplying power to the machine under test.
[0070] When the drive module 4 receives a stop command, it drives the clamping and fixing mechanism to release; the drive interface adapter module 3 separates from the interface of the machine under test.
[0071] The above describes all the functional modules included in the whole machine diagnostic system, as well as the functional units divided by each functional module based on the functions to be implemented. Figure 2 This is a schematic diagram of another whole-machine diagnostic system provided in an embodiment of this application. The fixture body 1 is used to support the whole machine to be tested, which includes a label and an interface. The fixture body 1 is provided with a positioning mechanism corresponding to the interface of the PC to be tested and an adjustable interface docking unit. The positioning mechanism has a built-in sensing unit. The adjustable interface docking unit, in conjunction with the multi-model parameter database of the main control module 2, enables rapid adaptation of the interface docking position of different models of PCs. The fixture body 1 is also provided with a clamping and fixing mechanism, which is connected to the drive module 4. When the PC to be tested is placed in place, the main control module 2 controls the drive module 4 to drive the clamping and fixing mechanism to clamp and fix the PC to be tested, preventing displacement during the testing process.
[0072] Based on the required functions, the interface adaptation module 3 may include an AI recognition unit and an interface docking unit. The driving module 4 may include a linear driving unit and a rotary driving unit. The detection module 5 may include a hardware detection unit, a system detection unit, a stability detection unit, a label recognition unit, and a label verification unit. The label recognition unit is used to identify the serial number (SN) of the PC to be tested to determine the model; the image acquisition subunit of the label recognition unit corresponds to the label verification unit to ensure the accuracy of label image acquisition. The whole machine diagnostic system also includes a data storage module 6 and a human-computer interaction module 7.
[0073] The main control module 2 uses an industrial-grade PLC controller. It is electrically connected to the drive module 4, detection module 5, data storage module 6, human-machine interface module 7, interface adapter module 3, power supply module, and communication module, respectively, to control the coordinated operation of these modules and complete the fully automated diagnostics of the entire PC. Multiple memory units contain a Linux-based system, along with pre-defined diagnostic process algorithms, detection standard thresholds, and a multi-model parameter database developed for the corresponding system. This database stores information such as interface locations, dimensions, detection items, Linux system adaptation parameters, and standard parameters for different PC models, supporting random switching between multiple models and automatic line changing.
[0074] The main control module 2 can compare the detection data collected by the detection module 5 and the label inspection unit with the standard threshold, automatically determine whether the PC to be tested is qualified, and generate a diagnostic report; at the same time, it can match the corresponding tooling parameters according to the interface type analysis results of the AI recognition unit, and control the drive module 4 to drive the tooling to accurately insert into the expansion card interface.
[0075] Interface adapter module 3 includes various types of interface components and a replaceable expansion card tooling library. The interface components are compatible with various interfaces of the PC to be tested, and the expansion card tooling library contains various toolings that adapt to different expansion card interface types.
[0076] The drive module 4, composed of servo motors and stepper motors, connects to the interface adapter module 3. It drives the interface adapter module 3 to automatically dock with the corresponding interface of the PC under test, and simultaneously drives the corresponding fixture from the expansion card fixture library to insert into the expansion card interface. The drive module 4 includes a linear drive unit and a rotary drive unit. The linear drive unit moves the interface adapter module 3 and the expansion card fixture along a linear direction for precise docking. The rotary drive unit rotates some interface components for fine-tuning, ensuring the sealing and stability of the docking.
[0077] The detection module 5 is used to detect the hardware performance, Linux system functionality, and system stability of the PC under test through the interface adapter module 3. Detection module 5 includes a hardware detection unit, a Linux system detection unit, and a stability detection unit. The hardware detection unit detects the performance parameters of the hardware components of the PC under test, such as the CPU, memory, hard drive, graphics card, motherboard, and power supply, including operating speed, power consumption, temperature, and signal transmission quality. The system detection unit detects the integrity of the Linux system, driver compatibility, and the rationality of system permission configuration of the PC under test. The stability detection unit records whether abnormal situations such as system crashes, program failures, or restarts occur. The label verification unit includes an image acquisition subunit (using a high-definition industrial camera), a recognition subunit, and a detection subunit. The image acquisition subunit acquires the label image of the PC under test. The recognition subunit uses a barcode decoding chip to decode and verify the one-dimensional or two-dimensional code on the label. The communication module interacts with the Manufacturing Execution System (MES) to determine the validity of the barcode. The detection subunit extracts the label edge using an edge detection algorithm, calculates the angle between the edge and the baseline, and determines that the labeling is unqualified if the angle exceeds the threshold. At the same time, it extracts the label content using an OCR recognition algorithm and compares it with the standard label content built into the main control module 2 to verify the consistency of the content.
[0078] The AI recognition unit includes an expansion card image acquisition subunit and an AI algorithm processing subunit. The expansion card image acquisition subunit acquires images of the expansion card area, and the AI algorithm processing subunit identifies and classifies the interface type of the images in the expansion card area and sends the identification results to the main control module 2 to identify the type of expansion card so that the corresponding interface module can be called for interface testing.
[0079] The data storage module 6 uses multiple USB flash drives to store detection commands sent by the main control module 2, detection data and diagnostic results collected by the detection module 5, and the operating systems (OS) for different machine models. It is expandable. The principle is that the main control module first detects the machine model using the tag identification unit, and then determines which OS system (OS1 to OSN) is being used. For different platforms within the PC system using different Linux systems, this solution uses specialized detection logic and implementation methods to automatically select the appropriate OS system.
[0080] The power supply module is electrically connected to the main control module 2, drive module 4, detection module 5, data storage module 6, and human-machine interface module 7, providing a stable power supply for each module. Simultaneously, the power supply module also connects to the PC under test via interface adapter module 3, providing the necessary power for the PC under test.
[0081] The communication module uses an Ethernet module to enable communication between the main control module 2 and the host computer. Operators can remotely monitor the diagnostic process, obtain diagnostic data and reports through the host computer running Linux, and also send test commands to the main control module 2 through the host computer.
[0082] Figure 2 This paper introduces all functional modules and their functions in the complete system diagnostic system. The following section will use the fully automated diagnostic workflow of this system for a complete PC as an example. The workflow is as follows: S1: The operator places the PC to be tested onto the inlet conveyor belt of the fixture body.
[0083] S2: The operator sends a start diagnostic command to the human-machine interface module by pressing the button. After receiving the start command, the main control module transmits the PC to be tested to the test position inside the fixture and controls the drive module to drive the clamping and fixing mechanism to move and clamp and fix it.
[0084] S3: The main control module drives the label recognition unit to scan the machine's serial number (SN) and automatically calls the corresponding parameters (including Linux system adaptation parameters) from the multi-model parameter database. Operators need to confirm or set the detection parameters (such as detection items, detection duration, etc.) in advance through the human-machine interaction module.
[0085] S4: The main control module controls the driver module and the driver interface adapter module to automatically connect each interface component with the corresponding interface of the PC to be tested according to the current model parameters; at the same time, it controls the AI recognition unit to perform image acquisition and interface type analysis on the expansion card area, and drives the corresponding tooling to be inserted into the expansion card interface according to the analysis results; for circular interface components, the rotation drive unit drives its rotation fine adjustment to ensure stable docking.
[0086] S5: The main control module controls the power supply module to supply power to the PC under test through the interface adapter module, and at the same time controls the detection module to start the detection.
[0087] S6: The hardware testing unit, system testing unit, and stability testing unit of the testing module perform testing on the PC under test according to the preset testing process. The Linux system testing unit focuses on verifying the integrity of the Linux system, driver compatibility, and software functionality. The label inspection unit simultaneously starts label inspection, acquiring label images through the image acquisition subunit, decoding and verifying barcodes through the recognition subunit, and analyzing the label application angle and verifying the label content through the detection subunit. Each module sends the collected testing data to the main control module in real time.
[0088] S7: The main control module compares and analyzes the received test data with the built-in standard thresholds to determine whether each test item of the PC under test is qualified, and displays the test progress and preliminary analysis results in real time through the human-computer interaction module.
[0089] S8: After the test is completed, the main control module generates a complete diagnostic report, including hardware, Linux system, stability test results, and label inspection results (whether the barcode is valid, whether the label content is accurate, and whether it is correctly affixed). The diagnostic report and test data are sent to the data storage module for storage, and the final diagnostic results are displayed through the human-machine interaction module. If the test is qualified, the qualified indicator light will light up; if the test is unqualified (including label inspection failure, expansion card interface diagnostic abnormality, Linux system adaptation abnormality, etc.), the unqualified indicator light will light up, the buzzer will sound a prompt, and the specific unqualified items will be displayed on the touch screen.
[0090] S9: The main control module sends a stop command, controls the drive module to release the clamping and fixing mechanism, the drive interface adapter module separates from the interface of the PC under test, controls the power supply module to stop supplying power to the PC under test, and sends the PC under test out of the fixture.
[0091] S10: The operator removes the PC after testing. If detailed diagnostic data and reports are required, the operator can retrieve the data from the data storage module through the human-machine interaction module, or obtain the relevant data through the communication module of the host computer.
[0092] In this application, through the collaborative work of the main control module, interface adaptation module, driver module, and detection module, the system can accurately match the hardware characteristics of the entire PC and adapt to the driver and detection process of the Linux system. By integrating an AI recognition unit, a label verification unit, and an adjustable interface docking unit, it achieves automatic model identification, intelligent adaptation of expansion card interfaces, full-dimensional label verification (content / barcode / tilt), and automatic line switching for multiple models. The detection module has a built-in system detection unit that can accurately verify specific indicators such as system integrity, driver compatibility, and pre-installed software functionality.
[0093] Figure 3 A flowchart of a whole-machine diagnostic method provided in this application embodiment is applicable to any of the above-mentioned whole-machine diagnostic systems. The method includes: S301: Upon receiving a diagnostic start command, the entire machine to be tested is transferred to the test position of the fixture body.
[0094] S302: The drive detection module scans the identification information of the machine to be tested and filters out the model parameters that match the identification information.
[0095] S303: Sends drive commands to the drive module according to the model parameters, so that the drive module's drive interface adapter module can interface with the interface of the machine under test.
[0096] S304: Transmits the interface docking completion instruction to the detection module so that the detection module can perform the detection of the whole machine to be tested according to the preset detection process and return the collected detection data.
[0097] S305: Analyze the received test data and generate a diagnostic report.
[0098] For a description of the features in the embodiments corresponding to the whole machine diagnostic method, please refer to the relevant descriptions in the embodiments corresponding to the whole machine diagnostic system, which will not be repeated here.
[0099] As can be seen from the above technical solution, upon receiving the diagnostic start command, the main control module transmits the machine to be tested to the test position of the fixture body. The main control module drives the detection module to scan the identification information of the machine to be tested. To adapt to the automated diagnostic needs of different types of machines, the main control module can pre-store the corresponding model parameters for different models. After determining the identification information of the machine to be tested, the main control module can filter out the model parameters that match the identification information. Based on the model parameters, a drive command is sent to the drive module so that the drive interface adapter module can interface with the interface of the machine to be tested upon receiving the drive command. The main control module transmits the interface interface completion command to the detection module so that the detection module can test the machine to be tested according to the preset test process and return the collected test data. The main control module analyzes the received test data and generates a diagnostic report. In this technical solution, the main control module, as the core of the fixture, is used to control the collaborative work of various modules, realizing the full automation of the whole machine testing process, improving testing efficiency and accuracy, and reducing labor costs.
[0100] Embodiments of this application also provide an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the steps in any of the above-described embodiments of the whole-machine diagnostic method.
[0101] Embodiments of this application also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above-described embodiments of the whole-machine diagnostic method when it is run.
[0102] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.
[0103] The embodiments of this application also provide a computer program product, which includes a computer program that, when executed by a processor, implements the steps in any of the embodiments of the whole machine diagnostic method described above.
[0104] Embodiments of this application also provide another computer program product, including a non-volatile computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in any of the above-described embodiments of the whole-machine diagnostic method.
[0105] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0106] The foregoing has provided a detailed description of a complete machine diagnostic system, method, electronic device, computer-readable storage medium, and computer program product provided in this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are only intended to help understand the methods and core ideas of this application. It should be noted that those skilled in the art can make various improvements and modifications to this application without departing from its principles, and these improvements and modifications also fall within the protection scope of this application.
Claims
1. A whole-machine diagnostic system, characterized in that, It includes a fixture body for supporting the entire machine to be tested, a main control module, an interface adapter module, a driver module, and a detection module; wherein, the main control module is connected to the interface adapter module, the driver module, and the detection module respectively; The main control module is used to, upon receiving a diagnostic start command, transmit the machine to be tested to the test position of the fixture body; drive the detection module to scan the identification information of the machine to be tested; filter out the model parameters that match the identification information; and send a drive command to the drive module according to the model parameters. The driver module is connected to the interface adapter module and is used to drive the interface adapter module to interface with the interface of the machine to be tested when the driver instruction is received. The detection module is used to detect the whole machine to be tested according to a preset detection process after receiving the interface docking completion instruction transmitted by the main control module, and to feed back the collected detection data to the main control module. The main control module is also used to analyze the received detection data and generate a diagnostic report.
2. The whole-machine diagnostic system according to claim 1, characterized in that, The detection module includes a label recognition unit, a hardware detection unit, a system detection unit, a stability detection unit, and a label inspection unit; The label recognition unit is used to scan the identification information of the machine to be inspected; The hardware detection unit is used to detect the performance parameters of various hardware components in the machine under test; The system detection unit is used to detect the system software parameters of the machine under test; The stability detection unit is used to record abnormal information of the machine under test; wherein, the abnormal information includes system crash, program crash, or restart; The label inspection unit is used to acquire the label image of the machine to be inspected and to inspect the label image according to the set inspection rules.
3. The whole-machine diagnostic system according to claim 2, characterized in that, The label inspection unit includes an image acquisition subunit, an identification subunit, and a detection subunit; The image acquisition subunit is used to acquire the label image of the device to be inspected; The identification subunit is used to decode and verify the label image and extract the label content contained in the label image; The detection subunit is used to identify the label application angle of the label image.
4. The whole-machine diagnostic system according to claim 1, characterized in that, The interface adaptation module includes an AI recognition unit and an interface docking unit; The AI recognition unit is used to collect interface images of the machine to be tested; to recognize and classify the interface images, and to send the classification results to the main control module. The main control module is used to determine the types of expansion cards included in the device to be tested based on the classification results. Based on the type of expansion card, the corresponding interface module is called from the interface docking unit.
5. The whole-machine diagnostic system according to claim 4, characterized in that, The interface docking unit includes various types of interface modules and a replaceable expansion card tooling library; each type of interface module contains various types of interface components; the various types of target interface components are compatible with various interfaces of the machine under test; The driver module is used to drive various types of target interface components to complete the docking with the corresponding interface of the machine under test; and to drive the corresponding expansion card fixture in the expansion card fixture library to be inserted into the corresponding expansion card interface of the machine under test.
6. The whole-machine diagnostic system according to claim 1, characterized in that, The drive module includes a linear drive unit and a rotary drive unit; The linear drive unit is used to drive the first type of interface component in the interface docking unit to move along a linear direction to the corresponding interface of the whole machine under test; and to drive the expansion card fixture in the interface docking unit to move along a linear direction to the corresponding expansion card interface of the whole machine under test. The rotary drive unit is used to drive the second type of interface component in the interface docking unit to rotate at a set angle to ensure that the second type of interface component is sealed and docked with the corresponding interface of the whole machine to be tested.
7. The whole-machine diagnostic system according to claim 1, characterized in that, It also includes a data storage module; wherein the data storage module includes multiple memories; The main control module is connected to the data storage module and is used to determine the model of the machine to be tested based on the identification information; read the model parameters from the memory corresponding to the model; and save the diagnostic report and the test data to the corresponding memory.
8. The whole-machine diagnostic system according to claim 7, characterized in that, It also includes a human-computer interaction module; The main control module is connected to the human-computer interaction module and is used to adjust the detection process according to the detection adjustment instruction issued by the human-computer interaction module when it receives the detection adjustment instruction; and to display the diagnostic results contained in the diagnostic report through the human-computer interaction module.
9. The whole-machine diagnostic system according to claim 1, characterized in that, The main control module is also used to control the drive module to drive the clamping and fixing mechanism to move after the whole machine to be tested is transmitted to the test position of the fixture body, so that the whole machine to be tested is fixed in the test position of the fixture body; after generating a diagnostic report, it sends a stop command to the drive module and controls the power supply module to stop supplying power to the whole machine to be tested. The drive module is used to drive the clamping and fixing mechanism to loosen when the stop command is received; and to drive the interface adapter module to separate from the interface of the machine under test.
10. A whole-machine diagnostic method, characterized in that, The method applicable to the whole-machine diagnostic system according to any one of claims 1 to 9 includes: Upon receiving the diagnostic start command, the entire machine to be tested is transferred to the test position of the fixture body; The drive detection module scans the identification information of the machine to be tested and filters out the model parameters that match the identification information; Based on the model parameters, a drive command is sent to the drive module so that the drive module's drive interface adapter module can interface with the interface of the machine under test. The interface connection is completed by transmitting a command to the detection module, so that the detection module can perform detection on the whole machine to be tested according to the preset detection process and return the collected detection data. The received test data is analyzed to generate a diagnostic report.