An intelligent driving data back-filling test method, device, equipment and storage medium

By combining local cache priority reading with cloud supplementary download, the target board is dynamically scheduled, which solves the problem of low efficiency in repeatedly downloading test data in intelligent driving data backfeeding test, and realizes efficient multi-task parallel testing and resource optimization.

CN123178251APending Publication Date: 2026-11-27VOYAH AUTOMOBILE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611156235.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-31
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In existing technologies, when testing intelligent driving data backload, the test data needs to be repeatedly downloaded from the remote end, resulting in low efficiency and making it impossible to achieve efficient multi-task parallel testing.

Method used

By detecting whether test data exists in the local cache, it prioritizes reading from the local cache and downloading from the cloud if the data is not cached. Combined with dynamic scheduling based on the real-time status of the board, it achieves efficient reuse of test data and resource optimization.

Benefits of technology

It improves the parallel processing capability and overall testing efficiency of intelligent driving data feedback testing, ensures hardware resource utilization and test execution efficiency, and realizes real-time response and data acquisition in multi-task scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123178251A_ABST
    Figure CN123178251A_ABST
Patent Text Reader

Abstract

The application discloses a kind of intelligent driving data backfill test method, device, equipment and storage medium, it is related to intelligent driving test technical field, the method comprises: at least one backfill task is generated in response to the backfill test request of user;Based on the state information of each candidate board card of current time, at least one target board card is determined from each candidate board card and is issued backfill task to it;For any target board card, if it is detected that there is the test data required for corresponding backfill task in local cache space, test data is read from local cache space;Otherwise, test data is downloaded from cloud storage space;Data backfill test is executed based on test data and target board card, and corresponding backfill test result is acquired.The application allocates backfill task to target board card dynamically, and uses local cache priority, data acquisition mode of cloud supplement, realizes the efficient acquisition of test data, improves the parallel processing capability and overall test efficiency of intelligent driving data backfill test.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent driving testing technology, and in particular to an intelligent driving data reinjection testing method, apparatus, equipment and storage medium. Background Technology

[0002] In the iterative development of intelligent driving systems, the optimization and verification of algorithms rely heavily on the retesting of massive amounts of historical scenario test data. By re-injecting the collected real road data into the intelligent driving algorithm, the processing performance and decision consistency of the algorithm under different scenarios can be evaluated.

[0003] Currently, when faced with the need for multi-task parallel testing, most backfeed testing systems require test data to be repeatedly downloaded from remote storage to the local machine, resulting in a time-consuming data acquisition process and low backfeed testing efficiency. Summary of the Invention

[0004] This application provides a method, apparatus, device, and storage medium for intelligent driving data backfilling testing, which solves the problem of low backfilling testing efficiency caused by the need for repeated remote download of test data in the prior art.

[0005] The technical solution adopted in this application is as follows: Firstly, this application provides a method for testing intelligent driving data reinjection, including: In response to a user's request for a power-back test, generate at least one power-back task; Based on the current status information of each candidate board, at least one target board is determined from each candidate board, and a backfeed task is sent to the target board. For any target board, if the test data required for the corresponding backfill task is detected in the local cache space, the test data is read from the local cache space. For any target board, if the test data required for the corresponding backfill task is not found in the local cache space, the test data will be downloaded from the cloud storage space. Based on the test data and the target board, perform a data backfeed test and obtain the corresponding backfeed test results.

[0006] In one alternative of the first aspect, the test data includes multiple data slices; Download test data from cloud storage, including: During the process of generating corresponding download tasks based on each data slice of the test data and writing each download task into the download queue, if the download task to be written corresponds to the same data slice as the download task already existing in the download queue, then the download task to be written is determined to be a duplicate download task, and the duplicate download task is deduplicated; wherein, one download task corresponds to one data slice. Downloads are performed according to the download queue, and the downloaded data slices are stored in the local cache space.

[0007] In one alternative to the first aspect, before generating corresponding download tasks based on each data slice of the test data, the method further includes: Based on the data identifier of the test data required for the backfeeding task, a slice information retrieval request is sent to the upstream server to obtain the slice information corresponding to the test data. The slice information is used to characterize each data slice included in the test data and the storage address of each data slice. The obtained slice information is verified, and a download task is generated based on the slice information after the verification is passed.

[0008] In one alternative to the first aspect, the method further includes: If slice information acquisition fails, determine the corresponding fault type; In the case of a network-related fault, perform at least one first retransmission operation until successful acquisition or the preset retry limit is reached; The first retransmission operation includes: Based on the number of retransmissions corresponding to the current retransmission operation, the current time interval corresponding to the current retransmission operation is determined; wherein, the current time interval is positively correlated with the number of retransmissions, and the time interval corresponding to the first retransmission operation is the preset initial interval; Based on the current time interval, resend the slice information retrieval request; In the case of a server error, perform at least one second resend operation until the data is successfully obtained or the preset retry limit is reached; The second retransmission operation includes: Based on a preset fixed interval, resend the slice information retrieval request.

[0009] In one alternative approach of the first aspect, based on test data and the target board, a data backfeed test is performed, including: Perform data integrity verification and data compliance verification on the test data to determine qualified data from the test data; Based on qualified data and the target board, perform data backfeeding test.

[0010] In one alternative approach of the first aspect, based on test data and the target board, a data backfeed test is performed, including: Based on the recharge mode and pipeline type corresponding to the recharge task, the algorithm modules to be run and the data flow between each algorithm module are determined. Among them, the recharge mode is used to characterize the type of intelligent driving function targeted by this recharge test, and the pipeline type is used to characterize the combination form of the algorithm modules to be run in this recharge test. Based on the test data, target board, algorithm module, and data flow, a data backfeed test is performed.

[0011] In one alternative to the first aspect, the method further includes: If the local cache space occupancy rate is detected to exceed the preset threshold, data cleanup will be performed based on the most recent access time of each test data in the local cache space until the occupancy rate is lower than the preset threshold.

[0012] Secondly, this application provides an intelligent driving data reinjection testing device, comprising: The task generation module is used to generate at least one pushback task in response to a user's pushback test request; The task scheduling module is used to determine at least one target board from the candidate boards based on the status information of each candidate board at the current time, and to send the backfeed task to the target board. The local read module is used to read test data from the local cache space if the test data required for the corresponding backfill task is detected in the local cache space for any target board. The cloud download module is used to download test data from the cloud storage space if the test data required for the corresponding backfill task is not found in the local cache space for any target board. The data reflow execution module is used to perform data reflow tests based on test data and the target board, and obtain the corresponding reflow test results.

[0013] In one alternative approach to the second aspect, the test data includes multiple data slices; The cloud download module includes: The download task management unit is used to generate corresponding download tasks for each data slice based on test data and write each download task into the download queue. If the download task to be written corresponds to the same data slice as the download task already existing in the download queue, the download task to be written is determined to be a duplicate download task, and the duplicate download task is deduplicated. Here, one download task corresponds to one data slice. The data download unit is used to perform downloads according to the download queue and store the downloaded data slices in the local cache space.

[0014] In one alternative embodiment of the second aspect, the cloud download module further includes: The slice information acquisition unit is used to send a slice information acquisition request to the upstream server based on the data identifier of the test data required by the backfeed task, so as to obtain the slice information corresponding to the test data. The slice information is used to characterize each data slice included in the test data and the storage address of each data slice. The download task generation unit is used to verify the acquired slice information and generate a download task based on the slice information after the verification is passed.

[0015] In an alternative embodiment of the second aspect, the device further includes: The fault type determination module is used to determine the corresponding fault type if the slice information acquisition fails. The network fault retransmission module is used to perform at least one first retransmission operation when the fault type is network fault, until the acquisition is successful or the preset retry limit is reached; The first retransmission operation includes: Based on the number of retransmissions corresponding to the current retransmission operation, the current time interval corresponding to the current retransmission operation is determined; wherein, the current time interval is positively correlated with the number of retransmissions, and the time interval corresponding to the first retransmission operation is the preset initial interval; Based on the current time interval, resend the slice information retrieval request; The server error retransmission module is used to perform at least one second retransmission operation when the fault type is server error, until the acquisition is successful or the preset retry limit is reached; The second retransmission operation includes: Based on a preset fixed interval, resend the slice information retrieval request.

[0016] In one alternative embodiment of the second aspect, the backfeed execution module includes: The data verification unit is used to verify the integrity and compliance of the test data in order to determine the qualified data from the test data. The test execution unit is used to perform data backflow testing based on qualified data and the target board.

[0017] In one alternative embodiment of the second aspect, the backfeed execution module includes: The pipeline configuration unit is used to determine the algorithm modules to be run and the data flow between each algorithm module based on the recharge mode and pipeline type corresponding to the recharge task. The recharge mode is used to characterize the type of intelligent driving function targeted by this recharge test, and the pipeline type is used to characterize the combination of algorithm modules to be run in this recharge test. The test execution unit is used to perform data backfeed tests based on test data, target boards, algorithm modules, and data flow.

[0018] In an alternative embodiment of the second aspect, the device further includes: The local cache cleanup module is used to clean up data based on the most recent access time of each test data in the local cache space if the local cache space occupancy rate is detected to exceed a preset threshold, until the occupancy rate is lower than the preset threshold.

[0019] Thirdly, this application provides an electronic device including a memory and a processor. The memory is used to store computer programs or instructions that, when executed by the processor, implement the method described in the first aspect or any of the alternative solutions of the first aspect.

[0020] Fourthly, this application provides a computer-readable storage medium. The storage medium stores a computer program or instructions that, when executed by a processor, implement the method described in the first aspect or any of the alternative solutions to the first aspect.

[0021] The beneficial effects of the technical solutions provided in some embodiments of this specification include at least the following: This application generates backfeeding tasks in response to user backfeeding test requests. Based on the current status information of each candidate board, it dynamically determines the target board and issues backfeeding tasks. It also employs a test data acquisition mechanism that combines prioritizing local caching with supplementary downloads from cloud storage. Unlike existing technologies where fixed and rigid board allocation and repeated remote data retrieval lead to low backfeeding efficiency, this solution dynamically schedules backfeeding tasks based on the real-time board status and leverages the collaborative mechanism of local caching and cloud storage to achieve rapid test data acquisition. This enables flexible allocation of board resources and efficient reuse of test data, allowing for parallel execution of multiple backfeeding tests while ensuring test data integrity. It balances hardware resource utilization and test execution efficiency, significantly improving the parallel processing capability and overall testing efficiency of intelligent driving data backfeeding tests. Attached Figure Description

[0022] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0023] Figure 1 A flowchart of the intelligent driving data reinjection test method provided in the embodiments of this application; Figure 2 This is a schematic diagram of the intelligent driving data reinjection test device provided in the embodiments of this application; Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0024] The embodiments of this application will now be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of this application. Furthermore, descriptions of well-known structures and technologies are omitted in the following description to avoid unnecessarily obscuring the concepts of this application.

[0025] The accompanying drawings illustrate various structural schematics according to embodiments of this application. These drawings are not to scale, and some details have been enlarged for clarity, and some details may have been omitted. The shapes of the various regions and layers shown in the drawings, as well as their relative sizes and positional relationships, are merely exemplary and may deviate from reality due to manufacturing tolerances or technical limitations. Furthermore, those skilled in the art can design regions / layers with different shapes, sizes, and relative positions as needed.

[0026] With the rapid development of intelligent driving technology and the continuous increase in the demand for iterative verification of autonomous driving algorithms, achieving efficient acquisition of test data and precise matching of dynamic scheduling of board resources in intelligent driving data backfeeding tests has become an important technical direction for improving algorithm verification efficiency and perfecting test resource management strategies. Currently, intelligent driving data backfeeding tests generally adopt the traditional technical architecture of repeatedly downloading test data from remote storage to local storage and having fixed board allocation. In actual testing, affected by the differences in test task load and changes in data demand scale (such as multi-task parallel backfeeding, massive test data injection, and reuse of the same data in different tasks), the repeated remote download of test data leads to a lengthy data acquisition process, and there is a significant dynamic difference between the actual processing capacity of the board and the resource requirements of the backfeeding task. However, when dealing with these complex test scenarios involving multi-dimensional data perception, cache status evaluation, and dynamic task scheduling, existing solutions still follow the uniform compromise mode of repeatedly downloading all data from remote storage and having fixed board allocation, resulting in long backfeeding test cycles, low data acquisition efficiency, insufficient board resource utilization, and inability to achieve real-time linkage response between local cache reuse and backfeeding task requirements.

[0027] To address the aforementioned technical problems, the inventive concept of this application is as follows: By detecting whether the test data required for the backfilling task exists in the local cache space, the cached data slices are read first from the local cache space, and the uncached data slices are downloaded from the cloud storage space; simultaneously, the real-time status information of each candidate board is collected, and the resource carrying capacity of the board is evaluated based on the real-time load, and the target board is dynamically determined to issue the backfilling task. This achieves coordinated acquisition of test data through local reuse and remote supplementation, as well as dynamic matching of board resource supply and backfilling task requirements, overcoming the shortcomings of low data acquisition efficiency and limited test resources in the traditional repeated download mode. It ensures real-time synchronization of data cache status awareness and backfilling scheduling in multi-task scenarios, improving the data acquisition efficiency and overall testing efficiency of backfilling tests.

[0028] The technical solutions of this application and how they solve the aforementioned technical problems will be described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0029] It should be noted that, in this application, "re-injection test" refers to a test method that re-injects collected real road scene data into the intelligent driving algorithm to reproduce and evaluate the algorithm's processing performance; "board" refers to a computing hardware unit (such as an FPGA (Field-Programmable Gate Array) accelerator card or a GPU (Graphics Processing Unit) board) that deploys intelligent driving algorithm modules; "data slice" refers to an independent data unit formed by dividing complete test data into preset sizes or time sequences; and "upstream server" refers to a cloud storage management server or data distribution server that provides slice information query and data distribution services.

[0030] It should be noted that the executor of this application may include, but is not limited to, a test server, a test management terminal, an edge computing node, a board controller, a local test industrial control computer, a cloud data management platform, an intelligent driving domain controller, etc.

[0031] refer to Figure 1 , Figure 1 A flowchart illustrating the intelligent driving data reinjection testing method provided in this application embodiment. Figure 1 As shown, this intelligent driving data reinjection test method includes at least the following steps: S101: In response to a user's request for a power-back test, generate at least one power-back task.

[0032] Specifically, during the intelligent driving data backfeeding test, the system first needs to receive a backfeeding test request submitted by the user, and then generate at least one backfeeding task based on the request. Each backfeeding task corresponds to one data backfeeding test. One backfeeding test request can correspond to one test batch, which contains multiple parallel test data items or test scenarios. The system generates at least one backfeeding task based on the request to support multi-path parallel backfeeding tests.

[0033] S103: Based on the status information of each candidate board at the current moment, determine at least one target board from each candidate board and send a backfeed task to the target board.

[0034] Specifically, after generating the reflow task, the status information of each candidate board at the current moment can be obtained. The status information includes at least one of the following: the current load rate, operating status, temperature, and available computing resources of the candidate board. Based on the status information, the resource carrying capacity of each candidate board is evaluated, and at least one target board is selected from the candidate boards. The generated reflow task is then sent to the target board.

[0035] S105: For any target board, if the test data required for the corresponding backfill task is detected in the local cache space, the test data is read from the local cache space.

[0036] Specifically, for any target board that has issued a backfill task, check whether the local cache space stores the test data required for the backfill task. During the check, based on the data identifier (such as file number or hash identifier) ​​of the test data required for the backfill task, query the data index of the local cache space. If the data index contains test data that matches the data identifier, it is determined that the test data exists in the local cache space, and the test data can be read directly from the local cache space.

[0037] S107: For any target board, if the test data required for the corresponding backfill task is not found in the local cache space, the test data will be downloaded from the cloud storage space.

[0038] Specifically, for any target board that has been issued a reflow task, if the test data required for the reflow task is not found in the local cache space, the test data will be downloaded from the cloud storage space.

[0039] S109: Based on the test data and the target board, perform a data backflow test and obtain the corresponding backflow test results.

[0040] Specifically, the acquired test data is input into the target board, the target board is used to perform a data backflow test, and the backflow test results corresponding to the data backflow test are obtained.

[0041] Thus, this application achieves flexible allocation of backfeeding tasks by dynamically scheduling target boards, and adopts a test data acquisition mechanism that combines local cache priority reading with cloud storage supplementary download, realizing efficient reuse of test data and dynamic optimization of board resources, significantly improving the parallel processing capability and overall test efficiency of intelligent driving data backfeeding test.

[0042] In some embodiments, the test data includes multiple data slices; Download test data from cloud storage, including: During the process of generating corresponding download tasks based on each data slice of the test data and writing each download task into the download queue, if the download task to be written corresponds to the same data slice as the download task already existing in the download queue, then the download task to be written is determined to be a duplicate download task, and the duplicate download task is deduplicated; wherein, one download task corresponds to one data slice. Downloads are performed according to the download queue, and the downloaded data slices are stored in the local cache space.

[0043] Specifically, test data is stored in the cloud storage space in the form of multiple data slices. When downloading test data from the cloud storage space, firstly, download tasks are generated according to the data slices contained in the test data required by the backfill task. During the process of writing each download task into the download queue in sequence, the download task to be written is compared with the download tasks already existing in the download queue. If the two correspond to the same data slice, the download task to be written is identified as a duplicate download task and deduplication is performed to avoid the same data slice being downloaded multiple times. One download task corresponds to one data slice. Subsequently, the download is executed sequentially according to the deduplicated download tasks in the download queue, and the downloaded data slices are stored in the local cache space for use by the backfill test.

[0044] In view of this, by deduplicating download tasks, the problem of bandwidth waste and increased download time caused by repeated downloads of the same data slice is effectively avoided in scenarios where multiple tasks are parallel backfeeding or the same test data is reused by multiple backfeeding tasks. This further improves the efficiency of test data acquisition, reduces the access pressure on cloud storage space, and ensures the effective utilization of local cache space.

[0045] In some embodiments, before generating corresponding download tasks based on each data slice of the test data, the method further includes: Based on the data identifier of the test data required for the backfeeding task, a slice information retrieval request is sent to the upstream server to obtain the slice information corresponding to the test data. The slice information is used to characterize each data slice included in the test data and the storage address of each data slice. The obtained slice information is verified, and a download task is generated based on the slice information after the verification is passed.

[0046] Specifically, before generating corresponding download tasks for each data slice based on the test data, a slice information retrieval request is first sent to the upstream server (such as a cloud storage management server or a data distribution server) based on the data identifier (such as file number, hash identifier, or Uniform Resource Identifier) ​​of the test data required for the backfeeding task. Upon receiving the request, the upstream server retrieves the corresponding test data according to the data identifier and returns the slice information for that test data. The slice information at least characterizes the slice identifier, number of slices, storage address (such as download link or storage path) of each data slice included in the test data, and the data size of each data slice. After obtaining the slice information, it is verified. The verification includes, but is not limited to, at least one of the following: completeness (such as whether the number of slices matches the expectation), validity (such as whether the storage address is accessible), and accuracy (such as checksum comparison). After successful verification, download tasks corresponding to each data slice are generated based on the storage addresses of each data slice contained in the verified slice information, so that downloads can be executed according to the download queue.

[0047] Therefore, by requesting slice information from the upstream server through data identification, precise positioning and sliced ​​management of massive test data are achieved. By verifying the slice information, the integrity and reliability of the obtained slice information are effectively guaranteed, avoiding invalid downloads or incomplete data due to missing or incorrect slice information. This improves the accuracy and success rate of test data download and provides a reliable data foundation for generating download tasks based on slice information and realizing on-demand acquisition and efficient scheduling of test data.

[0048] In some embodiments, the method further includes: If slice information acquisition fails, determine the corresponding fault type; In the case of a network-related fault, perform at least one first retransmission operation until successful acquisition or the preset retry limit is reached; The first retransmission operation includes: Based on the number of retransmissions corresponding to the current retransmission operation, the current time interval corresponding to the current retransmission operation is determined; wherein, the current time interval is positively correlated with the number of retransmissions, and the time interval corresponding to the first retransmission operation is the preset initial interval; Based on the current time interval, resend the slice information retrieval request; In the case of a server error, perform at least one second resend operation until the data is successfully obtained or the preset retry limit is reached; The second retransmission operation includes: Based on a preset fixed interval, resend the slice information retrieval request.

[0049] Specifically, after sending a slice information retrieval request to the upstream server, if the returned slice information is not received within the preset timeout period, or if an error response indicating retrieval failure is received, the slice information retrieval is deemed to have failed, and the corresponding fault type is determined based on the error response code or network status code. If the fault type is a network fault (such as network timeout, connection loss, packet loss, or other temporary network anomalies), the first retransmission operation is performed: based on the currently accumulated number of retransmissions, the current time interval corresponding to the current retransmission operation is calculated according to a rule positively correlated with the number of retransmissions (for example, the current time interval increases exponentially with the number of retransmissions), where the time interval corresponding to the first retransmission operation is the preset initial interval; after waiting for the current time interval, the slice information retrieval request is resent; the above process is repeated until retrieval is successful or the preset retry limit is reached. If the fault type is a server error (such as an internal server error or temporary unavailability), the second retransmission operation is performed: the slice information retrieval request is periodically resent at preset fixed intervals until retrieval is successful or the preset retry limit is reached.

[0050] Therefore, by differentiating between network failures and server errors and implementing differentiated retransmission strategies, the mechanism effectively avoids the additional pressure on the server caused by frequent requests during network congestion by using a backoff retransmission interval that increases with the number of retransmissions in network failure scenarios, while providing the necessary buffer time for network recovery. In server error scenarios, a fixed interval retransmission ensures that requests can be re-established promptly and stably after the server recovers. This mechanism ensures a high success rate in obtaining slice information while taking into account the reasonable control of network bandwidth resources and server load, thus improving the robustness and reliability of the data acquisition process during the backfeedback test.

[0051] In some embodiments, based on test data and the target board, a data backfeedback test is performed, including: Perform data integrity verification and data compliance verification on the test data to determine qualified data from the test data; Based on qualified data and the target board, perform data backfeeding test.

[0052] Specifically, before performing data backfeeding tests based on test data and the target board, the acquired test data is first verified for data integrity. This verification includes checking at least one of the following: whether the test data file structure is complete, whether any data fields are missing, and whether the data volume matches expectations. Simultaneously, the test data is verified for data compliance. This verification includes checking at least one of the following: whether the test data format conforms to preset standards, whether data values ​​are within valid ranges, and whether the data sequence is continuous and reasonable. After these verifications, qualified data that simultaneously meets both integrity and compliance requirements is selected from the test data. Subsequently, based on this qualified data and the target board, the data backfeeding test is performed, that is, the qualified data is injected into the target board to drive the execution of the backfeeding test.

[0053] Therefore, by verifying the integrity and compliance of the test data, incomplete data caused by transmission errors or storage anomalies, as well as abnormal data that does not meet the preset standards or value ranges, are effectively filtered out. This avoids the problem of test result distortion or board operation abnormality caused by directly using unqualified data for backfilling tests, ensuring the data quality and reliability of test results in backfilling tests, and improving the accuracy and stability of intelligent driving data backfilling tests.

[0054] In some embodiments, based on test data and the target board, a data backfeedback test is performed, including: Based on the recharge mode and pipeline type corresponding to the recharge task, the algorithm modules to be run and the data flow between each algorithm module are determined. Among them, the recharge mode is used to characterize the type of intelligent driving function targeted by this recharge test, and the pipeline type is used to characterize the combination form of the algorithm modules to be run in this recharge test. Based on the test data, target board, algorithm module, and data flow, a data backfeed test is performed.

[0055] Specifically, each data feedback task is configured with a corresponding feedback mode and pipeline type. The feedback mode characterizes the type of intelligent driving function targeted in this feedback test (e.g., adaptive cruise control, lane keeping assist, automatic emergency braking), while the pipeline type characterizes the combination of algorithm modules to be run in this feedback test (e.g., independent verification of perception modules, full-link verification of perception-prediction-control). Based on the feedback mode corresponding to the feedback task, the types of algorithm modules to be called in this feedback test are determined. Based on the pipeline type corresponding to the feedback task, the data flow relationship between each algorithm module is determined (e.g., the output data of the preceding algorithm module serves as the input data for the following algorithm module, or the algorithm modules run in parallel). Subsequently, the test data is input to the corresponding algorithm modules deployed on the target board according to the determined data flow direction, driving each algorithm module to run collaboratively according to the combination configured in the pipeline type, executing the data feedback test.

[0056] Thus, by configuring both the re-feedback mode and the pipeline type, flexible adaptation to different types of intelligent driving functions and different test verification granularities is achieved, enabling the same re-feedback test system to support various test scenarios from single-module verification to full-link integration testing. At the same time, by pre-determining the algorithm modules and data flow, the orderly flow and precise injection of test data between the various algorithm modules of the target board are ensured, improving the flexibility and targeting of the re-feedback test and meeting the diverse and hierarchical verification needs of intelligent driving algorithms.

[0057] In some embodiments, the method further includes: If the local cache space occupancy rate is detected to exceed the preset threshold, data cleanup will be performed based on the most recent access time of each test data in the local cache space until the occupancy rate is lower than the preset threshold.

[0058] Specifically, during the backflow test, the storage status of the local cache space is continuously monitored, and the ratio of used storage capacity to total storage capacity is calculated to obtain the current occupancy rate. If the occupancy rate exceeds a preset threshold (such as 80% or 90%), a cache cleanup mechanism is triggered. This mechanism cleans up data based on the most recent access time of each test data in the local cache space, that is, it cleans up the test data that has not been accessed for the longest time in order of the most recent access time, until the occupancy rate of the local cache space is lower than the preset threshold. The most recent access time can be determined by recording the timestamp of the last time each test data was read or accessed.

[0059] Based on this, by monitoring the local cache space occupancy rate in real time and automatically cleaning it up based on the most recent access time, the problem of new test data not being able to be written or the execution of the backfill task being interrupted due to the exhaustion of cache space is effectively avoided. At the same time, the least recently accessed cold data is cleaned up first, while the frequently accessed hot data is retained. This maximizes the reuse value of cached data while ensuring the availability of cache space, improves the turnover efficiency of local cache space and the cache hit rate of test data acquisition, and realizes the automated and intelligent management of cache resources.

[0060] Based on the same technical concept, this application also provides an intelligent driving data reinjection testing device, see reference. Figure 2 , Figure 2 This is a schematic diagram of the intelligent driving data reinjection test device provided in an embodiment of this application. Figure 2 As shown, the intelligent driving data reinjection test device includes at least a task generation module 201, a task scheduling module 202, a local reading module 203, a cloud download module 204, and a reinjection execution module 205, wherein: The task generation module 201 is used to generate at least one backflow task in response to a user's backflow test request; The task scheduling module 202 is used to determine at least one target board from the candidate boards based on the status information of each candidate board at the current time, and to send the backfeed task to the target board. The local reading module 203 is used to read test data from the local cache space if the test data required for the corresponding backfill task is detected in the local cache space for any target board. The cloud download module 204 is used to download test data from the cloud storage space if the test data required for the corresponding backfill task is not found in the local cache space for any target board. The backfeed execution module 205 is used to perform data backfeed tests based on test data and target boards, and obtain the corresponding backfeed test results.

[0061] In some embodiments, the test data includes multiple data slices; Cloud download module 204 includes: The download task management unit is used to generate corresponding download tasks for each data slice based on test data and write each download task into the download queue. If the download task to be written corresponds to the same data slice as the download task already existing in the download queue, the download task to be written is determined to be a duplicate download task, and the duplicate download task is deduplicated. Here, one download task corresponds to one data slice. The data download unit is used to perform downloads according to the download queue and store the downloaded data slices in the local cache space.

[0062] In some embodiments, the cloud download module 204 further includes: The slice information acquisition unit is used to send a slice information acquisition request to the upstream server based on the data identifier of the test data required by the backfeed task, so as to obtain the slice information corresponding to the test data. The slice information is used to characterize each data slice included in the test data and the storage address of each data slice. The download task generation unit is used to verify the acquired slice information and generate a download task based on the slice information after the verification is passed.

[0063] In some embodiments, the device further includes: The fault type determination module is used to determine the corresponding fault type if the slice information acquisition fails. The network fault retransmission module is used to perform at least one first retransmission operation when the fault type is network fault, until the acquisition is successful or the preset retry limit is reached; The first retransmission operation includes: Based on the number of retransmissions corresponding to the current retransmission operation, the current time interval corresponding to the current retransmission operation is determined; wherein, the current time interval is positively correlated with the number of retransmissions, and the time interval corresponding to the first retransmission operation is the preset initial interval; Based on the current time interval, resend the slice information retrieval request; The server error retransmission module is used to perform at least one second retransmission operation when the fault type is server error, until the acquisition is successful or the preset retry limit is reached; The second retransmission operation includes: Based on a preset fixed interval, resend the slice information retrieval request.

[0064] In some embodiments, the backfeed execution module 205 includes: The data verification unit is used to verify the integrity and compliance of the test data in order to determine the qualified data from the test data. The test execution unit is used to perform data backflow testing based on qualified data and the target board.

[0065] In some embodiments, the backfeed execution module 205 includes: The pipeline configuration unit is used to determine the algorithm modules to be run and the data flow between each algorithm module based on the recharge mode and pipeline type corresponding to the recharge task. The recharge mode is used to characterize the type of intelligent driving function targeted by this recharge test, and the pipeline type is used to characterize the combination of algorithm modules to be run in this recharge test. The test execution unit is used to perform data backfeed tests based on test data, target boards, algorithm modules, and data flow.

[0066] In some embodiments, the device further includes: The local cache cleanup module is used to clean up data based on the most recent access time of each test data in the local cache space if the local cache space occupancy rate is detected to exceed a preset threshold, until the occupancy rate is lower than the preset threshold.

[0067] It should be noted that this intelligent driving data reinjection test device can be used to implement any of the above-described method embodiments.

[0068] Based on the same technical concept, embodiments of this application also provide an electronic device, see reference. Figure 3 , Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 3 As shown, the electronic device includes a memory 301 and a processor 302. The memory 301 is used to store computer instructions; when the processor 302 executes the computer instructions, it implements any of the above-described method embodiments.

[0069] The memory 301 includes at least one type of computer-readable storage medium, including flash memory, hard disk, multimedia card, random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), magnetic disk, optical disk, etc. In some embodiments, the computer-readable storage medium may be an internal storage unit of an electronic device, such as the hard disk or memory of the electronic device. In other embodiments, the computer-readable storage medium may also be an external storage device of the electronic device, such as a plug-in hard disk, secure digital card (SD card), flash memory card, etc., equipped on the electronic device. Of course, the computer-readable storage medium may also include both internal storage units and external storage devices of the electronic device. In this embodiment, the computer-readable storage medium is typically used to store the operating system and various application software installed on the electronic device, such as the program code of the intelligent driving data backflow test method in this embodiment. In addition, the computer-readable storage medium can also be used to temporarily store various types of data that have been output or will be output.

[0070] In some embodiments, processor 302 may be a central processing unit (CPU), controller, microcontroller, microprocessor, or other chip. Processor 302 is typically used to control the overall operation of the electronic device, such as performing control and processing related to data interaction or communication with other entities. In this embodiment, processor 302 is used to run program code stored in memory 301 or process data.

[0071] Based on the same technical concept, this application also provides a computer-readable storage medium, which includes a computer program or instructions stored in the storage medium. When the computer program or instructions are executed by a processing device, they implement any of the above-described method embodiments. Further details can be found in the method embodiments, which will not be repeated here. In this embodiment, the computer-readable storage medium includes flash memory, hard disk, multimedia card, random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), magnetic disk, optical disk, etc. In some embodiments, the computer-readable storage medium can be an internal storage unit of an electronic device, such as the hard disk or memory of the electronic device. In other embodiments, the computer-readable storage medium can also be an external storage device of the electronic device, such as a plug-in hard disk, secure digital card (SD card), flash memory card, etc., equipped on the electronic device. Of course, the computer-readable storage medium can also include both internal storage units and external storage devices of the electronic device. In this embodiment, the computer-readable storage medium is typically used to store the operating system and various application software installed on the electronic device, such as the program code of the intelligent driving data backflow test method in the embodiment. Furthermore, the computer-readable storage medium can also be used to temporarily store various types of data that have been output or will be output.

[0072] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.

[0073] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A method for intelligent driving data reinjection testing, characterized in that, include: In response to a user's request for a power-back test, generate at least one power-back task; Based on the current status information of each candidate board, at least one target board is determined from the candidate boards, and the backfilling task is sent to the target board. For any of the target boards, if the test data required for the corresponding backfill task is detected in the local cache space, the test data is read from the local cache space. For any of the target boards, if the test data required for the corresponding backfill task is not detected in the local cache space, the test data is downloaded from the cloud storage space. Based on the test data and the target board, a data backfeed test is performed, and the corresponding backfeed test results are obtained.

2. The method according to claim 1, characterized in that, The test data includes multiple data slices; The downloading of the test data from the cloud storage space includes: During the process of generating corresponding download tasks based on each data slice of the test data and writing each download task into the download queue, if the download task to be written corresponds to the same data slice as the download task already existing in the download queue, then the download task to be written is determined to be a duplicate download task, and the duplicate download task is deduplicated; wherein, one download task corresponds to one data slice. Downloads are performed according to the download queue, and the downloaded data slices are stored in the local cache space.

3. The method according to claim 2, characterized in that, Before generating corresponding download tasks for each data slice based on the test data, the process also includes: Based on the data identifier of the test data required for the backfeeding task, a slice information acquisition request is sent to the upstream server to obtain the slice information corresponding to the test data. The slice information is used to characterize each data slice included in the test data and the storage address of each data slice. The obtained slice information is verified, and the download task is generated based on the slice information after the verification is passed.

4. The method according to claim 3, characterized in that, The method further includes: If the slice information acquisition fails, the corresponding fault type is determined; In the case of a network-related fault, at least one first retransmission operation shall be performed until successful acquisition or the preset retry limit is reached. The first retransmission operation includes: Based on the number of retransmissions corresponding to the current retransmission operation, the current time interval corresponding to the current retransmission operation is determined; wherein, the current time interval is positively correlated with the number of retransmissions, and the time interval corresponding to the first retransmission operation is a preset initial interval; Based on the current time interval, the slice information acquisition request is resent; If the fault type is a server error, perform at least one second retransmission operation until successful acquisition or the preset retry limit is reached; The second retransmission operation includes: The slice information acquisition request is resent at a preset fixed interval.

5. The method according to claim 1, characterized in that, The data backfeedback test based on the test data and the target board includes: The test data is subjected to data integrity verification and data compliance verification in order to determine qualified data from the test data; Based on the qualified data and the target board, a data backfeed test is performed.

6. The method according to claim 1, characterized in that, The data backfeedback test based on the test data and the target board includes: Based on the recharge mode and pipeline type corresponding to the recharge task, the algorithm modules to be run and the data flow between each algorithm module are determined; wherein, the recharge mode is used to characterize the type of intelligent driving function targeted by this recharge test, and the pipeline type is used to characterize the combination form of the algorithm modules to be run in this recharge test. Based on the test data, the target board, the algorithm module, and the data flow direction, a data backfeed test is performed.

7. The method according to claim 1, characterized in that, The method further includes: If the local cache space occupancy rate is detected to exceed a preset threshold, data cleanup is performed based on the most recent access time of each test data in the local cache space until the occupancy rate is lower than the preset threshold.

8. A smart driving data reinjection testing device, characterized in that, include: The task generation module is used to generate at least one pushback task in response to a user's pushback test request; The task scheduling module is used to determine at least one target board from the candidate boards based on the status information of each candidate board at the current time, and to send the backfeed task to the target board. The local reading module is used to read the test data from the local cache space if the test data required for the corresponding backfill task is detected in the local cache space for any of the target boards. The cloud download module is used to download the test data from the cloud storage space if the test data required for the corresponding backfill task is not found in the local cache space for any of the target boards. The backfeed execution module is used to perform data backfeed tests based on the test data and the target board, and obtain the corresponding backfeed test results.

9. An electronic device, characterized in that, It includes a memory and a processor, the memory being used to store computer programs or instructions; when the computer programs or instructions are executed by the processor, the method of any one of claims 1-7 is implemented.

10. A computer-readable storage medium, characterized in that, The storage medium stores a computer program or instructions, which, when executed by a processor, implement the method of any one of claims 1-7.