Test Method, Device and Storage Medium for Body Controllers Compatible with Multiple Models
By receiving functional test instructions, generating demand information, selecting target test items, performing parameter simulation operations, and generating test cases, the compatibility problem of body controller testing methods is solved, and compatibility testing of multiple models of body controllers is realized, which improves the flexibility and accuracy of testing.
Patent Information
- Application Number
- CN202410989549.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2025-07-18
- Estimated Expiration
- 2044-07-23
AI Technical Summary
The traditional body controller testing method cannot adapt to different models of body controllers, resulting in low test compatibility and requires redesign and adjustment of the test items.
By receiving functional test instructions, generating functional requirements information, selecting target test items collections, performing multi-model parameter simulation operations, generating test cases, and controlling the body controller to perform test operations to generate test results.
Compatible testing of multiple models of body controllers has been achieved, improving the compatibility and flexibility of the test methods, and ensuring the targeted and comprehensiveness of the test.
Smart Images

Figure CN118963309B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing, and in particular, to a test method, device, and storage medium for a body controller compatible with multiple models. Background Technique
[0002] The mass production test tooling for a body control module (BCM) is a set of equipment and tools specifically used for functional and performance testing of body controllers during the mass production stage. The test tooling aims to ensure that the body controller can operate stably and reliably under various working conditions to meet the quality standards of automobile manufacturers and customer requirements.
[0003] Traditional test methods usually formulate test items based on specific body controller models. Once these test items are set, it is difficult to adapt to other models of body controllers. This results in the need to re - design and adjust test items when the vehicle model is updated or the controller is upgraded. It can be seen that the compatibility of the test method for body controllers is low, and a new technical means is needed to solve the above - mentioned technical problems. Summary of the Invention
[0004] The main purpose of the present invention is to solve the technical problem of low compatibility of the test method for body controllers.
[0005] The first aspect of the present invention provides a test method for a body controller compatible with multiple models. The test method for a body controller compatible with multiple models includes:
[0006] When a function test instruction is received, function requirement information is generated according to the function test instruction;
[0007] According to the function requirement information, a target test item set is selected from a preset test item set;
[0008] According to the target test item set and a preset parameter simulation pattern, a parameter simulation operation for multiple models is performed to obtain a test parameter set;
[0009] According to the test parameter set, test cases are generated;
[0010] Control the body controller to perform a test operation according to the test cases to obtain a test result.
[0011] Optionally, in the first implementation manner of the first aspect of the present invention, the step of selecting a target test item set from a preset test item set according to the function requirement information includes:
[0012] If the functional requirement information is default information, select the window lift system test item, window lift indication test item, compatibility test item of the window lift switch signal, door lock control system test item, lighting control system test item, ignition switch signal logic test item, door circuit signal logic test item, windshield wiper control system test item, CAN communication test item, electronic steering column lock test item, keyless entry test item, and keyless start test item from the preset test item set as the target test item set.
[0013] Optionally, in the second implementation manner of the first aspect of the present invention, the step of generating functional requirement information according to the functional test instruction when receiving the functional test instruction includes:
[0014] When receiving the functional test instruction, parse the functional test instruction to obtain a parsing result;
[0015] Determine whether the parsing result carries a function specified text;
[0016] If the functional test instruction carries the function specified text, use the function specified text as the functional requirement information;
[0017] If the functional test instruction does not carry the function specified text, use the default information as the functional requirement information.
[0018] Optionally, in the third implementation manner of the first aspect of the present invention, the step of using the function specified text as the functional requirement information if the functional test instruction carries the function specified text includes:
[0019] If the functional test instruction carries the function specified text, determine whether the function specified text conforms to a preset text format;
[0020] If the function specified text does not conform to the preset text format, perform a synonymous conversion operation on the function specified text to obtain the functional requirement information;
[0021] If the function specified text conforms to the preset text format, use the function specified text as the functional requirement information.
[0022] Optionally, in the fourth implementation manner of the first aspect of the present invention, the step of performing parameter simulation operations for multiple models according to the target test item set and a preset parameter simulation pattern to obtain a test parameter set includes:
[0023] If the target test item set is the window lift indication item, determine the parameter simulation pattern of the lift signal according to the preset input signal type;
[0024] Design the parameter range of the lifting signal according to the parameter simulation pattern to obtain a set of test parameters.
[0025] Optionally, in the fifth implementation manner of the first aspect of the present invention, the step of performing parameter simulation operations of multiple models according to the target test item set and the preset parameter simulation pattern to obtain a set of test parameters includes:
[0026] If the target test item set is a lighting control system test item, simulate the parameter range of the lighting input signal of a preset model according to the parameter simulation pattern to obtain a set of test parameters.
[0027] Optionally, in the sixth implementation manner of the first aspect of the present invention, the step of performing parameter simulation operations of multiple models according to the target test item set and the preset parameter simulation pattern to obtain a set of test parameters includes:
[0028] If the target test item set is a door circuit signal logic test item, simulate the control parameters of the door switch signal, the control parameters of the model door lock control signal, and simulate the control parameters of the safety warning signal according to the parameter simulation pattern to obtain a set of test parameters.
[0029] Optionally, in the seventh implementation manner of the first aspect of the present invention, after the step of controlling the body controller to perform a test operation according to the test case to obtain a test result, the method further includes:
[0030] Obtain the execution information corresponding to the test case in the test result, and screen out the failed target test cases in the test case;
[0031] Fill the execution information into a preset report template, and highlight the target execution information corresponding to the target test case to obtain a test report;
[0032] Output the test report.
[0033] The second aspect of the present invention provides a multi-model compatible body controller test device, including: a memory and at least one processor, instructions are stored in the memory, and the memory and the at least one processor are interconnected by a line; the at least one processor calls the instructions in the memory so that the multi-model compatible body controller test device executes the above multi-model compatible body controller test method.
[0034] The third aspect of the present invention provides a computer-readable storage medium, instructions are stored in the computer-readable storage medium, and when it runs on a computer, it causes the computer to execute the above multi-model compatible body controller test method.
[0035] In an embodiment of the present invention, when a function test instruction is received, function requirement information is generated according to this instruction, ensuring the pertinence of the test. According to the function requirement information, a suitable target test item set is selected from a preset test item set, reflecting the configurability of the test method and enabling the selection of appropriate test items according to the requirements of body controllers of different models. According to the selected target test item set and a preset parameter simulation pattern, parameter simulation operations for multiple models are performed to obtain a test parameter set, simulating various working conditions and parameter changes that may be encountered in actual use and ensuring the comprehensiveness of the test. Based on the obtained test parameter set, specific test cases are generated. The modular design of the test enables flexible combination and configuration of different modules according to different vehicle models and controller models. While solving the problem of repeated testing of local functions, it can achieve compatible testing of body controllers of multiple models, improving the compatibility of the body controller test method. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 FIG. is a schematic diagram of an embodiment of a multi-model compatible body controller test method in an embodiment of the present invention;
[0037] Figure 2 FIG. is a schematic diagram of a specific embodiment of step 101 of the multi-model compatible body controller test method in an embodiment of the present invention;
[0038] Figure 3 FIG. is a schematic diagram of a specific embodiment of step 103 of the multi-model compatible body controller test method in an embodiment of the present invention;
[0039] Figure 4 FIG. is a schematic diagram of a specific embodiment after step 105 of the multi-model compatible body controller test method in an embodiment of the present invention;
[0040] Figure 5 FIG. is a schematic diagram of an embodiment of a multi-model compatible body controller test device in an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0041] The embodiments of the present invention provide a multi-model compatible body controller test method, device, and storage medium.
[0042] The embodiments disclosed by the present invention will be described in more detail below with reference to the accompanying drawings. Although some embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. On the contrary, these embodiments are provided to more thoroughly and completely understand the present disclosure. It should be understood that the drawings and embodiments of the present invention are only for exemplary purposes and are not used to limit the protection scope of the present invention.
[0043] In the description of the embodiments disclosed in the present invention, the term "including" and its similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc. may refer to different or the same objects. There may also be other explicit and implicit definitions hereinafter.
[0044] For ease of understanding, the specific process of the embodiments of the present invention is described below. Please refer to Figure 1 One embodiment of the multi-model compatible body controller test method in the embodiments of the present invention includes:
[0045] 101. When receiving a function test instruction, generate function requirement information according to the function test instruction;
[0046] The body controller is an important part of the automotive electrical system. It is responsible for controlling and managing multiple systems inside the vehicle, such as lights, door locks, windows, etc. Therefore, mass production testing of the body controller is an important link to ensure the overall quality and safety of the vehicle.
[0047] Through mass production testing, defects or problems that may exist in the body controller during the production process can be detected, and repaired and improved in a timely manner, so as to ensure that each vehicle has excellent performance and reliability.
[0048] Mass production testing usually adopts automated or semi-automated test equipment and methods, which can greatly improve the test efficiency and reduce the errors and uncertainties of manual operations.
[0049] At the same time, by optimizing the test process and strategy, the test cycle can be further shortened, the production efficiency can be improved, and the rapid change requirements of the automotive market can be met.
[0050] Through mass production testing, problems can be discovered and repaired in the early stage, avoiding additional costs and time losses caused by problem repair in the later stage.
[0051] By introducing and using automated test equipment, the labor cost can be reduced, and the accuracy and consistency of the test can be improved.
[0052] In this embodiment, the multi-model compatible body controller test equipment can be the mass production test tooling for the body controller or can be used to control the mass production test tooling for the body controller. The multi-model compatible body controller test equipment listens for instruction inputs from users or automated test environments. The instruction may include a specific description of the function to be tested. Then, the received function test instruction is parsed, and it is identified whether the instruction specifies a test function.
[0053] Optionally, referring to Figure 2 , Figure 2 FIG. 101 is a schematic diagram of a specific embodiment of step 101 of the multi-model compatible body controller test method in the embodiment of the present invention. Step 101 further includes the following specific embodiments:
[0054] 1011. When receiving a function test instruction, parse the function test instruction to obtain a parsing result;
[0055] 1012. Determine whether the parsing result carries a function specified text;
[0056] 1013. If the function test instruction carries the function specified text, use the function specified text as function requirement information;
[0057] Optionally, step 1013 further includes the following specific embodiments:
[0058] 10131. If the function test instruction carries the function specified text, determine whether the function specified text conforms to a preset text format;
[0059] 10132. If the function specified text does not conform to the preset text format, perform a synonym conversion operation on the function specified text to obtain function requirement information;
[0060] Specifically, paraphrasing is a language processing technique that aims to convert a piece of text into another piece of text with a similar meaning but different expression. It aims to keep the core meaning of the original text unchanged while changing its expression, which may include adjustments to vocabulary, grammar, or sentence structure.
[0061] A pre-trained neural network model can be called to implement synonym conversion, especially a deep learning-based model. This model is based on a sequence-to-sequence (Seq2Seq) architecture, such as a recurrent neural network (RNN), long short-term memory network (LSTM), gated recurrent unit (GRU), or Transformer architecture (such as GPT series, BERT series, etc.).
[0062] 10133. If the function specified text conforms to the preset text format, use the function specified text as function requirement information.
[0063] In steps 10131 - 10133, by determining whether the function - specified text conforms to the preset text format, the standardization and accuracy of the test instructions can be ensured. When the function - specified text does not conform to the preset format, by performing a synonymous conversion operation, function requirement information that is similar in meaning to the original text but meets the format requirements can be obtained. High flexibility enables handling more diverse inputs. By default, the full - selection function is tested, which can ensure that the test activities cover all possible function points and features. Potential problems that may exist are discovered, thereby improving the overall quality of the product.
[0064] 1014. If the function test instruction does not carry function - specified text, the default information is used as the function requirement information.
[0065] Among them, listen for and receive function test instructions. Parse the function test instructions to obtain a parsing result. Determine whether the parsing result carries function - specified text. If it carries function - specified text, determine whether the function - specified text conforms to the preset text format.
[0066] If it does not conform to the preset text format, perform a synonymous conversion operation on the function - specified text to obtain function requirement information. If it conforms to the preset text format, use the function - specified text as the function requirement information. If it does not carry function - specified text, use the default information as the function requirement information.
[0067] In steps 1011 - 1014, it is allowed to flexibly set function requirement information according to whether the function test instruction contains function - specified text. If the instruction contains specific text, use this text as the requirement; otherwise, use the default requirement. Flexibility enables the test process to adapt to different test scenarios and requirements. When the function test instruction carries function - specified text, using it as the function requirement information can ensure that the test activities target accurate and specific function points.
[0068] 102. Select a target test item set from the preset test item set according to the function requirement information;
[0069] Specifically, match according to the function requirement information in the preset test item set. If the function requirement information is default information, select the preset default test item set, including test items for window lifting systems, window lifting indication test items, etc.
[0070] Optionally, use NLP technology to parse the functional requirement information and extract key information points such as function name, function description, operation steps, etc. Identify key entities in the text, such as function names and system component names, through technologies like Named Entity Recognition (NER). Pre-build a database containing various test items. Each test item should have a clear description and identifier for subsequent matching.
[0071] Match the parsed functional requirement information with the information in the test item library. This can be achieved through methods such as text similarity calculation (e.g., cosine similarity, Jaccard similarity, etc.) or keyword matching.
[0072] Based on the matching results, select the test items most relevant to the target functional requirements to form a target test item set.
[0073] Optionally, if the functional requirement information is default information, select test items for the window lift system, window lift indication, compatibility test of window lift switch signals, door lock control system, lighting control system, ignition switch signal logic, door circuit signal logic, wiper control system, CAN communication, electronic steering column lock, keyless entry, and keyless start in the preset test item set as the target test item set.
[0074] In the above optional embodiment, the test items comprehensively cover different aspects of functions and performances, enabling a comprehensive evaluation of the performance and reliability of the body controller. Each test item is designed for specific functions and performances of the body controller. For example, the test item for the window lift system focuses on the window lift function, and the test item for the door lock control system pays attention to the control logic of the door lock. Targeted testing can more accurately evaluate the performance of the body controller in various aspects and discover potential problems. Through test items such as the compatibility test of window lift switch signals, the compatibility and stability of the body controller under different signals and conditions can be tested. The CAN communication test item can evaluate the communication performance and stability of the body controller to ensure unobstructed communication between various systems inside the vehicle. Test items such as the electronic steering column lock, keyless entry, and keyless start focus on the safety performance of the vehicle to ensure safety during vehicle use. There is a certain systematicness and coherence among the test items. Through a series of related test items, the performance and reliability of the body controller can be evaluated more comprehensively. At the same time, potential problems and mutual influences among different functions and systems of the body controller can also be discovered. Selecting these test items as the default test item set can improve the efficiency and accuracy of testing.
[0075] If the functional requirement information specifies a specific function, select the test items related to this function as the target test item set.
[0076] Optionally, if the functional requirement information is default information, select the window lifting system test item, window lifting indication test item, window lifting switch signal compatibility test item, door lock control system test item, lighting control system test item, ignition switch signal logic test item, door circuit signal logic test item, wiper control system test item, CAN communication test item, electronic steering column lock test item, keyless entry test item, and keyless start test item from the preset test item set as the target test item set.
[0077] 103. Perform parameter simulation operations for multiple models according to the target test item set and the preset parameter simulation pattern to obtain a test parameter set;
[0078] Specifically, the target test item set includes all test items that require parameter simulation. For example, different systems, devices, or functional points.
[0079] Then obtain the preset parameter simulation pattern. The parameter simulation pattern defines how parameters should change or be set under different conditions to simulate various situations in the actual environment. The preset parameter simulation pattern can be derived from experience, historical data, or big data.
[0080] For each target test item, select the corresponding parameter simulation pattern according to the functional module to which it belongs. According to the selected parameter simulation pattern, perform parameter simulation operations. This includes but is not limited to setting the initial parameter values, simulating the change process of parameters over time or other factors, etc. The specific simulation method may vary depending on the different test items.
[0081] Specifically, according to the target test item set and the preset parameter simulation pattern, determine the types and ranges of parameters to be simulated.
[0082] Optionally, refer to Figure 3 , Figure 3 This is a schematic diagram of a specific embodiment of step 103 of the multi-model compatible body controller test method in the embodiments of the present invention. Step 103 also includes the following specific implementations:
[0083] 1031. If the target test item set is the window lifting indication item, determine the parameter simulation pattern of the lifting signal according to the preset input signal type.
[0084] Specifically, determine the types of input signals received by the window lifting system. This includes but is not limited to button operations from the driver, control signals from other vehicle systems (such as the central locking system), feedback signals from sensors (such as window position sensors, obstacle detection sensors), etc.
[0085] Analyze the characteristics of the signal types. This includes but is not limited to lifting speed, response time, maximum lifting stroke, safety protection mechanisms (such as anti-pinch function), etc. The characteristics will directly affect the setting of the parameter simulation patterns.
[0086] Based on the input signal types and the characteristics of the lifting signals, determine the parameter simulation patterns of the lifting signals. For example: According to the input signal types, set the way to trigger the lifting signals. It can simulate the signals when the driver presses the window lifting button, or simulate the control signals sent by the central locking system.
[0087] Set the timing and frequency of the lifting signals to simulate the window lifting conditions at different operation speeds and frequencies. This can be achieved by adjusting the time intervals and frequencies of signal triggering.
[0088] 1032. According to the parameter simulation patterns, design the parameter ranges of the lifting signals to obtain a set of test parameters.
[0089] In steps 1031 - 1032, by analyzing in detail the types of input signals of the window lifting system, the lifting signals under actual working conditions can be accurately simulated. This ensures that the set of test parameters can truly reflect the actual working conditions of the window lifting system and improves the accuracy of the test.
[0090] Optionally, if the set of target test items is the test items of the lighting control system, simulate the parameter ranges of the lighting input signals of a preset model according to the parameter simulation patterns to obtain a set of test parameters. Specifically, if it is a test item of the lighting control system, simulate the parameter ranges of the lighting input signals of a preset model to obtain a set of test parameters. For example, simulate the signal inputs and loads of position lights, low beam lights, high beam lights, front fog lights, rear fog lights, etc. in the original vehicle lighting control system.
[0091] Optionally, if the set of target test items is the test items of the door circuit signal logic, simulate the control parameters of the door switch signals, the control parameters of the model door lock control signals, and simulate the control parameters of the safety warning signals according to the parameter simulation patterns to obtain a set of test parameters. Among them, if it is a test item of the window lifting indication, determine the parameter simulation patterns of the lifting signals according to the preset input signal types, and design the parameter ranges of the lifting signals to obtain a set of test parameters.
[0092] And so on, perform corresponding parameter simulation operations on other target test items.
[0093] 104. Generate test cases according to the set of test parameters;
[0094] Specifically, according to the set of test parameters, generate detailed test cases for each target test item, including information such as test steps, input data, and expected results.
[0095] 105. Control the body controller to execute test operations according to the test cases and obtain test results;
[0096] Specifically, control the body controller to execute test operations according to the steps and parameters defined in the test cases. Monitor and record the responses and output data of the body controller. Compare the actual output with the expected results defined in the test cases to determine whether the test passes or fails.
[0097] Optionally, refer to Figure 4 , Figure 4 which is a schematic diagram of a specific embodiment after step 105 of the multi-model compatible body controller test method in the embodiments of the present invention. After step 105, the following specific implementation manners are further included:
[0098] 106. Obtain the execution information corresponding to the test cases in the test results, and screen out the target test cases that fail in the test cases;
[0099] 107. Fill the execution information into a preset report template, and highlight the target execution information corresponding to the target test cases to obtain a test report;
[0100] 108. Output the test report.
[0101] In steps 106-108, by screening out the failed test cases, testers can quickly locate the problems in which functions or performances of the body controller, so as to analyze and solve the problems targeted. Highlighting the execution information of the failed test cases enables testers to quickly browse and understand the test results, further shortening the cycle of problem location and solution. The preset report template ensures the consistency of the structure and content of the test report, making the test report more standardized, easy to read and understand.
[0102] In the embodiment of the present invention, when a function test instruction is received, function requirement information is generated according to this instruction, ensuring the pertinence of the test. According to the function requirement information, a suitable target test item set is selected from a preset test item set. This reflects the configurability of the test method and enables the selection of appropriate test items according to the requirements of body controllers of different models. According to the selected target test item set and a preset parameter simulation pattern, parameter simulation operations for multiple models are performed to obtain a test parameter set. This simulates various working conditions and parameter changes that may be encountered in actual use, ensuring the comprehensiveness of the test. Based on the obtained test parameter set, specific test cases are generated. The modular design of the test enables flexible combination and configuration of different modules according to different vehicle models and controller models. While solving the problem of repeated local function testing, it can achieve compatible testing of body controllers of multiple models, improving the compatibility of the body controller test method.
[0103] Figure 5 FIG. 4 is a schematic structural diagram of a multi-model compatible body controller test device provided by an embodiment of the present invention. The multi-model compatible body controller test device 500 may vary significantly due to configuration or performance differences and may include one or more processors (central processing units, CPUs) 510 (e.g., one or more processors) and a memory 520, and one or more storage media 530 (e.g., one or more mass storage devices) for storing application programs 533 or data 532. Among them, the memory 520 and the storage media 530 may be transient storage or persistent storage. The program stored in the storage media 530 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations for the multi-model compatible body controller test device 500. Further, the processor 510 may be configured to communicate with the storage media 530 and execute a series of instruction operations in the storage media 530 on the multi-model compatible body controller test device 500.
[0104] The multi-model compatible body controller test device 500 may further include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input / output interfaces 560, and / or one or more operating systems 531, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, and so on. Those skilled in the art can understand that Figure 5 The shown structure of the multi-model compatible body controller test device does not limit the multi-model compatible body controller test device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0105] The present invention also provides a computer-readable storage medium. The computer-readable storage medium can be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are run on a computer, the computer is caused to execute the steps of the multi-model compatible vehicle body controller test method.
[0106] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0107] Moreover, although the operations are depicted in a particular order, this should be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed to achieve the desired result. In certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features described in the context of separate embodiments can also be implemented in combination in a single implementation. Conversely, various features described in the context of a single implementation can also be implemented separately or in any suitable sub-combination in multiple implementations.
[0108] Although the subject matter has been described in language specific to structural features and / or methodological acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
Claims
1. A test method for a body controller compatible with multiple models, characterized in that, The test method for a body controller compatible with multiple models includes: When a function test instruction is received, parse the function test instruction to obtain a parsing result; Determine whether the parsing result carries a function-specified text; If the function test instruction carries the function-specified text, use the function-specified text as function requirement information; If the function test instruction carries the function-specified text, determine whether the function-specified text conforms to a preset text format; If the function-specified text does not conform to the preset text format, perform a synonym conversion operation on the function-specified text to obtain function requirement information; If the function-specified text conforms to the preset text format, use the function-specified text as function requirement information; According to the function requirement information, select a target test item set from a preset test item set; According to the target test item set and a preset parameter simulation pattern, perform a parameter simulation operation for multiple models to obtain a test parameter set, where the parameter simulation pattern defines how parameters should change or be set under different conditions to simulate various situations in the actual environment; Generate test cases according to the test parameter set; Control the body controller to execute a test operation according to the test cases to obtain a test result.
2. The multi-model compatible vehicle body controller test method according to claim 1, wherein The step of selecting a target test item set from a preset test item set according to the function requirement information includes: If the function requirement information is default information, select a window lifting system test item, a window lifting indication test item, a compatibility test item for window lift switch signals, a door lock control system test item, a lighting control system test item, an ignition switch signal logic test item, a door circuit signal logic test item, a wiper control system test item, a CAN communication test item, an electronic steering column lock test item, a keyless entry test item, and a keyless start test item from the preset test item set as the target test item set.
3. The multi-model compatible vehicle body controller test method according to claim 1, characterized in that The step of performing a parameter simulation operation for multiple models according to the target test item set and a preset parameter simulation pattern to obtain a test parameter set includes: If the target test item set is a window lifting indication item, determine a parameter simulation pattern for the lifting signal according to a preset input signal type; Design a parameter range for the lifting signal according to the parameter simulation pattern to obtain a test parameter set.
4. The test method for a body controller compatible with multiple models according to claim 1, wherein The step of performing a parameter simulation operation for multiple models according to the target test item set and a preset parameter simulation pattern to obtain a test parameter set includes: If the target test item set is a lighting control system test item, simulate a parameter range of a lighting input signal of a preset model according to the parameter simulation pattern to obtain a test parameter set.
5. The multi-model compatible vehicle body controller test method according to claim 1, characterized in that The step of performing a parameter simulation operation for multiple models according to the target test item set and a preset parameter simulation pattern to obtain a test parameter set includes: If the target test item set is the door circuit signal logic test item, control parameters of the door switch signal, control parameters of the door lock control signal, and control parameters of the safety warning signal are simulated according to the parameter simulation pattern to obtain a test parameter set.
6. The multi-model compatible vehicle body controller test method according to claim 1, characterized in that, After the step of the control body controller performing a test operation according to the test case to obtain a test result, the method further includes: Obtaining execution information corresponding to the test case in the test result, and screening out failed target test cases in the test case; Filling the execution information into a preset report template, and highlighting target execution information corresponding to the target test case to obtain a test report; Outputting the test report.
7. A vehicle body controller test device compatible with multiple models, characterized in that The multi-model compatible body controller test device includes: a memory and at least one processor, instructions are stored in the memory, and the memory and the at least one processor are interconnected by a line; The at least one processor calls the instructions in the memory so that the multi-model compatible body controller test device executes the multi-model compatible body controller test method according to any one of claims 1-6.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, The computer program, when executed by a processor, implements the multi-model compatible body controller test method according to any one of claims 1-6.
Citation Information
Patent Citations
Network communication signal automatic testing system for body control module
CN106647690A
Test method and device, electronic equipment and storage medium
CN117215960A
Cited By
Vehicle body controller self-adaptive test method and system based on data driving and dynamic strategy
CN121857639A