A low beam test method, device, electronic equipment and storage medium

By configuring the on/off state of electronic components on the load box test bench, the low beam function is simulated and the indicator light display status is monitored, which solves the problems of cumbersome and costly existing testing methods and realizes convenient and low-cost low beam functional safety testing.

CN116338510BActive Publication Date: 2026-07-10CHONGQING CHANGAN TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHONGQING CHANGAN TECH CO LTD
Filing Date
2023-03-20
Publication Date
2026-07-10

Smart Images

  • Figure CN116338510B_ABST
    Figure CN116338510B_ABST
Patent Text Reader

Abstract

The application discloses a low beam testing method and device, electronic equipment and storage medium, the method obtains the to-be-tested function item of the to-be-tested low beam, and determines the test case according to the on-off state of the electronic device on the load box rack configured by the to-be-tested function item; after the load box rack is powered on, the test case is received and loaded to generate a response result, the response result includes the current display state of the indicator light on the load box rack; the Ethernet interface on the load box rack is connected to the computer, and the current display state of the indicator light is monitored; whether the current display state meets the expectation is judged; based on the judgment result corresponding to each test case, a test report is generated, and the test result of the to-be-tested low beam is determined according to the test report. The simulation test of the low beam function is realized on the load box rack, the test result of the low beam function is determined according to the display state of the indicator light on the load box, the safety test of the low beam function in the early stage of the project is realized, and the operation is convenient and the cost is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle headlight testing technology, and in particular to a method, apparatus, electronic device, and storage medium for testing low beam headlights. Background Technology

[0002] As the complexity of vehicle electronics and hardware increases, overall vehicle safety faces severe challenges. Low beam headlights, as essential automotive lights, require proper functioning to ensure driving safety. Therefore, in the early stages of a project, functional safety testing of the low beam headlights is necessary to ensure they function as expected.

[0003] Existing low beam headlight testing typically involves designing test scenarios to test the low beam headlight function in different scenarios. However, this testing method is often cumbersome and costly, which is not conducive to the functional safety testing of low beam headlights in the early stages of a project. Summary of the Invention

[0004] To provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. This summary is not intended as a general commentary, nor is it intended to identify key / important components or describe the scope of protection of these embodiments, but rather as a prelude to the detailed description that follows.

[0005] In view of the shortcomings of the prior art described above, the present invention discloses a method, device, electronic device and storage medium for testing low beam headlights, so as to solve the technical problems of cumbersome operation and high cost of existing low beam headlight function testing.

[0006] This invention discloses a method for testing low beam headlights, the method comprising:

[0007] Obtain the function to be tested of the low beam lamp under test, configure the on / off state of the electronic devices on the load box bench according to the function to be tested, and determine the test cases required for testing the function to be tested.

[0008] After the load box platform is powered on, the test case is received and loaded to generate a response result, which includes the current display status of the indicator lights on the load box platform.

[0009] Connect the Ethernet interface on the load cell platform to a computer to monitor the current display status of the indicator lights;

[0010] Based on the correspondence between each test case and the display status of the indicator light, determine whether the current display status meets expectations and obtain the determination result;

[0011] Based on the judgment results corresponding to each test case, a test report is generated to determine the test result of the low beam headlight under test according to the test report.

[0012] In one embodiment of this application, the test cases required for testing the function under test are determined by configuring the on / off states of electronic devices on the load box bench according to the function under test, including:

[0013] Obtain the functional information of the function to be tested, wherein the functional information carries the fault type of the low beam headlight under test, and the fault type includes short circuit fault, open circuit fault and communication fault;

[0014] Based on the fault type, configure the on / off states of each switch, power channel, controller local area network bus communication interface, local interconnect network communication interface, banana plug socket, and wire grounding terminal distributed on the load box to obtain the test cases required for any fault type.

[0015] In one embodiment of this application, the load cell bench includes a vehicle integrated unit controller, a load cell, and a bus development environment, wherein,

[0016] The load cell is connected to the pins of the vehicle integrated unit controller via a connector;

[0017] The vehicle integration unit controller is connected to local interconnection network nodes;

[0018] The bus development environment is connected to the controller local area network bus communication interface and the local interconnection network communication interface of the load box through the controller local area network bus communication interface and the local interconnection network communication interface respectively. The bus development environment simulates the solar and rain sensor node.

[0019] In one embodiment of this application, the load cell is connected to the pins of the vehicle integrated unit controller via a connector, comprising:

[0020] The load cell is connected to the controller local area network channel and local interconnection network channel of the vehicle integrated unit controller via a banana plug and wiring harness.

[0021] In one embodiment of this application, the load box has a 220V power plug and an external programmable power interface. The power plug is connected to power or the external programmable power interface is connected to an external programmable power supply to power the load box. The load box has a transformer inside to convert the 220V voltage into multiple 12V and 5V voltages to power the vehicle integrated unit controller. The 5V power channel switch on the load box is turned up to supply 5V to the vehicle integrated unit controller. The 12V power channel switch on the load box is turned up to supply 12V to the vehicle integrated unit controller.

[0022] In one embodiment of this application, based on the correspondence between each test case and the display state of the indicator light, it is determined whether the current display state meets expectations, and a determination result is obtained, including:

[0023] Based on the correspondence between each test case and the display status of the indicator light, determine whether the current display status is the target display status corresponding to the test case;

[0024] If the current display state is the target display state, it is determined that the function of the low beam headlight under test meets expectations;

[0025] If the current display state is not the target display state, it is determined that the function of the low beam headlight under test does not meet expectations.

[0026] In one embodiment of this application, the power channel switch or programmable power switch circuit on the load box simulates the low beam headlight switch under test; the display status of the indicator light on the load box simulates the lighting status of the low beam headlight under test.

[0027] This invention discloses a low beam headlight testing device, the device comprising:

[0028] The test case determination module is used to acquire the test function of the low beam lamp under test, and configure the on / off state of the electronic devices on the load box bench according to the test function to determine the test cases required for the test of the test function.

[0029] The response result generation module is used to receive and load the test cases to generate response results after the load box platform is powered on. The response results include the current display status of the indicator lights on the load box platform.

[0030] The monitoring module is used to connect the Ethernet interface on the load cell platform to a computer to monitor the current display status of the indicator lights;

[0031] The judgment module is used to determine whether the current display state meets expectations based on the correspondence between each test case and the display state of the indicator light, and to obtain the judgment result;

[0032] The test result determination module is used to generate a test report based on the judgment results corresponding to each test case, so as to determine the test result of the low beam headlight under test according to the test report.

[0033] This invention discloses an electronic device, comprising:

[0034] One or more processors;

[0035] A storage device for storing one or more programs that, when executed by one or more processors, cause the electronic device to perform the methods described above.

[0036] The present invention discloses a computer-readable storage medium storing computer-readable instructions thereon, which, when executed by a computer's processor, cause the computer to perform the above-described method.

[0037] As described above, the low beam headlight testing method, apparatus, electronic device, and storage medium provided by the embodiments of the present invention have the following beneficial effects:

[0038] First, the test function of the low beam headlight under test is obtained. Based on the test function, the on / off states of the electronic components on the load box test bench are configured, and the test cases required for testing the test function are determined. After the load box test bench is powered on, the test cases are received and loaded to generate response results. These response results include the current display status of the indicator lights on the load box test bench. Then, the Ethernet interface on the load box test bench is connected to a computer to monitor the current display status of the indicator lights. Based on the correspondence between each test case and the display status of the indicator lights, it is further determined whether the current display status meets expectations, thus obtaining the judgment result. Finally, based on the judgment results corresponding to each test case, a test report is generated to determine the test result of the low beam headlight under test. By implementing simulated testing of the low beam headlight function on the load box test bench and determining the test result of the low beam headlight function based on the display status of the indicator lights on the load box, the safety testing of the low beam headlight function in the early stages of the project is realized. This method is convenient and low-cost.

[0039] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0040] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings:

[0041] Figure 1 This is a flowchart illustrating a low beam headlight testing method according to an exemplary embodiment of the present invention;

[0042] Figure 2 This is a schematic diagram of a front panel of a load cell according to an exemplary embodiment of the present invention;

[0043] Figure 3This is a block diagram illustrating a low beam headlight testing device according to an exemplary embodiment of the present invention;

[0044] Figure 4 This is a schematic diagram of the structure of an electronic device in an embodiment of the present invention. Detailed Implementation

[0045] The following specific examples illustrate the implementation of the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that, unless otherwise specified, the following embodiments and sub-samples in the embodiments can be combined with each other.

[0046] It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of the present invention. Therefore, the drawings only show the components related to the present invention and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.

[0047] In the following description, numerous details are explored to provide a more thorough explanation of embodiments of the invention. However, it will be apparent to those skilled in the art that embodiments of the invention may be practiced without these specific details. In other embodiments, well-known structures and devices are shown in block diagram form rather than in detail to avoid obscuring embodiments of the invention.

[0048] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this disclosure described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion.

[0049] Unless otherwise stated, the term "multiple" means two or more.

[0050] In this embodiment of the disclosure, the character " / " indicates that the objects before and after it are in an "or" relationship. For example, A / B means: A or B.

[0051] The term "and / or" describes an association between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or A and B.

[0052] As an essential vehicle light, low beam headlights must function properly to ensure driving safety. Therefore, in the early stages of a project, functional safety testing of the low beam headlights is necessary to ensure they function as expected. Current low beam headlight testing typically involves designing test scenarios to examine their functionality under different conditions. However, this method is often cumbersome and costly, making it unsuitable for early-stage functional safety testing of low beam headlights.

[0053] To address the aforementioned problems, this application provides a method for testing low beam headlights. Please refer to [link to relevant documentation]. Figure 1 , Figure 1 This is a flowchart illustrating a low beam headlight testing method according to an exemplary embodiment of this application. It should be understood that this method can also be applied to other exemplary implementation environments and specifically executed by devices in other implementation environments; this embodiment does not limit the implementation environment to which the method is applicable. To address these issues, embodiments of this application respectively propose a low beam headlight testing method, a low beam headlight testing device, an electronic device, and a computer-readable storage medium, which will be described in detail below.

[0054] like Figure 1 As shown, in an exemplary embodiment, the low beam headlight testing method includes at least steps S101 to S105, which are described in detail below:

[0055] Step S101: Obtain the function to be tested of the low beam lamp under test, and configure the on / off state of the electronic devices on the load box stand according to the function to be tested, and determine the test cases required for testing the function to be tested.

[0056] The function to be tested (DUT) of the low beam lamp under test refers to the functional tests that need to be performed on the low beam lamp under test, such as the on or off function of the low beam lamp under test. After obtaining the DUT of the low beam lamp under test, the on / off state of the electronic components on the load box test bench can be configured based on the DUT of ...

[0057] In one embodiment, the test cases required for testing the function under test are determined by configuring the on / off states of the electronic devices on the load box bench according to the function under test, including:

[0058] Obtain the functional information of the function to be tested. The functional information carries the fault type of the low beam headlight under test. The fault types include short circuit fault, open circuit fault and communication fault.

[0059] Configure the on / off states of each switch, power channel, controller area network bus communication interface, local interconnect network communication interface, banana plug socket, and wire grounding terminal distributed on the load box according to the fault type to obtain the test cases required for any fault type.

[0060] After obtaining the test function items of the low beam headlight under test, the corresponding functional information can be obtained based on these items. This information includes the fault types of the low beam headlight under test, such as short circuit faults, open circuit faults, and communication faults. These are the possible faults that may occur when the low beam headlight under test performs its function. Then, based on the fault type, the on / off states of each switch, power channel, controller area network bus communication interface, local interconnect network communication interface, banana plug jack, and wire grounding terminal distributed on the load box are configured to obtain the test cases required for any of the above fault types. By configuring the test cases for the low beam headlight under test simulation test on the load box using the fault types of the low beam headlight under test, the operation is simple and convenient.

[0061] Please see Figure 2 , Figure 2 This is a schematic diagram illustrating a front panel of a load cell according to an exemplary embodiment of the present invention. Figure 2 As shown, the front panel of the load box has various switches, indicator lights, and corresponding banana plug jacks, Ethernet channels, CAN (Controller Area Network) bus communication interfaces, LIN (Local Interconnect Network) communication interfaces, 12V power channels, 5V power channels, GND (Ground) channels, etc. On the load box stand, short circuit faults, open circuit faults, and communication faults are detected in the VIU (Vehicle Integrated / Integration Unit) controller through the various switches, power channels, CAN bus communication interfaces, LIN communication interfaces, banana plug jacks, and grounding terminals on the load box.

[0062] For example, take a wire with banana plugs at both ends, insert one end into the banana plug in the ODH area on the front panel of the load box, and the other end into the GND banana plug in the power supply area to simulate a short circuit to ground. Then observe whether the indicator light goes out as expected. Switching the ODH area switch to the normally closed contact (Normal Close, NC) can simulate an open circuit fault. Then observe whether the indicator light goes out as expected. CANoe (CAN open environment, bus development environment) simulation of a solar rain gauge (RLS) node not requesting the indicator light to turn off, and then stopping the RLS node simulation can simulate RLS node loss, i.e., a communication failure. Observe whether the indicator light lights up as expected.

[0063] Step S102: After the load box platform is powered on, receive and load the test cases to generate response results. The response results include the current display status of the indicator lights on the load box platform.

[0064] After powering on the load box test bench, the test cases can be received and loaded to perform simulation testing of the low beam function under test and generate response results, which include the current display status of the indicator lights on the load box test bench.

[0065] It should be noted that for the simulation test of the low beam headlight under test, the low beam headlight under test can be connected to the load box test bench and the display status of the low beam headlight under test can be monitored; alternatively, the low beam headlight under test can be simulated by the indicator lights on the load box test bench without connecting it to the load box test bench, and the display status of the indicator lights can be monitored, and then the display status of the low beam headlight under test can be determined based on the display status of the indicator lights.

[0066] In one embodiment, the load box has a 220V power plug and an external programmable power interface. The power plug is connected to power or the external programmable power interface is connected to an external programmable power supply to power the load box. The load box has a transformer inside that converts the 220V voltage into multiple 12V and 5V voltages to power the vehicle integrated unit controller. The 5V power channel switch on the load box is turned up to supply 5V to the vehicle integrated unit controller. The 12V power channel switch on the load box is turned up to supply 12V to the vehicle integrated unit controller.

[0067] The load cell has a 220V power plug and an external programmable power supply interface. It should be understood that the load cell can be powered either through the power plug on the load cell itself or through an external programmable power supply connected to the external programmable power supply interface. It should be noted that the programmable power supply can be externally controlled to set the output voltage and current to be regulated (voltage, current, or both). Internally, the load cell contains a transformer that converts the 220V voltage into multiple 12V and 5V outputs to power the VIU controller. When the 5V power channel switch on the load cell is flipped up, the VIU controller is supplied with 5V; when the 12V power channel switch is flipped up, the VIU controller is supplied with 12V.

[0068] Step S103: Connect the Ethernet interface on the load cell platform to the computer to monitor the current display status of the indicator lights.

[0069] The response generated by the load cell test bench is either the indicator lights on the load cell test bench are turned on or off. The load cell test bench is connected to the computer via an Ethernet interface, which allows the computer to monitor the current display status of the indicator lights after loading the test cases, in order to determine whether the current display status of the indicator lights is consistent with expectations.

[0070] In one embodiment, the load cell bench includes a vehicle integrated unit controller, a load cell, and a bus development environment, wherein,

[0071] The load cell is connected to the pins of the vehicle integrated unit controller via connectors;

[0072] Local interconnection network nodes are attached to the vehicle integrated unit controller;

[0073] The bus development environment connects to the load box's Controller Area Network (CAN) bus communication interface and Local Interconnect Network (LIBN) communication interface through the CAN bus communication interface and LIBN communication interface, respectively. The bus development environment simulates a solar and rain sensor node.

[0074] The test environment for the low beam headlight under test is a load cell bench, which is mainly composed of a VIU controller, a load cell, and a CANoe. The load cell is connected to the pins of the left VIU controller via a connector. The VIU controller has a LIN node connected to it, such as a sunlight / rain sensor. It should be understood that the sunlight / rain sensor is an electronic sensor that detects information such as rainfall, light intensity, or temperature at the windshield, and works with other automotive functional modules to automatically control functions such as headlights, wipers, and air conditioning systems. The CANoe is connected to the CAN bus and LIN communication interfaces of the load cell via corresponding CAN bus and LIN communication interfaces, simulating a sunlight / rain sensor node.

[0075] In one embodiment, the load cell is connected to the pins of the vehicle integrated unit controller via a connector, including:

[0076] The load cell is connected to the controller local area network (CLAN) and local interconnect network (LON) channels of the vehicle integrated unit controller via banana plugs and wiring harnesses.

[0077] The load bank is connected to the CAN and LIN channels of the VIU controller via banana plugs and wiring harnesses. At the CAN bus communication interface of the load bank, a 120R terminating resistor can be provided by flipping the switch up. The terminating resistor is an obstacle encountered by electronic information during transmission. It can absorb reflected waves on the network and effectively enhance the signal strength.

[0078] Step S104: Based on the correspondence between each test case and the display status of the indicator light, determine whether the current display status meets expectations and obtain the judgment result.

[0079] It should be understood that the indicator lights will display different states for different test cases, and there is a certain correspondence between the test cases and the display states of the indicator lights. After the test cases are loaded onto the load test bench, the current display state of the indicator lights is used to determine whether the current display state of the indicator lights meets expectations, based on the correspondence between the test cases and the display states.

[0080] In one embodiment, based on the correspondence between each test case and the display status of the indicator light, it is determined whether the current display status meets expectations, and a determination result is obtained, including:

[0081] Based on the correspondence between each test case and the display status of the indicator light, determine whether the current display status is the target display status corresponding to the test case;

[0082] If the current display state is the target display state, it is determined that the function of the low beam headlight under test meets expectations.

[0083] If the current display state is not the target display state, it is determined that the function of the low beam headlight under test does not meet expectations.

[0084] After the test cases are loaded onto the load cell bench, based on the correspondence between each test case and the indicator light's display status, it is determined whether the current display status of the indicator light is the target display status corresponding to the test case. If the current display status is the target display status, it indicates that the low beam headlight under test has no problems under this test case, and the function of the low beam headlight under test is consistent with expectations. If the current display status is not the target display status, it indicates that the low beam headlight under test has problems under this test case, and the function of the low beam headlight under test is inconsistent with expectations, requiring relevant maintenance and repair.

[0085] Step S105: Based on the judgment results corresponding to each test case, generate a test report to determine the test results of the low beam headlight under test according to the test report.

[0086] Because of different fault types, and the fact that there can be multiple test cases for the same fault type, all computers will store the corresponding test cases and their judgment results when judging whether the indicator lights corresponding to each test case meet expectations. After all the test cases have been tested, a test report will be generated. The specific test results of the low beam headlight under test can be determined based on the generated test report.

[0087] In one embodiment, the power channel switch or programmable power switch circuit on the load box simulates the low beam headlight switch under test; the display status of the indicator light on the load box simulates the lighting status of the low beam headlight under test.

[0088] The low beam headlight under test was tested using a fault simulation method on a load box bench. The power channel switch or programmable power switch circuit on the load box corresponds to the switch on and off of the low beam headlight under test. The switch is flipped up for power supply, down for ground, and the middle position is empty. Similarly, the programmable power switch circuit is opened and closed to turn the low beam headlight under test on and off. Opening the programmable power switch circuit de-energizes the load box, and closing it powers it on. The indicator lights on the load box simulate the lighting status of the low beam headlight under test: an illuminated indicator light means the low beam headlight is on, and an off indicator light means the low beam headlight is off.

[0089] Table 1 lists the test cases for the low beam headlight under test based on the scenario analysis of functional safety requirements. As shown in the table, when the low beam headlight under test is turned on, the driver pin of the low beam headlight under test is short-circuited to GND, i.e., short-circuited to ground, and the low beam headlight under test will turn off. When the low beam headlight under test is turned on, the driver pin of the low beam headlight under test is short-circuited to B+, i.e. short-circuited to the power supply, and the low beam headlight under test will remain lit. When the low beam headlight under test is turned on, the driver pin of the low beam headlight under test is open-circuited, i.e., open-circuited, and the low beam headlight under test will turn off. When the low beam headlight under test is off, the combination switch is switched to the automatic position, the RLS node is lost, i.e., communication failure, and the low beam headlight under test will be lit.

[0090] Table 1: Test Cases for Low Beam Headlight Functionality Under Test

[0091]

[0092] The following are some possible test cases on the load cell bench. It should be understood that this solution includes, but is not limited to, the following test cases.

[0093] Return all switches on the load cell to their default positions. This allows you to simulate the low beam headlight switch being switched to the middle position and monitor the current status of the indicator lights. At this point, the indicator lights should be off, indicating that the low beam headlight under test is not working.

[0094] With the automatic headlight switch pulled low, a CANoe-simulated RLS request is sent to turn on the low beam headlights, and no overvoltage or overtemperature faults are detected. The current display status of the monitoring indicator lights is then observed. At this time, the indicator lights in the ODH area of ​​the load cell should be lit, indicating that the low beam headlight under test is illuminated.

[0095] Take a wire with banana plugs at both ends, insert one end into the banana plug socket in the ODH area of ​​the load box, and the other end into the 12V power banana plug socket in the power supply area to simulate a short circuit. Monitor the current display status of the low beam headlight. At this time, the indicator light should show a "stayed on" state, indicating that the low beam headlight under test is keeping the light on.

[0096] The low beam headlight testing method described in the above embodiment first obtains the function to be tested (DUT) of the low beam headlight. Based on the DUT, the on / off states of the electronic components on the load box test bench are configured to determine the test cases required for the DUT. After the load box test bench is powered on, the test cases are received and loaded to generate response results. These response results include the current display status of the indicator lights on the load box test bench. Then, the Ethernet interface on the load box test bench is connected to a computer to monitor the current display status of the indicator lights. Based on the correspondence between each test case and the indicator light display status, it is further determined whether the current display status meets expectations, thereby obtaining a judgment result. Finally, based on the judgment results corresponding to each test case, a test report is generated to determine the test result of the low beam headlight. By implementing simulated testing of the low beam headlight function on the load box test bench and determining the test result of the low beam headlight function based on the display status of the indicator lights on the load box, the method achieves safe testing of the low beam headlight function in the early stages of a project, and is convenient and low-cost.

[0097] Please see Figure 3 , Figure 3 This is a block diagram illustrating a low beam headlight testing device according to an exemplary embodiment of the present invention. Figure 3 As shown, the device 300 includes:

[0098] The test case determination module 301 is used to obtain the test function of the low beam lamp under test, and configure the on / off state of the electronic components on the load box bench according to the test function to determine the test cases required for the test function.

[0099] The response result generation module 302 is used to receive and load test cases to generate response results after the load box platform is powered on. The response results include the current display status of the indicator lights on the load box platform.

[0100] The monitoring module 303 is used to connect the Ethernet interface on the load cell to a computer to monitor the current display status of the indicator lights.

[0101] The judgment module 304 is used to determine whether the current display status meets expectations based on the correspondence between each test case and the display status of the indicator light, and to obtain the judgment result;

[0102] The test result determination module 305 is used to generate a test report based on the judgment results corresponding to each test case, so as to determine the test result of the low beam headlight under test according to the test report.

[0103] In this embodiment, the device is essentially configured with multiple modules to execute the methods in any of the above embodiments. The specific functions and technical effects can be referred to in the above embodiments, and will not be repeated here.

[0104] Please see Figure 4 , Figure 4 A schematic diagram of a computer system suitable for implementing the embodiments of this application is shown. It should be noted that... Figure 4 The computer system 400 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0105] like Figure 4 As shown, the computer system 400 includes a Central Processing Unit (CPU) 401, which can perform various appropriate actions and processes, such as executing the methods described in the above embodiments, based on programs stored in Read-Only Memory (ROM) 402 or programs loaded from Storage Unit 408 into Random Access Memory (RAM) 403. The RAM 403 also stores various programs and data required for system operation. The CPU 401, ROM 402, and RAM 403 are interconnected via a bus 404. An Input / Output (I / O) interface 405 is also connected to the bus 404.

[0106] The following components are connected to I / O interface 405: an input section 406 including a keyboard, mouse, etc.; an output section 407 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 408 including a hard disk, etc.; and a communication section 409 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section 409 performs communication processing via a network such as the Internet. A drive 410 is also connected to I / O interface 405 as needed. A removable medium 411, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 410 as needed so that computer programs read from it can be installed into storage section 408 as needed.

[0107] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including a computer program for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 409, and / or installed from removable medium 411. When the computer program is executed by central processing unit (CPU) 401, it performs various functions defined in the system of this application.

[0108] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying a computer-readable computer program. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.

[0109] This disclosure also provides a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements any of the methods in this embodiment.

[0110] The computer-readable storage medium in the embodiments of this disclosure will be understood by those skilled in the art: all or part of the steps of the above method embodiments can be implemented by hardware related to computer programs. The aforementioned computer program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disk, or optical disk.

[0111] The electronic device disclosed in this embodiment includes a processor, a memory, a transceiver, and a communication interface. The memory and the communication interface are connected to the processor and the transceiver and complete communication between them. The memory is used to store computer programs, the communication interface is used to perform communication, and the processor and the transceiver are used to run the computer programs, so that the electronic device performs the various steps of the above method.

[0112] In this embodiment, the memory may include random access memory (RAM) and may also include non-volatile memory, such as at least one disk storage device.

[0113] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), graphics processing units (GPUs), network processors (NPs), etc.; they can also be 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, or discrete hardware components.

[0114] The foregoing description and accompanying drawings fully illustrate embodiments of this disclosure to enable those skilled in the art to practice them. Other embodiments may include structural, logical, electrical, procedural, and other changes. The embodiments represent only possible variations. Individual components and functions are optional unless explicitly required, and the order of operation may vary. Parts and subsamples of some embodiments may be included in or replace parts and subsamples of other embodiments. Moreover, the terminology used in this application is for describing embodiments only and is not intended to limit the claims. As used in the description of embodiments and claims, the singular forms “a,” “an,” and “the” are intended to equally include the plural forms unless the context clearly indicates otherwise. Similarly, the term “and / or” as used herein means including one or more of the associated listed items and all possible combinations thereof. Additionally, when used in this application, the term "comprise" and its variations "comprises" and / or "comprising" refer to the presence of stated subsamples, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other subsamples, wholes, steps, operations, elements, components, and / or groups thereof. Without further limitations, an element defined by the phrase "comprising a..." does not exclude the presence of other identical elements in the process, method, or apparatus that includes the element. In this document, each embodiment may focus on the differences from other embodiments, and similar or identical parts between embodiments can be referred to mutually. For methods, products, etc., disclosed in the embodiments, if they correspond to the method section disclosed in the embodiments, the relevant parts can be referred to the description of the method section.

[0115] 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 the embodiments of this disclosure. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0116] The methods and products (including but not limited to devices and equipment) disclosed in the embodiments herein can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of units may be merely a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some sub-samples may be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to implement this embodiment according to actual needs. In addition, the functional units in the embodiments of this disclosure 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.

[0117] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than that shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. In the descriptions corresponding to the flowcharts and block diagrams in the accompanying drawings, the operations or steps corresponding to different blocks may also occur in a different order than disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. Each block in a block diagram and / or flowchart, and combinations of blocks in a block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

Claims

1. A method for testing low beam headlights, characterized in that, The method includes: Obtain the function to be tested of the low beam lamp under test, configure the on / off state of the electronic devices on the load box bench according to the function to be tested, and determine the test cases required for testing the function to be tested. After the load box platform is powered on, the test case is received and loaded to generate a response result, which includes the current display status of the indicator lights on the load box platform. Connect the Ethernet interface on the load cell platform to a computer to monitor the current display status of the indicator lights; Based on the correspondence between each test case and the display status of the indicator light, determine whether the current display status meets expectations and obtain the determination result; Based on the judgment results corresponding to each test case, a test report is generated to determine the test result of the low beam headlight under test according to the test report; The system configures the on / off states of electronic components on the load box rack according to the function under test, and determines the test cases required for testing the function under test. This includes: acquiring the functional information of the function under test, which carries the fault type of the low beam lamp under test, including short circuit fault, open circuit fault, and communication fault; configuring the on / off states of each switch, power channel, controller area network bus communication interface, local interconnect network communication interface, banana plug socket, and wire grounding terminal distributed on the load box according to the fault type, and obtaining the test cases required for any fault type. The load cell bench includes a vehicle integrated unit controller, a load cell, and a bus development environment. The load cell is connected to the controller local area network (CLAN) channel and local interconnect network (HINF) channel of the vehicle integrated unit controller via a banana plug and wiring harness. The vehicle integrated unit controller has a HINF node attached to it. The bus development environment is connected to the CLAN bus communication interface and HINF communication interface of the load cell via corresponding CLAN bus communication interfaces and HINF communication interfaces. The bus development environment simulates a sunlight / rainfall sensor node. A terminating resistor is provided by a switch at the CLAN bus communication interface of the load cell.

2. The low beam headlight testing method according to claim 1, characterized in that, The load box has a 220V power plug and an external programmable power interface. The power plug is connected to power or the external programmable power interface is connected to an external programmable power supply to power the load box. The load box has a transformer inside that converts the 220V voltage into multiple 12V and 5V voltages to power the vehicle integrated unit controller. When the 5V power channel switch on the load box is turned up, it supplies 5V to the vehicle integrated unit controller. When the 12V power channel switch on the load box is turned up, it supplies 12V to the vehicle integrated unit controller.

3. The low beam headlight testing method according to claim 1, characterized in that, Based on the correspondence between each test case and the display status of the indicator light, determine whether the current display status meets expectations and obtain the determination result, including: Based on the correspondence between each test case and the display status of the indicator light, determine whether the current display status is the target display status corresponding to the test case; If the current display state is the target display state, it is determined that the function of the low beam headlight under test meets expectations; If the current display state is not the target display state, it is determined that the function of the low beam headlight under test does not meet expectations.

4. The low beam headlight testing method according to any one of claims 1 to 3, characterized in that, The power channel switch or programmable power switch circuit on the load box simulates the low beam headlight switch under test; the display status of the indicator light on the load box simulates the lighting status of the low beam headlight under test.

5. A low beam headlight testing device, characterized in that, The device includes: The test case determination module is used to acquire the test function of the low beam lamp under test, and configure the on / off state of the electronic devices on the load box bench according to the test function to determine the test cases required for the test of the test function. The response result generation module is used to receive and load the test cases to generate response results after the load box platform is powered on. The response results include the current display status of the indicator lights on the load box platform. The monitoring module is used to connect the Ethernet interface on the load cell platform to a computer to monitor the current display status of the indicator lights; The judgment module is used to determine whether the current display state meets expectations based on the correspondence between each test case and the display state of the indicator light, and to obtain the judgment result; The test result determination module is used to generate a test report based on the judgment results corresponding to each test case, so as to determine the test result of the low beam headlight under test according to the test report; The test case determination module is specifically used to obtain the functional information of the function to be tested, which carries the fault type of the low beam headlight under test. The fault type includes short circuit fault, open circuit fault, and communication fault. Based on the fault type, the module configures the on / off states of each switch, power channel, controller local area network bus communication interface, local interconnect network communication interface, banana plug socket, and wire grounding terminal distributed on the load box to obtain the test cases required for any fault type. The load cell bench includes a vehicle integrated unit controller, a load cell, and a bus development environment. The load cell is connected to the controller local area network (CLAN) channel and local interconnect network (HINF) channel of the vehicle integrated unit controller via a banana plug and wiring harness. The vehicle integrated unit controller has a HINF node attached to it. The bus development environment is connected to the CLAN bus communication interface and HINF communication interface of the load cell via corresponding CLAN bus communication interfaces and HINF communication interfaces. The bus development environment simulates a sunlight / rainfall sensor node. A terminating resistor is provided by a switch at the CLAN bus communication interface of the load cell.

6. An electronic device, characterized in that, include: One or more processors; A storage device for storing one or more programs, which, when executed by one or more processors, cause the electronic device to perform the method as described in any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that, It stores computer-readable instructions that, when executed by the computer's processor, cause the computer to perform the method of any one of claims 1 to 4.