Data recharging method and device, electronic equipment and storage medium

By introducing graphical user interface to generate and modify data refilling instructions in the intelligent driving system, the problem of inability to modify signal values ​​in real time during data refilling is solved, the testing efficiency and data utilization are improved, and efficient data refilling and Quick iteration.

CN119166510APending Publication Date: 2024-12-20CHONGQING CHANGAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411213568.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

The data refilling process in the existing intelligent driving system does not support users to modify the signal value in real time, resulting in low utilization of test data and affecting efficiency.

Method used

Generate user instructions through the graphical user interface to obtain and modify the initial refilling data, generate target refilling data, and send it to the driving software to be tested to realize real-time modification and display of the data refilling process.

Benefits of technology

It improves the utilization rate of test data, realizes efficient data recharge, accelerates the testing and iteration speed of intelligent driving software, and improves the testing and verification efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119166510A_ABST
    Figure CN119166510A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a data recharge method and device, electronic equipment and a storage medium, and the method comprises the steps: responding to recharge configuration information inputted to a graphical user interface by a user, generating a user instruction, obtaining initial recharge data to be sent to to-be-tested driving software according to the process configuration information in the user instruction, and sending the initial recharge data to the to-be-tested driving software; according to to-be-modified data and a target data value in the user instruction, the initial recharge data is modified to obtain target recharge data, the target recharge data is sent to the to-be-tested driving software, the to-be-tested driving software is used for outputting a control signal according to the target recharge data and returning response data, and a data recharge result is determined according to the to-be-tested driving software. And displaying a data recharge result on a graphical user interface. According to the method, the driving software is subjected to the data recharge test by using the graphical user interface, so that a user can conveniently and quickly modify the signal value in real time in the data recharge process, and recharge the modified target data to the to-be-tested driving software, thereby realizing efficient data recharge.
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 vehicle testing technology, and in particular to a data re-injection method, device, electronic equipment and storage medium. Background Art

[0002] With the development of vehicle intelligence, intelligent driving technology is rapidly becoming an important part of the modern transportation system. The core of the intelligent driving system lies in its ability to perceive the surrounding environment through integrated sensors and algorithms and to accurately control the vehicle. To achieve this, it is necessary to process a large amount of dynamic data in real time and accurately, including information from traffic lights, road conditions and other vehicles.

[0003] At present, in existing intelligent driving systems, data re-injection is usually used to test intelligent driving software. Compared with real vehicle testing, this testing method can find problems earlier and is less expensive. The data re-injection in the existing technology mainly focuses on how to re-inject the processed data into the vehicle controller to achieve vehicle control. However, since it is not currently supported for users to modify signal values ​​in real time during data re-injection, a lot of data cannot be tested because some signal values ​​do not meet the requirements, so a lot of data cannot be effectively used, thereby affecting the test efficiency. Summary of the invention

[0004] One of the purposes of the present invention is to provide a data re-injection method to solve the problem that the signal value cannot be modified in real time during the data re-injection process, resulting in low test data utilization and affecting efficiency, so as to achieve efficient data re-injection; the second purpose is to provide a data re-injection device; the third purpose is to provide an electronic device; the fourth purpose is to provide a storage medium.

[0005] In order to achieve the above object, the technical solution adopted by the present invention is as follows:

[0006] A first aspect of an embodiment of the present invention provides a data re-injection method, the method comprising:

[0007] In response to the recharging configuration information inputted by the user into the graphical user interface, a user instruction is generated; wherein the user instruction includes the process configuration information, the data to be modified and the target data value;

[0008] According to the process configuration information in the user instruction, obtaining the initial re-injection data to be sent to the driving software to be tested;

[0009] Modify the initial recharge data according to the data to be modified and the target data value in the user instruction to obtain the target recharge data;

[0010] Sending the target re-injection data to the driving software to be tested; wherein the driving software to be tested is used to output a control signal and return response data according to the target re-injection data;

[0011] A data re-injection result is determined according to the driving software to be tested, and the data re-injection result is displayed on the graphical user interface.

[0012] Optionally, the user instruction is generated in response to the recharge configuration information input by the user into the graphical user interface; wherein the user instruction includes the process configuration information, the data to be modified and the target data value, including:

[0013] Monitor user input operations of pre-created graphical user interfaces;

[0014] In response to the refill configuration information input by the user into the graphical user interface, determining the process configuration information input by the user, the data to be modified, and the target data value;

[0015] The process configuration information, the data to be modified and the target data value are used to generate a user instruction.

[0016] Optionally, obtaining the initial re-injection data to be sent to the driving software to be tested according to the process configuration information in the user instruction includes:

[0017] In response to detecting a user instruction, acquiring process configuration information in the user instruction; wherein the process configuration information includes a refill start time and a refill mode;

[0018] According to the recharging start time, loading a pre-stored data file;

[0019] The initial re-injection data to be sent to the driving software to be tested is obtained in the data file according to the re-injection mode.

[0020] Optionally, after obtaining the initial recharge data to be sent to the driving software to be tested in the data file according to the recharge mode, the method further includes:

[0021] The initial re-injection data is sent to the driving software to be tested, and the driving software to be tested is controlled to use the initial re-injection data for re-injection.

[0022] Optionally, the modifying the initial recharge data according to the data to be modified and the target data value in the user instruction to obtain the target recharge data includes:

[0023] Determine the target data in the initial refill data and the modification operation on the initial refill data according to the data to be modified in the user instruction; wherein the modification operation includes frame number modification and duration modification;

[0024] Using the determined frame number modification and / or duration modification operation, the target data in the initial re-injection data is modified to modify the current data value of the target data to the target data value;

[0025] The target recharge data is generated by using the target data in the modified initial recharge data.

[0026] Optionally, the sending of the target re-injection data to the driving software to be tested, wherein the driving software to be tested is used to output a control signal and return response data according to the re-injection data, including:

[0027] Monitoring the generated target re-injection data, and controlling the re-injection process of the driving software to be tested to be suspended;

[0028] Sending the target re-injection data to the driving software to be tested, wherein the driving software to be tested outputs a control signal in response to receiving the target re-injection data, and returns response data;

[0029] The response data returned by the driving software to be tested is monitored, and the re-injection process of the driving software to be tested is controlled to stop.

[0030] Optionally, determining a data re-injection result according to the driving software to be tested, and displaying the data re-injection result on the graphical user interface includes:

[0031] It is detected that the reinjection process of the driving software to be tested stops, and the response data is used to generate a data reinjection result;

[0032] The data re-injection result is sent and displayed to the graphical user interface.

[0033] A second aspect of an embodiment of the present invention provides a data re-injection device, the device comprising:

[0034] A command generation module, for generating a user command in response to the recharging configuration information inputted by the user into the graphical user interface; wherein the user command includes the process configuration information, the data to be modified and the target data value;

[0035] A data acquisition module, used for acquiring initial re-injection data to be sent to the driving software to be tested according to the process configuration information in the user instruction;

[0036] A data modification module, used to modify the initial recharge data according to the data to be modified and the target data value in the user instruction to obtain the target recharge data;

[0037] A data sending module, used for sending the target re-injection data to the driving software to be tested; wherein the driving software to be tested is used for outputting a control signal and returning response data according to the re-injection data;

[0038] A result generation module is used to determine a data re-injection result according to the driving software to be tested, and to display the data re-injection result on the graphical user interface.

[0039] A third aspect of an embodiment of the present invention provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the data re-injection method as described in the first aspect of the embodiment of the present invention.

[0040] A fourth aspect of an embodiment of the present invention provides a readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the data re-injection method as described in the first aspect of the embodiment of the present invention are implemented.

[0041] The data re-injection method provided by the embodiment of the present invention generates a user instruction in response to the re-injection configuration information input by the user into the graphical user interface, obtains the initial re-injection data to be sent to the driving software to be tested according to the process configuration information in the user instruction, modifies the initial re-injection data according to the data to be modified and the target data value in the user instruction, obtains the target re-injection data, sends the target re-injection data to the driving software to be tested, and the driving software to be tested is used to output a control signal and return response data according to the target re-injection data, determines the data re-injection result according to the driving software to be tested, and displays the data re-injection result on the graphical user interface. The embodiment of the present invention uses a user-friendly graphical user interface to perform data re-injection testing on the driving software, so that the user can conveniently and quickly modify the signal value in real time during the data re-injection process, and automatically re-injects the modified target data to the driving software to be tested. By introducing user interaction and real-time signal modification functions, the re-injection data is effectively used to test the driving software to be tested, the test data utilization rate is improved, and efficient data re-injection is achieved, thereby accelerating the intelligent driving software testing and iteration speed, and further improving the test verification efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0043] Figure 1 is a flow chart of steps of a data re-injection method provided by an embodiment of the present invention;

[0044] Figure 2 yes Figure 1 A flowchart of step 101 of a data refill method provided by an embodiment of the present invention;

[0045] Figure 3 yes Figure 1 A flowchart of step 102 of a data refill method provided by an embodiment of the present invention;

[0046] Figure 4 yes Figure 1 A flowchart of step 103 of a data refill method provided by an embodiment of the present invention;

[0047] Figure 5 yes Figure 1 A flowchart of step 104 of a data refill method provided by an embodiment of the present invention;

[0048] Figure 6 It is a scenario schematic diagram of a data re-injection method provided by an embodiment of the present invention;

[0049] Figure 7 This is a schematic diagram of an interface of a data re-injection method provided by an embodiment of the present invention. Figure 1 ;

[0050] Figure 8 This is a schematic diagram of an interface of a data re-injection method provided by an embodiment of the present invention. Figure 2 ;

[0051] Fig. 9 A data re-injection method provided by an embodiment of the present invention is shown in FIG. Figure 3 ;

[0052] Fig.10 It is a structural block diagram of a data recharging device provided by an embodiment of the present invention;

[0053] Fig.11 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0054] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.

[0055] Reference Figure 1 , shows a flow chart of the steps of a data re-injection method provided by an embodiment of the present invention, the method may include:

[0056] Step 101 , generating a user instruction in response to the refill configuration information input by the user into the graphical user interface; wherein the user instruction includes the process configuration information, the data to be modified and the target data value.

[0057] In an embodiment of the present invention, in order to solve the problem that currently the user is not supported to modify the signal value in real time during the data re-injection process, which leads to a lot of data being unable to be tested because some signal values ​​cannot meet the requirements, and a lot of data cannot be effectively utilized, thereby affecting the test efficiency, in this embodiment, the user interacts with the data re-injection program through a graphical user interface, and the data re-injection program loads, modifies and sends data according to the received instructions, and the driving software to be tested receives the re-injected data and outputs corresponding control signals.

[0058] It should be noted that the graphical user interface can be a user-friendly graphical interface, so that the user can modify the signal value quickly and easily. The graphical user interface sends the user instructions to the data feedback program. The data feedback program loads the data according to the received instructions and sends the data to be fed back to the driving software to be tested. The driving software to be tested outputs a control signal according to the received feedback data, and outputs response data to the data feedback program. The data feedback program then sends the received response data to the graphical user interface for display, and the user can obtain the test results based on the visual information.

[0059] Specifically, refer to Figure 6 , showing a scenario schematic diagram of the data re-injection method provided by an embodiment of the present invention, the data re-injection program and the graphical user interface can be functions of the test end, the driving software to be tested is the application software on the vehicle end, and data re-injection is realized by data interaction between the test end and the vehicle end. Specifically, the user interacts with the data re-injection program through the graphical user interface, the data re-injection program processes the data according to the received instructions, and the driving software to be tested receives the re-injected data and outputs corresponding control signals.

[0060] Step 102 : acquiring initial re-injection data to be sent to the driving software to be tested according to the process configuration information in the user instruction.

[0061] In an embodiment of the present invention, the data re-injection module obtains the initial re-injection data to be sent to the driving software to be tested according to the process configuration information in the user instruction. The initial re-injection data is any data that needs to be re-injected to the driving software to be tested, and this embodiment does not specifically limit this. Specifically, in response to detecting the user instruction, the process configuration information in the user instruction is obtained; wherein the process configuration information includes the re-injection start time and the re-injection mode, and according to the re-injection start time, a pre-stored data file is loaded; and according to the re-injection mode, the initial re-injection data to be sent to the driving software to be tested in the data file is obtained.

[0062] It should be noted that, refer to Figure 7 , showing an interface diagram of a data recharging method provided by an embodiment of the present invention Figure 1 Among them, the graphical user interface includes configuration management, signal value modification, recharge process information display and recharge process management. In the configuration management module, the user can select the recharge configuration, select the recharge mode, and select the recharge data file; in the signal value modification management module, the user can add and modify the signal, delete and modify the signal, set the modified signal value, select the modification mode, set the modified number of frames or duration, in the recharge process information display module, the user can observe the status of the recharge; in the recharge process management module, the user can control the start, pause and end of the recharge process.

[0063] For example, this embodiment provides two modification modes in combination with specific application scenarios: frame number and duration. The frame number mode modifies the data of the set frame number, and the duration mode modifies the data of the set duration. The user clicks the Save button to pass the modification information to the data feedback program to execute the signal value modification.

[0064] Step 103, modifying the initial recharge data according to the data to be modified and the target data value in the user instruction to obtain the target recharge data.

[0065] In an embodiment of the present invention, the data re-injection module modifies the initial re-injection data according to the data to be modified and the target data value in the user instruction to obtain the target re-injection data, wherein the target re-injection data is the re-injection data after the user modification and processing, and is used to be re-injected to the driving software to be tested. Specifically, according to the data to be modified in the user instruction, the target data in the initial re-injection data and the modification operation on the initial re-injection data can be first determined; wherein the modification operation includes frame number modification and duration modification, and the determined frame number modification and / or duration modification operation is used to modify the target data in the initial re-injection data, and the current data value of the target data is modified to the target data value, and the target data in the modified initial re-injection data is used to generate the target re-injection data.

[0066] It should be noted that, see Figure 8 , showing an interface diagram of a data recharging method provided by an embodiment of the present invention Figure 2, the user clicks the Add Signal button of the signal value modification management module to pop up the signal selection interface, which includes a signal search bar, a signal name display area and a confirmation button. In the interface search bar, the user can search for the signal to be modified. This embodiment provides multiple search methods such as prefix search and regular search to facilitate users to quickly find the signal to be modified. I will not go into details here. In the signal name display area, the user can double-click the corresponding signal name to select the signal, and multiple selection is supported. The user can add all the signals to be modified at one time. The user clicks the confirmation button to add the signal to be modified to the signal value modification management module.

[0067] Step 104, sending the target re-injection data to the driving software to be tested; wherein the driving software to be tested is used to output a control signal and return response data according to the target re-injection data.

[0068] In an embodiment of the present invention, after the data re-injection module determines the target re-injection data, the target re-injection data is sent to the driving software to be tested through the communication between the test end and the vehicle end. The driving software to be tested is used to output a control signal according to the target re-injection data and return response data. The driving software to be tested, i.e., the intelligent driving application on the vehicle end, outputs a control signal according to the received target re-injection data. The control signal includes vehicle speed, direction control, etc. At the same time, the driving software to be tested will also send certain response data back to the data re-injection module. The response data is used to reflect the data re-injection structure of the driving software to be tested, and may specifically include sensor data, status information and other data, so that after the data re-injection module receives the response data returned by the intelligent driving application, it obtains the re-injection result and sends it to the graphical user interface for display.

[0069] Step 105 , determining a data re-injection result according to the driving software to be tested, and displaying the data re-injection result on a graphical user interface.

[0070] In the embodiment of the present invention, it is monitored that the reinjection process of the driving software to be tested stops, the response data is used to generate a data reinjection result, and the data reinjection result is sent to and displayed on the graphical user interface.

[0071] The data re-injection method provided by the embodiment of the present invention generates a user instruction in response to the re-injection configuration information input by the user into the graphical user interface, obtains the initial re-injection data to be sent to the driving software to be tested according to the process configuration information in the user instruction, modifies the initial re-injection data according to the data to be modified and the target data value in the user instruction, obtains the target re-injection data, sends the target re-injection data to the driving software to be tested, and the driving software to be tested is used to output a control signal and return response data according to the target re-injection data, determines the data re-injection result according to the driving software to be tested, and displays the data re-injection result on the graphical user interface. The embodiment of the present invention uses a user-friendly graphical user interface to perform data re-injection testing on the driving software, so that the user can conveniently and quickly modify the signal value in real time during the data re-injection process, and automatically re-injects the modified target data to the driving software to be tested. By introducing user interaction and real-time signal modification functions, the re-injection data is effectively used to test the driving software to be tested, the test data utilization rate is improved, and efficient data re-injection is achieved, thereby accelerating the intelligent driving software testing and iteration speed, and further improving the test verification efficiency.

[0072] Further, see Figure 2 , Figure 2 yes Figure 1 The method flow chart of step 101 of the data refill method provided in the embodiment of the present invention is substantially the same as the server testing method provided in the first embodiment of the present invention. Step 101 may specifically include the following steps:

[0073] Step 201 : monitoring user input operations of a pre-created graphical user interface.

[0074] Step 202 , in response to the refill configuration information input by the user into the graphical user interface, determining the process configuration information input by the user, the data to be modified, and the target data value.

[0075] Step 203, using the process configuration information, the data to be modified and the target data value to generate a user instruction.

[0076] In the embodiment of the present invention, by continuously monitoring the user input operation on the graphical user interface, the user input operation includes clicking a button, inputting text, selecting a menu item, etc., the purpose is to capture the user's intention and instructions for subsequent processing. When the user inputs the refill configuration information through the graphical user interface, the test end will parse this information to determine the process configuration information to be executed by the user, the data to be modified, and the target value of the data to be modified. It should be noted that the process configuration information includes the refill startup configuration, the refill mode, the refill data file, etc.; the data to be modified refers to the specific data items adjusted by the user during the refill process, and the target data value is the expected value that the user needs these data items to eventually reach.

[0077] Specifically, based on the reinjection configuration information input by the user into the graphical user interface, one or more user instructions will be generated. The user instructions are used to instruct the data reinjection module on how to perform specific reinjection operations. The user instructions may also include starting a specific test process, modifying a specific data value, sending data to an intelligent driving application, etc.

[0078] The embodiment of the present invention constitutes a user-friendly data reinjection process through the reinjection configuration information input by the user into the graphical user interface, so that the user can intuitively control and adjust the data reinjection test process through the graphical user interface, thereby improving the flexibility and efficiency of the test, and also allowing the user to participate in the testing of the intelligent driving software in real time, thereby accelerating the development and iteration of the software.

[0079] Further, see Figure 3 , Figure 3 yes Figure 1 The method flow chart of step 102 of the data refill method provided in the embodiment of the present invention is substantially the same as the server testing method provided in the first embodiment of the present invention. Step 102 may specifically include the following steps:

[0080] Step 301, in response to detecting a user instruction, obtaining process configuration information in the user instruction; wherein the process configuration information includes a recharge start time and a recharge mode;

[0081] Step 302, loading a pre-stored data file according to the recharging start time;

[0082] Step 303: acquiring the initial re-injection data in the data file to be sent to the driving software to be tested according to the re-injection mode.

[0083] In an embodiment of the present invention, in response to detecting a user instruction, the user instruction is parsed to obtain the process configuration information therein, wherein the process configuration information includes a recharge start time and a recharge mode, wherein the recharge start time specifies the start time of the data recharge operation, and the recharge mode defines the data recharge method, such as single recharge, intermittent recharge, and cyclic recharge, etc. According to the obtained recharge start time, a pre-stored data file is loaded at a specified time point, the data file includes initial recharge data for testing, and according to the determined recharge mode, the initial recharge data to be sent to the driving software to be tested is extracted from the loaded data file, so as to be subsequently sent to the intelligent driving application for testing.

[0084] The embodiment of the present invention obtains the initial reinjection data to be sent to the driving software to be tested in the data file through the reinjection process information configured by the user, thereby ensuring the precise control and efficient execution of the data reinjection process, so that the intelligent driving software can be tested in various preset driving scenarios.

[0085] Specifically, after obtaining the initial recharge data to be sent to the driving software to be tested in the data file according to the recharge mode, the step may also include:

[0086] The initial re-injection data is sent to the driving software to be tested, and the driving software to be tested is controlled to use the initial re-injection data for re-injection.

[0087] It should be noted that, in an embodiment of the present invention, after the initial re-injection data to be sent to the driving software to be tested is obtained in the data file according to the re-injection mode, the initial re-injection data can be sent to the driving software to be tested first, and the driving software to be tested can be controlled to use the initial re-injection data for re-injection according to the re-injection start time. If the user needs to modify the data, it can be modified in real time during the data re-injection process.

[0088] Further, see Figure 4 , Figure 4 yes Figure 1 The method flow chart of step 103 of the data refill method provided in the embodiment of the present invention is substantially the same as the server testing method provided in the first embodiment of the present invention. Step 103 may specifically include the following steps:

[0089] Step 401, determining target data in the initial refill data and a modification operation on the initial refill data according to the data to be modified in the user instruction; wherein the modification operation includes frame number modification and duration modification;

[0090] Step 402, using the determined frame number modification and / or duration modification operation to modify the target data in the initial refill data, and modifying the current data value of the target data to the target data value;

[0091] Step 403: Generate target recharging data using the target data in the modified initial recharging data.

[0092] In the embodiment of the present invention, if the user needs to modify the recharge data in real time, the user instruction includes the data to be modified, and the data recharge module determines the specific data items that need to be modified in the initial recharge data by parsing the data to be modified in the user instruction. At the same time, the modification operations for these data items are also determined, and the modification operations include frame number modification (i.e., data time series adjustment) and duration modification (i.e., data duration adjustment).

[0093] Specifically, according to the determined modification operation, the target data in the initial re-injection data is modified accordingly. For example, if the user instruction requires adjustment of the time series of a certain data (frame number modification), the time points of the data are rearranged; if the user instruction requires adjustment of the duration of the data (duration modification), the time length of the data is extended or shortened according to the duration modification operation. Through these modifications, the current data value of the target data will be adjusted to the target data value specified by the user. After completing the modification of the initial re-injection data, the modified target data is used to generate the target re-injection data, and the target re-injection data is used to send to the driving software to be tested for subsequent testing and verification.

[0094] In the embodiment of the present invention, during the data re-injection process, the target data in the initial re-injection data is modified in response to the user's modification instruction to generate the target re-injection data, thereby ensuring the flexibility and accuracy of the data re-injection process, allowing the user to make detailed adjustments to the data according to the test requirements, improving the test data utilization rate, and realizing efficient data re-injection.

[0095] Further, see Figure 5 , Figure 5 yes Figure 1 The method flow chart of step 104 of the data refill method provided in the embodiment of the present invention is substantially the same as the server testing method provided in the first embodiment of the present invention. Step 104 may specifically include the following steps:

[0096] Step 501, monitoring the generated target re-injection data, and controlling the re-injection process of the driving software to be tested to be suspended;

[0097] Step 502, sending the target re-injection data to the driving software to be tested, wherein the driving software to be tested outputs a control signal in response to receiving the target re-injection data, and returns response data;

[0098] Step 503: monitoring the response data returned by the driving software to be tested, and controlling the re-injection process of the driving software to be tested to stop.

[0099] In an embodiment of the present invention, after monitoring the generation of target re-injection data, the re-injection process of the driving software under test can be temporarily stopped to ensure that the driving software under test is in a stable state before sending new target re-injection data, thereby sending the generated target re-injection data to the driving software under test, wherein the driving software under test will output corresponding control signals according to the data content after receiving the data, such as adjusting the speed and direction of the vehicle, etc. At the same time, the driving software under test will also return response data, and the response data includes software status information, sensor data, execution results, etc., which are not elaborated here.

[0100] Specifically, after monitoring the response data returned by the driving software to be tested, the feedback process is controlled to stop, that is, the current test phase has been completed, or further analysis and adjustment are required based on the response data. It should be noted that stopping the feedback process is to ensure the accuracy of the test data and the controllability of the test process.

[0101] The embodiment of the present invention controls the pause and stop of the reinjection process of the driving software to be tested according to the data reinjection situation, thereby ensuring the precise control and efficient execution of the data reinjection process, enabling the intelligent driving software to be tested under various preset driving scenarios, and ensuring the reliability and safety of data reinjection in practical applications.

[0102] Specifically, step 105 determines the data re-injection result according to the driving software to be tested, and displays the data re-injection result on the graphical user interface, which may specifically include the following steps:

[0103] First, it is detected that the reinjection process of the driving software to be tested stops, and the response data is used to generate a data reinjection result;

[0104] Secondly, the data re-injection result is sent and displayed to the graphical user interface.

[0105] In an embodiment of the present invention, it is monitored that the re-injection process of the driving software to be tested has stopped. Once it is confirmed that the re-injection process has stopped, the response data received from the driving software to be tested will be used to generate data re-injection results. The re-injection results include the execution status of the software, the output of the control signal, the processing of the sensor data, etc. The generated data re-injection results are sent and displayed on the graphical user interface. The user can intuitively view and analyze the test results through the interface. In this embodiment, the graphical user interface can display data in the form of charts, tables, logs, etc., so that the user can clearly understand the performance of the driving software to be tested in a specific test scenario. This embodiment does not specifically limit this.

[0106] The embodiment of the present invention ensures the transparency and accessibility of the data re-injection results by sending and displaying the data re-injection results to the graphical user interface, so that users can monitor the test progress and results in real time. Furthermore, developers can promptly discover and solve problems in the software, thereby accelerating the development and iteration process of intelligent driving software.

[0107] In order to enable those skilled in the art to more clearly understand the overall process of the data re-injection method disclosed in the above embodiments of the present invention, refer to Fig. 9, taking the schematic diagram of the data recharge method provided by the embodiment of the present invention as an example for explanation: the user selects the recharge configuration and recharge mode in the configuration management module, the user clicks the file selection button in the configuration management module, and selects the data file to be recharged; the user clicks the add signal button in the signal value modification management module, and a signal selection interface pops up. In the signal selection interface, the user can filter the signal to be modified, the user selects the signal to be modified in the signal selection interface, and clicks the confirmation button to complete the selection; the user sets the modification parameters in the signal value modification management module, including the desired modified value, the modification mode, and the modified number of frames or duration; the user clicks the save button in the signal value modification management module to set the modification parameters; the user clicks the start button in the recharge process management module to start recharge.

[0108] Reference Fig.10 , shows a structural block diagram of a data recharging device provided by an embodiment of the present invention, the device may include:

[0109] A generating instruction module 601 is used to generate a user instruction in response to the recharging configuration information input by the user into the graphical user interface; wherein the user instruction includes the process configuration information, the data to be modified and the target data value;

[0110] The data acquisition module 602 is used to acquire the initial re-injection data to be sent to the driving software to be tested according to the process configuration information in the user instruction;

[0111] The data modification module 603 is used to modify the initial recharge data according to the data to be modified and the target data value in the user instruction to obtain the target recharge data;

[0112] The data sending module 604 is used to send the target re-injection data to the driving software to be tested; wherein the driving software to be tested is used to output a control signal according to the re-injection data and return response data;

[0113] The result generation module 605 is used to determine the data re-injection result according to the driving software to be tested, and display the data re-injection result on the graphical user interface.

[0114] Furthermore, the generating instruction module 601 includes:

[0115] A first monitoring submodule, used for monitoring user input operations of a pre-created graphical user interface;

[0116] A first determination submodule, for determining the process configuration information, the data to be modified, and the target data value input by the user in response to the refill configuration information input by the user into the graphical user interface;

[0117] The first generating submodule is used to generate a user instruction by using the process configuration information, the data to be modified and the target data value.

[0118] Furthermore, the data acquisition module 602 includes:

[0119] A first acquisition submodule is used to acquire the process configuration information in the user instruction in response to detecting the user instruction; wherein the process configuration information includes the recharge start time and the recharge mode;

[0120] A loading submodule, used for loading a pre-stored data file according to the recharging start time;

[0121] The second acquisition submodule is used to acquire the initial re-injection data in the data file to be sent to the driving software to be tested according to the re-injection mode.

[0122] Furthermore, the data acquisition module 602 further includes:

[0123] The control submodule is used to send the initial re-injection data to the driving software to be tested, and control the driving software to be tested to use the initial re-injection data for re-injection.

[0124] Furthermore, the data modification module 603 includes:

[0125] A second determination submodule is used to determine the target data in the initial recharge data and the modification operation on the initial recharge data according to the data to be modified in the user instruction; wherein the modification operation includes frame number modification and duration modification;

[0126] A modification submodule, used to modify the target data in the initial refilled data by adopting a determined frame number modification and / or duration modification operation, and modify the current data value of the target data to the target data value;

[0127] The second generating submodule is used to generate target recharging data by using the target data in the modified initial recharging data.

[0128] Furthermore, the data sending module 604 includes:

[0129] A second monitoring submodule is used to monitor the generated target re-injection data and control the re-injection process of the driving software to be tested to be suspended;

[0130] A sending submodule, used for sending the target re-injection data to the driving software to be tested, wherein the driving software to be tested outputs a control signal in response to receiving the target re-injection data, and returns response data;

[0131] The third monitoring submodule is used to monitor the response data returned by the driving software to be tested, and control the re-injection process of the driving software to be tested to stop.

[0132] Furthermore, the generating result module 605 includes:

[0133] A third generating submodule is used to monitor that the reinjection process of the driving software to be tested stops, and use the response data to generate a data reinjection result;

[0134] The display submodule is used to send and display the data re-injection result to the graphical user interface.

[0135] The data re-injection device provided in the embodiment of the present invention generates a user instruction in response to the re-injection configuration information input by the user into the graphical user interface, obtains the initial re-injection data to be sent to the driving software to be tested according to the process configuration information in the user instruction, modifies the initial re-injection data according to the data to be modified and the target data value in the user instruction, obtains the target re-injection data, sends the target re-injection data to the driving software to be tested, and the driving software to be tested is used to output a control signal and return response data according to the target re-injection data, determines the data re-injection result according to the driving software to be tested, and displays the data re-injection result on the graphical user interface. The embodiment of the present invention uses a user-friendly graphical user interface to perform data re-injection testing on the driving software, so that the user can conveniently and quickly modify the signal value in real time during the data re-injection process, and automatically re-injects the modified target data to the driving software to be tested. By introducing user interaction and real-time signal modification functions, the re-injection data is effectively used to test the driving software to be tested, the test data utilization rate is improved, and efficient data re-injection is achieved, thereby accelerating the intelligent driving software testing and iteration speed, and further improving the test verification efficiency.

[0136] Reference Fig.11 , an embodiment of the present invention further provides an electronic device, such as Fig.11 As shown, it includes a processor 701, a communication interface 702, a memory 703 and a communication bus 704, wherein the processor 701, the communication interface 702, and the memory 703 communicate with each other through the communication bus 704.

[0137] Memory 703, used for storing computer programs;

[0138] The processor 701 is used to execute the program stored in the memory 703 to implement the following steps:

[0139] In response to the recharging configuration information inputted by the user into the graphical user interface, a user instruction is generated; wherein the user instruction includes the process configuration information, the data to be modified and the target data value;

[0140] According to the process configuration information in the user instruction, obtaining the initial re-injection data to be sent to the driving software to be tested;

[0141] Modify the initial recharge data according to the data to be modified and the target data value in the user instruction to obtain the target recharge data;

[0142] Sending the target re-injection data to the driving software to be tested; wherein the driving software to be tested is used to output a control signal and return response data according to the target re-injection data;

[0143] A data re-injection result is determined according to the driving software to be tested, and the data re-injection result is displayed on the graphical user interface.

[0144] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0145] The communication interface is used for communication between the above terminal and other devices.

[0146] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0147] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0148] In another embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium stores instructions. When the instructions are executed on a computer, the computer executes the data re-injection method described in any one of the above embodiments.

[0149] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.

[0150] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0151] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0152] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A data re-injection method, characterized in that: The method comprises: In response to the recharging configuration information inputted by the user into the graphical user interface, a user instruction is generated; wherein the user instruction includes the process configuration information, the data to be modified and the target data value; According to the process configuration information in the user instruction, obtaining the initial re-injection data to be sent to the driving software to be tested; Modify the initial recharge data according to the data to be modified and the target data value in the user instruction to obtain the target recharge data; Sending the target re-injection data to the driving software to be tested; wherein the driving software to be tested is used to output a control signal and return response data according to the target re-injection data; A data re-injection result is determined according to the driving software to be tested, and the data re-injection result is displayed on the graphical user interface.

2. The method according to claim 1, characterized in that The method generates a user instruction in response to the recharge configuration information input by the user into the graphical user interface; wherein the user instruction includes the process configuration information, the data to be modified and the target data value, including: Monitor user input operations of pre-created graphical user interfaces; In response to the refill configuration information input by the user into the graphical user interface, determining the process configuration information input by the user, the data to be modified, and the target data value; The process configuration information, the data to be modified and the target data value are used to generate a user instruction.

3. The method according to claim 1, characterized in that The obtaining, according to the process configuration information in the user instruction, the initial re-injection data to be sent to the driving software to be tested comprises: In response to detecting a user instruction, acquiring process configuration information in the user instruction; wherein the process configuration information includes a refill start time and a refill mode; According to the recharging start time, loading a pre-stored data file; The initial re-injection data to be sent to the driving software to be tested is obtained in the data file according to the re-injection mode.

4. The method according to claim 3, characterized in that After obtaining the initial recharge data to be sent to the driving software to be tested in the data file according to the recharge mode, the method further includes: The initial re-injection data is sent to the driving software to be tested, and the driving software to be tested is controlled to use the initial re-injection data for re-injection.

5. The method according to claim 1, characterized in that The step of modifying the initial recharge data according to the data to be modified and the target data value in the user instruction to obtain the target recharge data includes: Determine the target data in the initial refill data and the modification operation on the initial refill data according to the data to be modified in the user instruction; wherein the modification operation includes frame number modification and duration modification; Using the determined frame number modification and / or duration modification operation, the target data in the initial re-injection data is modified to modify the current data value of the target data to the target data value; The target recharge data is generated by using the target data in the modified initial recharge data.

6. The method according to claim 1, characterized in that The step of sending the target re-injection data to the driving software to be tested, wherein the driving software to be tested is used to output a control signal and return response data according to the re-injection data, including: Monitoring the generated target re-injection data, and controlling the re-injection process of the driving software to be tested to be suspended; Sending the target re-injection data to the driving software to be tested, wherein the driving software to be tested outputs a control signal in response to receiving the target re-injection data, and returns response data; The response data returned by the driving software to be tested is monitored, and the re-injection process of the driving software to be tested is controlled to stop.

7. The method according to claim 1, characterized in that The step of determining a data re-injection result according to the driving software to be tested, and displaying the data re-injection result on the graphical user interface includes: It is detected that the reinjection process of the driving software to be tested stops, and the response data is used to generate a data reinjection result; The data re-injection result is sent and displayed to the graphical user interface.

8. A data refill device, characterized in that: The device comprises: A command generation module, for generating a user command in response to the recharging configuration information inputted by the user into the graphical user interface; wherein the user command includes the process configuration information, the data to be modified and the target data value; A data acquisition module, used for acquiring initial re-injection data to be sent to the driving software to be tested according to the process configuration information in the user instruction; A data modification module, used to modify the initial recharge data according to the data to be modified and the target data value in the user instruction to obtain the target recharge data; A data sending module, used for sending the target re-injection data to the driving software to be tested; wherein the driving software to be tested is used for outputting a control signal and returning response data according to the re-injection data; A result generation module is used to determine a data re-injection result according to the driving software to be tested, and to display the data re-injection result on the graphical user interface.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the computer program is executed by the processor, the data re-injection method according to any one of claims 1 to 7 is implemented.

10. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by a processor, the data re-injection method according to any one of claims 1 to 7 is implemented.