A data processing method and device based on vehicle test, electronic equipment and storage medium
By automatically matching the data processing link with the pre-built pipeline layout diagram, the problem of low data processing efficiency in traditional vehicle bench tests is solved, realizing real-time flow and efficient processing of test data, and adapting to batch testing under multiple batches and multiple working conditions.
Patent Information
- Application Number
- CN202611370689.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-04
- Publication Date
- 2026-11-27
AI Technical Summary
Traditional vehicle bench test data processing methods are inefficient and cannot meet the needs of batch testing with multiple batches and multiple operating conditions. Furthermore, the manual selection mode causes the data processing pace to lag behind the test progress.
By pre-constructing a pipeline arrangement diagram containing multiple data processing links, the target data processing link is automatically matched based on the equipment parameters and test parameters in the test document, enabling real-time flow and processing of test data.
It significantly improves the data processing efficiency of the entire bench test process, adapts to the batch testing needs of multiple batches and multiple working conditions, reduces the link adaptation cycle, and improves the accuracy and stability of data processing.
Smart Images

Figure CN123175644A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, and in particular to a data processing method, apparatus, electronic device and storage medium based on vehicle testing. Background Technology
[0002] In existing technologies, in order to ensure the standardization and consistency of vehicle bench test data processing, and to complete the protocol parsing, outlier cleaning, feature calculation and result archiving of raw test data, corresponding data processing programs are usually provided for the test. The processing logic and parameter rules of data flow are standardized, so as to stably output standardized processing results under suitable equipment and scenarios, and provide effective data support for vehicle performance verification and component reliability assessment.
[0003] However, when traditional technologies build vehicle test data processing workflows, they generally adopt a fixed mode of single-scenario customized development. That is, for specific models of acquisition equipment and fixed test conditions, a dedicated data processing workflow chain is written. Before the test is officially carried out, the operator manually checks the equipment parameters and test requirements, manually selects the matching processing link, and then imports the test data to complete the entire process.
[0004] Because traditional technologies rely entirely on manual parameter comparison and link selection, when changing test equipment or switching test conditions, manual re-adjustment and modification of processing logic are required, sometimes even developing entirely new data processing links from scratch. Therefore, the traditional manual selection model cannot simultaneously complete link matching and processing initiation at the start of the test. The overall data processing pace lags behind the test progress, ultimately resulting in low data processing efficiency throughout the bench test process, making it difficult to adapt to the batch testing needs of multiple batches and multiple operating conditions. Summary of the Invention
[0005] The main purpose of this application is to propose a data processing method, device, electronic equipment and storage medium based on vehicle testing. Through the selection mechanism of automatic parameter matching, the data can be directly connected to the link for real-time processing during the test operation, which solves the problem that the data processing rhythm lags behind the test progress in traditional technology, significantly improves the data processing efficiency of the entire bench test process, and can adapt to the batch testing needs of multiple batches and multiple working conditions.
[0006] To achieve the above objectives, one aspect of this application proposes a data processing method based on vehicle testing, the method comprising: Upon receiving a test instruction for the vehicle, obtain the test document corresponding to the test instruction; Extract the equipment parameters and test parameters from the test documents; Based on the equipment parameters and the test parameters, a target data processing link is matched from a preset pipeline arrangement diagram; wherein, the pipeline arrangement diagram consists of multiple different data processing links; each data processing link corresponds to a device adaptation tag and a test scenario tag; When executing the test task corresponding to the test document, the test data collected in real time is imported into the target data processing link, and the test data is processed based on the target data processing link.
[0007] Furthermore, in some embodiments, matching the target data processing link from a preset pipeline arrangement diagram based on the device parameters and the test parameters includes: Extract the parameter dimension items from the device parameters; wherein, the parameter dimension items include: device type, firmware version, and communication protocol information; Extract the tag items from the device adaptation tag; wherein, the tag items include: device type tag, firmware version protocol, and communication protocol tag; The device type, firmware version, and communication protocol information are compared with the device type tag, firmware version, and communication protocol tag in each data processing link. Data processing links with the same tag items and parameter dimension items are marked as candidate data processing links. Based on the test stage, working condition type, and test duration in the test parameters, a matching degree is calculated with the test scenario label in each candidate data processing link to generate a target matching degree corresponding to each candidate data processing link; wherein, the test scenario label includes: test stage label, working condition type label, and duration interval label; The candidate data processing link corresponding to the highest target matching degree is taken as the target data processing link.
[0008] Furthermore, in some embodiments, the step of calculating the matching degree between the test stage, working condition type, and test duration in the test parameters and the test scenario label in each candidate data processing link, to generate a target matching degree corresponding to each candidate data processing link, includes: For each candidate data processing link, a first matching degree is calculated based on the matching degree between the test stage and the test stage label; The second matching degree is calculated based on the degree of matching between the working condition type and the working condition type label; The third matching degree is calculated based on the matching relationship between the test duration and the duration interval corresponding to the duration interval label; Based on the first matching degree, the second matching degree, and the third matching degree, the target matching degree is generated by weighting and fusing them with the first weight corresponding to the test stage, the second weight corresponding to the working condition type, and the third weight corresponding to the test duration; wherein the first weight is greater than the second weight; and the second weight is greater than the third weight.
[0009] Furthermore, in some embodiments, the target data processing link is a directed acyclic graph topology and has multiple parallel task branches; each task branch corresponds to a functional attribute. The process of transferring and processing the test data based on the target data processing link includes: Through the main link nodes of the target data processing link, extract the feature parameters corresponding to each of the functional attributes in the test data; For each task branch, the feature parameter is compared with the branch start threshold and branch close threshold corresponding to the functional attribute; wherein, the branch start threshold is greater than the branch close threshold. If the feature parameters are all less than the branch closure threshold within the preset sampling period, stop distributing the test data to the task branch and suspend all task processing nodes under the task branch. If the feature parameters are all greater than the branch activation threshold within the preset sampling period, and the task branch is in a suspended state, all task processing nodes under the task branch are activated, and the distribution operation of the test data to the task branch is restored. If the feature parameters are all within the threshold range consisting of the branch closure threshold and the branch activation threshold within the preset sampling period, the current suspended or active state of the task branch is maintained.
[0010] Furthermore, in some embodiments, the functional attributes include: vibration analysis functional attributes; the branch closure threshold includes: a vibration amplitude lower limit threshold; If the feature parameters are all less than the branch closure threshold within a preset sampling period, the distribution of the test data to the task branch is stopped, including: Extract the vibration acceleration amplitude from the feature parameters that corresponds to the vibration analysis function attribute, and compare the vibration acceleration amplitude with the vibration amplitude lower limit threshold. When it is determined that the vibration acceleration amplitude is less than the lower limit threshold of the vibration amplitude within a preset sampling period, a branch shutdown trigger signal is generated. Based on the branch closure trigger signal, stop sending test data to the task branch corresponding to the vibration analysis function attribute, and suspend all task processing nodes under the task branch corresponding to the vibration analysis function attribute.
[0011] Furthermore, in some embodiments, calculating the third matching degree based on the matching relationship between the test duration and the duration interval corresponding to the duration interval label includes: Determine whether the test duration falls within the specified duration range; If so, the preset matching degree value is used as the third matching degree; If not, extract the midpoint value of the time interval, and calculate the third matching degree based on the test duration and the midpoint value.
[0012] Furthermore, in some embodiments, calculating the third matching degree based on the test duration and the midpoint value includes: The third matching degree is calculated according to the following formula: ; in, The third degree of matching; For the duration of the experiment, Indicates a time interval. This is the midpoint of the time interval.
[0013] To achieve the above objectives, another aspect of this application proposes a data processing apparatus based on vehicle testing, the apparatus comprising: The test document acquisition module is used to acquire the test document corresponding to the test instruction when a test instruction for a vehicle is received. The parameter extraction module is used to extract the equipment parameters and test parameters from the test document. The processing link determination module is used to match the target data processing link from a preset pipeline arrangement diagram based on the device parameters and the test parameters; wherein, the pipeline arrangement diagram consists of multiple different data processing links; each data processing link corresponds to a device adaptation tag and a test scenario tag; The test data transfer module is used to import the real-time collected test data into the target data processing link when executing the test task corresponding to the test document, and to perform the transfer processing of the test data based on the target data processing link.
[0014] To achieve the above objectives, another aspect of this application provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the aforementioned data processing method based on vehicle testing.
[0015] To achieve the above objectives, another aspect of the embodiments of this application proposes a computer-readable storage medium storing a computer program that, when executed by a processor, implements the aforementioned data processing method based on vehicle testing.
[0016] The embodiments of this application include at least the following beneficial effects: This application provides a data processing method, apparatus, electronic device, and storage medium based on vehicle testing. This solution pre-constructs a pipeline arrangement diagram containing multiple differentiated data processing links. Upon receiving a vehicle testing instruction, it synchronously retrieves the corresponding test document, extracting equipment parameters and test parameters from the test document as a matching basis. Subsequently, it automatically matches the appropriate target data processing link from the pre-constructed pipeline arrangement diagram. During the execution of the test task, the real-time collected test data is synchronously imported into the target data processing link, completing the entire process of test data flow processing. Compared with traditional technologies, this application can replace the fixed link mode of single-scenario targeted development based on a pre-stored multi-scenario processing link pipeline arrangement diagram. It eliminates the need to build the processing flow from scratch when changing test equipment or switching test conditions. Instead, it replaces manual parameter verification and manual link selection through an automatic parameter matching selection mechanism. Meanwhile, the link matching in this application is completed synchronously during the test start-up phase. During the test operation, the data can be directly accessed and processed in real time, which solves the problem that the data processing rhythm lags behind the test progress in traditional technologies. It effectively shortens the adaptation cycle of the data processing link under different test scenarios, significantly improves the data processing efficiency of the entire bench test process, and can adapt to the batch testing needs of multiple batches and multiple working conditions. Attached Figure Description
[0017] Figure 1 This is a schematic flowchart of a data processing method based on vehicle testing provided in an embodiment of this application; Figure 2 This is a schematic diagram of the vehicle test data processing system architecture based on pipeline orchestration provided in an embodiment of this application; Figure 3 This is a schematic diagram of the structure of a data processing device based on vehicle testing provided in an embodiment of this application; Figure 4 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0018] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit it. In the following description, when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with those of this application; they are merely examples of apparatuses and methods consistent with some aspects of the embodiments of this application as detailed in the appended claims.
[0019] It is understood that the terms “first,” “second,” etc., used in this application may be used herein to describe various concepts, but unless otherwise stated, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, without departing from the scope of the embodiments of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the words “if,” “when,” or “in response to a determination” as used herein may be interpreted as “when…” or “when…” or “in response to a determination.”
[0020] As used in this application, the terms "several", "each", etc., "several" include one, two or more, "each" refers to each of the corresponding plurality, and "any" refers to any one of the plurality.
[0021] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0022] Before providing a detailed description of the embodiments of this application, some of the nouns and terms involved in the embodiments of this application will be explained first. The nouns and terms involved in the embodiments of this application are subject to the following interpretations.
[0023] (1) Pipeline arrangement diagram refers to a pre-constructed set of multiple independently operable data processing links. Each data processing link is based on a directed acyclic graph topology. Each link corresponds to different equipment adaptation conditions and test scenarios, and can be directly called for matching according to actual test requirements. (2) Task processing node, the smallest functional unit in the data processing link. Each node encapsulates an independent data processing capability, such as protocol parsing, outlier removal, filtering and noise reduction, feature extraction or statistical analysis, etc. Multiple task processing nodes are connected in the order of business logic to form a complete data processing link. (3) Device adaptation tag, which is a hardware attribute identifier bound to each data processing link. It is used to mark the hardware conditions such as the type of device, firmware version and communication protocol that the link is compatible with. It is the basis for screening hardware dimensions in the link matching stage. (4) Test scenario tag, which is a business attribute identifier bound to each data processing link. It is used to mark the test stage, working condition type and duration range of the applicable business scenario conditions of the link. It is the basis for sorting the business dimensions of the link matching stage.
[0024] Currently, data processing in vehicle bench testing generally adopts a fixed-link development model. This means that a dedicated data processing program is pre-written for specific test equipment and fixed test scenarios, and the test data is parsed, cleaned, calculated, and stored according to a pre-set fixed process. However, the above-mentioned traditional processing solutions have significant limitations in multi-device or multi-scenario test environments. On the one hand, when changing test equipment or adjusting test conditions, manual modification and debugging of the processing program are required, resulting in long link adaptation cycles and low configuration efficiency, making it difficult to meet the production needs of batch bench testing. On the other hand, the selection of processing links depends on the operator's personal experience, which can easily lead to problems such as incompatible equipment firmware versions or deviations in operating condition adaptation, resulting in data parsing failures or large errors in processing results, making it difficult to guarantee the stability and accuracy of data processing.
[0025] In view of this, this application provides a data processing method, device, electronic device and storage medium based on vehicle testing. This solution pre-constructs a pipeline arrangement diagram containing multiple data processing links, and automatically matches and adapts the target data processing link based on the equipment parameters and test parameters in the test document. It eliminates the need for manual configuration and debugging of the processing flow, and can quickly complete the adaptation of data processing links under different devices and different test scenarios. It effectively solves the technical problems of low configuration efficiency and poor adaptation accuracy of traditional solutions, and improves the efficiency and stability of vehicle test data processing.
[0026] Figure 1 This is an optional flowchart of a data processing method based on vehicle testing provided in an embodiment of this application. Figure 1 The method may include, but is not limited to, steps S1 to S4: Step S1: Upon receiving a test instruction for the vehicle, obtain the test document corresponding to the test instruction; To illustrate, when the host computer issues the start command for the vehicle bench test, it can automatically retrieve the test document corresponding to the test task. The test document contains pre-structured storage of hardware information such as the acquisition equipment and controllers used in this test, as well as business information such as the test stage, working condition planning and test objectives, which serve as the input basis for subsequent link matching.
[0027] Step S2: Extract the equipment parameters and test parameters from the test document; In illustratively, this invention parses the fields of structured test documents to extract device dimension parameters for hardware compatibility determination and test dimension parameters for business scenario adaptation, providing basic input data for subsequent link matching.
[0028] Step S3: Based on the equipment parameters and the test parameters, match the target data processing link from the preset pipeline arrangement diagram; wherein, the pipeline arrangement diagram consists of multiple different data processing links; each data processing link corresponds to a device adaptation tag and a test scenario tag; In this invention, the pre-defined pipeline layout diagram stores multiple data processing links configured for different devices and test scenarios. Each link is bound to a corresponding device adaptation tag and test scenario tag. This step uses the extracted device parameters and test parameters as matching criteria. Through tag comparison and matching degree calculation, the target data processing link most suitable for this test can be selected from the full set of links, eliminating the need for manual setup and debugging of the processing flow.
[0029] Step S4: When executing the test task corresponding to the test document, import the real-time collected test data into the target data processing link, and perform the flow processing of the test data based on the target data processing link.
[0030] To illustrate, once the experiment is officially started, the raw test data generated in real time by the test bench acquisition equipment can be directly imported into the matched target data processing link. The entire process of data parsing, cleaning, feature calculation, and result output is completed according to the preset node sequence of the link, realizing the synchronous execution of the test operation and data processing, and ensuring the real-time performance of data processing.
[0031] For example, in an optional application scenario, for a passenger car shock absorber durability bench test, after the host computer issues a test start command, it can automatically obtain the corresponding test document. The document contains device parameters: the acquisition device type is a piezoelectric vibration sensor, the firmware version is V2.1, and the communication protocol is CAN FD. It also includes test parameters: the test phase is the enhanced durability phase, the operating condition is steady-state loading, and the expected test duration is 120 hours. Furthermore, based on the aforementioned device and test parameters, a dedicated data processing link for durability testing can be matched. Therefore, after the above-mentioned shock absorber durability test is started, the raw data such as vibration, displacement and load collected in real time by the test bench are directly imported into the matching durability test dedicated data processing link, and the CAN protocol parsing, outlier removal, load statistics and fatigue damage calculation are completed in sequence. Data processing is completed synchronously during the test, and there is no need to process it offline in batches after the test is completed.
[0032] Steps S1 to S4 as shown in the embodiments of this application achieve automatic matching of processing links through pre-constructed pipeline orchestration diagrams, replacing the traditional manual configuration and debugging mode, significantly shortening the data processing link adaptation cycle under different test scenarios, and improving the overall efficiency of the test; at the same time, the selection method based on tag matching can ensure the compatibility of links with equipment and test scenarios, and avoid the experience bias of manual selection. Therefore, this application can improve the accuracy and stability of data processing.
[0033] For step S3, in some embodiments, matching the target data processing link from a preset pipeline arrangement diagram based on the equipment parameters and the test parameters includes: Extract the parameter dimension items from the device parameters; wherein, the parameter dimension items include: device type, firmware version, and communication protocol information; Extract the tag items from the device adaptation tag; wherein, the tag items include: device type tag, firmware version protocol, and communication protocol tag; The device type, firmware version, and communication protocol information are compared with the device type tag, firmware version, and communication protocol tag in each data processing link. Data processing links with the same tag items and parameter dimension items are marked as candidate data processing links. Based on the test stage, working condition type, and test duration in the test parameters, a matching degree is calculated with the test scenario label in each candidate data processing link to generate a target matching degree corresponding to each candidate data processing link; wherein, the test scenario label includes: test stage label, working condition type label, and duration interval label; The candidate data processing link corresponding to the highest target matching degree is taken as the target data processing link.
[0034] Indicatively, this embodiment of the invention implements hierarchical matching, which is logically divided into two stages. First, there is a hard screening at the hardware level, using three hardware parameters—device type, firmware version, and communication protocol—as the judgment criteria. Only links that completely match all three tags can enter the candidate set, thereby directly eliminating hardware-incompatible links, quickly narrowing the matching range, and improving matching efficiency. Next, this invention can also perform quantitative sorting at the business scenario level. Within the range of hardware-compatible candidate links, this embodiment of the invention can calculate the matching degree based on three dimensions: test stage, operating condition type, and test duration, selecting the link with the highest score as the final target link, ensuring that the selection result can fit the business requirements of this test.
[0035] For example, in the shock absorber durability test of the above embodiment, firstly, all links that do not support the CAN FD protocol and are incompatible with the V2.1 firmware version are eliminated by screening the equipment parameters, leaving 3 hardware-compatible candidate links; then, the matching degree of the 3 links with the durability stage, steady-state condition and 120h duration are calculated respectively, and finally the reinforced durability test dedicated link with the highest matching degree is selected as the target link.
[0036] The embodiments of the present invention adopt a hierarchical matching mechanism, which quickly eliminates incompatible links through a coarse screening at the hardware level, greatly reducing the amount of subsequent calculations and improving the matching response speed. The embodiments of the present invention can also further refine and quantify the selection at the scenario level to ensure that the final selected link best fits the actual test requirements, taking into account both matching efficiency and adaptation accuracy.
[0037] Furthermore, in some embodiments, the matching degree of the scenario dimension of the present invention can be calculated using a weighted fusion quantitative method, and differentiated weights can be set according to business importance, resulting in: The step of calculating the matching degree between the test stage, working condition type, and test duration in the test parameters and the test scenario label in each candidate data processing link, and generating the target matching degree corresponding to each candidate data processing link, includes: For each candidate data processing link, a first matching degree is calculated based on the matching degree between the test stage and the test stage label; The second matching degree is calculated based on the degree of matching between the working condition type and the working condition type label; The third matching degree is calculated based on the matching relationship between the test duration and the duration interval corresponding to the duration interval label; Based on the first matching degree, the second matching degree, and the third matching degree, the target matching degree is generated by weighting and fusing them with the first weight corresponding to the test stage, the second weight corresponding to the working condition type, and the third weight corresponding to the test duration; wherein the first weight is greater than the second weight; and the second weight is greater than the third weight.
[0038] To illustrate, the testing phase determines the data processing objectives and algorithms. For example, the characteristic calibration phase focuses on parameter fitting, while the durability enhancement phase focuses on fatigue damage calculation. These are the core criteria for link selection and therefore receive the highest weight. Operating condition type directly affects the data processing logic; for example, steady-state operating conditions emphasize statistical analysis, while transient operating conditions emphasize dynamic feature extraction. Their importance is secondary, and they receive the next level of weight. Testing duration only affects auxiliary configurations such as data segmentation and statistical periods, having the least impact on the core processing logic, and therefore receives the lowest weight. Therefore, this embodiment of the invention, through the weighted fusion of differentiated weights, ensures that the matching results prioritize the adaptability of core business dimensions, avoiding interference from secondary factors in the selection results.
[0039] Specifically, if the test phase matches the test phase label, the first matching degree is set to 1; otherwise, the first matching degree is set to 0. If the working condition type matches the working condition type label, the second matching degree is set to 1; otherwise, the second matching degree is set to 0. The test duration is compared with the duration interval, and the corresponding third degree of matching is obtained based on the duration difference between the two. For example, in the matching calculation of the shock absorber durability test, the first weight is set to 0.5, the second weight to 0.35, and the third weight to 0.15; the test stage matching score of a certain candidate link is 1, the working condition type matching score is 1, and the time difference corresponding to the time matching score is 0.8. Then the final target matching degree is 1×0.5+1×0.35+0.8×0.15=0.97.
[0040] The embodiments of the present invention adopt a weighted fusion quantitative calculation method to transform multi-dimensional matching requirements into quantifiable unified scores, making the selection results more objective. At the same time, the embodiments of the present invention can also set decreasing weight allocation according to business importance, which fits the actual business logic of vehicle testing, ensures the adaptation priority of core dimensions, and makes the matching results more in line with actual testing needs.
[0041] Furthermore, in some embodiments, the present invention employs a calculation rule of over-boundary reduction for the matching degree in the dimension of test duration, resulting in: The step of calculating the third matching degree based on the matching relationship between the test duration and the duration interval corresponding to the duration interval label includes: Determine whether the test duration falls within the specified duration range; If so, the preset matching degree value is used as the third matching degree; If not, extract the midpoint value of the time interval, and calculate the third matching degree based on the test duration and the midpoint value.
[0042] To illustrate, for the test duration dimension, when the test duration falls within the duration range of link adaptation, it means that the duration dimension is fully adapted and the full score is directly taken; when it exceeds the adaptation range, it is recalculated according to the degree of deviation of the duration from the midpoint of the range. The further the deviation, the lower the score. This ensures that the link within the adaptation range has the best score, while not directly excluding links outside the range, thus avoiding the extreme case where there are no candidate links to choose from.
[0043] For example, the adaptation time range of a certain data processing link is 80h~160h, and the preset full score is 1; if the duration of this test is 120h, which is within the range, then the third matching degree is 1; if the duration of this test is 60h, which exceeds the lower limit of the range, then the corresponding third matching degree is obtained by using the midpoint of the range, 120h, as the benchmark.
[0044] The embodiments of the present invention employ a calculation process of full interval division and out-of-bounds conversion, which not only ensures the priority of links within the adaptation interval, but also preserves the adaptation possibility of links outside the interval, avoiding the situation where there are no available links due to duration mismatch, and greatly improving the adaptation range and fault tolerance of link matching; at the same time, using the midpoint of the interval as the conversion benchmark makes the calculation logic simple and clear, and the engineering implementation difficulty low.
[0045] Furthermore, in some embodiments, the present invention further clarifies the specific calculation formula for the third matching degree when the boundary is exceeded, which is: The calculation of the third matching degree based on the test duration and the midpoint value includes: The third matching degree is calculated according to the following formula: ; ; in, The third degree of matching; For the duration of the experiment, Indicates a time interval. This is the midpoint of the time interval. This is the lower limit of the duration range. This represents the upper limit of the duration range.
[0046] Indicatively, this embodiment of the invention uses a linear conversion formula to calculate the matching degree of the out-of-bounds duration. With the midpoint of the interval as the benchmark, the further the test duration deviates from the midpoint, the lower the matching degree. At the same time, 0 is set as the lower limit to avoid unreasonable negative scores. When the duration deviation exceeds 100%, the matching degree is 0, which means that the link is completely unsuitable in the duration dimension.
[0047] For example, the adaptation time range of a certain link is 80h~160h, with a midpoint value of 120h; if the duration of this test is 60h, substituting into the formula, we can get S3=1. |60 120 | / 120 = 0.5; If the duration of this experiment is 20 hours, substituting into the formula yields 1. |20 120 | / 120 ≈ 0.17; If the duration of this experiment is 250 hours, substituting into the formula yields 1. |250 120∣ / 120≈ The final value is 0.08, which is the maximum value of 0, meaning the third matching degree is 0.
[0048] The embodiments of the present invention can quantify the degree of matching in the duration dimension through the above formula, eliminating the subjectivity of manual judgment. Moreover, setting the lower limit of the score to 0 can ensure the rationality of the matching degree value and conform to the business logic.
[0049] For step S4, in some embodiments, the target data processing link of the present invention can adopt a directed acyclic graph topology, and the on-demand allocation of computing power can be achieved through the dynamic start and stop of parallel branches, then: The target data processing link is a directed acyclic graph topology and has multiple parallel task branches; each task branch corresponds to a functional attribute. The process of transferring and processing the test data based on the target data processing link includes: Through the main link nodes of the target data processing link, extract the feature parameters corresponding to each of the functional attributes in the test data; For each task branch, the feature parameter is compared with the branch start threshold and branch close threshold corresponding to the functional attribute; wherein, the branch start threshold is greater than the branch close threshold. If the feature parameters are all less than the branch closure threshold within the preset sampling period, stop distributing the test data to the task branch and suspend all task processing nodes under the task branch. If the feature parameters are all greater than the branch activation threshold within the preset sampling period, and the task branch is in a suspended state, all task processing nodes under the task branch are activated, and the distribution operation of the test data to the task branch is restored. If the feature parameters are all within the threshold range consisting of the branch closure threshold and the branch activation threshold within the preset sampling period, the current suspended or active state of the task branch is maintained.
[0050] The preset sampling period can be composed of multiple sampling reference periods. The present invention can collect feature parameters in multiple consecutive sampling reference periods. It can be understood that the feature parameter being less than the branch closing threshold within the preset sampling period means that the feature parameter is judged to be less than the branch closing threshold in multiple consecutive sampling reference periods.
[0051] Schematic representation: The target data processing link is based on a directed acyclic graph topology. The backbone link carries basic processing such as general data parsing and cleaning, and the backbone link nodes can be used to extract the feature parameters corresponding to each branch in real time.
[0052] In the data processing link of this invention embodiment, multiple parallel task branches are extended simultaneously, each carrying out special analysis with different functions; each parallel branch is set with an independent start threshold and a stop threshold, and the start threshold is higher than the stop threshold, forming a hysteresis interval to avoid frequent start and stop of branches due to data fluctuations.
[0053] Specifically, the present invention can extract the feature parameters corresponding to each branch in real time through the backbone link node, and then dynamically adjust the running status of the branch according to the threshold comparison result; when the feature parameter is lower than the closing threshold, the corresponding branch is closed to save computing power; when the feature parameter is higher than the starting threshold, the corresponding branch is restarted to ensure analysis capability; when the feature parameter is in the hysteresis range, the current state is kept unchanged to avoid boundary oscillation.
[0054] To better understand the parallel branch processing process of the embodiments of the present invention, in an optional embodiment, the present invention sets up three parallel task branches—vibration analysis, load analysis, and noise analysis—in the processing chain of the whole vehicle road simulation test. When the test enters a steady-state uniform speed condition and the vibration amplitude remains low, the present invention can automatically suspend the vibration analysis branch and concentrate computing power on the load analysis and noise analysis branches, thereby improving the operating efficiency of the core processing flow. When the test enters an impact condition and the vibration amplitude rises, the vibration analysis branch is automatically reactivated to resume full-dimensional data processing.
[0055] This invention achieves modular combination of processing functions through a parallel branch architecture of a directed acyclic graph, making the link more scalable; based on the dual threshold dynamic control of feature parameters, special analysis branches can be started and stopped as needed, simplifying invalid calculations and improving computing power utilization without affecting core data processing; moreover, the design of the hysteresis threshold of this invention can effectively avoid frequent branch start and stop caused by data noise, ensuring the stability of the link operation.
[0056] Furthermore, in some embodiments, the present invention can provide a more detailed explanation of the determination and execution process of branch closure for vibration analysis scenarios in vehicle testing, as follows: The functional attributes include: vibration analysis functional attributes; the branch closure threshold includes: vibration amplitude lower limit threshold. If the feature parameters are all less than the branch closure threshold within a preset sampling period, the distribution of the test data to the task branch is stopped, including: Extract the vibration acceleration amplitude from the feature parameters that corresponds to the vibration analysis function attribute, and compare the vibration acceleration amplitude with the vibration amplitude lower limit threshold. When it is determined that the vibration acceleration amplitude is less than the lower limit threshold of the vibration amplitude within a preset sampling period, a branch shutdown trigger signal is generated. Based on the branch closure trigger signal, stop sending test data to the task branch corresponding to the vibration analysis function attribute, and suspend all task processing nodes under the task branch corresponding to the vibration analysis function attribute.
[0057] To illustrate, vibration analysis is a frequently used analysis function in vehicle bench testing. It corresponds to an independent parallel task branch, and the characteristic used to determine whether to start or stop is the vibration acceleration amplitude.
[0058] Specifically, the backbone node extracts the vibration acceleration amplitude from the raw test data in real time. When the amplitude is continuously lower than the lower limit threshold within a continuous statistical period, it indicates that the vibration characteristics are not significant under the current working condition and the business value of vibration analysis is low. At this time, a shutdown signal is triggered to stop distributing data to this branch and suspend the node, releasing the corresponding computing resources.
[0059] For example, in the durability bench test of the braking component, the lower limit threshold of vibration amplitude can be set to 0.3g. When the test enters the steady-state loading stage, if the vibration acceleration amplitude of five consecutive sampling reference cycles is lower than 0.3g, the present invention generates a branch closure trigger signal, stops sending raw data to the vibration analysis branch, suspends the FFT spectrum analysis and vibration feature extraction task processing nodes in the branch, and prioritizes the released computing power to the core processing flow such as load fatigue calculation.
[0060] This invention addresses vibration analysis scenarios in vehicle testing, clarifying the specific judgment parameters and execution process for branch closure. It can also accurately identify low-value operating conditions through amplitude thresholds, selectively pruning ineffective vibration analysis calculations, and effectively improving computing power utilization efficiency while ensuring data integrity, thus meeting the actual engineering needs of bench testing.
[0061] To better understand the practical application of this invention, please refer to [link / reference]. Figure 2 , Figure 2 This is a schematic diagram of the vehicle test data processing system architecture based on pipeline orchestration according to the present invention. The vehicle test data processing system architecture adopts a layered and decoupled modular architecture. Along the data processing flow from top to bottom, there are a processing pipeline orchestration engine, a model routing module, a data processing module and a data storage module.
[0062] Specifically, the pipeline orchestration engine integrates two functional units: a node registry center and a pipeline configuration library. The node registry center is used to uniformly manage all reusable task processing nodes, covering various standardized processing functions such as protocol parsing, outlier removal, filtering and noise reduction, and feature calculation. The pipeline configuration library is used to pre-store multiple assembled data processing links. Each link is bound to an independent device adaptation tag and test scenario tag, which together form a preset pipeline arrangement diagram, providing a complete matching library for subsequent link selection.
[0063] The model routing module can handle input parsing, link selection, and data distribution. When receiving pre-structured equipment and test information, it uses them as a matching basis and calls the pipeline configuration library in the pipeline orchestration engine to automatically filter and match the target data processing links. Furthermore, during the formal test operation phase, this module can receive raw test data collected in real time by the test bench and distribute it to the matched target data processing links.
[0064] The data processing module adopts a hybrid deployment model combining cloud and local processing, comprising two types of execution units: cloud computing microservices and local computing models. Understandably, cloud computing microservices handle batch computing tasks with high computational power requirements and low real-time requirements, such as fatigue damage analysis and operational condition statistical analysis throughout the entire test cycle. Meanwhile, the local computing model, deployed on the test bench, can handle online processing tasks with low latency requirements, such as real-time data cleaning or anomaly threshold alarms. Both jointly carry the computational logic of each node in the target data processing chain. After the test data is distributed into the chain, the processing operations of each node are completed sequentially, thus completing the entire flow of test data from raw acquisition to result output.
[0065] The data storage module adopts a hierarchical storage architecture, including a time-series database and a relational database. The time-series database is adapted to the read and write characteristics of high-frequency time-series data and is used to store raw experimental data. The relational database is used to store structured data such as basic experimental information, processing result characteristics, and link configuration parameters. The two types of storage units are associated and mapped through the unique identifier of the experiment to achieve bidirectional traceability between raw data and processing results.
[0066] Based on the above system architecture, the complete execution flow of this invention is as follows: In the system pre-configuration stage, the registration and maintenance of task processing nodes are completed through the pipeline orchestration engine, and multiple data processing links are pre-assembled and stored in the pipeline configuration library according to the processing requirements of different devices and different test scenarios, forming a standardized pipeline orchestration diagram.
[0067] Upon receiving the vehicle test instruction, the model routing module obtains the pre-structured equipment parameters and test parameters, and selects the appropriate target data processing link from the pipeline configuration library by means of tag matching, thus completing the automated selection of the link.
[0068] During the execution of the test task, the raw test data collected in real time by the test bench is transmitted to the model routing module, which then distributes it to the target data processing link within the data processing module. The data processing module schedules the corresponding cloud or local computing units according to the directed acyclic graph topology of the links, and completes the data processing operations of each node in sequence.
[0069] After processing, the original experimental data is archived in a time-series database, while the experimental metadata and processing result features are stored in a relational database. The two are linked by a unique experimental identifier, thus forming a closed data loop for the entire process.
[0070] As can be seen from the above embodiments, the present invention comprehensively optimizes the problems of fixed traditional vehicle test data processing links and low efficiency of manual configuration. By pre-constructing pipeline arrangement diagrams, the target data processing link is automatically matched and selected based on equipment parameters and test parameters, without the need for manual debugging and modification of processing programs, which greatly improves the data processing adaptation efficiency in multiple scenarios.
[0071] This invention employs a hierarchical matching mechanism that combines hardware coarse screening with scenario-based fine sorting, balancing matching efficiency and selection accuracy. Through weighted fusion-based quantitative calculations, and by setting differentiated weights based on business priorities, the matching results better align with actual experimental needs. At the data processing execution level, this invention utilizes a parallel branching architecture with a directed acyclic graph topology, and based on a dual-threshold hysteresis mechanism, it can dynamically start and stop corresponding analysis and processing branches, thereby allocating computing resources on demand and effectively improving computing power utilization. Furthermore, this invention refines specific control logic for vibration analysis scenarios, further enhancing the engineering feasibility of the proposed solution.
[0072] In terms of duration adaptation, this invention adopts a linear conversion calculation rule, which not only ensures the priority of the optimal adaptation link, but also broadens the adaptation range and avoids the extreme case of no available link.
[0073] This invention automates and intelligently selects the vehicle test data processing link, taking into account efficiency, accuracy and operational stability. It can be widely adapted to the data processing needs of various component bench tests and whole vehicle performance tests, and effectively reduces the configuration cost and maintenance difficulty of test data processing.
[0074] Please see Figure 3 This application also provides a data processing apparatus based on vehicle testing, which can implement the above-described data processing method based on vehicle testing. The apparatus includes: The test document acquisition module is used to acquire the test document corresponding to the test instruction when a test instruction for a vehicle is received. The parameter extraction module is used to extract the equipment parameters and test parameters from the test document. The processing link determination module is used to match the target data processing link from a preset pipeline arrangement diagram based on the device parameters and the test parameters; wherein, the pipeline arrangement diagram consists of multiple different data processing links; each data processing link corresponds to a device adaptation tag and a test scenario tag; The test data transfer module is used to import the real-time collected test data into the target data processing link when executing the test task corresponding to the test document, and to perform the transfer processing of the test data based on the target data processing link.
[0075] It is understood that the content of the above method embodiments is applicable to the present device embodiments. The specific functions implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0076] It should be noted that the device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical modules; they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Furthermore, in the accompanying drawings of the device embodiments provided by this invention, the connection relationships between modules indicate that they have communication connections, which can be specifically implemented as one or more communication buses or signal lines. Those skilled in the art can understand and implement this without any creative effort.
[0077] Those skilled in the art will clearly understand that, for convenience and simplicity, the specific working process of the device described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0078] This application also provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the aforementioned data processing method based on vehicle testing. This electronic device can include any smart terminal such as a tablet computer or an in-vehicle computer.
[0079] It is understood that the content of the above method embodiments is applicable to this device embodiment. The specific functions implemented by this device embodiment are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0080] Please see Figure 4 , Figure 4 This illustrates the hardware structure of an electronic device according to another embodiment, the electronic device comprising: The processor can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to achieve the technical solutions provided in the embodiments of this application. The memory can be implemented in the form of read-only memory (ROM), static storage device, dynamic storage device, or random access memory (RAM). The memory can store the operating system and other applications. When the technical solutions provided in the embodiments of this application are implemented through software or firmware, the relevant program code is stored in the memory and called and executed by the processor. Input / output interfaces are used to implement information input and output; The communication interface is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, Wi-Fi, Bluetooth, etc.). A bus is used to transfer information between various components of a device, such as processors, memory, input / output interfaces, and communication interfaces. The processor, memory, input / output interface, and communication interface are interconnected within the device via a bus.
[0081] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of the terminal device, connecting all parts of the terminal device via various interfaces and lines.
[0082] The memory can be used to store the computer program. The processor implements various functions of the terminal device by running or executing the computer program stored in the memory and calling data stored in the memory. The memory may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function, etc.; the data storage area may store data created based on the use of the mobile phone, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as hard disk, RAM, plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, at least one disk storage device, flash memory device or other volatile solid-state storage device.
[0083] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described data processing method based on vehicle testing.
[0084] It is understood that the content of the above method embodiments is applicable to the present computer-readable storage medium embodiments. The specific functions implemented by the present computer-readable storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0085] Those skilled in the art will understand that all or some of the steps, apparatuses, or functional modules / units in the methods disclosed above can be implemented as software, firmware, hardware, or suitable combinations thereof.
[0086] The preferred embodiments of the present application have been described above with reference to the accompanying drawings, but this does not limit the scope of the claims of the present application. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and substance of the embodiments of the present application shall be within the scope of the claims of the present application.
Claims
1. A data processing method based on vehicle testing, characterized in that, The method includes: Upon receiving a test instruction for the vehicle, obtain the test document corresponding to the test instruction; Extract the equipment parameters and test parameters from the test documents; Based on the equipment parameters and the test parameters, a target data processing link is matched from a preset pipeline arrangement diagram; wherein, the pipeline arrangement diagram consists of multiple different data processing links; each data processing link corresponds to a device adaptation tag and a test scenario tag; When executing the test task corresponding to the test document, the test data collected in real time is imported into the target data processing link, and the test data is processed based on the target data processing link.
2. The data processing method based on vehicle testing according to claim 1, characterized in that, The step of matching the target data processing link from a preset pipeline arrangement diagram based on the equipment parameters and the test parameters includes: Extract the parameter dimension items from the device parameters; wherein, the parameter dimension items include: device type, firmware version, and communication protocol information; Extract the tag items from the device adaptation tag; wherein, the tag items include: device type tag, firmware version protocol, and communication protocol tag; The device type, firmware version, and communication protocol information are compared with the device type tag, firmware version, and communication protocol tag in each data processing link. Data processing links with the same tag items and parameter dimension items are marked as candidate data processing links. Based on the test stage, working condition type, and test duration in the test parameters, a matching degree is calculated with the test scenario label in each candidate data processing link to generate a target matching degree corresponding to each candidate data processing link; wherein, the test scenario label includes: test stage label, working condition type label, and duration interval label; The candidate data processing link corresponding to the highest target matching degree is taken as the target data processing link.
3. The data processing method based on vehicle testing according to claim 2, characterized in that, The step of calculating the matching degree between the test stage, working condition type, and test duration in the test parameters and the test scenario label in each candidate data processing link, and generating the target matching degree corresponding to each candidate data processing link, includes: For each candidate data processing link, a first matching degree is calculated based on the degree of matching between the test stage and the test stage label; The second matching degree is calculated based on the degree of matching between the working condition type and the working condition type label; The third matching degree is calculated based on the matching relationship between the test duration and the duration interval corresponding to the duration interval label; Based on the first matching degree, the second matching degree, and the third matching degree, the target matching degree is generated by weighting and fusing them with the first weight corresponding to the test stage, the second weight corresponding to the working condition type, and the third weight corresponding to the test duration; wherein the first weight is greater than the second weight; and the second weight is greater than the third weight.
4. The data processing method based on vehicle testing according to claim 1, characterized in that, The target data processing link is a directed acyclic graph topology and has multiple parallel task branches. Each of the aforementioned task branches corresponds to a functional attribute; The process of transferring and processing the test data based on the target data processing link includes: Through the main link nodes of the target data processing link, extract the feature parameters corresponding to each of the functional attributes in the test data; For each task branch, the feature parameter is compared with the branch start threshold and branch close threshold corresponding to the functional attribute; wherein, the branch start threshold is greater than the branch close threshold. If the feature parameters are all less than the branch closure threshold within the preset sampling period, stop distributing the test data to the task branch and suspend all task processing nodes under the task branch. If the feature parameters are all greater than the branch activation threshold within the preset sampling period, and the task branch is in a suspended state, all task processing nodes under the task branch are activated, and the distribution operation of the test data to the task branch is restored. If the feature parameters are all within the threshold range consisting of the branch closure threshold and the branch activation threshold within the preset sampling period, the current suspended or active state of the task branch is maintained.
5. The data processing method based on vehicle testing according to claim 4, characterized in that, The functional attributes include: vibration analysis functional attributes; the branch closure threshold includes: vibration amplitude lower limit threshold. If the feature parameters are all less than the branch closure threshold within a preset sampling period, the distribution of the test data to the task branch is stopped, including: Extract the vibration acceleration amplitude from the feature parameters that corresponds to the vibration analysis function attribute, and compare the vibration acceleration amplitude with the vibration amplitude lower limit threshold. When it is determined that the vibration acceleration amplitude is less than the lower limit threshold of the vibration amplitude within a preset sampling period, a branch shutdown trigger signal is generated. Based on the branch closure trigger signal, stop sending test data to the task branch corresponding to the vibration analysis function attribute, and suspend all task processing nodes under the task branch corresponding to the vibration analysis function attribute.
6. The data processing method based on vehicle testing according to claim 3, characterized in that, The step of calculating the third matching degree based on the matching relationship between the test duration and the duration interval corresponding to the duration interval label includes: Determine whether the test duration falls within the specified duration range; If so, the preset matching degree value is used as the third matching degree; If not, extract the midpoint value of the time interval, and calculate the third matching degree based on the test duration and the midpoint value.
7. The data processing method based on vehicle testing according to claim 6, characterized in that, The calculation of the third matching degree based on the test duration and the midpoint value includes: The third matching degree is calculated according to the following formula: ; in, The third degree of matching; For the duration of the experiment, Indicates a time interval. This is the midpoint of the time interval.
8. A data processing device based on vehicle testing, characterized in that, The device includes: The test document acquisition module is used to acquire the test document corresponding to the test instruction when a test instruction for a vehicle is received. The parameter extraction module is used to extract the equipment parameters and test parameters from the test document. The processing link determination module is used to match the target data processing link from a preset pipeline arrangement diagram based on the device parameters and the test parameters; wherein, the pipeline arrangement diagram consists of multiple different data processing links; each data processing link corresponds to a device adaptation tag and a test scenario tag; The test data transfer module is used to import the real-time collected test data into the target data processing link when executing the test task corresponding to the test document, and to perform the transfer processing of the test data based on the target data processing link.
9. An electronic device, characterized in that, The electronic device includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement a data processing method based on vehicle testing as described in any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements a data processing method based on vehicle testing as described in any one of claims 1 to 7.
