Error report processing method and device, equipment and medium
By detecting the bill of materials, basic input and output system version and component assembly information of the server slot-related components, the error-reporting root cause is quickly identified, which solves the problem of hardware error positioning difficulties and improves equipment stability and production efficiency.
Patent Information
- Application Number
- CN202510667903.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-22
- Publication Date
- 2025-08-26
AI Technical Summary
During the operation of the equipment, the error-reporting problems caused by hardware errors are difficult to quickly locate, affecting the stability and production efficiency of the equipment. Especially when the server slot error is reported, manual diagnosis efficiency is low and costly.
By determining the associated components associated with the slot, using bill of materials, basic input and output system version information and component assembly information for detection, quickly identify the root cause of errors, and provide accurate detection results to automatically adjust the baseline.
It realizes rapid and intelligent inspection of the reasons for server slot errors, improves production efficiency, ensures stable operation of equipment, and reduces manual intervention and resource waste.
Smart Images

Figure CN120540892A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an error processing method, apparatus, device and medium. Background Art
[0002] During device operation, system stability and data security and integrity are essential. Various factors can cause hardware errors during system operation. If not promptly addressed, these errors can pose catastrophic safety risks. Therefore, handling device errors to ensure normal and stable operation is a critical technical issue. Summary of the Invention
[0003] In view of the above problems, the present application provides an error processing method, apparatus, device, medium and program product.
[0004] According to the first aspect of the present application, a method for handling an error is provided, comprising: in response to an error for a slot in a test device, determining an associated component associated with the slot; based on the associated component, testing a production configuration file of the test device to obtain a test result, the test result indicating the root cause of the error in the slot, the production configuration file including at least one of the following: a bill of materials, version information of a basic input / output system, and component assembly information.
[0005] The second aspect of the present application provides an error processing device, including: a determination module, used to determine the associated components associated with the slot in response to an error for the slot in the test equipment; a detection module, used to detect the production configuration file of the test equipment based on the associated components to obtain a detection result, the detection result indicates the root cause of the error of the slot, and the production configuration file includes at least one of the following: a bill of materials, version information of the basic input and output system, and component assembly information.
[0006] The third aspect of the present application provides an electronic device, comprising: one or more processors; a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the above method.
[0007] The fourth aspect of the present application further provides a computer-readable storage medium having a computer program or instructions stored thereon, which implements the steps of the above method when the computer program or instructions are executed by a processor.
[0008] The fifth aspect of the present application further provides a computer program product, comprising a computer program or instructions, which implement the steps of the above method when executed by a processor.
[0009] According to the embodiments of the present application, since the bill of materials and / or basic input and output system version and / or component assembly are tested, the cause of the slot error in the test equipment can be quickly and intelligently checked, and an accurate detection result indicating the root cause of the error in the slot can be given, thereby realizing intelligent diagnosis of the error, which is conducive to automatically adjusting the baseline based on the test results, ensuring that the test equipment can operate stably, and improving production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The above contents and other objects, features and advantages of the present application will become more apparent through the following description of the embodiments of the present application with reference to the accompanying drawings, in which:
[0011] Figure 1 Schematically illustrates an application scenario diagram of the error processing method, apparatus, device, medium, and program product according to an embodiment of the present application;
[0012] Figure 2 The following schematically shows a flow chart of an error handling method according to an embodiment of the present application;
[0013] Figure 3 Schematically shows a schematic diagram of bill of materials detection for a test device according to an embodiment of the present application;
[0014] Figure 4 A schematic diagram of detecting version information of a basic input and output system of a test device according to an embodiment of the present application is shown;
[0015] Figure 5 A schematic diagram of detecting component assembly information of associated components according to an embodiment of the present application is shown;
[0016] Figure 6 Schematically shows a schematic diagram of component change detection of a test device according to an embodiment of the present application;
[0017] Figure 7 A block diagram schematically illustrates a structure of an error processing device according to an embodiment of the present application; and
[0018] Figure 8 A block diagram of an electronic device suitable for implementing the error processing method according to an embodiment of the present application is schematically shown. DETAILED DESCRIPTION
[0019] Hereinafter, embodiments of the present application will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present application. In the detailed description below, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present application. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessarily confusing the concepts of the present application.
[0020] The terms used herein are only for describing specific embodiments and are not intended to limit the present application. The terms "comprise," "include," etc. used herein indicate the presence of features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.
[0021] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0022] When expressions such as "at least one of A, B, and C, etc." are used, they should generally be interpreted in accordance with the meaning commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0023] In the process of implementing this application, it was found that how to deal with the error reporting problem of the equipment and ensure that the equipment can operate normally and stably is an important technical issue. For example, for servers, servers can be applied in various fields. During the operation of the server, slot errors of component slots often occur. Slot errors may cause data loss at the least, and the entire system may be paralyzed at the worst. Therefore, in the production and aging process of the server, the detection of the slots is particularly important. Once the slot information does not match the baseline, it is necessary to screen the error in advance. When encountering such problems, the debugging, troubleshooting, maintenance, and verification processes will face many difficulties, and it is often difficult to quickly locate the root cause of the problem. Under the increasingly complex architecture of the server, it is difficult to accurately locate the root cause of the problem for the troubleshooting of such errors. Manual diagnosis is inefficient and costly, which affects production efficiency.
[0024] In related examples, manual location and troubleshooting of the cause of a server slot change requires consulting a team leader or R&D personnel. This is especially true for first-time personnel, who cannot complete the problem location and repair process independently and need to use the maintenance manual for step-by-step analysis and confirmation. The entire process requires manual intervention, which affects production timeliness and cannot clearly display the specific installation location of the server.
[0025] Based on this, an embodiment of the present application provides an error handling method, including: in response to an error report for a slot in a test device, determining the associated components associated with the slot; based on the associated components, testing the production configuration file of the test device to obtain a test result, the test result indicates the root cause of the error report of the slot, and the production configuration file includes at least one of the following: a bill of materials, version information of the basic input and output system, and component assembly information.
[0026] Figure 1 The application scenario diagram of the error processing method, apparatus, device, medium and program product according to the embodiments of the present application is schematically shown.
[0027] like Figure 1 As shown, the application scenario 100 according to this embodiment may include a test device 101 and a detection device 102. A network is a medium for providing a communication link between the test device 101 and the detection device 102. The network may include various connection types, such as wired or wireless communication links or fiber optic cables.
[0028] The test device 101 may include various devices comprising multiple components, which are assembled through slots. For example, the test device 101 may include, but is not limited to, servers, computers, communication devices, consumer electronics, industrial equipment, and medical equipment (for example only).
[0029] Testing device 102 may include, but is not limited to, a controller, a server, and a test machine including an automated testing system or automated testing program. The controller may include, for example, a baseboard management controller (BMC) (for example only). The server may provide various services, such as a backend management server that supports testing device 101 (for example only). The backend management server may analyze and process error information received from testing device 101, and transmit the processing results (e.g., test results) to terminal device 103. The test machine may include various devices with a display screen.
[0030] It should be noted that the error handling method provided in the embodiment of the present application can generally be executed by the detection device 102. Accordingly, the error handling apparatus provided in the embodiment of the present application can generally be set in the detection device 102. The error handling method provided in the embodiment of the present application can also be executed by a device or device cluster that is different from the detection device 102 and can communicate with the test device 101 and / or the detection device 102. Accordingly, the error handling apparatus provided in the embodiment of the present application can also be set in a device or device cluster that is different from the detection device 102 and can communicate with the test device 101 and / or the detection device 102.
[0031] It should be understood that Figure 1 The number of test devices and detection devices in the figure is only illustrative. Any number of test devices and detection devices may be provided according to implementation requirements.
[0032] The following will be based on Figure 1 The scene described by Figures 2 to 7 The error handling method of the application embodiment is described in detail.
[0033] Figure 2 The following schematically shows a flow chart of an error handling method according to an embodiment of the present application.
[0034] like Figure 2 As shown, the error processing method of this embodiment includes operations S210 to S220.
[0035] In operation S210 , in response to an error report for a slot in a test device, an associated component associated with the slot is determined.
[0036] In operation S220 , the production configuration file of the test device is tested based on the associated components to obtain a test result.
[0037] In the embodiment of the present application, the detection result may indicate the root cause of the error in the slot. The production configuration file may include at least one of the following: a bill of materials, basic input and output system version information, and component assembly information.
[0038] Test equipment may include, but is not limited to, servers, computers, communication equipment, consumer electronics, industrial equipment, and medical equipment.
[0039] Taking a server as an example, slot error reporting in the test equipment can be determined based on error information. This error information can be generated during the automated production burn-in testing process after the server's multiple components are assembled, powered on, and powered on. This production burn-in testing process can, for example, test the central processing unit (CPU), basic memory, extended memory, motherboard, storage, serial and parallel ports, graphics card, floppy disk, hard disk, and keyboard. Slot error reporting in the test equipment can also be determined by installing a component slot status detector on the motherboard.
[0040] For example, the associated component may be determined according to the component to which the slot belongs. For example, if the component to which the slot belongs is a hard disk, then the associated component is the hard disk.
[0041] The bill of materials may include all components of the test equipment. Basic input and output system version information may be used to indicate the basic input and output system version. Component assembly information may be used to indicate the component assembly process, etc.
[0042] For example, it is possible to determine whether the associated components are consistent with the matching components in the bill of materials, whether the version information of the basic input and output system matches the standard version information, or whether the associated components are assembled correctly by detecting component assembly information.
[0043] Since the bill of materials and / or basic input and output system version and / or component assembly are tested, the cause of the slot error in the test equipment can be quickly and intelligently identified, and accurate detection results indicating the root cause of the error in the indicated slot can be given, thereby realizing intelligent diagnosis of the error. This is conducive to automatically adjusting the baseline based on the test results, ensuring the stable operation of the test equipment and improving production efficiency.
[0044] For example, when the production configuration file includes a bill of materials, Figure 2 The operation S220 shown, based on the associated components, detects the production profile of the test equipment to obtain the detection results, which may include the operations of: determining that there are undetected components in the test equipment when it is determined that the detection quantity of the associated components is inconsistent with the component quantity of the associated components in the material list of the test equipment; and obtaining a detection result characterizing the position of the undetected components based on the predetermined position profile matching the material list and the associated components of the detection quantity.
[0045] For example, in the case where the production configuration file includes a bill of materials, the above Figure 2Operation S220, in which a production configuration file of the test device is tested based on the associated components to obtain a test result, may include the following operations: if it is determined that the number of tests is consistent with the number of components and the test device has an external device, obtaining a test result indicating that the external device needs to be tested; if it is determined that the number of tests is consistent with the number of components and the test device has no external device, obtaining a test result indicating that the external device does not need to be tested.
[0046] Figure 3 A schematic diagram of bill of materials detection for a test device according to an embodiment of the present application is shown schematically.
[0047] For example, Figure 3 As shown, the bill of materials detection of the test equipment may include operations S321 to S328.
[0048] In operation S321 , the number of detections of associated components is counted.
[0049] In operation S322 , the component quantity of the associated component in the bill of materials of the test equipment is determined.
[0050] In operation S323, it is determined whether the detected quantity is consistent with the component quantity. If it is determined that the detected quantity is consistent with the component quantity, operation S326 is performed. If it is determined that the detected quantity is inconsistent with the component quantity, operations S324 to S325 are performed.
[0051] In operation S324 , it is determined whether an untested component exists in the test device.
[0052] In operation S325 , based on the predetermined location profile matched with the bill of materials and the associated components of the inspection quantity, an inspection result representing the location of the uninspected component is obtained.
[0053] In operation S326, it is determined whether the test device has an external device. If it is determined that the test device has an external device, operation S327 is performed. If it is determined that the test device has no external device, operation S328 is performed.
[0054] In operation S327 , a detection result indicating the external device to be detected is obtained.
[0055] In operation S328 , a detection result indicating that no external device detection is required is obtained.
[0056] For example, the detection quantity of the associated component may be queried by calling a component query command. For example, if the associated component is a hard disk, the component query command may include but is not limited to lsblk or nvme list.
[0057] The bill of materials of the test equipment can be stored in a database. Based on the identifier of the associated component, a first database query command can be generated to query the database to obtain the component quantity of the associated component in the bill of materials. Taking the associated component as a hard disk as an example, such as the database laohua, the table list, and the identifier of the associated component abc123, the first database query command can be SELECT num FROM laohua.list WHERE listId=1234 AND hdd='abc123'.
[0058] The predetermined location profile that matches the bill of materials may be a pre-configured standard ini profile.
[0059] The associated parts of the detected quantity can be compared with the parts in the predetermined position configuration file to obtain the detection results of the positions of the undetected parts. In the case of obtaining the detection results of the positions of the undetected parts, the error report in the production burn-in program test can be exited and the detection results can be popped up.
[0060] By first checking for missing parts based on the number of associated components in the bill of materials, the system can quickly identify any uninspected parts, thus avoiding subsequent misjudgments and resource waste caused by missing parts. If a missing part is determined, the location of the missing part can be accurately detected based on the pre-defined location profile, improving the production and maintenance efficiency of test equipment.
[0061] Taking a server as an example, the test device can be an external USB flash drive, etc., and can be queried using the external device query command. If an external USB flash drive is present, the production aging program test will be exited with an error message, and a test result will pop up indicating that an external USB flash drive is present and needs to be tested. If no external USB flash drive is present, the production aging program test will be exited with an error message, and a test result will pop up indicating that an external USB flash drive is not required. The basic input and output system version information can also be further tested.
[0062] Since the detection of whether the test equipment has external devices is based on the determination that no detection components are missed, the integrity and connection status of the test equipment can be further confirmed, thereby avoiding false positives caused by external device problems and improving the reliability and effectiveness of the detection process.
[0063] For example, when the production configuration file also includes basic input and output system version information, Figure 2Operation S220, shown as testing a production configuration file of the test device based on associated components to obtain a test result, may also include the operation of verifying the version of the test device's BIOS based on the BIOS version information to obtain a verification result. If the verification result indicates that the BIOS version information is consistent with the historical BIOS version information, the root cause of the error is determined to be unrelated to the BIOS version of the test device. If the verification result indicates that the BIOS version information is inconsistent with the historical BIOS version information, an update instruction is invoked to update the BIOS version information using the historical BIOS version information. If the update is complete and an error report is received for the slot, the root cause of the error is determined to be unrelated to the BIOS version change. If the update is complete and no error report is received for the slot within a predetermined period, the root cause of the error is determined to be related to the BIOS version change.
[0064] Figure 4 The following schematically shows a schematic diagram of detecting version information of a basic input / output system of a test device according to an embodiment of the present application.
[0065] like Figure 4 As shown, the detection of the version information of the basic input and output system of the test device may include operations S421 to S428.
[0066] In operation S421 , version information of a basic input / output system of a test device is read.
[0067] In operation S422 , historical BIOS version information is acquired.
[0068] In operation S423, it is determined whether the version information of the BIOS is consistent with the version information of the historical BIOS. If it is determined that the version information of the BIOS is consistent with the version information of the historical BIOS, operation S424 is performed. If it is determined that the version information of the BIOS is inconsistent with the version information of the historical BIOS, operation S425 is performed.
[0069] In operation S424 , it is determined that the root cause of the error is not related to the version of the basic input and output system of the test device.
[0070] In operation S425, an update instruction is called to update the version information of the BIOS using the historical version information of the BIOS.
[0071] In operation S426, it is determined whether an error report for the slot is received after the update is completed. If operation S425 is performed and it is determined that the update is completed and an error report for the slot is received, operation S427 is performed. If operation S425 is performed and it is determined that the update is completed and no error report for the slot is received within a predetermined period of time, operation S428 is performed.
[0072] In operation S427 , it is determined that the root cause of the error is not related to the version change of the basic input and output system.
[0073] In operation S428 , it is determined that the root cause of the error is related to a version change of the basic input / output system.
[0074] For example, the version information of the historical basic input and output system of the test equipment can be stored in a database. Based on the second database query command, the order number of the historical version of the test equipment that reported an error in the slot at the previous moment before the error in the current slot can be queried, and then a third database query command can be generated based on the order number to query the database to obtain the version information of the historical basic input and output system. Taking the hard disk as an example, for example, the database laohua, the table list, and the order number of the historical version AG88, the second database query command can be SELECT listId FROMlaohua.List WHERE cpn LIKE 'AG88', and the third database query command can be SELECT biosversionFROM laohua.List where listId=5678.
[0075] The update instruction may be pre-configured to update the BIOS version information using the historical BIOS version information. For example, if the BIOS version of the test device is A and the historical BIOS version is B, the updated BIOS version is B. After the update is completed, the production burn-in test is automatically performed again to determine whether an error is received for the slot.
[0076] When it is determined that the root cause of the error is related to the version change of the basic input and output system, the detection result can be sent to the front-end device so that the baseline of the changed slot is maintained after the front-end device receives the detection result.
[0077] By checking the test device's BIOS version information, errors caused by BIOS version updates or anomalies can be quickly identified and resolved, helping to improve the stability and reliability of the test device, ensuring its normal operation and production efficiency. Furthermore, if the BIOS version information is inconsistent with historical BIOS version information, invoking an update command can avoid the time-consuming download of refresh files and methods.
[0078] In another example, when a slot error is received and it is determined that the root cause of the error is not related to the BIOS version change, a restore instruction can be called to restore the updated BIOS version information to the BIOS version information.
[0079] For example, the version information of the BIOS may be copied to the test device, and a restore instruction may be executed to refresh the updated version information of the BIOS to the version information of the BIOS.
[0080] Because in the version judgment mechanism, if the root cause of the error is determined to be unrelated to the version change of the basic input and output system after the update is completed, the version will be restored. Therefore, it can ensure that the test equipment is restored to its previous stable state, avoiding other incompatibility issues introduced by the version update, thereby ensuring the stable operation and reliability of the test equipment and ensuring business continuity.
[0081] In another example, the above operations S421 to S428 may be performed when the number of inspections is consistent with the number of components and a detection result indicating that no external device needs to be detected is obtained.
[0082] For example, when the production configuration file further includes component assembly information, the component assembly information includes component assembly position information of the associated component and assembly slot information corresponding to the component assembly position information. Figure 2 Operation S220 shown, based on the associated component, tests the production configuration file of the test device to obtain a test result, and may also include the following operations: when it is determined that the component assembly position information is consistent with the predetermined assembly position information, and the assembly slot information is consistent with the predetermined slot information, determining that the root cause of the error is not related to the assembly of the associated component. When it is determined that the component assembly position information is inconsistent with the predetermined assembly position information, and / or the assembly slot information is inconsistent with the predetermined slot information, determining updated assembly position information of the associated component and updated assembly slot information corresponding to the updated assembly position information.
[0083] The predetermined assembly position information and the predetermined slot information are determined based on a predetermined mapping relationship.
[0084] Figure 5A schematic diagram of detecting component assembly information of associated components according to an embodiment of the present application is shown schematically.
[0085] like Figure 5 As shown, detecting component assembly information of associated components may include operations S521 to S526.
[0086] In operation S521 , component assembly position information of the associated component and assembly slot information corresponding to the component assembly position information are determined.
[0087] In operation S522 , predetermined assembly position information matching the associated component and predetermined slot information corresponding to the predetermined assembly position information are determined.
[0088] In operation S523, it is determined whether the component assembly position information is consistent with the predetermined assembly position information. If it is determined that the component assembly position information is consistent with the predetermined assembly position information, operation S524 is performed. If it is determined that the component assembly position information is inconsistent with the predetermined assembly position information, operation S526 is performed.
[0089] In operation S524, it is determined whether the assembly slot information is consistent with the predetermined slot information. If it is determined that the assembly slot information is consistent with the predetermined slot information, operation S525 is performed. If it is determined that the assembly slot information is inconsistent with the predetermined slot information, operation S526 is performed.
[0090] In operation S525 , it is determined that the root cause of the error is not related to the component assembly of the associated component.
[0091] In operation S526 , updated assembly position information of the associated component and updated assembly slot information corresponding to the updated assembly position information are determined.
[0092] For example, the actual component assembly position information of the associated component and the assembly slot information corresponding to the component assembly position information can be read and confirmed. The predetermined position configuration information and predetermined slot configuration information of the associated component can be determined from the predetermined position configuration file. The predetermined position configuration information is determined as the predetermined assembly position information matching the associated component. The predetermined slot configuration information is determined as the predetermined slot information corresponding to the predetermined assembly position information.
[0093] The updated assembly position information may be predetermined assembly position information, and the updated assembly slot information corresponding to the updated assembly position information may be predetermined slot information.
[0094] Since the slot installation position corresponding to the actual installed component is compared with the slot position corresponding to the pre-configured component, the root cause of the alarm can be determined, and the adjustment mechanism can be determined to optimize production quality.
[0095] In another example, operations S521 to S526 may be performed when the BIOS version information is consistent with the historical BIOS version information, or when it is determined that the error cause is not related to the BIOS version change.
[0096] For example, the predetermined mapping relationship can be obtained according to the following operations: determining the predetermined slot information and predetermined assembly position information of any component from the silk screen information of the mainboard of the test equipment; constructing a mapping relationship between the predetermined slot information and the predetermined assembly position information to obtain the predetermined mapping relationship.
[0097] For example, the predetermined slot information and predetermined assembly position information of any component can be extracted from the motherboard silk screen information and stored in the component slot file.
[0098] In the case where there are multiple associated components, component assembly information detection may be performed on any of the associated components in sequence.
[0099] Since a mapping relationship between the predetermined slot information and the predetermined assembly position information is established, information management of the predetermined slot information and the predetermined assembly position information can be achieved, thereby improving the automation, standardization and traceability of the production process.
[0100] For example, for the above Figure 2 The operation S220 shown is to detect the production configuration file of the test equipment based on the associated components to obtain the detection results, and may also include the following operations: when it is determined that multiple associated components are consistent with multiple historical associated components, determining that the root cause of the error is not related to the component change. When it is determined that there is a target associated component among the multiple associated components, and the target associated component is inconsistent with multiple historical associated components, generating an update prompt information for the target associated component. When it is determined that the target associated component is updated successfully, and the test equipment slot reports an error again, determining that the root cause of the error is not related to the component change. When it is determined that the target associated component is updated successfully, and the test equipment slot does not report an error again within a predetermined period of time, determining that the root cause of the error is related to the component change.
[0101] The plurality of history association components are determined based on historical error reporting slots associated with errors of the test equipment slots.
[0102] Figure 6 A schematic diagram of component change detection of a test device according to an embodiment of the present application is shown schematically.
[0103] like Figure 6 As shown, the component change detection of the test equipment may include operations S621 to S626.
[0104] In operation S621 , a plurality of history-related components associated with the historical error reporting slot associated with the error reporting of the test equipment slot are obtained.
[0105] In operation S622, it is determined whether the plurality of associated components are all consistent with the plurality of historical associated components. If it is determined that the plurality of associated components are all consistent with the plurality of historical associated components, operation S623 is performed. If it is determined that the plurality of associated components are not all consistent with the plurality of historical associated components, operation S624 is performed.
[0106] In operation S623 , it is determined that the root cause of the error is not related to component change.
[0107] In operation S624 , update prompt information for the target associated component is generated.
[0108] In operation S625, it is determined whether the test device slot reports an error again after the update is completed. If it is determined that the test device slot reports an error again after the update is completed, operation S623 is executed. If it is determined that the test device slot does not report an error again after the update is completed, operation S626 is executed.
[0109] In operation S626 , it is determined that the root cause of the error is related to a component change.
[0110] For example, the historical error reporting slot indicates an error reporting of a slot of a test device at a previous moment before an error reporting of a slot at a current moment.
[0111] For example, you can determine multiple historically associated parts using a similar operation to determining associated parts. You can also query the order number for the previous slot error number before the current slot error number, and then query the historically associated parts in the bill of materials associated with the error number based on the order number.
[0112] For example, the update prompt information may be used to indicate a target associated component that is inconsistent with the multiple historical associated components among the multiple associated components that need to be updated.
[0113] The test results determined after the test equipment slot reports an error again after determining whether the update is completed can be sent synchronously to the production management system. The project team can use the production management system to determine whether the baseline slot information needs to be updated or the component production needs to be replaced.
[0114] Since material changes are connected to the production management system, they can automatically identify and process material changes, reduce manual intervention, improve the accuracy and efficiency of the production process, and save the labor costs consumed by manual sorting and comparison.
[0115] In another example, the above operations S621 to S626 may be performed when the component assembly position information is consistent with the predetermined assembly position information, and the assembly slot information is consistent with the predetermined slot information, or when it is determined that the root cause of the error is not related to the component assembly of the associated component.
[0116] When a slot error is reported during the production burn-in test, the system can quickly and accurately obtain test results by checking components, external devices, version information, component assembly information, and component changes. This avoids the problems of low detection accuracy and low troubleshooting efficiency caused by manual troubleshooting.
[0117] Based on the above error handling method, this application also provides an error handling device. Figure 7 The device is described in detail.
[0118] Figure 7 The structural block diagram of the error processing device according to an embodiment of the present application is schematically shown.
[0119] like Figure 7 As shown, the error processing device 700 of this embodiment includes a determination module 710 and a detection module 720 .
[0120] The determination module 710 is configured to determine the associated components associated with the slot in response to an error reported for the slot in the test device. In one embodiment, the determination module 710 may be configured to execute the operation S210 described above, which will not be described in detail herein.
[0121] Detection module 720 is configured to detect a production configuration file of the test device based on the associated components, and obtain a detection result indicating the root cause of the slot error. The production configuration file includes at least one of the following: a bill of materials, basic input / output system version information, and component assembly information. In one embodiment, detection module 720 may be configured to perform operation S220 described above, and will not be further described here.
[0122] According to an embodiment of the present application, when the production configuration file includes a bill of materials, the detection module 720 may include a quantity detection unit and a position detection unit. The quantity detection unit is configured to determine that an undetected component exists in the test device when the detected quantity of the associated component is inconsistent with the component quantity of the associated component in the bill of materials of the test device. The position detection unit is configured to obtain a detection result representing the position of the undetected component based on a predetermined position configuration file that matches the bill of materials and the detected quantity of the associated component.
[0123] When the production configuration file includes a bill of materials, the detection module 720 may further include a first sub-detection unit and a second sub-detection unit. The first sub-detection unit is configured to, upon determining that the number of components to be detected is consistent with the number of components and that the test device has an external device, obtain a detection result indicating that the external device needs to be detected. The second sub-detection unit, upon determining that the number of components to be detected is consistent with the number of components and that the test device has no external device, obtains a detection result indicating that the external device does not need to be detected.
[0124] If the production configuration file also includes BIOS version information, the detection module 720 may further include a verification unit, a third sub-detection unit, a call instruction unit, a fourth sub-detection unit, and a fifth sub-detection unit. The verification unit is configured to verify the BIOS version of the test device based on the BIOS version information and obtain a verification result. The third sub-detection unit is configured to, if the verification result indicates that the BIOS version information is consistent with the historical BIOS version information, determine that the root cause of the error is not related to the BIOS version of the test device. The call instruction unit is configured to, if the verification result indicates that the BIOS version information is inconsistent with the historical BIOS version information, call an update instruction to update the BIOS version information using the historical BIOS version information. The fourth sub-detection unit is configured to, if the update is complete and a slot error report is received, determine that the root cause of the error is not related to a BIOS version change. The fifth sub-detection unit is configured to, if the update is complete and no slot error report is received within a predetermined period, determine that the root cause of the error is related to a BIOS version change.
[0125] In the case where the production configuration file also includes component assembly information, the component assembly information includes component assembly position information of the associated component and assembly slot information corresponding to the component assembly position information, and the detection module 720 may further include a sixth sub-detection unit and a seventh sub-detection unit. The sixth sub-detection unit is used to determine that the root cause of the error is not related to the component assembly of the associated component when it is determined that the component assembly position information is consistent with the predetermined assembly position information and the assembly slot information is consistent with the predetermined slot information, wherein the predetermined assembly position information and the predetermined slot information are determined based on a predetermined mapping relationship. The seventh sub-detection unit is used to determine the updated assembly position information of the associated component and the updated assembly slot information corresponding to the updated assembly position information when it is determined that the component assembly position information is inconsistent with the predetermined assembly position information and / or the assembly slot information is inconsistent with the predetermined slot information.
[0126] The detection module 720 may also include a predetermined information determination unit and a mapping unit. The predetermined information determination unit is configured to determine the predetermined slot information and predetermined assembly position information of any component from the silkscreen information on the motherboard of the test device. The mapping unit is configured to establish a mapping relationship between the predetermined slot information and the predetermined assembly position information to obtain a predetermined mapping relationship.
[0127] The detection module 720 may further include an eighth sub-detection unit, an update prompt generation unit, a ninth sub-detection unit, and a tenth sub-detection unit. The eighth sub-detection unit is configured to determine that the root cause of the error is not related to a component change if it is determined that multiple associated components are consistent with multiple historically associated components, wherein the multiple historically associated components are determined based on the historical error-reporting slots associated with the test equipment slot. The update prompt generation unit is configured to generate update prompt information for the target associated component if it is determined that a target associated component exists among the multiple associated components and the target associated component is inconsistent with the multiple historically associated components. The ninth sub-detection unit is configured to determine that the root cause of the error is not related to a component change if it is determined that the target associated component is updated successfully and the test equipment slot reports an error again. The tenth sub-detection unit is configured to determine that the root cause of the error is related to a component change if it is determined that the target associated component is updated successfully and the test equipment slot does not report an error again within a predetermined period of time.
[0128] According to embodiments of the present application, any multiple modules in the determination module 710 and the detection module 720 can be combined into a single module, or any one of them can be split into multiple modules. Alternatively, at least part of the functionality of one or more of these modules can be combined with at least part of the functionality of other modules and implemented in a single module. According to embodiments of the present application, at least one of the determination module 710 and the detection module 720 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented in hardware or firmware through any other reasonable means of circuit integration or packaging, or can be implemented in any one of the three implementation methods of software, hardware, and firmware, or any appropriate combination of any of these. Alternatively, at least one of the determination module 710 and the detection module 720 can be at least partially implemented as a computer program module that, when executed, can perform the corresponding functions.
[0129] Figure 8 A block diagram of an electronic device suitable for implementing the error processing method according to an embodiment of the present application is schematically shown.
[0130] like Figure 8As shown, an electronic device 800 according to an embodiment of the present application includes a processor 801, which can perform various appropriate actions and processes based on a program stored in a read-only memory (ROM) 802 or a program loaded from a storage unit 808 into a random access memory (RAM) 803. The processor 801 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a dedicated microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 801 may also include onboard memory for caching purposes. The processor 801 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present application.
[0131] Various programs and data required for the operation of the electronic device 800 are stored in the RAM 803. The processor 801, ROM 802, and RAM 803 are connected to each other via a bus 804. The processor 801 performs various operations of the method flow according to the embodiment of the present application by executing the programs in the ROM 802 and / or RAM 803. It should be noted that the programs can also be stored in one or more memories other than the ROM 802 and RAM 803. The processor 801 can also perform various operations of the method flow according to the embodiment of the present application by executing the programs stored in one or more memories.
[0132] According to an embodiment of the present application, electronic device 800 may further include an input / output (I / O) interface 805, which is also connected to bus 804. Electronic device 800 may also include one or more of the following components connected to I / O interface 805: an input section 806 including a keyboard, mouse, etc.; an output section 807 including devices such as a cathode ray tube (CRT), liquid crystal display (LCD), and speakers; a storage section 808 including a hard disk; and a communication section 809 including a network interface card such as a LAN card or modem. Communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to I / O interface 805 as needed. Removable media 811, such as a magnetic disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed in drive 810 as needed, so that computer programs read from the removable media can be installed into storage section 808 as needed.
[0133] This application also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments, or may exist independently and not be incorporated into the device / apparatus / system. The computer-readable storage medium carries one or more programs, and when the one or more programs are executed, the method according to the embodiments of this application is implemented.
[0134] According to an embodiment of the present application, a computer-readable storage medium may be a non-volatile computer-readable storage medium, and may include, for example, but not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present application, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, according to an embodiment of the present application, a computer-readable storage medium may include the ROM 802 and / or RAM 803 described above and / or one or more memories other than ROM 802 and RAM 803.
[0135] The embodiments of the present application also include a computer program product, which includes a computer program containing program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the method provided in the embodiments of the present application.
[0136] The computer program executes the above functions defined in the system / device of the embodiment of the present application when the processor 801 executes the computer program. According to the embodiment of the present application, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0137] In one embodiment, the computer program may be stored on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may be transmitted and distributed in the form of a signal on a network medium, downloaded and installed via the communication portion 809, and / or installed from a removable medium 811. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to wireless, wired, or any suitable combination thereof.
[0138] In such an embodiment, the computer program can be downloaded and installed from the network via the communication section 809, and / or installed from the removable medium 811. When the computer program is executed by the processor 801, the above-mentioned functions defined in the system of the embodiment of the present application are performed. According to the embodiment of the present application, the systems, devices, means, modules, units, etc. described above can be implemented by computer program modules.
[0139] According to an embodiment of the present application, the program code for executing the computer program provided by the embodiment of the present application can be written in any combination of one or more programming languages. Specifically, these computer programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, languages such as Java, C++, Python, "C" or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect via the Internet).
[0140] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the above-mentioned module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of the boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0141] Those skilled in the art will appreciate that the features described in the various embodiments of this application may be combined and / or coupled in various ways, even if such combinations or couplings are not explicitly described in this application. In particular, the features described in the various embodiments of this application may be combined and / or coupled in various ways without departing from the spirit and teachings of this application. All such combinations and / or couplings fall within the scope of this application.
[0142] The embodiments of the present application have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present application. Although each embodiment has been described separately above, this does not mean that the measures in each embodiment cannot be advantageously used in combination. Without departing from the scope of the present application, those skilled in the art may make various substitutions and modifications, and these substitutions and modifications should all fall within the scope of the present application.
Claims
1. An error processing method, characterized in that: The method comprises: In response to an error report for a slot in a test device, determining an associated component associated with the slot; Based on the associated components, a production configuration file of the test device is tested to obtain a test result, wherein the test result indicates a root cause of the error of the slot, and the production configuration file includes at least one of the following: a bill of materials, version information of a basic input and output system, and component assembly information.
2. The method according to claim 1, characterized in that In a case where the production configuration file includes the bill of materials, the testing of the production configuration file of the test device based on the associated components to obtain a test result includes: In a case where it is determined that the detected quantity of the associated component is inconsistent with the component quantity of the associated component in the bill of materials of the test device, determining that there is an undetected component in the test device; Based on a predetermined location profile matched with the bill of materials and the detected quantity of associated components, an inspection result characterizing the location of the uninspected component is obtained.
3. The method according to claim 2, characterized in that The step of testing the production configuration file of the test device based on the associated components to obtain a test result further includes: When it is determined that the number of components to be tested is consistent with the number of components, and the test device has an external device, obtaining a test result indicating that the external device needs to be tested; When it is determined that the detection quantity is consistent with the component quantity and no external device exists on the test device, a detection result indicating that the external device does not need to be detected is obtained.
4. The method according to claim 3, characterized in that In a case where the production configuration file further includes version information of the basic input / output system, the detecting the production configuration file of the test device based on the associated component to obtain a detection result further includes: Verifying the version of the basic input and output system of the test device based on the version information of the basic input and output system to obtain a verification result; If it is determined that the verification result indicates that the version information of the basic input / output system is consistent with the version information of the historical basic input / output system, determining that the root cause of the error is not related to the version of the basic input / output system of the test device; If it is determined that the verification result indicates that the version information of the basic input / output system is inconsistent with the historical basic input / output system version information, calling an update instruction to update the version information of the basic input / output system using the historical basic input / output system version information; When the update is completed and an error report is received for the slot, determining that the root cause of the error report is not related to a version change of the basic input / output system; When it is determined that the update is completed and no error report of the slot is received within a predetermined period of time, it is determined that the root cause of the error report is related to a version change of the basic input and output system.
5. The method according to claim 4, characterized in that In the case where the production configuration file further includes the component assembly information, the component assembly information includes component assembly position information of the associated component and assembly slot information corresponding to the component assembly position information; The step of testing the production configuration file of the test device based on the associated components to obtain a test result further includes: When it is determined that the component assembly position information is consistent with the predetermined assembly position information, and the assembly slot information is consistent with the predetermined slot information, determining that the error root cause is not related to component assembly of the associated component, wherein the predetermined assembly position information and the predetermined slot information are determined based on a predetermined mapping relationship; When it is determined that the component assembly position information is inconsistent with the predetermined assembly position information, and / or the assembly slot information is inconsistent with the predetermined slot information, the updated assembly position information of the associated component and the updated assembly slot information corresponding to the updated assembly position information are determined.
6. The method according to claim 5, characterized in that The step of testing the production configuration file of the test device based on the associated components to obtain a test result further includes: Determining predetermined slot information and predetermined assembly position information of any component of the test device from silk-screen information of a mainboard of the test device; A mapping relationship between the predetermined slot information and the predetermined assembly position information is constructed to obtain the predetermined mapping relationship.
7. The method according to claim 5, characterized in that The associated components include a plurality of; The step of testing the production configuration file of the test device based on the associated components to obtain a test result further includes: If it is determined that the plurality of associated components are consistent with a plurality of historically associated components, determining that the root cause of the error is not related to a component change, wherein the plurality of historically associated components are determined based on historical error slots associated with the error of the test equipment slot; generating update prompt information for the target associated component when it is determined that there is a target associated component among the plurality of associated components and the target associated component is inconsistent with the plurality of historical associated components; If it is determined that the target associated component is updated successfully and the test device slot reports an error again, determining that the root cause of the error is not related to the component change; When it is determined that the target associated component is updated successfully and the test equipment slot does not report an error again within the predetermined period, it is determined that the root cause of the error is related to a component change.
8. An error processing device, characterized in that: The device comprises: a determination module, configured to determine, in response to an error report regarding a slot in the test device, an associated component associated with the slot; A detection module is used to detect a production configuration file of the test device based on the associated components to obtain a detection result, wherein the detection result indicates a root cause of an error in the slot, and the production configuration file includes at least one of the following: a bill of materials, version information of a basic input and output system, and component assembly information.
9. An electronic device comprising: one or more processors; a memory for storing one or more computer programs, It is characterized in that the one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program or instruction stored thereon, characterized in that: When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.