Mainboard testing method, testing host computer and mainboard
By sending configuration files of untested items when the serial port between the host computer and the motherboard under test is idle, the problem of long testing time in the prior art is solved, and efficient motherboard testing is achieved.
Patent Information
- Application Number
- CN202310115819.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-31
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-01-31
AI Technical Summary
Existing motherboard testing methods are time-consuming and inefficient, requiring the previous test item to be completed before the configuration file for the next test item can be sent.
When the serial port between the test host and the motherboard under test is idle, the configuration file of the untested items is sent to the motherboard under test to realize the transmission during the test and avoid waiting for the test to end before transmitting.
By transferring configuration files during idle time, the total testing time is reduced, thus improving the efficiency of motherboard testing.
Smart Images

Figure CN116340062B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of testing technology, and in particular relates to a motherboard testing method, a testing host computer, and a motherboard. Background Technology
[0002] The increasingly fierce competition in the current manufacturing industry has placed new demands on processing costs and efficiency. However, current motherboard testing methods typically test each test item of the motherboard under test sequentially. The test controller sends the configuration file for each test item to the motherboard under test, waits for the motherboard to receive all the configuration files for that test item before starting the test. Furthermore, the configuration file for the next test item can only be sent after the previous test item has been completed. This results in long testing times and low testing efficiency. Summary of the Invention
[0003] This application provides a motherboard testing method, a testing host computer, and a motherboard, which can solve the problems of long testing time and low efficiency in motherboard testing.
[0004] In a first aspect, embodiments of this application provide a motherboard testing method applied to a test host computer. The method includes: testing a first test item of the motherboard under test; if the communication serial port between the test host computer and the motherboard under test is idle during the testing of the first test item of the motherboard under test, then sending a configuration file corresponding to a second test item to the motherboard under test, wherein the second test item is at least one of the untested test items; after testing the first test item, testing a third test item of the motherboard under test, wherein the third test item is the next test item after the first test item, or the third test item is one of the test items of the second test item.
[0005] Optionally, the test result of the first test item can be determined by receiving the first verification information from the motherboard under test and then determining the test result of the first test item based on the first verification information and the second verification information corresponding to the first test item that is stored in advance, thereby completing the test of the first test item.
[0006] In one possible implementation of the first aspect, if the motherboard under test is a single-threaded motherboard, then the first test item is the video channel.
[0007] In one possible implementation of the first aspect, if all configuration files corresponding to the second test item are not sent to the motherboard under test during the testing of the first test item, then during the testing of the third test item, when the communication serial port between the test host and the motherboard under test is idle, the remaining configuration files corresponding to the second test item can be sent to the motherboard under test.
[0008] Optionally, before testing the third test item, it can be determined whether all configuration files corresponding to the third test item have been sent to the motherboard under test. If not, the remaining configuration files corresponding to the third test item are sent to the motherboard under test.
[0009] According to the method provided in this application, by sending the configuration files for the remaining untested items to the motherboard under test from the test host computer when the serial port between the test host computer and the motherboard under test is idle, configuration file transmission during testing can be achieved. This method does not require waiting for the test to complete before transmitting the configuration file, thus saving the time required for file transmission, reducing the overall testing time, and improving motherboard testing efficiency.
[0010] Secondly, embodiments of this application provide a motherboard testing method, applied to a motherboard, the method comprising:
[0011] Test the first test item of the motherboard;
[0012] If the communication serial port between the motherboard and the test host is idle during the testing of the first test item, then the configuration file corresponding to the second test item is received from the test host, wherein the second test item is at least one of the untested test items;
[0013] After testing the first test item, a third test item is tested, wherein the third test item is the next test item after the first test item, or the third test item is one of the test items in the second test item.
[0014] Optionally, the test of the first test item can be completed by burning the configuration file corresponding to the first test item to the storage space corresponding to the first test item, and then sending the first verification information to the test host.
[0015] For example, the first verification information is obtained based on the result of burning the configuration file corresponding to the first item to be tested.
[0016] In one possible implementation of the second aspect, if the motherboard to be tested is a single-threaded motherboard, then the first item to be tested is the video channel.
[0017] In one possible implementation of the second aspect, if not all configuration files corresponding to the second test item are received from the test host during the testing of the first test item, then the remaining configuration files corresponding to the second test item can be received from the test host when the communication serial port between the motherboard under test and the test host is idle during the testing of the third test item.
[0018] Optionally, before testing the third test item, it is also possible to check whether the configuration file corresponding to the received third test item is complete. If the configuration file is complete, the third test item is tested; if the configuration file is incomplete, the remaining configuration files corresponding to the third test item are received from the test host.
[0019] According to the method provided in this application, by sending the configuration files for the remaining untested items to the motherboard under test from the test host computer when the serial port between the test host computer and the motherboard under test is idle, configuration file transmission during testing can be achieved. This method does not require waiting for the test to complete before transmitting the configuration file, thus saving the time required for file transmission, reducing the overall testing time, and improving motherboard testing efficiency.
[0020] Thirdly, embodiments of this application provide a test master controller, including: a transceiver unit and a test unit;
[0021] The test unit is used to test the first test item of the motherboard under test;
[0022] If the communication serial port between the test host and the motherboard under test is idle during the test unit's test of the first test item, the transceiver unit is used to send the configuration file corresponding to the first test item to the motherboard under test, and the second test item is at least one of the untested test items.
[0023] The testing unit is further configured to test a third test item of the motherboard under test after testing the first test item, wherein the third test item is the next test item after the first test item, or the third test item is one of the test items in the second test item.
[0024] Optionally, the transceiver unit can send the configuration file corresponding to the first test item to the motherboard under test, and then receive the first verification information from the motherboard under test. The test unit can determine the test result of the first test item based on the first verification information and the pre-stored second verification information corresponding to the first test item, and complete the test of the first test item.
[0025] In one possible implementation of the third aspect, if the transceiver unit does not send all the configuration files corresponding to the second test item to the motherboard under test when testing the first test item, then during the testing of the third test item, when the communication serial port between the test host and the motherboard under test is idle, the transceiver unit can still send the remaining configuration files corresponding to the second test item to the motherboard under test.
[0026] Optionally, before testing the third test item, it can be determined whether the configuration file corresponding to the third test item sent to the motherboard under test is complete. If the configuration file corresponding to the third test item sent to the motherboard under test is incomplete, the test unit will then send the remaining configuration files corresponding to the third test item to the transceiver unit before testing the third test item.
[0027] Fourthly, embodiments of this application provide a motherboard, including: a transceiver unit and a test unit;
[0028] The test unit is used to test the first test item of the motherboard;
[0029] If the communication serial port between the motherboard and the test host is idle when testing the first test item, the transceiver unit is used to receive the configuration file corresponding to the second test item from the test host, where the second test item is at least one of the untested test items;
[0030] After testing the first test item, the testing unit is also used to test a third test item, which is the next test item after the first test item, or the third test item is one of the test items in the second test item.
[0031] Optionally, the test unit can burn the configuration file corresponding to the first test item to the storage space corresponding to the first test item, obtain the first verification information based on the burning result, and then the transceiver unit can send the first verification information to the test master to complete the test of the first test item.
[0032] In one possible implementation of the fourth aspect, if the transceiver unit does not receive all the configuration files corresponding to the second test item from the test host during the testing of the first test item, then the transceiver unit can receive the remaining configuration files corresponding to the second test item from the test host when the communication serial port between the motherboard under test and the test host is idle during the testing of the third test item.
[0033] Optionally, before starting to test the third item under test, the test unit should first check whether the received configuration file corresponding to the third item under test is complete. If the received configuration file corresponding to the third item under test is complete, the third item under test is tested directly; otherwise, the transceiver unit should continue to receive the remaining configuration files corresponding to the third item under test, and perform the test only after all files have been received.
[0034] Fifthly, embodiments of this application provide a processing device, including: a memory and a processor, wherein the processor can be used to execute a program (instructions) stored in the memory to implement the methods provided in the first or second aspect above.
[0035] In a sixth aspect, embodiments of this application provide a computer-readable storage medium, including: a computer program stored thereon, which, when executed, can implement the methods provided in the first or second aspect described above.
[0036] In a seventh aspect, embodiments of this application provide a computer program product that, when run on a processing device, causes the processing device or motherboard to perform the method described in any one of the first or second aspects above.
[0037] It is understood that the beneficial effects of the third to seventh aspects mentioned above can be found in the relevant descriptions in the first or second aspects mentioned above, and will not be repeated here.
[0038] The beneficial effects of this application's embodiments compared to the prior art are as follows: According to the method provided in this application, by sending the configuration files of the remaining untested items to the motherboard under test from the test host computer when the communication serial port between the test host computer and the motherboard under test is idle, the configuration file can be transmitted during the test. This method does not require waiting for the test to complete before transmitting the configuration file, thus saving the time required for file transmission, reducing the overall test time, and improving motherboard testing efficiency. Attached Figure Description
[0039] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art 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.
[0040] Figure 1 This is a schematic diagram of the structure of a motherboard testing system provided in one embodiment of this application;
[0041] Figure 2 This is a schematic flowchart of a motherboard testing method provided in an embodiment of this application;
[0042] Figure 3 This is a schematic diagram of the test interface provided in one embodiment of this application;
[0043] Figure 4 This is a flowchart illustrating a motherboard testing method provided in one embodiment of this application;
[0044] Figure 5 This is a schematic diagram of the structure of the test main control unit provided in the embodiments of this application;
[0045] Figure 6 This is a schematic diagram of the motherboard structure provided in an embodiment of this application;
[0046] Figure 7 This is a schematic diagram of the processing device provided in the embodiments of this application. Detailed Implementation
[0047] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0048] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0049] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0050] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."
[0051] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0052] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0053] Figure 1 This illustration shows a motherboard testing system provided in an embodiment of this application. As an example and not a limitation, the motherboard testing system 100 may include a test host 110 and a motherboard under test 120. The test host 110 may be a terminal device such as a tablet computer, laptop computer, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA). The motherboard under test 120 may be a motherboard such as a TV motherboard, electronic whiteboard, or set-top box motherboard.
[0054] For example, the test host 110 and the motherboard under test 120 can be connected and communicated via wired or wireless means.
[0055] In one example, the motherboard testing system 100 may also include a server 130. The server 130 can be used to store test data and configuration files. Optionally, the server may be a cloud server. It should be understood that this application does not limit the specific type of server.
[0056] In this application, the test host 110 can sequentially test multiple test items of the motherboard under test 120. During the testing of a particular test item on the motherboard under test 120, if the communication serial port between the test host 110 and the motherboard under test 120 is idle, the test host 110 can send configuration files corresponding to other test items that have not yet been sent to the motherboard under test 120. This scheme achieves configuration file transmission during testing by having the test host send configuration files for the remaining untested items to the motherboard under test when the communication serial port between the test host and the motherboard under test is idle. This method eliminates the need to wait for the test to complete before transmitting the configuration files, thus saving file transmission time, reducing the overall testing time, and improving motherboard testing efficiency.
[0057] Figure 2 A schematic flowchart of the motherboard testing method provided in this application is shown. It is provided as an example and not as a limitation. This method can be applied to... Figure 1 In the motherboard testing system 100 shown, method 200 may include steps S201-S205, which will be described below.
[0058] S201, the test host performs the first test item on the motherboard under test.
[0059] S202, the motherboard under test performs the first test item.
[0060] In some embodiments, the test host can acquire the identification information of the motherboard under test before starting the test, and then determine all test items and the test order of the motherboard under test based on the identification information. It should be understood that the first test item is one of all test items. For example, the first test item can be the first test item among all test items, or it can be any other test item besides the first and last test items.
[0061] In one possible implementation, the first test item is one that requires a configuration file during testing. Accordingly, S202 may include: the motherboard under test burning the configuration file corresponding to the first test item to the storage space corresponding to the first test item, determining the first verification information based on the burning result, and then sending the first verification information to the test host. Correspondingly, S201 may include: the test host receiving the first verification information and comparing it with the pre-stored second verification information corresponding to the first test item. If the first verification information and the second verification information are the same, the test host can determine that the test result of the first test item is normal or passed; if the first verification information and the second verification information are different, or if the first verification information is abnormal, the test host can determine that the test result of the first test item is abnormal or failed. Once the test host determines the test result of the first test item, it can be considered that the test host and the motherboard under test have completed the test of the first test item.
[0062] For example, the first verification information can be a check code or an error message.
[0063] Specifically, if the programming is successful, the first verification information is a verification code; if the programming fails, the first verification information is an error message.
[0064] For example, the second verification information may be a verification code.
[0065] In another possible implementation, the first test item is a video channel. Accordingly, S202 may include: the motherboard under test sending partial video data and partial audio data to the test host computer. Correspondingly, S201 may include: the test host computer receiving the video and audio data sent by the motherboard under test, and then analyzing whether the video and audio data are normal, such as analyzing whether the video quality and color tone are normal. If the test host computer analyzes that the video and audio data are normal, it can determine that the test result of the first test item is normal. Otherwise, the test host computer can determine that the test result of the first test item is abnormal or fails. Once the test host computer determines the test result of the first test item, it can be considered that the test host computer and the motherboard under test have completed the test of the first test item.
[0066] For example, a video channel can be an audio and video (AV) channel, a digital television (DTV) channel, or a high-definition multimedia interface (HDMI) channel.
[0067] In another possible implementation, the first test item is an item used to test the functionality of the motherboard under test. Examples include network port, wireless activation, and remote control. Accordingly, S202 may include: the motherboard under test performs a corresponding operation based on the first test information, and then sends second test information to the test host. Correspondingly, S201 may include: the test host sends the first test information to the motherboard under test, and then receives the second test information from the motherboard under test. The test host can determine the test result of the first test item based on the second test information. Once the test host determines the test result of the first test item, it can be considered that the test host and the motherboard under test have completed the test of the first test item.
[0068] For example, the first test information is used to instruct the motherboard under test to perform the operation corresponding to the first test information. The second test information is the execution result of the motherboard under test performing the operation corresponding to the first test information.
[0069] For example, the first test item is Bluetooth. The test host sends the first test information to the motherboard under test, instructing it to turn on Bluetooth and search for nearby Bluetooth devices. After receiving the first information, the motherboard under test turns on Bluetooth and searches for nearby Bluetooth devices, then sends the list of found Bluetooth devices as the second test information to the test host. After receiving the second test information, i.e., the Bluetooth device list, the test host compares it with a pre-stored Bluetooth device list. If they are the same, the test result for the first test item of the motherboard under test is determined to be normal or passed. If they are different, i.e., the Bluetooth devices in the second test information are incomplete, or the Bluetooth device list in the second information is empty, the test result for the first test item of the motherboard under test is determined to be abnormal or failed.
[0070] S203, the test host sends the configuration file corresponding to the second test item to the motherboard under test.
[0071] In one possible implementation, if the communication serial port between the motherboard under test and the test host is idle during the testing of the first test item of the motherboard under test, the test host can send the configuration file corresponding to the second test item to the motherboard under test. Correspondingly, the motherboard under test receives the configuration file corresponding to the second test item.
[0072] For example, the second test item is at least one of the untested test items.
[0073] It should be understood that the number of second test items is related to the time required to test the first test item. For example, if the time required to test the first test item is short, then during the testing of the first test item of the motherboard under test and when the communication serial port between the motherboard under test and the test host is idle, the test host can only send a small number of configuration files corresponding to the test items to the motherboard under test. If the time required to test the first test item is long, then during the testing of the first test item of the motherboard under test and when the communication serial port between the motherboard under test and the test host is idle, the test host can send more configuration files corresponding to the test items to the motherboard under test. If there are N second test items, where N is a positive integer, then the second test items are the first N test items that require configuration files during testing after the test item corresponding to the previous configuration file sent by the test host.
[0074] For example, see Figure 3 The test interface diagram shown illustrates the following: If the first test item is a software version, the test item corresponding to the previous configuration file sent by the test host is HDCP2.2. The order of test items after HDCP2.2 is: button panel, HDMI1, USB1, C1+KEY, WIDEVINE... If the second test item is a single item, then the second test item is C1+KEY. If the second test item includes two test items, then the second test item is: C1+KEY and WIDEVINE.
[0075] In one example, the motherboard under test is a multi-threaded motherboard and the first test item is not the video channel. Therefore, during the testing of the first test item, the communication serial port between the motherboard under test and the test controller is idle during the gap between the test controller receiving the first verification information corresponding to the first test item from the motherboard under test. Alternatively, the communication serial port between the motherboard under test and the test controller is idle during the gap between the motherboard under test receiving the first test information and sending the second test information to the test controller. Utilizing this idle time, the test controller can send the configuration file corresponding to the second test item to the motherboard under test.
[0076] In another example, the motherboard under test is a multi-threaded motherboard, and the first test item is the video channel. After the test controller acquires the video and audio data from the motherboard under test, during the gap before analyzing and testing the first test item, the communication serial port between the motherboard under test and the test controller is idle. Using this idle time, the test controller can send the configuration file corresponding to the second test item to the motherboard under test.
[0077] In another possible implementation, the motherboard under test is a single-threaded motherboard, and the first test item is the video channel. If the motherboard under test is a single-threaded motherboard, and the first test item is not the video channel, then during the aforementioned gap time, although the communication serial port between the motherboard under test and the test host is idle, the motherboard under test is currently obtaining the first verification information based on the configuration file, or is executing the operation corresponding to the first test information; therefore, the motherboard under test is not idle. Thus, the motherboard under test cannot receive the configuration file corresponding to the second test item at this time. Only when the first test item is the video channel is the test host analyzed by the motherboard under test to determine if the video and audio data are normal, so the motherboard under test is idle during the aforementioned gap time. Only then can the motherboard under test receive the configuration file corresponding to the second test item.
[0078] S204 is the third test item for the test host to test the motherboard under test.
[0079] S205, the third test item for the motherboard under test.
[0080] In one possible implementation, the test controller and the motherboard under test can continuously test all test items of the motherboard under test in the test order. That is, the third test item can be the next test item after the first test item in the test order. For example, if the second test item is a single test item and is the next test item after the first test item, then the third test item is the second test item. Alternatively, if the second test item is multiple test items, and the first test item among these multiple test items is the next test item after the first test item, then the third test item is the first test item among these multiple test items.
[0081] For example, see as Figure 4 The test interface diagram shown indicates that the following items have already been tested: software version, video channel AV1, video channel YPBPR1, remote control head, and button panel. The first item currently being tested is video channel HDMI1. Subsequent items, in the following order, should be: USB1, network port, voltage, video channel DTV… followed by a factory reset. The third item to be tested is USB1.
[0082] In another possible implementation, after testing the first test item, if the test controller has already sent all the configuration files corresponding to the second test item to the motherboard under test, the test controller and the motherboard under test can test the second test item first. That is, the third test item is one of the second test items. For example, if the second test item is a single test item, then the third test item is the second test item. Or, if the second test item consists of multiple test items, then the third test item can be one of the second test items.
[0083] For example, the test order for all items to be tested is: software version, video channel AV1, video channel YPBPR1, remote control head, button panel, USB1, HDMI1, C1+KEY, WIDEVINE...
[0084] During the testing of the first test item (i.e., the software version), the test host sends all the configuration files corresponding to the second test item (i.e., C1+KEY and HDCP2.2) to the motherboard under test. After testing the first test item, the test host and the motherboard under test begin testing the third test item (i.e., C1+KEY). At this point, the third test item is one of the test items in the second test item.
[0085] Optionally, in order to save testing time, the third test item can be the test item that requires the least testing time among the second test items.
[0086] Specifically, the motherboard under test and the test controller can be used to test the third test item in a similar manner to the test of the first test item. For details on S204 and S205, please refer to the description of S201 and S202 above, which will not be repeated here.
[0087] According to the method provided in this application, by sending the configuration files for the remaining untested items to the motherboard under test from the test host computer when the serial port between the test host computer and the motherboard under test is idle, configuration file transmission during testing can be achieved. This method does not require waiting for the test to complete before transmitting the configuration file, thus saving the time required for file transmission, reducing the overall testing time, and improving motherboard testing efficiency.
[0088] Figure 4 A schematic flowchart of the motherboard testing method provided in this application is shown. It is provided as an example and not as a limitation. This method can be applied to... Figure 1 In the motherboard testing system 100 shown, method 400, as a possible specific implementation of method 200, may include steps S401-S411, which are described below.
[0089] S401, the test host sends the configuration file corresponding to the i-th test item to the motherboard under test.
[0090] For example, i is a positive integer.
[0091] For example, if i=1, and a configuration file is required when testing the first item under test, then before starting to test the first item under test, the test host must first send the configuration file corresponding to the first item under test to the motherboard under test. Accordingly, the motherboard under test receives the configuration file corresponding to the first item under test.
[0092] For example, if i > 2, and a configuration file is required when testing the i-th test item, and the test controller did not send all the configuration files corresponding to the i-th test item to the motherboard under test during the testing of the first i-2 test items, then during the testing of the (i-1)-th test item, when the test controller and the motherboard under test are idle, the test controller can continue to send the remaining configuration files corresponding to the i-th test item to the motherboard under test. If, during the testing of the (i-1)-th test item, the test controller still has not sent all the configuration files corresponding to the i-th test item to the motherboard under test, then the test controller can send the remaining configuration files to the motherboard under test after testing the (i-1)-th test item. After the test controller has sent all the configuration files corresponding to the i-th test item to the motherboard under test, the test controller and the motherboard under test will then begin testing the i-th test item. If, during the testing of the first i-1-th test items, all the configuration files corresponding to the i-th test item have already been sent to the motherboard under test, then... Therefore, after testing the (i-1)th test item, the main controller and the motherboard under test can directly test the i-th test item.
[0093] It should be understood that the i-th test item can be the first test item.
[0094] S402, the motherboard under test burns the configuration file corresponding to the i-th test item to the storage space corresponding to the i-th test item.
[0095] After the test host sends all the configuration files corresponding to the i-th test item to the motherboard under test, the motherboard under test can burn the configuration files corresponding to the i-th test item to the storage space corresponding to the i-th test item.
[0096] S403, the motherboard under test determines the first verification information based on the result of burning the configuration file corresponding to the i-th test item.
[0097] Specifically, if the burning is successful, the first verification information is a verification code; if it is unsuccessful, the first verification information is an error message.
[0098] S404, the test host computer splits the configuration file corresponding to the second test item into multiple data packets of preset size.
[0099] In one example, the test host can send all configuration files to the motherboard under test at once.
[0100] In another example, if the configuration file is large, sending the entire configuration file to the motherboard under test all at once by the test host will result in excessively long transmission time and a higher likelihood of transmission failure. The test host can perform step S404 to split the configuration file into multiple data packets of a preset size, and then execute step S405 to send these multiple data packets to the motherboard under test sequentially, thereby improving the efficiency of configuration file transmission.
[0101] For example, the default size can be 64 bytes.
[0102] Optionally, the preset size can be the maximum number of bytes of data that the motherboard under test can accept at one time.
[0103] For example, if the maximum number of bytes of data that the motherboard under test can accept at one time is 4096 bytes, and the size of the configuration file is 262144 bytes, the configuration file can be split into 64 data packets of 4096 bytes each, and then these 64 data packets can be sent to the motherboard under test in sequence.
[0104] Optionally, to ensure the order in which multiple data packets are sent, the test host can name these multiple data packets in sequence, and these multiple data packets can be combined into the configuration file according to the naming order.
[0105] For example, the 64 data packets that the above configuration file was split into can be named as: data packet 1, data packet 2, data packet 3... data packet 64.
[0106] In another example, if the configuration file is small, the test host can proceed to step S405.
[0107] It should be understood that the testing order of the second test item is after the i-th test item.
[0108] S405, the test host sends the configuration file corresponding to the second test item to the motherboard under test.
[0109] Specifically, during steps S402-S403 performed by the motherboard under test, the test host can perform step S405 to send the configuration file corresponding to the second test item to the motherboard under test.
[0110] S406, the motherboard under test sends the first verification information to the test host computer.
[0111] Accordingly, the test host receives the first verification information.
[0112] S407, the test master unit determines the test result of the i-th test item based on the first verification information and the second verification information corresponding to the i-th test item that is stored in advance.
[0113] Specifically, if the first verification information and the second verification information are the same, the test result of the i-th item to be tested is normal or passes. If the first verification information and the second verification information are different or the first verification code is abnormal, the test result of the i-th item to be tested is abnormal or fails.
[0114] In one example, if a configuration file is required when testing the (i+1)th item to be tested, then step S408 can be performed.
[0115] In another example, if no configuration file is needed when testing the (i+1)th test item, for example, when the (i+1)th test item is a video channel, steps S410 and S411 can be performed.
[0116] It should be understood that the (i+1)th test item can be the third test item.
[0117] S408, the motherboard under test checks whether the configuration file corresponding to the (i+1)th test item received is complete.
[0118] In one example, if the configuration file corresponding to the (i+1)th test item received by the motherboard under test is complete, steps S410 and S411 can be performed.
[0119] In another example, if the configuration file corresponding to the (i+1)th test item received by the motherboard under test is incomplete, step S409 can be performed.
[0120] S409, the test host sends the remaining configuration files corresponding to the (i+1)th test item to the motherboard under test.
[0121] Optionally, the test host can determine the remaining configuration files corresponding to the (i+1)th test item based on the filename of the last data packet sent to the motherboard under test.
[0122] For example, after testing the i-th test item, the corresponding configuration file of the (i+1)-th test item is sent to data packet 30, and then the test host continues to send data packets 31 to 64 to the motherboard under test.
[0123] It should be understood that when the motherboard under test receives the above multiple data packets, it can also combine these multiple data packets to obtain the complete configuration file corresponding to the (i+1)th test item.
[0124] S410, the motherboard under test is testing the (i+1)th test item.
[0125] S411, the test host tests the (i+1)th item to be tested.
[0126] Specifically, the motherboard under test and the test controller can be used to test the (i+1)th test item in a manner similar to that used in method 200 for testing the first test item. For details on S410 and S411, please refer to the previous descriptions of S201 and S202; they will not be repeated here.
[0127] Corresponding to the motherboard testing method 200 described in the above embodiment, Figure 5 A structural block diagram of the test master controller provided in the embodiments of this application is shown. For ease of explanation, only the parts related to the embodiments of this application are shown.
[0128] Reference Figure 5The test main control unit includes: a transceiver unit 510 and a test unit 520;
[0129] The test unit is used to test the first test item of the motherboard under test;
[0130] If the communication serial port between the test host and the motherboard under test is idle during the test unit's testing of the first test item, the transceiver unit 510 is used to send the configuration file corresponding to the second test item to the motherboard under test.
[0131] The test unit is also used to test the third test item of the motherboard under test after the first test item has been tested.
[0132] In one example, if the motherboard under test is a single-threaded motherboard, then the first test item is the video channel.
[0133] Optionally, the test unit 520 can determine the test result of the first test item based on the first verification information and the second verification information corresponding to the first test item stored in advance, and complete the test of the first test item.
[0134] Optionally, the test unit 520 can split the configuration file into multiple data packets of a preset size, and then the transceiver unit 510 can send these multiple data packets to the motherboard under test in sequence.
[0135] In one example, if the transceiver unit 510 does not send all the configuration files corresponding to the second test item to the motherboard under test when testing the first test item, then during the testing unit 520's testing of the third test item, when the communication serial port between the test host and the motherboard under test is idle, the transceiver unit 510 can still send the remaining configuration files corresponding to the second test item to the motherboard under test.
[0136] Optionally, if the configuration file corresponding to the third test item is incomplete when sent to the motherboard under test before testing the third test item, the test unit will then test the third test item after sending the remaining configuration files corresponding to the third test item to the motherboard under test via the transceiver unit 510.
[0137] According to the method provided in this application, by sending the configuration files for the remaining untested items to the motherboard under test from the test host computer when the serial port between the test host computer and the motherboard under test is idle, configuration file transmission during testing can be achieved. This method does not require waiting for the test to complete before transmitting the configuration file, thus saving the time required for file transmission, reducing the overall testing time, and improving motherboard testing efficiency.
[0138] Corresponding to the motherboard testing method 200 described in the above embodiment, Figure 6 A structural block diagram of a motherboard provided in an embodiment of this application is shown. For ease of explanation, only the parts related to the embodiment of this application are shown.
[0139] Reference Figure 6 The motherboard includes: a transceiver unit 610 and a test unit 620;
[0140] Test unit 620 is used to test the first test item of the motherboard;
[0141] If the communication serial port between the motherboard and the test host is idle during the testing of the first test item, the transceiver unit 610 is used to receive the configuration file corresponding to the second test item from the test host.
[0142] After testing the first test item, test unit 620 is also used to test the third test item.
[0143] Optionally, the test unit 620 can burn the configuration file corresponding to the first test item to the storage space corresponding to the first test item, obtain the first verification information based on the burning result, and then the transceiver unit 610 can send the first verification information to the test master computer to complete the test of the first test item.
[0144] In one example, if the transceiver unit 610 does not receive all the configuration files corresponding to the second test item from the test host during the testing of the first test item, then the transceiver unit 610 can receive the remaining configuration files corresponding to the second test item from the test host when the communication serial port between the motherboard under test and the test host is idle during the testing of the third test item by the test unit 620.
[0145] Optionally, before starting to test the third test item, the test unit 620 should first check whether the received configuration file corresponding to the third test item is complete. If the received configuration file corresponding to the third test item is complete, the third test item is tested directly; otherwise, the transceiver unit 610 should continue to receive the remaining configuration files corresponding to the third test item, and perform the test only after all files have been received.
[0146] According to the method provided in this application, by sending the configuration files for the remaining untested items to the motherboard under test from the test host computer when the serial port between the test host computer and the motherboard under test is idle, configuration file transmission during testing can be achieved. This method does not require waiting for the test to complete before transmitting the configuration file, thus saving the time required for file transmission, reducing the overall testing time, and improving motherboard testing efficiency.
[0147] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.
[0148] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0149] Figure 7 The diagram shown is a structural schematic of a processing device provided in one embodiment of this application. Figure 7 The processing device 700 shown may include: at least one processor 710 ( Figure 7 The diagram shows only one processor, a memory 720, and a computer program 730 stored in the memory 720 and executable on the at least one processor 710, which, when executing the computer program 730, implements the steps in any of the above method embodiments.
[0150] The processing device 700 may be a robot or other processing device capable of implementing the above methods. This application embodiment does not impose any restrictions on the specific type of processing device.
[0151] Those skilled in the art will understand that Figure 7 This is merely an example of processing device 700 and does not constitute a limitation on the processing device. It may include more or fewer components than shown, or combine certain components, or use different components. For example, the processing device 700 may also include input / output interfaces.
[0152] The processor 710 may be a Central Processing Unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.
[0153] In some embodiments, the memory 720 may be an internal storage unit, such as a hard disk or RAM. In other embodiments, the memory 720 may be an external storage device, such as a plug-in hard disk, a SmartMedia Card (SMC), a Secure Digital (SD) card, or a Flash Card. Furthermore, the memory 720 may include both internal and external storage units. The memory 720 is used to store the operating system, applications, a bootloader, data, and other programs, such as the program code of the computer program. The memory 720 can also be used to temporarily store data that has been output or will be output.
[0154] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0155] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0156] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps described in the various method embodiments above.
[0157] This application provides a computer program product that, when run on a test host or motherboard, enables the test host or motherboard to execute the steps described in the above-described method embodiments.
[0158] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying computer program code to a photographing device / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.
[0159] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0160] Those skilled in the art will 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, or a combination of computer software and electronic hardware. 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.
Claims
1. A method of testing a motherboard, the method comprising: Applied to a test host computer, the method includes: The test of the first test item of the motherboard under test includes: the motherboard under test burning the configuration file corresponding to the first test item to the storage space corresponding to the first test item, and determining the first verification information according to the burning result and sending the first verification information to the test host; the test host determining the test result of the first test item according to the first verification information and the second verification information corresponding to the first test item that is pre-stored. If the communication serial port between the test host and the motherboard under test is idle during the testing of the first test item of the motherboard under test, then the idle time of the communication serial port is used to split the configuration file corresponding to the second test item into multiple data packets of a preset size, and the multiple data packets are sent to the motherboard under test sequentially during the idle time of the communication serial port to complete the sending of the configuration file corresponding to the second test item; wherein, the idle time of the communication serial port is the gap time before the test host receives the first verification information; the second test item is at least one of the untested test items, and the second test item is the first N test items that need configuration files after the test item corresponding to the previous configuration file sent by the test host according to the test order of multiple test items, where N is a positive integer; After testing the first test item, test the third test item of the motherboard under test. The third test item is the next test item after the first test item, or the third test item is one of the test items in the second test item.
2. The method of claim 1, wherein, If the motherboard under test is a single-threaded motherboard, the first test item is the video channel.
3. The method of claim 1 or 2, wherein, The method further includes: If, after testing the first test item, all configuration files corresponding to the second test item are not sent to the motherboard under test, then during the testing of the third test item, when the communication serial port between the test host and the motherboard under test is idle, the remaining configuration files corresponding to the second test item are sent to the motherboard under test.
4. A motherboard testing method, characterized by, Applied to a motherboard, the method includes: Test the first test item of the motherboard; If the communication serial port between the motherboard and the test host is idle during the testing of the first test item, the test host receives the configuration file corresponding to the second test item of the motherboard from the test host, wherein the second test item is at least one of the untested test items; the test host is used to execute the method according to any one of claims 1-3; After testing the first test item, a third test item is tested, wherein the third test item is the next test item after the first test item, or the third test item is one of the test items in the second test item.
5. The method of claim 4, wherein, If the motherboard is a single-threaded motherboard, the first test item is the video channel.
6. The method of claim 4 or 5, wherein, The method further includes: If, after testing the first test item, no configuration files corresponding to the second test item are received from the test host, then during the testing of the third test item, when the communication serial port between the test host and the motherboard is idle, the remaining configuration files corresponding to the second test item are received from the test host.
7. A test host, characterized in that include: Transceiver unit and test unit; The testing unit is used to test a first test item of the motherboard under test, including: the motherboard under test burning the configuration file corresponding to the first test item to the storage space corresponding to the first test item, and determining the first verification information according to the burning result and sending the first verification information to the test host; the test host determining the test result of the first test item according to the first verification information and the second verification information corresponding to the first test item that is pre-stored. If the communication serial port between the test host and the motherboard under test is idle during the test unit's testing of the first test item, then the idle time of the communication serial port is used to split the configuration file corresponding to the second test item into multiple data packets of a preset size, and the multiple data packets are sent to the motherboard under test sequentially during the idle time of the communication serial port to complete the sending of the configuration file corresponding to the second test item; wherein, the idle time of the communication serial port is the gap time before the test host receives the first verification information; the second test item is at least one of the untested test items, and the second test item is the first N test items that need configuration files after the test item corresponding to the previous configuration file sent by the test host according to the test order of multiple test items, where N is a positive integer; The testing unit is also used to test a third test item of the motherboard under test after testing the first test item, wherein the third test item is the next test item after the first test item, or the third test item is one of the test items in the second test item.
8. A main board, characterized by, include: Transceiver unit and test unit; The test unit is used to test the first test item of the motherboard; If the communication serial port between the motherboard and the test host is idle during the testing of the first test item, the transceiver unit is used to receive the configuration file corresponding to the second test item from the test host, wherein the second test item is at least one of the untested test items; the test host is used to execute the method according to any one of claims 1-3; After testing the first test item, the testing unit is also used to test a third test item, which is the next test item after the first test item, or the third test item is one of the test items in the second test item.
9. A processing apparatus comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method as described in any one of claims 1-3, or the method as described in any one of claims 4-6.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1-3, or the method as described in any one of claims 4-6.
Citation Information
Patent Citations
Board card test method and system
CN106771961A
