Vehicle flashing test method, system and equipment

By connecting the vehicle flash test system to the host computer, early flash testing of the vehicle controller is realized, which solves the problem in the existing technology that the flash test can only be performed after assembly is completed, and reduces production costs.

CN118672908APending Publication Date: 2024-09-20AVATR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410729215.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

Existing vehicle flash testing can only be performed after vehicle assembly is completed, resulting in high production costs.

Method used

Through the vehicle flash test system and the host computer connection, the flash test setting parameters are obtained, the test items are determined, and the flash test is performed in response to the flash parameter instructions to achieve early flash testing of the vehicle controller.

Benefits of technology

Complete the flash test before vehicle assembly to reduce production costs and avoid production shutdowns caused by failure to pass the test after assembly is completed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118672908A
    Figure CN118672908A
Patent Text Reader

Abstract

The embodiment of the invention relates to the technical field of flashing test, and discloses a vehicle flashing test method, system and equipment, applied to a vehicle flashing test system, the vehicle flashing test system is connected with an upper computer and a plurality of vehicle controllers, the method comprises the following steps: acquiring flashing test setting parameters sent by the upper computer, determining a flashing test item according to the flashing test setting parameter; wherein the flash test item comprises a test instance for testing at least one vehicle control function in the vehicle controller; and in response to a flash parameter instruction sent by the upper computer, performing a flash test on the at least one vehicle control function according to the flash test item to obtain a flash test result. According to the technical scheme, the production cost of the vehicle can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of flash testing technology, and specifically to a vehicle flash testing method, system and equipment. Background Art

[0002] The current vehicle flash test method is that after the vehicle arrives at the designated workstation at the end of the assembly line, the inspection personnel hold flash equipment configured with different vehicle models and grades to flash the vehicle controller of the complete vehicle. This type of vehicle flash test can only be performed after the vehicle is assembled, and cannot be performed on the vehicle before the vehicle is assembled, which results in higher vehicle production costs. Summary of the invention

[0003] In view of the above problems, the embodiments of the present invention provide a vehicle flashing test method, system and device, which are used to solve the problem of high cost of vehicle production in the prior art.

[0004] According to one aspect of an embodiment of the present invention, a vehicle flash test method is provided, and the vehicle flash test method is applied to a vehicle flash test system, and the vehicle flash test system is connected to a host computer and multiple vehicle controllers. The method includes:

[0005] Obtaining the flash test setting parameters sent by the host computer, and determining the flash test items according to the flash test setting parameters; wherein the flash test items include a test instance for testing at least one vehicle control function in the vehicle controller;

[0006] In response to the flash parameter instruction sent by the host computer, a flash test is performed on at least one vehicle control function according to the flash test item to obtain a flash test result.

[0007] According to another aspect of an embodiment of the present invention, a vehicle flashing test system is provided, wherein the vehicle flashing test system is connected to a host computer and a plurality of vehicle controllers, and the vehicle flashing test system comprises:

[0008] A parameter processing module, used to obtain the flash test setting parameters sent by the host computer, and determine the flash test items according to the flash test setting parameters; wherein the flash test items include a test instance for testing at least one vehicle control function in the vehicle controller;

[0009] The flash test module is used to respond to the flash parameter instruction sent by the host computer, perform a flash test on at least one vehicle control function according to the flash test items, and obtain a flash test result.

[0010] According to another aspect of an embodiment of the present invention, a vehicle flashing test device is provided, comprising:

[0011] A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;

[0012] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute the operation of the vehicle flashing test method as described above.

[0013] An embodiment of the present invention provides a vehicle flash test method, which is applied to a vehicle flash test system connected to a host computer and multiple vehicle controllers. The flash test setting parameters sent by the host computer are obtained, and the flash test items are determined according to the flash test setting parameters; wherein the flash test items include test instances for testing at least one vehicle control function in the vehicle controller; in response to the flash parameter instructions sent by the host computer, a flash test is performed on at least one vehicle control function according to the flash test items to obtain a flash test result, so as to complete the flash test of the vehicle (one or more vehicle controllers) before the vehicle is assembled, thereby avoiding the problem that the flash test can only be performed after the assembly is completed, and thus the flash test can be performed in advance for the vehicle before assembly, so as to reduce the vehicle production cost.

[0014] The above description is only an overview of the technical solution of the embodiment of the present invention. In order to more clearly understand the technical means of the embodiment of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present invention. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings. In the accompanying drawings:

[0016] Figure 1 A schematic diagram showing a flow chart of a first embodiment of a vehicle flashing test method provided by the present invention;

[0017] Figure 2 A connection diagram of the vehicle flashing test system provided by the present invention is shown;

[0018] Figure 3 A schematic structural diagram of a first embodiment of a vehicle flashing test system provided by the present invention is shown;

[0019] Figure 4 A schematic structural diagram of an embodiment of a vehicle flash writing test device provided by the present invention is shown;

[0020] Figure 5 A schematic flow chart of a second embodiment of a vehicle flashing test method provided by the present invention is shown;

[0021] Figure 6 Another connection schematic diagram of the vehicle flashing test system provided by the present invention is shown;

[0022] Figure 7 A schematic diagram of an upper computer operation interface of the vehicle flashing test method provided by the present invention is shown;

[0023] Figure 8 A schematic diagram of a flashing level of the vehicle flashing test method provided by the present invention is shown;

[0024] Fig. 9 Another schematic diagram of flashing levels of the vehicle flashing test method provided by the present invention is shown. DETAILED DESCRIPTION

[0025] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary 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 limited to the embodiments set forth herein.

[0026] Figure 1 FIG. 1 is a flow chart showing a first embodiment of a vehicle flashing test method according to the present invention, wherein the method is executed by a vehicle flashing test device. Figure 1 As shown, the vehicle flashing test method is applied to a vehicle flashing test system, the vehicle flashing test system is connected to a host computer and multiple vehicle controllers, and the method includes the following steps:

[0027] Step 110: Obtain the flash test setting parameters sent by the host computer, and determine the flash test items according to the flash test setting parameters; wherein the flash test items include test instances for testing at least one vehicle control function in the vehicle controller.

[0028] Among them, refer to Figure 2 , Figure 2A connection diagram of the vehicle flashing test system provided by the present invention is shown. The vehicle flashing test system is connected to a host computer and multiple vehicle controllers, and after the flashing test is completed, it is displayed on the function item display item device. It is worth noting that the function item display item device can be a host computer, and then the result is directly displayed on the host computer. Among them, the host computer refers to a computer that can directly issue control commands, generally a computer PC or a host, that is, various signal changes can be displayed on the display interface of the host computer. When performing a flash test, flash test setting parameters for different flash test scenarios can be obtained from the host computer, wherein the flash test setting parameters may include flash test environment construction parameters and flash test item setting parameters, i.e., parameters for constructing a flash environment and parameters for determining test items, and then the flash test items can be determined based on the flash test setting parameters, wherein the flash test items include test instances for testing at least one vehicle control function in a vehicle controller, and then based on the test instances at this time, vehicle functions of different configuration levels under different vehicle models are tested, and then the vehicle flash test can be implemented before assembly is completed, and there will be no problem of stopping the vehicle on the production line due to failure of the flash test when the flash test is performed after assembly is completed, thereby reducing the production cost of the entire vehicle production.

[0029] Step 120: In response to the flash parameter instruction sent by the host computer, a flash test is performed on at least one vehicle control function according to the flash test items to obtain a flash test result.

[0030] Among them, after the test instance is configured, it will respond to the flash parameter instruction sent by the host computer, and perform a flash test on at least one vehicle control function according to the flash test item to obtain the flash test result. Among them, the flash parameter instruction refers to the instruction that controls the vehicle flash test system to perform the flash test, which can be an instruction to start with a specific button control. The flash test result refers to the result returned after the flash test item performs a flash test on at least one vehicle control function in the vehicle controller. The result can be a direct display function result, such as the light curtain function is normal, or a result that requires user judgment, such as the light curtain function is working. In this way, the vehicle flash test before assembly can be completed, and the phenomenon of finding that the flash test fails after the vehicle assembly is completed will not occur, thereby reducing the cost of vehicle generation.

[0031] For example, refer to Figure 5 , Figure 5The flowchart of the second embodiment of the vehicle flash test method provided by the present invention is shown. Before assembling the flash test instance, the vehicle model level configuration flash test setting parameters of the vehicle model level configuration flash test scenario are obtained from the upper computer, that is, the flash test setting parameters under different scenarios are obtained, and then the vehicle model level configuration flash test environment corresponding to the vehicle model level configuration flash test scenario is constructed based on the environment construction parameters in the vehicle model level configuration flash test setting parameters, and at least one test item corresponding to the vehicle model level configuration flash test scenario is generated based on the test item setting parameters in the vehicle model level configuration flash test setting parameters. Because the vehicle control function indicated by the vehicle model level configuration flash test instruction sent by the upper computer at this time, the vehicle control function corresponding to the test item indicated by the vehicle model level configuration flash test instruction is determined, and according to the request generation condition of the determined test item, a test request corresponding to the determined test item is generated. At this time, the vehicle model grade configuration flash test request can be sent to the vehicle controller group to be tested, and then the vehicle control function of the vehicle controller group to be tested can be flashed and tested. At this time, the vehicle flash test system can receive the vehicle model grade configuration flash response data corresponding to the vehicle model grade configuration flash test request sent by the vehicle controller group to be tested, and then analyze the received vehicle model grade configuration flash response data according to the test items corresponding to the vehicle control function indicated by the vehicle model grade configuration flash test instruction to obtain the vehicle model grade configuration flash test result, wherein the analysis process can be a detection process of whether the match matches the ideal result of the test, thereby completing the vehicle flash test before assembly.

[0032] Based on the first embodiment of the vehicle flash test method, a second embodiment of the vehicle flash test method of the present invention is proposed, and the method is executed by a vehicle flash test device. The flash test setting parameters include flash test environment construction parameters, and the flash test items are determined according to the flash test setting parameters, including:

[0033] Step 210: Determine configuration parameters in the flash test environment construction parameters, and configure the flash test environment of at least one vehicle control function in the vehicle controller based on the environment configuration rules in the configuration parameters.

[0034] Among them, the flash test can be tested based on the environment of the flash item, can be tested based on the flash item, or can be tested after the environment and the flash item are combined. Here, the test is explained by testing the environment of the flash item. By determining the configuration parameters in the flash test environment construction parameters, the flash test environment of at least one vehicle control function in the vehicle controller is configured based on the environment configuration rules in the configuration parameters, that is, the flash test environment of different vehicle control functions in the vehicle controller is configured. Among them, the environment configuration rules in the configuration parameters represent the configuration method of the flash test environment, and can include decryption files and environment configuration files. Among them, the encryption file includes the setting requirements of the encryption process and decryption process of the transmitted data during the flash test, such as the data encryption and decryption method, etc. The environment configuration file refers to the channel port setting rules and the address information of each vehicle controller in the vehicle controller group to be tested, such as IP address information, and then the flash test environment is configured based on the environment configuration rules in the configuration parameters. The flash test environment refers to the environment corresponding to the setting of the test item of at least one vehicle control function, such as the data encryption and decryption method, IP address information, etc., that is, the overall test environment is determined, and then the relevant parameters are configured based on the overall test environment to obtain a complete test item.

[0035] Step 220: Determine the environment setting parameters in the flash test environment construction parameters, and determine the flash test items according to the environment setting parameters and the flash test environment.

[0036] After the flash test environment is determined, the environment setting parameters in the flash test environment construction parameters are determined, and then the flash test items are determined based on the environment setting parameters and the flash test environment. The environment setting parameters refer to the parameters for setting the environment, and then the flash test items are determined, so that at least one vehicle control function can be flashed and tested based on the flash test items, thereby realizing the function of testing based on the environment of the flash items.

[0037] For example, refer to Figure 7 , Figure 7 A schematic diagram of an upper computer operation interface of the vehicle flash test method provided by the present invention is shown, in which selection boxes of different configurations are displayed, and the configuration required by the user can be input in the box, so that the upper computer can complete the setting of the flash test setting parameters, and then the vehicle flash test system can be controlled based on the flash test setting parameters to realize the flash test.

[0038] Furthermore, the environment setting parameters include variable definition parameters and timing setting parameters, and the step of determining the flash test items according to the environment setting parameters and the flash test environment includes:

[0039] Step 221: define the test variables in the flash test environment based on the variable definition parameters to obtain an initial test instance;

[0040] Step 222: Setting the test timing of the initial test instance based on the timing setting parameters, obtaining the test instance, and constructing the flash test items based on the test instance.

[0041] Among them, the environment setting parameters include variable definition parameters and timing setting parameters. At this time, the test variables in the flash test environment are defined and the test timing of each test instance in the initial test instance is set based on the variable definition parameters and the timing setting parameters, thereby obtaining the flash test items. By defining the test variables in the flash test environment based on the variable definition parameters, an initial test instance is obtained. The test variables can be response time, state, etc. The initial test instance refers to the flash test environment after continuing the variable definition. Then, the test timing of the initial test instance is set based on the timing setting parameters to obtain the test instance. At this time, the flash test items can be constructed based on the test instance. The construction method can be obtained by directly summarizing or configuring the relevant test instance matters. The test instance matters can be the corresponding vehicle control functions, precautions, and test display results. The test instance can be determined by the parameters of the flash test environment construction. It can be based on the flash test instances of different vehicle models to determine different vehicle control functions, such as the display function environment, such as the virtual working environment of each hardware and the working environment of the software. Among them, the variable definition parameters include: response time variable, address type variable, state flag variable, data type variable, data length variable, data name variable, etc. The response time variable refers to the response time of the vehicle controller after receiving the flash test request, for example: less than 1 second; the address type variable refers to the type of address of the vehicle controller receiving the flash test request, such as physical address and functional address, and the range of vehicle control functions corresponding to the addresses of different types of vehicle controllers is different; the state flag variable refers to the variable that characterizes the state of the vehicle controller, for example, before receiving the next flash test request, it is necessary to determine that the state of the vehicle controller is the original state, that is, the state flag corresponding to the original state; the data type variable refers to the type of data transmitted, such as the data corresponding to the flash test request and the flash response data; the data length variable refers to the variable corresponding to the length requirement of the data of each data type; the data name variable refers to the variable corresponding to the name of each data. Finally, the test timing of each flash test item of the flash test scenario is set according to the timing setting parameters to complete the purpose of building the flash test environment corresponding to the flash test scenario according to the flash test environment construction parameters. Among them, the timing setting parameters represent the test timing of each flash test item. If the flash test scenario includes multiple flash test items, and the vehicle control function of the vehicle controller group to be tested corresponding to each flash test item has a timing requirement, then the flash test item corresponding to the vehicle control function also needs to have certain timing requirements, and the test timing of the flash test item corresponds to the test timing of the vehicle control function corresponding to the flash test item. It is worth noting that the environment setting parameters can include at least the above three parameters, and then set the test environment based on the above three parameters. There can also be more parameters for construction, which is not limited here.

[0042] For example, refer to Figure 6 , Figure 6 Another connection diagram of the vehicle flash test system provided by the present invention is shown, the host computer is powered by a 220V AC power supply, and the vehicle flash test system and the vehicle controller group to be tested are powered by a 12V regulated power supply. Optionally, the vehicle flash test system can be a CANoe device, wherein, if a CANoe device is used, when the flash test environment construction parameters are used to construct the flash test items, the channel port setting rules in the loaded configuration file are the hardware channel configuration rules of the CANoe device, and the bus response data is formatted and the process of obtaining the bus response data that has completed the format conversion requires the configuration of the network, such as TCP / IP related configuration information, in the process of constructing the flash test environment corresponding to the flash test scenario, including but not limited to: network identification VLAN ID, IPv4 address IPv4 Address, network mask MASK and other information.

[0043] Based on the first embodiment and / or the second embodiment of the vehicle flash test method, a third embodiment of the vehicle flash test method of the present invention is proposed, and the method is executed by a vehicle flash test device. The flash test setting parameters include flash test item setting parameters, and the flash test items are determined according to the flash test setting parameters, including:

[0044] Step 230: determining a vehicle control function to be tested in the test item setting parameters, determining a vehicle controller corresponding to the test item setting parameters, matching the vehicle control function to be tested with at least one vehicle control function in the vehicle controller, and obtaining a matched vehicle control function;

[0045] Step 240: Determine the test instance corresponding to the matching vehicle control function, and construct a flash test item based on the test instance.

[0046] Among them, when testing based on the flashing item, the vehicle control function to be tested in the test item setting parameters is directly determined, and the vehicle controller corresponding to the test item setting parameters is determined at the same time, and then the vehicle control function to be tested and at least one vehicle control function in the vehicle controller are matched to obtain a matched vehicle control function. At this time, the flashing test item will be constructed based on the test instance corresponding to the matched vehicle control function, that is, based on the vehicle control function to be tested and the corresponding vehicle controller (at this time, the corresponding vehicle controller can be directly determined by the test item setting parameters) at least one vehicle control function is matched, and then the matched vehicle control function is determined as a test instance, such as the vehicle control function displayed by the light curtain, and the corresponding vehicle controller is determined at the same time, and then the vehicle controller and the vehicle control function displayed by the light curtain are determined as matched vehicle control functions. Its process can also be based on the test item setting parameters to determine different vehicle control functions to be tested corresponding to the vehicle controller, and then determine the corresponding test instances based on different vehicle control functions, and then construct a complete flashing test item based on the test instance. Among them, the vehicle control function to be tested refers to at least one vehicle control function corresponding to the vehicle controller, that is, the flashing test item is directly determined based on the vehicle control function to be tested, and tested. After determining the flash test item, because the flash test item includes: request generation conditions, the request generation conditions represent the generation conditions of the flash test request, and the flash test request is used to indicate the acquisition of data. For example: if a certain vehicle control function needs to analyze the operating data of one or more vehicle controllers to implement a flash test on the vehicle control function, then the data indicated by the flash test request to be acquired is the operating data of one or more vehicle controllers described above. For example: if a certain vehicle control function needs to analyze the response of the vehicle controller to implement a flash test on the vehicle control function, then the data indicated by the flash test request to be acquired is the response result data of the vehicle controller. For example: in a flash test scenario, the flash test request may include: session request, read data request, decryption request, maintain session request, restart request and other requests.

[0047] Exemplarily, the test items and the test environment may also be determined simultaneously, thereby testing the vehicle control functions of different vehicle models and grades.

[0048] Based on the first embodiment, the second embodiment and / or the third embodiment of the vehicle flash test method, a fourth embodiment of the vehicle flash test method of the present invention is proposed, and the method is performed by a vehicle flash test device. Determining the flash test items according to the flash test setting parameters includes:

[0049] Step 250: Determine the vehicle controller corresponding to the vehicle model level, and construct a test instance for at least one vehicle control function in the vehicle controller according to the flash test setting parameters to obtain a flash test item, wherein different vehicle model levels correspond to different flash test items.

[0050] Among them, after determining the vehicle model level corresponding to the flash test setting parameters, the vehicle controller corresponding to the vehicle model level can be determined, and a test instance is constructed for at least one vehicle control function in the vehicle controller according to the flash test setting parameters to obtain a flash test item, wherein the vehicle model level refers to the level of different vehicles such as Type A vehicles, Type B vehicles, etc., such as the vehicle controller A1 corresponding to the Type A vehicle, and then a test instance is constructed for at least one vehicle control function in the vehicle controller A1 according to the flash test setting parameters, such as constructing the vehicle control function displayed by the light curtain in the vehicle controller A1 as a test instance, wherein the vehicle model level can be directly defined in the flash test setting parameters, or can be defined in other parameters or hardware, which is not limited here, and it is worth noting that the test instance can be determined based on the environment construction parameters, or the test instance can be determined based on the test item setting parameters, or the test instance can be determined based on the environment construction parameters and the test item setting parameters, or the vehicle level can be determined. The method is not limited one by one here.

[0051] For example, after determining the vehicle model level corresponding to the flash test setting parameters, the configuration level in the vehicle model level can be determined, and then the vehicle control function corresponding to the configuration level can be used as the flash test item, wherein the configuration level refers to the configuration level of different vehicles, such as low-end level, high-end level, etc. The flash test items of different vehicle models and different configuration levels under the same vehicle model level are different, that is, the test instances are different, and different vehicle model levels and different configuration levels can be processed in a targeted manner. Figure 8 , Figure 8 A schematic diagram of a flashing level of the vehicle flashing test method provided by the present invention is shown in the figure, and a schematic diagram of the test interface of the vehicle controller with a configuration level of light-sensitive skylight content is given. Further, referring to Fig. 9 , Figure 8 Another schematic diagram of the flashing level of the vehicle flashing test method provided by the present invention is shown. The figure shows a schematic diagram of the test interface of the vehicle controller at the configuration level without the light-sensitive skylight content. This is only a schematic diagram of different flashing levels, and it can also be a configuration method of other flashing levels, which is not limited here.

[0052] Furthermore, the flash test items include a flash analysis condition and a flash verification condition. A flash test is performed on at least one vehicle control function according to the flash test items to obtain a flash test result, including:

[0053] Step 310: determining a flash test request of the flash test item for at least one vehicle control function, performing a flash test on the vehicle control function based on the flash test request, and obtaining flash response data;

[0054] Step 320: Filter the flash response data based on the flash parsing conditions to obtain the flash screening data, and verify the flash screening data based on the flash verification conditions to obtain the flash test results, wherein the flash parsing conditions include data format parsing, data content parsing and data address parsing, and the flash verification conditions include data address verification, data content verification and data format verification.

[0055] After determining the test instance for testing the vehicle control function, by responding to the flash parameter instruction sent by the host computer, at least one vehicle control function corresponding to the flash test item is flashed and tested, and the flash test result will be obtained. By determining the flash test request for at least one vehicle control function of the flash test item, the vehicle control function is flashed and tested based on the flash test request to obtain the flash response data. The flash test request refers to the test request corresponding to the vehicle control function, and the flash response data refers to the data returned by the vehicle control function based on the flash test request after the vehicle controller tests it. Then, the flash test result will be obtained by screening and checking based on the flash response data, wherein the flash parsing conditions include data format parsing, data content parsing and data address parsing, and the flash verification conditions include data address verification, data content verification and data format verification to complete the flash test process. Then, it can be ensured that the flash test is completed before the vehicle is assembled, and there will be no phenomenon that the vehicle cannot realize the normal control function due to failure of the flash test after the assembly is completed, so as to reduce the cost of the entire vehicle production.

[0056] Exemplarily, the flash parameter instruction indicates that at least one vehicle control function of the vehicle controller group to be tested is to be tested. Therefore, the flash test item corresponding to the vehicle control function indicated by the flash parameter instruction can be determined according to the at least one vehicle control function indicated by the flash parameter instruction, that is, at least one flash test item, that is, the user inputs different flash parameter instructions in the host computer to represent the test of different vehicle control functions. Then, according to the request generation condition of each determined flash test item (that is, the flash test item generated previously), a flash test request corresponding to each determined flash test item is generated. Among them, the data obtained indicated by the flash test request corresponds to the corresponding flash test item, and also corresponds to the vehicle control function of the vehicle controller corresponding to the flash test item, and the flash test instruction indicates that at least one vehicle control function of the vehicle controller group to be tested is to be tested.

[0057] Exemplarily, the flash parameter instruction may be an instruction triggered by a user via a flash test button preset on the upper computer display screen and sent by the upper computer to the flash test device. If the vehicle controller group to be tested has a vehicle control function, then in the flash test scenario, the flash parameter instruction received by the flash test device will only be one type, i.e., an instruction for testing the vehicle control function.

[0058] Exemplarily, the flash test items also include: flash parsing conditions and flash verification conditions. Specifically, the flash parsing conditions are used to screen the flash response data, and the flash verification conditions are used to verify the screened flash response data to obtain the verification result of the flash response data. Specifically, after receiving the flash response data corresponding to the flash test request sent by the vehicle controller group to be tested, the received flash response data can be analyzed (screened and verified) according to the flash parsing conditions and the flash verification conditions to obtain the flash test result. It is worth noting that the flash parsing conditions include data format analysis, data content analysis and data address analysis, and the flash verification conditions include data address verification, data content verification and data format verification. There may also be other parsing and verification methods, which are not limited here.

[0059] Further, the flash response data includes bus response data and Ethernet response data, and the flash test is performed on the vehicle control function based on the flash test request to obtain the flash response data, including:

[0060] Step 311, performing a flash test on the vehicle control function based on the flash test request to determine initial flash response data, wherein the initial flash response data includes bus response data and Ethernet response data;

[0061] Step 312, performing data conversion on the bus response data or the Ethernet response data based on a preset data conversion rule to obtain format conversion data;

[0062] Step 313: perform deduplication processing based on merging the format conversion data with the bus response data or the Ethernet response data to obtain the flash response data.

[0063] Among them, when the vehicle control function is flashed and tested based on the flash test request to determine the initial flash response data, the initial flash response data will be processed to obtain the flash response data, and the initial flash response data refers to the flash response data that has not been processed (converted, deduplicated). Then, based on the bus response data or Ethernet response data in the initial flash response data, data conversion and merging and deduplication processing are performed to obtain the flash response data. That is, a single bus response data or Ethernet response data can be obtained in the end. The preset data conversion rule can be a rule for converting bus response data into Ethernet response data, or a rule for converting Ethernet response data into bus response data, and then it can be converted into the same type of data and then merged and deduplicated to obtain the flash response data.

[0064] Exemplarily, after obtaining the flash response data, the flash response data will also be processed, because the flash response data may include: bus response data and Ethernet response data, wherein the bus response data is the flash response data obtained from the bus data, such as the response data expected by the user, and its data format is the bus data format, and the Ethernet response data is the flash response data obtained from the Ethernet data, such as the response data returned by the actual vehicle controller, and its data format is the Ethernet data format. There are the same data in the bus response data and the Ethernet response data, that is, repeated response data, and there are different data, that is, non-repeated data. Therefore, in response to the flash parameter instruction sent by the host computer, according to the obtained flash test items, the vehicle control function indicated by the flash parameter instruction is flashed and tested. Before obtaining the flash response data, the flash response data can also be pre-processed to obtain more complete flash response data. Optionally, the bus response data can be format converted to obtain bus response data that has completed format conversion. Among them, the bus response data that has completed format conversion is Ethernet data. Then the bus response data and Ethernet response data that have completed format conversion are combined and deduplicated to obtain the pre-processed flash response data. That is, it is directly determined whether the response data returned by the vehicle controller is consistent with the response data expected by the user, and the test results can be quickly determined without the user having to make a lot of observations, which can greatly improve the efficiency and accuracy of the flash test.

[0065] Exemplary, after the response of the ECU (Electronic Control Unit, electronic control unit) in the vehicle controller is completed, the function items and display items of the vehicle controller group to be tested are matched and checked, and the test results are obtained. The matching check result is automatically generated and reported to the tester's mailbox for verification; at the same time, after the test results are obtained, the test results can be sent to the host computer to be presented to the user through the display interface of the host computer, so that the user can read the test results intuitively. For example, by clicking the coordinates of the button, the control of the button is realized, and the attribute elements such as resourceId, text, description, and className are located to the specified control, so as to realize the control of the control, including but not limited to single-clicking the control, double-clicking the control, and long pressing the control. The software configuration word UI button is mainly a single-click control to realize the inspection of the function. When the configuration word is finished, the completion signal instruction is sent to uiautomator2, and after receiving the signal, the UI automation test check (i.e. matching the expected result with the actual result, and displaying whether the expected result is achieved) is started, mainly for the configuration word to brush the corresponding UI item and the configuration word function to respond successfully.

[0066] Based on the first embodiment, the second embodiment, the third embodiment and / or the fourth embodiment of the vehicle flash test method, a fifth embodiment of the vehicle flash test method of the present invention is proposed, and the method is executed by a vehicle flash test device. After obtaining the flash test setting parameters sent by the host computer, it also includes:

[0067] Step S410, if the flash test setting parameters are flash test setting parameters under a plurality of different test scenarios, then based on the flash test setting parameters under the different test scenarios, the steps of determining the flash test items according to the flash test setting parameters are sequentially performed;

[0068] Step S420, if the flash test setting parameters are flash test setting parameters under multiple identical test scenarios, determine the number of executions of the flash test setting parameters under the identical test scenario, and perform the step of determining the flash test items according to the flash test setting parameters based on the number of executions.

[0069] Among them, the vehicle flash test method based on the present application can be divided into the test of the flash test setting parameters under multiple different test scenarios and the flash test setting parameters under the same test scenario. When the flash test setting parameters under multiple different test scenarios are tested, the flash test setting parameters will be determined in sequence and then the step of determining the flash test items according to the flash test setting parameters will be executed, that is, multiple vehicle control functions of the vehicle controller group will be tested at one time. The flash test setting parameters under the same test scenario will determine the number of executions of the flash test setting parameters under the same test scenario, and then the step of determining the flash test items according to the flash test setting parameters will be executed based on the number of executions, that is, the same test will be executed multiple times, which can reduce the investment in manpower costs and greatly improve the test efficiency. It is worth noting that the flash test setting parameters under the same test scenario can also be directly executed based on the number of executions to perform a flash test on at least one vehicle control function according to the flash test item to obtain the flash test result, that is, directly determine that the flash test items are the same, and perform multiple tests when the flash test items are the same, so as to realize the stress test of the vehicle flash test.

[0070] Figure 3 FIG. 2 shows a schematic diagram of the structure of an embodiment of the vehicle flashing test system of the present invention. Figure 3 As shown, the system 300 includes: a parameter processing module 310 and a flash test module 320 .

[0071] In an optional manner, the system 300 includes: an environmental parameter processing module, the environmental parameter processing module is used to

[0072] Determining configuration parameters in the flash test environment construction parameters, and configuring a flash test environment for at least one vehicle control function in the vehicle controller based on environment configuration rules in the configuration parameters;

[0073] Determine the environment setting parameters in the flash test environment construction parameters, and determine the flash test items according to the environment setting parameters and the flash test environment.

[0074] In an optional manner, the environmental parameter processing module is further used to:

[0075] Performing variable definition on the test variables in the flash test environment based on the variable definition parameters to obtain an initial test instance;

[0076] The test timing of the initial test instance is set based on the timing setting parameters to obtain a test instance, and a flash test item is constructed based on the test instance.

[0077] In an optional manner, the system 300 includes: a test item parameter processing module, wherein the test item parameter processing module is used to:

[0078] determining a vehicle control function to be tested in the test item setting parameters, determining a vehicle controller corresponding to the test item setting parameters, matching the vehicle control function to be tested with at least one vehicle control function in the vehicle controller to obtain a matched vehicle control function,

[0079] Determine a test instance corresponding to the matched vehicle control function, and construct a flash test item based on the test instance.

[0080] In an optional manner, the system 300 includes: a level parameter processing module, wherein the level parameter processing module is used to:

[0081] Determine a vehicle controller corresponding to a vehicle model level, and construct a test instance for at least one vehicle control function in the vehicle controller according to the flash test setting parameters to obtain a flash test item, wherein different vehicle model levels correspond to different flash test items.

[0082] In an optional manner, the flash test module 320 is used to:

[0083] Performing a flash test on at least one vehicle control function in the vehicle controller based on the flash test item to obtain flash response data;

[0084] The flash response data is filtered based on the flash parsing condition to obtain the flash filtering data, and the flash filtering data is verified based on the flash verification condition to obtain the flash test result, wherein the flash parsing condition includes data format parsing, data content parsing and data address parsing, and the flash verification condition includes data address verification, data content verification and data format verification.

[0085] In an optional manner, the flash test module 320 is used to:

[0086] Performing a flash test on the vehicle control function based on the flash test request to determine initial flash response data, wherein the initial flash response data includes bus response data and Ethernet response data;

[0087] Performing data conversion on the bus response data or the Ethernet response data based on a preset data conversion rule to obtain format conversion data;

[0088] The format conversion data is combined with the bus response data or the Ethernet response data for deduplication processing to obtain the flash response data.

[0089] In an optional manner, the system 300 includes: a parameter type processing module, wherein the level parameter type processing module is used to:

[0090] If the flash test setting parameters are flash test setting parameters under a plurality of different test scenarios, then the step of determining the flash test items according to the flash test setting parameters is sequentially performed based on the flash test setting parameters under the different test scenarios;

[0091] If the flash test setting parameters are flash test setting parameters under multiple identical test scenarios, the execution times of the flash test setting parameters under the identical test scenarios are determined, and the step of determining the flash test items according to the flash test setting parameters is performed based on the execution times.

[0092] In an optional manner, the system 300 includes: a result processing module, wherein the result processing module is used to:

[0093] A matching check is performed based on the functional items and display items of the vehicle controller to obtain a flashing test result.

[0094] From the above, it can be seen that the vehicle flash test system provided in the embodiment of the present invention performs a flash test on at least one vehicle control function according to the flash test items to obtain a flash test result, so as to complete the flash test of the vehicle (one or more vehicle controllers) before the vehicle is assembled, thereby avoiding the problem of only being able to flash the test after the assembly is completed, and furthermore, the flash test can be performed in advance for the vehicle before assembly to reduce the vehicle production cost.

[0095] Figure 4 The schematic diagram of the structure of an embodiment of the vehicle flashing test device of the present invention is shown. The specific embodiment of the present invention does not limit the specific implementation of the vehicle flashing test device.

[0096] like Figure 4As shown, the vehicle flash test device may include: a processor (processor) 402 , a communications interface (Communications Interface) 404 , a memory (memory) 406 , and a communication bus 408 .

[0097] The processor 402, the communication interface 404, and the memory 406 communicate with each other via the communication bus 408. The communication interface 404 is used to communicate with other devices such as a client or other server network elements. The processor 402 is used to execute the program 410, which can specifically execute the relevant steps in the above-mentioned embodiment of the vehicle flashing test method.

[0098] Specifically, the program 410 may include program code including computer executable instructions.

[0099] The processor 402 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiment of the present invention. The one or more processors included in the vehicle flashing test equipment may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.

[0100] The memory 406 is used to store the program 410. The memory 406 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0101] Program 410 can be specifically called by processor 402 to enable the vehicle flashing test device to perform the following operations:

[0102] Obtaining the flash test setting parameters sent by the host computer, and determining the flash test items according to the flash test setting parameters; wherein the flash test items include a test instance for testing at least one vehicle control function in the vehicle controller;

[0103] In response to the flash parameter instruction sent by the host computer, a flash test is performed on at least one vehicle control function according to the flash test item to obtain a flash test result.

[0104] From the above, it can be seen that the vehicle flash test equipment provided in the embodiment of the present invention can perform a flash test on at least one vehicle control function according to the flash test items, and obtain a flash test result, so as to complete the flash test of the vehicle (one or more vehicle controllers) before the vehicle is assembled, thereby avoiding the problem of only being able to flash the test after the assembly is completed, and furthermore, the flash test can be performed in advance for the vehicle before assembly to reduce the vehicle production cost.

[0105] An embodiment of the present invention provides a computer-readable storage medium, which stores at least one executable instruction. When the executable instruction is executed on a vehicle flash test device / system, the vehicle flash test device / system executes the vehicle flash test method in any of the above method embodiments.

[0106] The executable instructions can be specifically used to enable the vehicle flashing test device / system to perform the following operations:

[0107] Obtaining the flash test setting parameters sent by the host computer, and determining the flash test items according to the flash test setting parameters; wherein the flash test items include a test instance for testing at least one vehicle control function in the vehicle controller;

[0108] In response to the flash parameter instruction sent by the host computer, a flash test is performed on at least one vehicle control function according to the flash test item to obtain a flash test result.

[0109] From the above, it can be seen that the computer-readable storage medium provided in the embodiment of the present invention can execute a flash test on at least one vehicle control function according to the flash test items to obtain a flash test result, so as to complete the flash test on the vehicle (one or more vehicle controllers) before the vehicle is assembled, thereby avoiding the problem of only being able to flash the test after the assembly is completed, and thus the flash test can be performed in advance for the vehicle before assembly to reduce the vehicle production cost.

[0110] The algorithms or displays provided herein are not inherently related to any particular computer, virtual system or other device. In addition, the embodiments of the present invention are not directed to any particular programming language.

[0111] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. Similarly, in order to simplify the present invention and help understand one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, the various features of the embodiments of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. Wherein, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself is a separate embodiment of the present invention.

[0112] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and further may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive.

[0113] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of multiple such elements. The present invention may be implemented with the aid of hardware comprising several different elements and with the aid of appropriately programmed computers. In a unit claim that lists several systems, several of these systems may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.

Claims

1. A vehicle flashing test method, characterized in that: The vehicle flash test method is applied to a vehicle flash test system, the vehicle flash test system is connected to a host computer and multiple vehicle controllers, and the vehicle flash test method includes: Obtaining the flash test setting parameters sent by the host computer, and determining the flash test items according to the flash test setting parameters; wherein the flash test items include a test instance for testing at least one vehicle control function in the vehicle controller; In response to the flash parameter instruction sent by the host computer, a flash test is performed on at least one vehicle control function according to the flash test item to obtain a flash test result.

2. The vehicle flashing test method according to claim 1, characterized in that: The flash test setting parameters include flash test environment construction parameters, and determining the flash test items according to the flash test setting parameters includes: Determining configuration parameters in the flash test environment construction parameters, and configuring a flash test environment for at least one vehicle control function in the vehicle controller based on environment configuration rules in the configuration parameters; Determine the environment setting parameters in the flash test environment construction parameters, and determine the flash test items according to the environment setting parameters and the flash test environment.

3. The vehicle flashing test method according to claim 2, characterized in that: The environment setting parameters include variable definition parameters and timing setting parameters, and determining the flash test items according to the environment setting parameters and the flash test environment includes: Performing variable definition on the test variables in the flash test environment based on the variable definition parameters to obtain an initial test instance; The test timing of the initial test instance is set based on the timing setting parameters to obtain a test instance, and a flash test item is constructed based on the test instance.

4. The vehicle flashing test method according to claim 1, characterized in that: The flash test setting parameters include flash test item setting parameters, and determining the flash test items according to the flash test setting parameters includes: determining a vehicle control function to be tested in the test item setting parameters, determining a vehicle controller corresponding to the test item setting parameters, matching the vehicle control function to be tested with at least one vehicle control function in the vehicle controller to obtain a matched vehicle control function, Determine a test instance corresponding to the matched vehicle control function, and construct a flash test item based on the test instance.

5. The vehicle flashing test method according to claim 1, characterized in that: The step of determining the flash test items according to the flash test setting parameters includes: Determine a vehicle controller corresponding to a vehicle model level, and construct a test instance for at least one vehicle control function in the vehicle controller according to the flash test setting parameters to obtain a flash test item, wherein different vehicle model levels correspond to different flash test items.

6. The vehicle flashing test method according to claim 1, characterized in that: The flash test item includes a flash analysis condition and a flash verification condition. The flash test is performed on at least one vehicle control function according to the flash test item to obtain a flash test result, including: Determine a flash test request of the flash test item for at least one vehicle control function, and perform a flash test on the vehicle control function based on the flash test request to obtain flash response data; The flash response data is filtered based on the flash parsing condition to obtain the flash filtering data, and the flash filtering data is verified based on the flash verification condition to obtain the flash test result, wherein the flash parsing condition includes data format parsing, data content parsing and data address parsing, and the flash verification condition includes data address verification, data content verification and data format verification.

7. The vehicle flashing test method according to claim 6, characterized in that: The flash response data includes bus response data and Ethernet response data. The flash test is performed on the vehicle control function based on the flash test request to obtain the flash response data, including: Performing a flash test on the vehicle control function based on the flash test request to determine initial flash response data, wherein the initial flash response data includes bus response data and Ethernet response data; Performing data conversion on the bus response data or the Ethernet response data based on a preset data conversion rule to obtain format conversion data; The format conversion data is combined with the bus response data or the Ethernet response data for deduplication processing to obtain the flash response data.

8. The vehicle flashing test method according to any one of claims 1 to 7, characterized in that: After obtaining the flash test setting parameters sent by the host computer, the method further includes: If the flash test setting parameters are flash test setting parameters under a plurality of different test scenarios, then the step of determining the flash test items according to the flash test setting parameters is sequentially performed based on the flash test setting parameters under the different test scenarios; If the flash test setting parameters are flash test setting parameters under multiple identical test scenarios, the execution times of the flash test setting parameters under the identical test scenarios are determined, and the step of determining the flash test items according to the flash test setting parameters is performed based on the execution times.

9. A vehicle flashing test system, characterized in that: The vehicle flash writing test system is connected to a host computer and a plurality of vehicle controllers, and the vehicle flash writing test system comprises: A parameter processing module, used to obtain the flash test setting parameters sent by the host computer, and determine the flash test items according to the flash test setting parameters; wherein the flash test items include a test instance for testing at least one vehicle control function in the vehicle controller; The flash test module is used to respond to the flash parameter instruction sent by the host computer, perform a flash test on at least one vehicle control function according to the flash test items, and obtain a flash test result.

10. A vehicle flashing test device, characterized in that: The vehicle flash test device comprises: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other through the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the operation of the vehicle flash test method as described in any one of claims 1-8.