Automatic test method, device and system based on control mainboard and medium

By introducing automated testing methods and devices in the testing of refrigerant cleaning equipment control motherboards, the problems of low testing efficiency, large error and high cost in the existing technology are solved, efficient and accurate automatic testing is achieved, and user experience is improved.

CN119847113APending Publication Date: 2025-04-18SHENZHEN SMARTSAFE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411939147.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-26
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

In the prior art, the testing efficiency of the refrigerant cleaning equipment control motherboard is low, the error is large, the cost is high, and the popularity and accuracy of automatic testing equipment are insufficient.

Method used

An automatic testing method and device based on the control motherboard is designed. Through the coordinated work of the management server and the test tool board, testing instructions are generated, communication and control between the test tool board and the control board to be tested are controlled, and feedback information is processed to obtain test results.

Benefits of technology

It improves the efficiency of control motherboard testing, reduces errors and labor costs, enhances user experience, and ensures the accuracy and reliability of test results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119847113A_ABST
    Figure CN119847113A_ABST
Patent Text Reader

Abstract

The invention discloses an automatic test method, device and system based on a control mainboard and a medium, and the method comprises the steps: generating a corresponding test instruction according to a test request if the test request initiated by a user is detected; sending the test instruction to the test tool plate to enable the test tool plate to generate corresponding test control information and enter a corresponding target control mode; controlling the test tool plate to send the generated test control information to a to-be-tested control panel, so that the to-be-tested control panel controls the working state of the external equipment and obtains feedback information returned by the external equipment; and controlling the test tool plate to process feedback information returned by the to-be-tested control panel and obtain a corresponding target test result. According to the method, the test efficiency of testing the control mainboard is improved, errors and high labor cost are reduced, and the use experience of a user is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to an automatic testing method, device, system and medium based on a control mainboard. Background Art

[0002] Refrigerant cleaning equipment is a device for cleaning and maintaining the refrigerant circulation part of the vehicle refrigeration system. Each PCB (Printed Circuit Board) board of the refrigerant cleaning equipment control mainboard produced in the factory needs to be tested before assembly to ensure the accuracy and reliability of the equipment. How to test is a very important issue at this time. At present, the test of the refrigerant cleaning equipment control mainboard mainly adopts a large amount of manual intervention, that is, the test is carried out manually by professionals, which is time-consuming and labor-intensive and prone to errors; and some existing automatic testing equipment usually requires special customization and high cost, is not popular enough, and the test results are easily affected by human factors, and the accuracy is difficult to guarantee. Summary of the invention

[0003] The embodiments of the present invention provide an automatic testing method, device, system and medium based on a control mainboard, aiming to solve the problems of low efficiency, large error and high cost when testing the control mainboard in the prior art methods.

[0004] In a first aspect, an embodiment of the present invention provides an automatic testing method based on a control mainboard, wherein the method is applied to a management server of an automatic testing system, the automatic testing system further comprises a testing tooling board, the testing tooling board is electrically connected to an external device through a control board to be tested, and the method comprises:

[0005] If a test request initiated by a user is detected, a corresponding test instruction is generated according to the test request;

[0006] Sending the test instruction to the test fixture board so that the test fixture board generates corresponding test control information and enters a corresponding target control mode;

[0007] Controlling the test fixture board to send the generated test control information to the control board to be tested, so that the control board to be tested controls the working state of the external device and obtains feedback information returned by the external device;

[0008] The test fixture board is controlled to process the feedback information returned by the control board to be tested and obtain the corresponding target test result.

[0009] In a second aspect, an embodiment of the present invention further provides an automatic testing device based on a control mainboard, wherein the device is applied to a management server of an automatic testing system, the automatic testing system further comprises a testing tooling board, the testing tooling board is electrically connected to an external device through a control board to be tested, and the device comprises:

[0010] A test instruction generating unit, configured to generate a corresponding test instruction according to a test request initiated by a user if a test request initiated by a user is detected;

[0011] A control information generating unit, used for sending the test instruction to the test fixture board so that the test fixture board generates corresponding test control information and enters a corresponding target control mode;

[0012] A test control unit, used for controlling the test fixture board to send the generated test control information to the control board to be tested, so that the control board to be tested controls the working state of the external device and obtains feedback information returned by the external device;

[0013] The information processing unit is used to control the test fixture board to process the feedback information returned by the control board to be tested and obtain the corresponding target test result.

[0014] In a third aspect, an embodiment of the present invention further provides an automatic testing system, the automatic testing system comprising a management server and a testing tooling board, the management server being electrically connected to the testing tooling board via a connecting line, the testing tooling board being electrically connected to a control board to be tested, and the control board to be tested being electrically connected to an external device; wherein,

[0015] The management server is used to generate corresponding test instructions according to the test request initiated by the detection knife user, and send the test instructions to the test tooling board so that the test tooling board generates corresponding test control information and enters the corresponding target control mode; it is also used to control the test tooling board to send the generated test control information to the control board to be tested, so that the control board to be tested controls the working state of the external device and obtains the feedback information returned by the external device; it is also used to control the test tooling board to process the feedback information returned by the control board to be tested and obtain the corresponding target test results.

[0016] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of the automatic testing method based on the control motherboard as described in the first aspect above are implemented.

[0017] The embodiment of the present invention provides an automatic testing method, device, system and medium based on a control mainboard. The automatic testing method is applied to a management server of an automatic testing system. The automatic testing system also includes a testing tooling board, which is electrically connected to an external device through a control board to be tested. The method includes: if a test request initiated by a user is detected, a corresponding test instruction is generated according to the test request; the test instruction is sent to the testing tooling board so that the testing tooling board generates corresponding test control information and enters a corresponding target control mode; the testing tooling board is controlled to send the generated test control information to the control board to be tested so that the control board to be tested controls the working state of the external device and obtains the feedback information returned by the external device; the testing tooling board is controlled to process the feedback information returned by the control board to be tested and obtain the corresponding target test result. The above-mentioned automatic testing method based on the control mainboard can not only improve the low test efficiency of testing the control mainboard, reduce errors and high labor costs, but also effectively improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0019] Figure 1 A method flow chart of an automatic testing method based on a control mainboard provided by an embodiment of the present invention;

[0020] Figure 2 A schematic diagram of an automatic test system based on a control mainboard provided by an embodiment of the present invention;

[0021] Figure 3 Another method flow chart of the automatic testing method based on the control mainboard provided by the embodiment of the present invention;

[0022] Figure 4 A schematic block diagram of an automatic testing device based on a control mainboard provided by an embodiment of the present invention;

[0023] Figure 5 A schematic block diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0024] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0025] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0026] It should also be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0027] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0028] See also Figure 1 and Figure 2 As shown in the figure, an embodiment of the present invention application provides an automatic testing method based on a control mainboard, and the automatic testing method based on a control mainboard is applied to a management server 11 of an automatic testing system 10, wherein the automatic testing system comprises a management server 11 and a testing tooling board 12, wherein the management server 11 is electrically connected to the testing tooling board 12 via a connecting line, wherein the testing tooling board 12 is electrically connected to a control board 20 to be tested, and wherein the control board 20 to be tested is electrically connected to an external device 30.

[0029] The management server 11 is used to control and monitor the entire test and calibration process, and manage the relevant target test results. The test fixture board 12 is used to connect the management server 11 and electrically connect to the control board 20 to be tested, so as to realize the connection and communication of each part, as well as the control and detection of the control board 20 to be tested. Specifically, the management server 11 can be connected to the test fixture board 12 via a USB cable, and then the control and detection signal lines are led out through the test fixture board 12 to the points of the control board 20 to be tested that need to be detected and controlled. The control board to be tested can be a PCB board, and the test fixture board is a fixture board used for control testing.

[0030] The external device 30 may include an air pressure sensor, a relay, a fan, etc. For example, there may be 22 points to be tested on the control board 20 to be tested, including 3 points for detecting air pressure sensors, 3 points for detecting 24V fans, and 16 points for detecting relays. The corresponding accuracy and standard of the detection are: the air pressure sensor output analog signal voltage is 350mv-450mv; the fan speed is 3500-3700 rpm; the relay detection standard is low level when closed and high level when open.

[0031] For another example, the air pressure sensor can read the analog values ​​of three air pressure sensors through the ADC module of the test tooling board, and the analog values ​​can be converted into corresponding air pressure values ​​through a preset algorithm.

[0032] The relay can be controlled through the output control IO of the test tooling board via the control board to be tested. For example, the closed or open state of 16 relays can be controlled. Then, after a certain period of time, the closed or open state value of each relay at that time can be read through the input IO of the test tooling board via the control board to be tested to determine the working conditions of each relay and relay circuit.

[0033] The fans can be turned on and off by the control board under test through the test fixture board. The input IO interrupt pin of the test fixture board is used to detect the output signal of the fan speed feedback pin, and the fan speed information is obtained through a certain conversion formula to determine the working conditions of each fan and fan circuit.

[0034] When the user of the automatic testing system clicks to start the test, the automatic testing program in the management server will use the test fixture board to complete the test control of the three air pressure sensors, 16 relays, and three fans by the control board under test in sequence, and use the information of the test fixture board controlling the control board under test and detecting the control board under test to calculate the final error rate, thereby determining whether the control board under test is qualified.

[0035] Based on the above automatic testing system, the management server 11 can be used to generate corresponding test instructions according to the test request initiated by the detection knife user, and send the test instructions to the test fixture board so that the test fixture board generates corresponding test control information and enters the corresponding target control mode; it is also used to control the test fixture board to send the generated test control information to the control board to be tested, so that the control board to be tested controls the working state of the external device and obtains the feedback information returned by the external device; it is also used to control the test fixture board to process the feedback information returned by the control board to be tested and obtain the corresponding target test results. Therefore, the above method can not only improve the low test efficiency of the control main board, reduce errors and high labor costs, but also effectively improve the user experience.

[0036] like Figure 1 As shown, in one embodiment, the automatic testing method based on the control mainboard is applied to the management server of the automatic testing system, and the automatic testing system also includes a testing tooling board, and the testing tooling board is electrically connected to the external device through the control board to be tested. The method includes steps S110 to S140.

[0037] Step S110: if a test request initiated by a user is detected, a corresponding test instruction is generated according to the test request.

[0038] In this embodiment, if the management server in the automatic test system detects a test request initiated by a user, the test request can be parsed accordingly to generate a corresponding test instruction. For example, when the external device is an air pressure sensor, the management server can generate an air pressure test instruction corresponding to the air pressure sensor according to the test request for the air pressure sensor initiated by the user. Similarly, if the external device is a relay or a fan, a switch test instruction corresponding to the relay or a fan test instruction corresponding to the fan can be generated. Of course, different external devices can also be tested in sequence according to user needs.

[0039] Step S120 , sending the test instruction to the test fixture board so that the test fixture board generates corresponding test control information and enters a corresponding target control mode.

[0040] In this embodiment, the management server can send the test instruction to the test tooling board, which can be a self-developed tooling board, for initiating control instructions to the control board to be tested, so that the control board to be tested can control the external device accordingly according to the control instruction. The test tooling board needs to be set to the initial control mode before testing, that is, the initial state, and it will enter the target control mode after receiving the test instruction.

[0041] Step S130 , controlling the test fixture board to send the generated test control information to the control board to be tested, so that the control board to be tested controls the working state of the external device and obtains feedback information returned by the external device.

[0042] In this embodiment, the management server can control the test tooling board to send the generated test control information to the control board to be tested, that is, the test tooling board generates test control information after receiving the test request, and directly performs corresponding automatic tests on the control board to be tested according to user needs. Since the points to be tested of the control board to be tested are all connected to corresponding external devices, when the control board to be tested receives the corresponding test control information, it controls the corresponding points, thereby realizing the control of the external devices. The external devices adjust the corresponding working status according to the test control information and feedback the corresponding status information.

[0043] Step S140, controlling the test fixture board to process the feedback information returned by the control board to be tested and obtain corresponding target test results.

[0044] In this embodiment, the management server can also control the test fixture board to receive feedback information returned by the control board to be tested, and process the returned feedback information to obtain the corresponding target test results. The performance of the control board to be tested can be analyzed according to the target test results, avoiding the tediousness of manual testing, realizing automated testing, and improving test efficiency. At the same time, if the external devices are different types of devices, the same type of devices can be tested first, and then different types can be tested, or multiple types of devices can be tested at the same time, thereby improving test efficiency and test quality and reducing test costs.

[0045] In a specific embodiment, if the external device includes an air pressure sensor, the test control information includes air pressure test control information for testing the air pressure sensor, and the feedback information includes an air pressure simulation value; the step S130 may include the following steps:

[0046] The test fixture board is controlled to send the generated air pressure test control information to the control board to be tested; through the air pressure test control information, the test control board controls the air pressure sensor to perform a test to obtain a corresponding air pressure simulation value.

[0047] Among them, when the external device is an air pressure sensor, if the test control board receives the air pressure test control information sent by the test tooling board, the test control board controls the working state of the air pressure sensor through the control point connected to the air pressure sensor, and can obtain the air pressure analog value returned by the air pressure sensor. The number of air pressure sensors can be three, and can also be set according to user needs, which is not limited in this embodiment.

[0048] In a specific embodiment, the step S140 may specifically include the following steps:

[0049] The test fixture board is controlled to convert the air pressure analog value returned by the control board to be tested into a corresponding air pressure value through a preset conversion algorithm; the converted air pressure value is received and compared with a preset standard air pressure value to obtain a first target test result.

[0050] The management server can also control the test fixture to convert the air pressure analog value returned by the control board to be tested into a corresponding air pressure value through a preset conversion algorithm. For example, the preset conversion algorithm can be: assuming that the air pressure sensor outputs a voltage value, and a linear conversion formula has been obtained through calibration: air pressure value = (voltage value - V0) × K

[0051] Among them, V0 is the zero-point voltage of the sensor (i.e., the output voltage of the sensor when the air pressure is zero), and K is the sensitivity of the sensor (i.e., the proportional coefficient between the voltage change and the air pressure change). It should be noted that the actual conversion algorithm may be more complicated, and more factors may need to be considered to ensure the accuracy of the conversion. Therefore, in actual applications, in order to be more accurate, it is also necessary to select a more appropriate conversion algorithm based on the characteristics of the air pressure sensor and application requirements.

[0052] After receiving the converted air pressure value, it can be compared with the preset standard air pressure value to obtain the first target test result. For example, the preset standard air pressure value can be 350mv-450mv, which can also be set according to user needs, and is not limited in this embodiment. When the converted air pressure value is within the range of the standard air pressure value, it indicates that the point for controlling the air pressure sensor corresponding to the control board to be tested is normal. If not, a corresponding alarm message can be generated and a corresponding record can be made, that is, the corresponding first target test result is obtained.

[0053] In another specific embodiment, the external device further includes a relay, the test control information includes switch test control information for testing the relay, the feedback information includes an air pressure simulation value, and the step S130 further includes the following steps:

[0054] The test fixture board is controlled to send the generated switch test control information to the control board to be tested; through the switch test control information, the test control board controls the relay to perform the test to obtain the corresponding open and close state value.

[0055] Wherein, the step S140 may be to control the test fixture board to process the open and close state value returned by the control board to be tested and obtain the corresponding second target test result.

[0056] Specifically, when the external device is a relay, the relay is used to control the opening and closing state of the relay through the corresponding point of the control board to be tested. Usually, the test tooling board can read the state value of the relay through the control board to be tested to check whether the current closing state of this relay is normal, whether only the relay that controls the opening is closed at this time, and if it is normal, the test passes and the next relay is tested. If it does not pass, the failure information of this relay is recorded, and then the detection of the next relay is continued, so as to complete the detection of all relays. For example, the number of relays can be 16. Of course, the number of relays can be set according to the needs of the user, and there is no specific restriction in this embodiment. In general, the management server can also control the test tooling board to process the opening and closing state value returned by the control board to be tested and obtain the corresponding second target test result. For example, when a high-level signal is received, the relay is disconnected, and when a low-level signal is received, the relay is closed. Through detection and analysis, it is obtained whether the relevant points of the control board to be tested are normal, that is, the corresponding second target test result is obtained.

[0057] In another specific embodiment, the external device includes a fan, the test control information includes fan test control information for testing the relay, and the feedback information includes fan speed information. The step S130 may specifically include the following steps:

[0058] The test fixture board is controlled to send the generated fan test control information to the control board to be tested; through the fan test control information, the test control board controls the fan to perform the test to obtain the corresponding fan speed information.

[0059] In this embodiment, the management server can control the test tooling board to send the generated fan test control information to the control board to be tested, and the control board to be tested will control the working state of the fan according to the control point of the fan test control information, that is, detect the fan speed information.

[0060] Wherein, the step S140 may further include the following steps: controlling the test fixture board to compare the fan speed information returned by the control board to be tested with a preset standard wind speed value to obtain a third target test result.

[0061] That is, the management server can control the test fixture board to compare the fan speed information returned by the control board to be tested with the preset standard wind speed value to obtain the third target test result. Usually, the preset standard wind speed value can be a fan speed of 3500-3700 rpm, which can be set according to user needs and is not limited in this embodiment. The third target test result can be obtained by comparing the detected wind speed value with the standard wind speed value.

[0062] In one embodiment, before step S120 of the automatic testing method based on the control main board, the method further includes: controlling the testing tooling board to reset to restore to an initial control mode.

[0063] Among them, when the management server issues test instructions to the test tooling board and controls the control board to be tested and the retrograde test, it is necessary to control the test tooling board to reset and restore to the initial control mode to avoid causing corresponding errors in the test and improve the efficiency and quality of the test.

[0064] like Figure 3 As shown, another application scenario schematic diagram of an automatic testing method based on a control mainboard is provided for another embodiment of the present invention. The method may specifically include the following steps:

[0065] S1, notify the test fixture board to reset all control modes;

[0066] S2, issue a command to obtain air pressure sensor data;

[0067] S3, the test fixture board controls the control board to be tested to collect air pressure data according to the above instructions;

[0068] S4, judging whether the air pressure data meets the standard value range;

[0069] S5, if not, record the number of the air pressure sensor with the error result and the test result;

[0070] S6, if yes, record the passed test results;

[0071] S7, issue a relay opening command;

[0072] S8, the test fixture board receives the command and turns on the corresponding relay;

[0073] S9, the test tooling board sends and reads the current status of the control relay;

[0074] S10, the test tooling board feeds back the current output status of the relay and then turns off all relays;

[0075] S11, judging whether the current state of the relay is consistent with the control;

[0076] S12, if not, record the relay number of the error state;

[0077] S13, if yes, record the passing state of this relay;

[0078] S14, judging whether all 16 relays have been tested;

[0079] S15, if not, return to step S8; if yes, send a fan speed detection instruction to the test fixture board;

[0080] S16, the test tooling board receives the instruction sent by the management server to turn on the power of the three fans, and detects the fan speed information after 3S;

[0081] S17, the test fixture board responds to the management server with the speed information obtained from the control board to be tested;

[0082] S18, the management server determines whether the speed information of the three fans obtained meets the requirements;

[0083] S19, if not, record the number and error information of the error fan;

[0084] S20, if yes, record the fan test pass result and test data;

[0085] S21, the test tooling board prompts the test results and uploads all test results to the management server.

[0086] In summary, the above-mentioned automatic testing method based on the control motherboard is applied to the management server. This method can not only improve the low testing efficiency of the control motherboard, reduce errors and high labor costs, but also effectively improve the user experience.

[0087] The embodiment of the present invention also provides an automatic test device based on a control motherboard, which can be configured in a management server of an automatic test system, and is used to execute any embodiment of the automatic test method based on a control motherboard. Figure 4 , Figure 4 A schematic block diagram of an automatic testing device based on a control mainboard provided in an embodiment of the present invention.

[0088] like Figure 4 As shown, an automatic testing device 100 based on a control mainboard is applied to a management server of an automatic testing system. The automatic testing system also includes a test tooling board, which is electrically connected to an external device through a control board to be tested. The device 100 includes a test instruction generating unit 110, a control information generating unit 120, a test control unit 130 and an information processing unit 140.

[0089] The test instruction generating unit 110 is configured to generate a corresponding test instruction according to a test request initiated by a user if a test request is detected.

[0090] In this embodiment, if the management server in the automatic test system detects a test request initiated by a user, the test request can be parsed accordingly to generate a corresponding test instruction. For example, when the external device is an air pressure sensor, the management server can generate an air pressure test instruction corresponding to the air pressure sensor according to the test request for the air pressure sensor initiated by the user. Similarly, if the external device is a relay or a fan, a switch test instruction corresponding to the relay or a fan test instruction corresponding to the fan can be generated. Of course, different external devices can also be tested in sequence according to user needs.

[0091] The control information generating unit 120 is used to send the test instruction to the test fixture board so that the test fixture board generates corresponding test control information and enters a corresponding target control mode.

[0092] In this embodiment, the management server can send the test instruction to the test tooling board, which can be a self-developed tooling board, for initiating control instructions to the control board to be tested, so that the control board to be tested can control the external device accordingly according to the control instruction. The test tooling board needs to be set to the initial control mode before testing, that is, the initial state, and it will enter the target control mode after receiving the test instruction.

[0093] The test control unit 130 is used to control the test tooling board to send the generated test control information to the control board to be tested, so that the control board to be tested controls the working state of the external device and obtains feedback information returned by the external device.

[0094] In this embodiment, the management server can control the test tooling board to send the generated test control information to the control board to be tested, that is, the test tooling board generates test control information after receiving the test request, and directly performs corresponding automatic tests on the control board to be tested according to user needs. Since the points to be tested of the control board to be tested are all connected to corresponding external devices, when the control board to be tested receives the corresponding test control information, it controls the corresponding points, thereby realizing the control of the external devices. The external devices adjust the corresponding working status according to the test control information and feedback the corresponding status information.

[0095] The information processing unit 140 is used to control the test fixture board to process the feedback information returned by the control board to be tested and obtain the corresponding target test result.

[0096] In this embodiment, the management server can also control the test fixture board to receive feedback information returned by the control board to be tested, and process the returned feedback information to obtain the corresponding target test results. The performance of the control board to be tested can be analyzed according to the target test results, avoiding the tediousness of manual testing, realizing automated testing, and improving test efficiency. At the same time, if the external devices are different types of devices, the same type of devices can be tested first, and then different types can be tested, or multiple types of devices can be tested at the same time, thereby improving test efficiency and test quality and reducing test costs.

[0097] In a specific embodiment, if the external device includes an air pressure sensor, the test control information includes air pressure test control information for testing the air pressure sensor, and the feedback information includes an air pressure simulation value; the test control unit 130 can be used to perform the following steps:

[0098] The test fixture board is controlled to send the generated air pressure test control information to the control board to be tested; through the air pressure test control information, the test control board controls the air pressure sensor to perform a test to obtain a corresponding air pressure simulation value.

[0099] Among them, when the external device is an air pressure sensor, if the test control board receives the air pressure test control information sent by the test tooling board, the test control board controls the working state of the air pressure sensor through the control point connected to the air pressure sensor, and can obtain the air pressure analog value returned by the air pressure sensor. The number of air pressure sensors can be three, and can also be set according to user needs, which is not limited in this embodiment.

[0100] In a specific embodiment, the information processing unit 140 can be used to perform the following steps:

[0101] The test fixture board is controlled to convert the air pressure analog value returned by the control board to be tested into a corresponding air pressure value through a preset conversion algorithm; the converted air pressure value is received and compared with a preset standard air pressure value to obtain a first target test result.

[0102] The management server can also control the test fixture to convert the air pressure analog value returned by the control board to be tested into a corresponding air pressure value through a preset conversion algorithm. For example, the preset conversion algorithm can be: assuming that the air pressure sensor outputs a voltage value, and a linear conversion formula has been obtained through calibration: air pressure value = (voltage value - V0) × K

[0103] Among them, V0 is the zero-point voltage of the sensor (i.e., the output voltage of the sensor when the air pressure is zero), and K is the sensitivity of the sensor (i.e., the proportional coefficient between the voltage change and the air pressure change). It should be noted that the actual conversion algorithm may be more complicated, and more factors may need to be considered to ensure the accuracy of the conversion. Therefore, in actual applications, in order to be more accurate, it is also necessary to select a more appropriate conversion algorithm based on the characteristics of the air pressure sensor and application requirements.

[0104] After receiving the converted air pressure value, it can be compared with the preset standard air pressure value to obtain the first target test result. For example, the preset standard air pressure value can be 350mv-450mv, which can also be set according to user needs, and is not limited in this embodiment. When the converted air pressure value is within the range of the standard air pressure value, it indicates that the point for controlling the air pressure sensor corresponding to the control board to be tested is normal. If not, a corresponding alarm message can be generated and a corresponding record can be made, that is, the corresponding first target test result is obtained.

[0105] In another specific embodiment, the external device further includes a relay, the test control information includes switch test control information for testing the relay, the feedback information includes an air pressure simulation value, and the test control unit 130 is further used to perform the following steps:

[0106] The test fixture board is controlled to send the generated switch test control information to the control board to be tested; through the switch test control information, the test control board controls the relay to perform the test to obtain the corresponding open and close state value.

[0107] The information processing unit 140 is further used to execute the step of controlling the test fixture board to process the open and close state value returned by the control board to be tested and obtain a corresponding second target test result.

[0108] Specifically, when the external device is a relay, the relay is used to control the opening and closing state of the relay through the corresponding point of the control board to be tested. Usually, the test tooling board can read the state value of the relay through the control board to be tested to check whether the current closing state of this relay is normal, whether only the relay that controls the opening is closed at this time, and if it is normal, the test passes and the next relay is tested. If it does not pass, the failure information of this relay is recorded, and then the detection of the next relay is continued, so as to complete the detection of all relays. For example, the number of relays can be 16. Of course, the number of relays can be set according to the needs of the user, and there is no specific restriction in this embodiment. In general, the management server can also control the test tooling board to process the opening and closing state value returned by the control board to be tested and obtain the corresponding second target test result. For example, when a high-level signal is received, the relay is disconnected, and when a low-level signal is received, the relay is closed. Through detection and analysis, it is obtained whether the relevant points of the control board to be tested are normal, that is, the corresponding second target test result is obtained.

[0109] In another specific embodiment, the external device includes a fan, the test control information includes fan test control information for testing the relay, the feedback information includes fan speed information, and the test control unit 130 is further configured to perform the following steps:

[0110] The test fixture board is controlled to send the generated fan test control information to the control board to be tested; through the fan test control information, the test control board controls the fan to perform the test to obtain the corresponding fan speed information.

[0111] In this embodiment, the management server can control the test tooling board to send the generated fan test control information to the control board to be tested, and the control board to be tested will control the working state of the fan according to the control point of the fan test control information, that is, detect the fan speed information.

[0112] The information processing unit 140 is further configured to perform the following steps: controlling the test fixture board to compare the fan speed information returned by the control board to be tested with a preset standard wind speed value to obtain a third target test result.

[0113] That is, the management server can control the test fixture board to compare the fan speed information returned by the control board to be tested with the preset standard wind speed value to obtain the third target test result. Usually, the preset standard wind speed value can be a fan speed of 3500-3700 rpm, which can be set according to user needs and is not limited in this embodiment. The third target test result can be obtained by comparing the detected wind speed value with the standard wind speed value.

[0114] In one embodiment, the control information generating unit 120 of the automatic test device 100 based on the control main board further includes: a mode resetting unit for controlling the test fixture board to reset to restore to the initial control mode.

[0115] Among them, when the management server issues test instructions to the test tooling board and controls the control board to be tested and the retrograde test, it is necessary to control the test tooling board to reset and restore to the initial control mode to avoid causing corresponding errors in the test and improve the efficiency and quality of the test.

[0116] The above automatic test device based on the control motherboard can be implemented in the form of a computer program, which can be used in Figure 5 Runs on the computer device shown.

[0117] See also Figure 5 , Figure 5 The computer device provided by the embodiment of the present invention is a schematic block diagram. The computer device may be a user terminal or a server for executing the automatic test method based on the control motherboard to perform automatic price comparison according to the automatic test module based on the control motherboard imported into the operating system.

[0118] See also Figure 5 The computer device 500 includes a processor 502 , a memory and a network interface 505 connected via a communication bus 501 , wherein the memory may include a storage medium 503 and an internal memory 504 .

[0119] The storage medium 503 can store an operating system 5031 and a computer program 5032. When the computer program 5032 is executed, the processor 502 can execute an automatic test method based on the control motherboard, wherein the storage medium 503 can be a volatile storage medium or a non-volatile storage medium.

[0120] The processor 502 is used to provide computing and control capabilities to support the operation of the entire computer device 500 .

[0121] The internal memory 504 provides an environment for the operation of the computer program 5032 in the storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute an automatic testing method based on the control motherboard.

[0122] The network interface 505 is used for network communication, such as providing data information transmission, etc. Those skilled in the art will understand that Figure 5The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation on the computer device 500 to which the solution of the present invention is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0123] The processor 502 is used to run the computer program 5032 stored in the memory to implement the corresponding functions in the above-mentioned automatic testing method based on the control motherboard.

[0124] Those skilled in the art will understand that Figure 5 The embodiments of the computer device shown in the figure do not constitute a limitation on the specific composition of the computer device. In other embodiments, the computer device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. For example, in some embodiments, the computer device may only include a memory and a processor. In such embodiments, the structure and function of the memory and the processor are the same as those of the embodiment of the present invention. Figure 5 The embodiments shown are consistent and will not be described again here.

[0125] It should be understood that in the embodiment of the present invention, the processor 502 may be a central processing unit (CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0126] In another embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium may be a volatile or non-volatile computer-readable storage medium. The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the steps included in the automatic test method based on the control motherboard are implemented.

[0127] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the above-described equipment, devices and units can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. Those of ordinary skill in the art can appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0128] In the several embodiments provided by the present invention, it should be understood that the disclosed equipment, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. Units with the same function may also be combined into one unit. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices or units, or may be an electrical, mechanical or other form of connection.

[0129] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present invention.

[0130] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0131] If the integrated unit is implemented in the form of 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, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a computer-readable storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned computer-readable storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a magnetic disk or an optical disk.

[0132] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. An automatic testing method based on a control motherboard, characterized in that: The method is applied to a management server of an automatic test system, wherein the automatic test system further comprises a test fixture board, wherein the test fixture board is electrically connected to an external device via a control board to be tested, and the method comprises: If a test request initiated by a user is detected, a corresponding test instruction is generated according to the test request; Sending the test instruction to the test fixture board so that the test fixture board generates corresponding test control information and enters a corresponding target control mode; Controlling the test fixture board to send the generated test control information to the control board to be tested, so that the control board to be tested controls the working state of the external device and obtains feedback information returned by the external device; The test fixture board is controlled to process the feedback information returned by the control board to be tested and obtain the corresponding target test result.

2. The automatic testing method based on the control motherboard according to claim 1 is characterized in that: Before the step of controlling the test fixture board to send the generated test control information to the control board to be tested, the method further includes: The test fixture board is controlled to reset to restore to an initial control mode.

3. The automatic testing method based on the control motherboard according to claim 1 is characterized in that: The external device includes an air pressure sensor, the test control information includes air pressure test control information for testing the air pressure sensor, and the feedback information includes an air pressure analog value; the step of controlling the test fixture board to send the generated test control information to the control board to be tested so that the control board to be tested controls the working state of the external device and obtains the feedback information returned by the external device includes: Controlling the test fixture board to send the generated air pressure test control information to the control board to be tested; The air pressure test control information enables the test control board to control the air pressure sensor to perform a test to obtain a corresponding air pressure analog value.

4. The automatic testing method based on the control mainboard according to claim 3 is characterized in that: The step of controlling the test fixture board to process the feedback information returned by the control board to be tested and obtain the corresponding target test result includes: Controlling the test fixture board to convert the air pressure analog value returned by the control board to be tested into a corresponding air pressure value through a preset conversion algorithm; The converted air pressure value is received and compared with a preset standard air pressure value to obtain a first target test result.

5. The automatic testing method based on the control mainboard according to claim 4 is characterized in that: The external device includes a relay, the test control information includes switch test control information for testing the relay, the feedback information includes a simulated value of air pressure, and the method further includes: Controlling the test fixture board to send the generated switch test control information to the control board to be tested; The test control board controls the relay to perform the test through the switch test control information to obtain the corresponding open / close state value. The test fixture board is controlled to process the open and close state value returned by the control board to be tested and obtain a corresponding second target test result.

6. The automatic testing method based on the control mainboard according to claim 5 is characterized in that: The external device includes a fan, the test control information includes fan test control information for testing the relay, the feedback information includes fan speed information, and the method further includes: Controlling the test fixture board to send the generated fan test control information to the control board to be tested; The fan test control information enables the test control board to control the fan to perform a test to obtain corresponding fan speed information.

7. The automatic testing method based on the control mainboard according to claim 6 is characterized in that: The step of controlling the test fixture board to process the feedback information returned by the control board to be tested and obtain the corresponding target test result includes: The test fixture board is controlled to compare the fan speed information returned by the control board to be tested with a preset standard wind speed value to obtain a third target test result.

8. An automatic testing device based on a control mainboard, characterized in that: The device is applied to a management server of an automatic test system, the automatic test system further comprises a test fixture board, the test fixture board is electrically connected to an external device through a control board to be tested, and the device comprises: A test instruction generating unit, configured to generate a corresponding test instruction according to a test request initiated by a user if a test request initiated by a user is detected; A control information generating unit, used for sending the test instruction to the test fixture board so that the test fixture board generates corresponding test control information and enters a corresponding target control mode; A test control unit, used for controlling the test fixture board to send the generated test control information to the control board to be tested, so that the control board to be tested controls the working state of the external device and obtains feedback information returned by the external device; The information processing unit is used to control the test fixture board to process the feedback information returned by the control board to be tested and obtain the corresponding target test result.

9. An automatic testing system, characterized in that: The automatic test system includes a management server and a test fixture board, wherein the management server is electrically connected to the test fixture board through a connecting line, the test fixture board is electrically connected to the control board to be tested, and the control board to be tested is electrically connected to an external device; wherein, The management server is used to generate corresponding test instructions according to the test request initiated by the detection knife user, and send the test instructions to the test tooling board so that the test tooling board generates corresponding test control information and enters the corresponding target control mode; it is also used to control the test tooling board to send the generated test control information to the control board to be tested, so that the control board to be tested controls the working state of the external device and obtains the feedback information returned by the external device; it is also used to control the test tooling board to process the feedback information returned by the control board to be tested and obtain the corresponding target test results.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the automatic testing method based on the control mainboard as described in any one of claims 1 to 7 are implemented.