Vehicle test data monitoring method and system, vehicle-mounted terminal and vehicle

By using the monitoring warning components of the visual data management platform and time series database in electronic control unit testing, the problem of untimely data capture during the test is solved, real-time monitoring and automatic alarms are realized, and fault positioning efficiency and vehicle safety are improved. .

CN119322505AInactive Publication Date: 2025-01-17CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN202411439213.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-15
Publication Date
2025-01-17
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The lack of visual real-time monitoring system during the existing electronic control unit testing process, resulting in the inability to capture critical data in time during test failures, delaying problem location and repair.

Method used

By connecting the monitoring and warning components on the visual data management platform, configuring time series databases and network communications, integrating application programming interfaces, creating display panels and alarm rules, real-time monitoring and automatic alarms of vehicle test data are achieved.

Benefits of technology

Real-time monitoring and automatic alarm of vehicle test data is realized, monitoring efficiency and accuracy are improved, data abnormalities are discovered in a timely manner, fault location time is reduced, detection efficiency and vehicle safety are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119322505A_ABST
    Figure CN119322505A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle test data monitoring method and system, a vehicle-mounted terminal and a vehicle, and the method comprises the steps: monitoring vehicle test data concerned by a target person in real time or in advance through the configuration of a monitoring warning assembly, discovering data abnormity in time, improving the monitoring efficiency and accuracy, and configuring a time sequence database, the vehicle test data can be orderly stored and efficiently retrieved, the monitoring range can be flexibly adjusted to adapt to different test scenes and requirements by selecting the monitoring items from the time sequence database in advance or in real time, key indexes in the vehicle test data are configured on the display panel, and the display efficiency is improved. According to the invention, the key indexes in the vehicle test data are visually displayed, so that a worker can quickly understand the data trend, timely discover faults in the test and take repair measures, thereby improving the accuracy and detection efficiency of monitoring work and preventing accidents.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle network, and in particular to a vehicle test data monitoring method, system, vehicle-mounted terminal and vehicle. Background Art

[0002] At present, in the testing process of electronic control units, the lack of a system that can visualize and monitor test data in real time is a significant shortcoming. It mainly relies on relatively primitive methods such as serial port printing fault information and memory logging to observe and track data indicators.

[0003] However, the existing test of electronic control units often cannot effectively capture relevant key data when a test fails. For example, important information such as CPU (Central Processing Unit) utilization, network load, CAN (Controller Area Network) bus load, CAN frame loss rate, CAN routing delay, interface success rate, and the probability of occurrence of different abnormal return values ​​of the interface, abnormal input parameters, etc. at the time of the failure may be omitted, and the existing test of electronic control units does not have the ability of automatic monitoring and instant alarm, resulting in that when a failure occurs during the test, it is often impossible to detect it in time, and it is likely to miss the key moment of the failure, thereby delaying the location and repair of the problem. Summary of the invention

[0004] The present application provides a vehicle test data monitoring method, system, vehicle-mounted terminal and vehicle to solve the above-mentioned technical problems.

[0005] A vehicle test data monitoring method provided in an embodiment of the present application includes: connecting a monitoring warning component on a visual data management platform, the monitoring warning component being used to monitor vehicle test data determined in advance or in real time by a target person; configuring a time series database on the visual data management platform, the time series database including a time series database address, a time series database address account, and a time series database address password; issuing a monitoring project selection instruction according to the monitoring warning component, extracting vehicle test data of the monitoring project from the time series database as a key indicator in the vehicle test data, the monitoring project including a vehicle test project that triggers an alarm; configuring the key indicators in the vehicle test data on a display panel newly created in advance or in real time, and monitoring the vehicle test data through the key indicator configuration results.

[0006] In one embodiment of the present application, the key indicators in the vehicle test data are configured on a newly created display panel in advance or in real time, including: creating a new display panel on the visualization panel, the display panel including an image display panel, a search panel and a panel attribute panel; in response to a vehicle test item display instruction, searching for a display dial of the key indicators in the search panel through a chart type statement, the display dial including a pie chart, a bar chart, a line chart, a ring chart, a scatter plot, a histogram and a bar chart, wherein the image display panel includes a plurality of display dials; adjusting the panel attribute panel according to display requirements, the panel attributes including the size, color, title and label of the display panel.

[0007] In one embodiment of the present application, before the visual data management platform is connected to the monitoring and warning component, it also includes: configuring a time series database on the server and configuring a monitoring and warning service on the server, the time series database stores vehicle test data, the vehicle test data includes original vehicle test data and historical vehicle test data; configuring network communication between an electronic control unit and the server, and integrating a first application programming interface into the server, and integrating a second application programming interface into the electronic control unit, the first application programming interface is used to transmit the historical vehicle test data, the second application programming interface is used to transmit the original vehicle test data, the original vehicle test data is collected through the electronic control unit, the timestamp data of the original vehicle test data is converted into a preset format, and the converted original vehicle test data is stored in the time series database.

[0008] In one embodiment of the present application, a monitoring and warning service is configured on the server, including: creating a monitoring and warning component on the server, creating an alarm file in the monitoring and warning component, adding the alarm file to the monitoring and warning component, the alarm file is used to define the alarm rules and receiving end of the vehicle test items; adding the alarm rules corresponding to the vehicle test items set in advance or in real time to the alarm file, and configuring the corresponding receiving end in the alarm file to configure the monitoring and warning service on the server, the vehicle test items include engine speed, vehicle sensors, braking performance and vehicle battery.

[0009] In one embodiment of the present application, an alarm rule corresponding to the vehicle test item is set, including: if the vehicle test item is engine speed, the alarm rule set for the engine speed is recorded as a first alarm rule, and the first alarm rule is that when the engine speed is greater than a preset speed value and lasts for a first preset time, an alarm is triggered; if the vehicle test item is a vehicle sensor, a corresponding alarm rule is set for the vehicle sensor, recorded as a second alarm rule, and the second alarm rule is that when the vehicle sensor data is abnormal or the sensor is offline, an alarm is triggered; if the vehicle test item is braking performance, a corresponding alarm rule is set for the braking performance, recorded as a third alarm rule, and the third alarm rule is that when the braking distance is greater than a preset distance threshold and the braking time is greater than a second preset time, an alarm is triggered; if the vehicle test item is battery power, a corresponding alarm rule is set for the battery power, recorded as a fourth alarm rule, and the fourth alarm rule is that when the battery power is less than a preset charge threshold, an alarm is triggered.

[0010] In one embodiment of the present application, the network communication between the electronic control unit and the server is configured, including: integrating a communication software protocol stack on the electronic control unit, and integrating a network security mechanism on the communication software protocol stack; connecting the electronic control unit to the server, and verifying the network configuration on the electronic control unit and the server respectively, so that the electronic control unit and the server are located in the same network.

[0011] In one embodiment of the present application, the network configuration is verified on the electronic control unit and the server respectively, including: establishing an encrypted tunnel between the electronic control unit and the server, the encrypted tunnel is used to confirm that the communication transmission between the electronic control unit and the server is encrypted transmission; implementing an access control policy on the server side, allowing authenticated electronic control units to access key indicators, configuring a corresponding access control mechanism on the electronic control unit side, and communicating with an authorized server; regularly performing security audits on the communication between the electronic control unit and the server to maintain the communication between the electronic control unit and the server, and verifying the network configuration based on the communication maintenance results.

[0012] The vehicle test data monitoring system provided in the embodiment of the present application includes: a data preparation module, which is used to connect a monitoring warning component on a visual data management platform, and the monitoring warning component is used to monitor vehicle test data determined in advance or in real time by a target person; a data storage module, which is used to configure a time series database for the visual data management platform, and the time series database includes a time series database address, a time series database address account, and a time series database address password; a key indicator determination module, which is used to issue a monitoring project selection instruction according to the monitoring warning component, and extract vehicle test data of the monitoring project from the time series database as a key indicator in the vehicle test data, and the monitoring project includes a vehicle test project that triggers an alarm; a data visualization module, which is used to configure the key indicators in the vehicle test data on a newly created display panel in advance or in real time, and monitor the vehicle test data through the key indicator configuration results.

[0013] An embodiment of the present application provides a vehicle-mounted terminal, including a processor, a memory and a communication bus; the communication bus is used to connect the processor and the memory; the processor is used to execute a computer program stored in the memory to implement the above-mentioned vehicle test data monitoring method.

[0014] The beneficial effects of the present application are as follows: by configuring the monitoring and warning components, it is possible to monitor the vehicle test data of the target personnel in real time or in advance, detect data anomalies in time, and improve the efficiency and accuracy of monitoring; configuring the time series database allows the vehicle test data to be stored in an orderly manner and retrieved efficiently; the time series database is specially designed to process timestamp data and can quickly process large amounts of data to meet the needs of real-time monitoring; it allows monitoring items to be selected from the time series database in advance or in real time, so that the monitoring scope can be flexibly adjusted to adapt to different test scenarios and needs; the key indicators in the vehicle test data are configured on the display panel so that the key indicators in the vehicle test data can be displayed intuitively, which is convenient for staff to quickly understand data trends, detect faults in the test in time and take repair measures, thereby improving the accuracy of monitoring work and detection efficiency and preventing accidents.

[0015] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0017] Figure 1 is a diagram of a vehicle test data monitoring implementation module according to an embodiment of the present application;

[0018] Figure 2 is a flow chart of a vehicle test data monitoring method shown in an exemplary embodiment of the present application;

[0019] Figure 3 is a vehicle test data monitoring system architecture diagram according to an embodiment of the present application;

[0020] Figure 4 is a diagram of a vehicle test data monitoring visualization panel according to an embodiment of the present application;

[0021] Figure 5 is a block diagram of a vehicle test data monitoring system shown in an exemplary embodiment of the present application;

[0022] Figure 6 It is a structural schematic diagram of a vehicle-mounted terminal shown in an exemplary embodiment of the present application. DETAILED DESCRIPTION

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

[0024] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application, and thus the drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed at will, and the component layout may also be more complicated.

[0025] In the following description, a large number of details are discussed to provide a more thorough explanation of the embodiments of the present application. However, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present application difficult to understand.

[0026] The embodiments of the present application respectively propose a vehicle test data monitoring method, a vehicle test data monitoring system, a vehicle-mounted terminal and a vehicle, and these embodiments will be described in detail below.

[0027] See also Figure 1 , Figure 1 A vehicle test data monitoring implementation module diagram according to an embodiment of the present application is shown, including an electronic control unit 110 and a server 120 . As a specific example, an electronic control unit is integrated in a vehicle, and the electronic control unit is connected to a server via a T1-TX connection and a 34826-0124 connector, wherein the first application programming interface is a TX interface and the second application programming interface is a T1 interface. Specifically, a time series database is configured on the server, and a monitoring and warning service is configured on the server, network communication between the electronic control unit and the server is configured, a TX interface is integrated into the server, and a T1 interface is integrated into the electronic control unit, the TX interface is used to transmit historical vehicle test data, and the T1 interface is used to transmit original vehicle test data collected by the electronic control unit, a monitoring and warning component is connected to a visual data management platform, and key indicators in the vehicle test data are configured on a visual panel created in advance or in real time, and the vehicle test data is monitored based on the key indicators. By configuring a time series database on the server, a large amount of historical vehicle test data can be efficiently stored, retrieved and analyzed, and the integrated monitoring and warning component can monitor the vehicle test data in real time and automatically trigger a warning when the data is abnormal, thereby timely discovering potential problems and improving vehicle safety and detection efficiency. The monitoring and warning component is connected to the visual data management platform, and a visual panel is created so that the key indicators in the vehicle test data can be intuitively displayed. It is convenient for staff to quickly understand data trends, promptly detect faults during testing and take repair measures, thereby improving the accuracy of monitoring work and detection efficiency and preventing accidents.

[0028] Specifically, the T1-TX connection method mainly involves the conversion between automotive Ethernet and industrial Ethernet or standard Ethernet. Since automotive Ethernet and standard Ethernet differ in interface, electrical characteristics and transmission protocol, when the two need to be connected, a specific converter or adapter is required to achieve the interface conversion from T1 to TX. The T1-TX connection method is particularly suitable for environments where automotive Ethernet devices need to be connected to industrial Ethernet devices or standard Ethernet devices. For example, when an automotive electronic control system communicates with an external network, a T1-TX converter may be required to achieve interface conversion and data transmission.

[0029] See also Figure 2 , Figure 2 FIG. 1 is a flow chart of a vehicle test data monitoring method according to an embodiment of the present application. Figure 2 As shown, the method at least includes steps S210 to S240, which are described in detail as follows:

[0030] Step S210, connecting a monitoring and warning component to the visual data management platform, where the monitoring and warning component is used to monitor vehicle test data determined in advance or in real time by a target person.

[0031] Step S220, configuring a time series database for the visualization data management platform, the time series database including a time series database address, a time series database address account, and a time series database address password.

[0032] Step S230, according to the monitoring warning component issuing a monitoring item selection instruction, extracting the vehicle test data of the monitoring item in the time series database as the key indicator in the vehicle test data, the monitoring item includes the vehicle test item that triggers the alarm.

[0033] Step S240, configuring key indicators in the vehicle test data on a display panel created in advance or in real time, and monitoring the vehicle test data through the key indicator configuration results.

[0034] exist Figure 2 In the technical solution shown, by configuring the monitoring warning component, the vehicle test data that the target personnel are concerned about can be monitored in real time or in advance, data anomalies can be discovered in time, and the efficiency and accuracy of monitoring can be improved. A time series database is configured so that the vehicle test data can be stored in an orderly manner and retrieved efficiently. The time series database is specially designed to process timestamp data and can quickly process large amounts of data to meet the needs of real-time monitoring. It allows monitoring items to be selected from the time series database in advance or in real time, so that the monitoring scope can be flexibly adjusted to adapt to different test scenarios and needs. The key indicators in the vehicle test data are configured on the display panel so that the key indicators in the vehicle test data can be displayed intuitively, which is convenient for staff to quickly understand data trends, discover faults in the test in time and take repair measures, thereby improving the accuracy and detection efficiency of the monitoring work and preventing accidents.

[0035] See also Figure 3 , Figure 3The vehicle test data monitoring system architecture diagram according to an embodiment of the present application is shown, which specifically includes a data collection layer, a network communication layer, a data storage layer, a data visualization layer and a security permission management layer. The data collection layer is responsible for collecting the original vehicle test data from the key function interfaces and variables of the electronic control unit, and sending the original vehicle test data to the influxdb database on the server. The agent software installed on the electronic control unit is responsible for monitoring the specified function interfaces and variables, and capturing abnormal data when the data changes, and providing an API used by the data acquisition agent to send the captured abnormal data to the server in a specific format; the data storage layer is responsible for receiving the original vehicle test data from the electronic control unit and storing it in the influxdb time series database. The data visualization layer uses Grafana to connect to Prometheus, configures Grafana's dashboard, displays key indicators such as interface success rate, and provides a user interface to allow users to configure and view the visualization of data; the network communication layer ensures that the data transmission between the electronic control unit and the server is safe and reliable. The data transmission protocol between the electronic control unit and the server is the HTTP protocol. The ECU (Electronic Control Unit) that supports Ethernet communication should have Ethernet MAC (Media Access Control) and PHY (Physical Layer, physical layer) chip, MII / RMII / GMII / RGMII interface, necessary software protocol stack and related network testing and security mechanisms; security and permission management layer, used to protect the security of the system, prevent unauthorized access, and define the permissions of different users, such as viewing, editing or managing data visualization panels. The vehicle test data monitoring system is designed to provide a real-time and intuitive data display platform for the on-hook test of the electronic control unit. By establishing an influxdb time series database on the server and using Grafana to connect Prometheus as a visualization tool, the monitoring alarm function is configured in the Prometheus-Alertmanager function. The system can effectively collect, store and display key data generated during the test, helping developers and test engineers to quickly identify problems, analyze trends and optimize the performance of electronic control units, and provide fault diagnosis efficiency through the monitoring system.

[0036] In one embodiment of the present application, key indicators in vehicle test data are configured on a newly created display panel in advance or in real time, including: creating a new display panel on the visualization panel, the display panel including an image display panel, a search panel and a panel attribute panel; in response to a vehicle test item display instruction, searching for display dials of key indicators in the search panel through chart type statements, the display dials including pie charts, bar charts, line charts, doughnut charts, scatter plots, histograms and bar charts, wherein the image display panel includes multiple display dials; adjusting the panel attribute panel according to display requirements, the panel attributes include the size, color, title and label of the display panel.

[0037] As an example, the visual data management platform is the data visualization interface of Grafana. The data visualization interface of Grafana can display various types of charts to meet the needs of different data display. The specific introduction is as follows: Indicator card: used to highlight a single important data point, such as system status or key performance indicators. Dashboard: Displays data in the form of an arc pointer, suitable for showing the proportion of a certain metric relative to the maximum value. Pie chart: Uses the size of different sectors to show the proportion of each part to the total, suitable for showing the distribution of classified data. Ring chart: Similar to a pie chart, but with an empty middle, it saves space and has an aesthetic feeling. It is also used to show the proportion of data. Stacked bar chart: Multiple bar charts overlap, each bar represents a category, and the length represents the value size, which is used to compare data in multiple dimensions. Percent stacked bar chart: Similar to a stacked bar chart, but the length of each part represents the percentage of the total bar length. Bar chart: Use the length of the bar to represent the data size, suitable for comparing data of different categories. Line chart: Use lines to connect various data points to show the trend of data changes over time, suitable for time series data. Area chart: The area below the line chart is filled with color, which can more intuitively show the cumulative effect of data. Histogram: Use height to represent frequency, which is suitable for showing the distribution of data. Scatter chart: Use points to represent data, and the horizontal and vertical coordinates are two numerical variables respectively, which is suitable for viewing the relationship between two variables. In general, through these chart types and rich configuration options, Grafana can flexibly display data from various data sources, thereby helping engineers better monitor and analyze the status and performance of environments such as electronic control unit systems, networks, and databases.

[0038] As an example, Figure 4A vehicle test data monitoring visualization panel diagram according to an embodiment of the present application is shown. A blank visualization panel is created. The URL (Uniform Resource Locator) of the dashboard is the page where data visualization will be performed. The visualization data management platform is configured with a time series database. A new data source is created, and the influxdb database address where the system stores data is selected. The time series database address, the time series database address account, and the time series database address password are entered. A panel is created in the blank visualization panel. Figure 4 As shown, the vehicle test data monitoring visualization panel diagram includes an image display panel, a search panel, and a panel attribute panel. The chart type selected in the image display panel is pie chart, bar chart, line chart, etc. Configure the PromQL statement (Prometheus Query Language, data query language) in the search panel, and enter the corresponding PromQL syntax statement of the expected chart effect, for example: the dial configuration for displaying the interface success rate, the number of successful points and / the total number of points, the CPU real-time utilization configuration, and the display of the CPU utilization information carried by each point. The panel attribute panel can adjust the attributes and appearance of the dial in a personalized way. Each data of interest has a dial, and a panel can be configured with multiple dials. Other data of interest can follow the above process. Through the visual interface, you can quickly view and analyze the test data, thereby reducing the time of manual inspection and improving test efficiency.

[0039] Specifically, PromQL statements are a key part of the Prometheus monitoring system for querying and aggregating time series data. Through the combination of indicator names, labels, time ranges, built-in functions, and operators, users can flexibly construct query statements to meet various monitoring and alerting needs.

[0040] In one embodiment of the present application, before the visual data management platform is connected to the monitoring and warning component, it also includes: configuring a time series database on the server and configuring a monitoring and warning service on the server, the time series database stores vehicle test data, the vehicle test data includes original vehicle test data and historical vehicle test data; configuring network communication between the electronic control unit and the server, and integrating a first application programming interface into the server, and integrating a second application programming interface into the electronic control unit, the first application programming interface is used to transmit historical vehicle test data, and the second application programming interface is used to transmit original vehicle test data, collecting vehicle original test data through the electronic control unit, converting the timestamp data of the vehicle original test data into a preset format, and storing the converted vehicle original test data in the time series database.

[0041] As an example, time series data refers to a set of data arranged at a certain time interval, which is used to describe the measurement value of a certain measured subject at each time point within a time range. These data can reflect the state or degree of change of a certain thing or phenomenon over time, such as the actual consumption value of the CPU on the monitoring machine. As an example, time series data can be an influxdb time series database.

[0042] As an example, the monitoring and warning component is the configuration monitoring and alarm component in the Prometheus-Alertmanager function, which allows users to monitor the monitoring target in real time according to preset rules and trigger alarm notifications when specific conditions are met. Prometheus is an open source monitoring and alarm system that stores indicator data through a time series database and uses a multidimensional data model and query language PromQL for data analysis. Prometheus is responsible for defining alarm rules and generating alarms when the monitoring data meets these rules. Alertmanager is a key component in the Prometheus ecosystem, specifically used to process these alarms generated by Prometheus. Alertmanager is responsible for receiving alarms from Prometheus, performing notification distribution, suppression, silencing and aggregation, and ensuring that alarm information can be efficiently and accurately delivered to staff. The configuration monitoring and alarm function in the Prometheus-Alertmanager function allows users to flexibly define alarm rules according to business needs, and efficiently and accurately process alarm notifications through Alertmanager. Through reasonable configuration and monitoring alarm functions, users can promptly discover and solve potential problems and ensure the stable operation of the system.

[0043] As an example, vehicle original test data is collected through an electronic control unit, the timestamp data of the vehicle original test data is converted into a preset format, and the converted vehicle original test data is stored in a time series database. Specifically, the first application programming interface and the second application programming interface are two-way data interactions.

[0044] In one embodiment of the present application, configuring a monitoring warning service on the server includes: creating a monitoring warning component on the server, creating an alarm file in the monitoring warning component, adding the alarm file to the monitoring warning component, the alarm file is used to define the alarm rules and receiving end of the vehicle test items; adding the alarm rules corresponding to the vehicle test items set in advance or in real time to the alarm file, and configuring the corresponding receiving end in the alarm file to configure the monitoring warning service on the server; the vehicle test items include engine speed, vehicle sensors, braking performance, and vehicle battery. Real-time monitoring of the operating status and performance indicators of the electronic control unit helps to discover potential problems in a timely manner and avoid failures. Through the visual analysis of a large amount of test data, the laws and trends in the data can be discovered, providing a basis for optimizing the design of the electronic control unit and improving the test method. When the electronic control unit fails, the monitoring system can notify the engineer to quickly locate the cause of the problem and improve the accuracy and speed of fault diagnosis.

[0045] As an example, configure the monitoring warning service on the server, and the alarm module is Alertmanager. First, you need to download and install Alertmanager, and then create a configuration file (alertmanager.yml) to define the alarm rules and receivers; configure alarm rules: in the configuration file of Prometheus (prometheus.yml), add the address and port of Alertmanager to enable Alertmanager; create alarm rules: in the configuration file of Prometheus, add alarm rules, for example: take the alarm triggered when the CPU is too high as an example, create a file named high_cpu_usage.rules, containing the following content: the alarm rule is named "HighCPUUsage" and belongs to the "example" group. This alarm will be triggered when the average CPU usage (obtained by calculating the non-idle CPU time) exceeds 80% for 5 minutes. To test whether the alarm rule is effective, you can manually trigger an alarm event. For example, you can simulate high CPU usage by modifying the data source of Prometheus. When the alarm conditions are met, Alertmanager will send a notification to the specified receiver. As a specific example, the configuration of the receiver is included in the configuration file of Alertmanager, defining the type of receiver and the detailed information of the receiver. The types of receivers include email, DingTalk, Feishu interface, etc. In addition, when the monitoring data is different, different alarm rules can be configured according to actual needs. By real-time monitoring of the operating status and performance indicators of the electronic control unit, it is helpful to detect potential problems in time and avoid failures. Through the visual analysis of a large amount of test data, the rules and trends in the data can be discovered, providing a basis for optimizing the design of electronic control units and improving test methods. When an electronic control unit fails, the monitoring system can notify engineers to quickly locate the cause of the problem and improve the accuracy and speed of fault diagnosis.

[0046] In one embodiment of the present application, according to the monitoring items of the monitoring warning component, alarm rules corresponding to the monitoring items are set, including: if the vehicle test item is engine speed, the alarm rule set for the engine speed is recorded as the first alarm rule, and the first alarm rule is that when the engine speed is greater than a preset speed value and lasts for a first preset time, an alarm is triggered; if the vehicle test item is a vehicle sensor, a corresponding alarm rule is set for the vehicle sensor, recorded as the second alarm rule, and the second alarm rule is that when the vehicle sensor data is abnormal or the sensor is offline, an alarm is triggered; if the vehicle test item is braking performance, a corresponding alarm rule is set for the braking performance, recorded as the third alarm rule, and the third alarm rule is that when the braking distance is greater than a preset distance threshold and the braking time is greater than the second preset time, an alarm is triggered; if the vehicle test item is battery power, a corresponding alarm rule is set for the battery power, recorded as the fourth alarm rule, and the fourth alarm rule is that when the battery power is less than a preset charge threshold, an alarm is triggered. By setting special alarm rules for different monitoring items, the abnormal conditions of each monitoring item can be monitored and identified more accurately, false alarms and missed alarms can be reduced, and the reliability and practicality of the monitoring system can be improved. Clear alarm rules enable the system to quickly trigger an alarm when an abnormal situation is detected, and promptly notify relevant personnel for processing, thereby shortening the response time and reducing potential safety hazards and losses.

[0047] In one embodiment of the present application, the network communication between the electronic control unit and the server is configured, including: integrating a communication software protocol stack on the electronic control unit, and integrating a network security mechanism on the communication software protocol stack; connecting the electronic control unit to the server, and verifying the network configuration on the electronic control unit and the server respectively, so that the electronic control unit and the server are located in the same network.

[0048] As an example, the network configuration is verified on the electronic control unit and the server respectively, including: establishing an encrypted tunnel between the electronic control unit and the server, the encrypted tunnel is used to confirm that the communication transmission between the electronic control unit and the server is encrypted transmission; implementing access control policies on the server side to allow authenticated electronic control units to access key indicators, configuring corresponding access control mechanisms on the electronic control unit side to communicate with authorized servers; regularly performing security audits on the communication between the electronic control unit and the server to maintain the communication between the electronic control unit and the server, and verifying the network configuration based on the communication maintenance results. By establishing an encrypted tunnel, the communication transmission between the vehicle ECU and the server is encrypted, which effectively prevents the data from being eavesdropped, tampered with or leaked during the transmission process, thereby enhancing the security of the communication. The access control strategy is implemented on the server side, and the vehicle ECU side is required to configure the corresponding access control mechanism. This doubles the guarantee that only authenticated vehicle ECUs can access key indicators, preventing unauthorized access and potential security threats. The encrypted tunnel and access control mechanism jointly ensure the integrity and reliability of the communication, making the data transmission between the vehicle ECU and the server more accurate and reliable. In addition, by regularly conducting security audits on the communication between the vehicle ECU and the server, potential security vulnerabilities and weaknesses can be discovered and repaired in a timely manner, thereby reducing the risk of the test system being attacked and ensuring the data security of the test data.

[0049] Figure 5 FIG. 1 is a block diagram of a vehicle test data monitoring system according to an exemplary embodiment of the present application. Figure 5As shown, according to an embodiment of the present application, the vehicle test data monitoring system 500 includes: a data preparation module 510, a data storage module 520, a key indicator determination module 530 and a data visualization module 540. The data preparation module is used to connect the monitoring warning component on the visual data management platform, and the monitoring warning component is used to monitor the vehicle test data determined in advance or in real time by the target personnel; the data storage module is used to configure the time series database for the visual data management platform, and the time series database includes the time series database address, the time series database address account and the time series database address password; the key indicator determination module is used to issue a monitoring project selection instruction according to the monitoring warning component, and extract the vehicle test data of the monitoring project in the time series database as the key indicator in the vehicle test data, and the monitoring project includes the vehicle test project that triggers the alarm; the data visualization module is used to configure the key indicators in the vehicle test data on a display panel newly created in advance or in real time, and monitor the vehicle test data through the key indicator configuration results. By configuring the monitoring and warning components, the vehicle test data that the target personnel are concerned about can be monitored in real time or in advance, data anomalies can be discovered in time, and the efficiency and accuracy of monitoring can be improved. The time series database is configured so that the vehicle test data can be stored in an orderly manner and retrieved efficiently. The time series database is specially designed to process timestamp data and can quickly process large amounts of data to meet the needs of real-time monitoring. It allows monitoring items to be selected from the time series database in advance or in real time, so that the monitoring scope can be flexibly adjusted to adapt to different test scenarios and needs. The key indicators in the vehicle test data are configured on the display panel so that the key indicators in the vehicle test data can be displayed intuitively, which is convenient for staff to quickly understand data trends, discover faults in the test in time and take repair measures, thereby improving the accuracy and detection efficiency of monitoring work and preventing accidents.

[0050] In one embodiment of the present application, the data visualization module is used to create a new display panel on the visualization panel, and the display panel includes an image display panel, a search panel and a panel attribute panel; in response to the vehicle test item display instruction, the display dial of the key indicators is searched in the search panel through a chart type statement, and the display dial includes a pie chart, a bar chart, a line chart, a ring chart, a scatter plot, a histogram and a bar chart, wherein the image display panel includes a plurality of display dials; the panel attribute panel is adjusted according to the display requirements, and the panel attributes include the size, color, title and label of the display panel. Through the visualization interface, the test data can be quickly viewed and analyzed, thereby reducing the time of manual inspection and improving the test efficiency.

[0051] As an example, the visual data management platform is the data visualization interface of Grafana. The data visualization interface of Grafana can display various types of charts to meet the needs of different data display. The specific introduction is as follows: Indicator card: used to highlight a single important data point, such as system status or key performance indicators. Dashboard: Displays data in the form of an arc pointer, suitable for showing the proportion of a certain metric relative to the maximum value. Pie chart: Uses the size of different sectors to show the proportion of each part to the total, suitable for showing the distribution of classified data. Ring chart: Similar to a pie chart, but with an empty middle, it saves space and has an aesthetic feeling. It is also used to show the proportion of data. Stacked bar chart: Multiple bar charts overlap, each bar represents a category, and the length represents the value size, which is used to compare data in multiple dimensions. Percent stacked bar chart: Similar to a stacked bar chart, but the length of each part represents the percentage of the total bar length. Bar chart: Use the length of the bar to represent the data size, suitable for comparing data of different categories. Line chart: Use lines to connect various data points to show the trend of data changes over time, suitable for time series data. Area chart: The area below the line chart is filled with color, which can more intuitively show the cumulative effect of data. Histogram: Use height to represent frequency, which is suitable for showing the distribution of data. Scatter chart: Use points to represent data, and the horizontal and vertical coordinates are two numerical variables respectively, which is suitable for viewing the relationship between two variables. In general, through these chart types and rich configuration options, Grafana can flexibly display data from various data sources, thereby helping engineers better monitor and analyze the status and performance of environments such as electronic control unit systems, networks, and databases.

[0052] In one embodiment of the present application, the vehicle test data monitoring system also includes a network communication module 550, which is used to configure a time series database on the server and configure a monitoring warning service on the server, the time series database stores vehicle test data, and the vehicle test data includes original vehicle test data and historical vehicle test data; configure network communication between the electronic control unit and the server, and integrate a first application programming interface into the server, and integrate a second application programming interface into the electronic control unit, the first application programming interface is used to transmit historical vehicle test data, and the second application programming interface is used to transmit original vehicle test data, collect vehicle original test data through the electronic control unit, convert the timestamp data of the vehicle original test data into a preset format, and store the converted vehicle original test data in the time series database.

[0053] As an example, time series data refers to a set of data arranged at a certain time interval, which is used to describe the measurement value of a certain measured subject at each time point within a time range. These data can reflect the state or degree of change of a certain thing or phenomenon over time, such as the actual consumption value of the CPU on the monitoring machine. As an example, time series data can be an influxdb time series database.

[0054] As an example, the monitoring and warning component is the configuration monitoring and alarm component in the Prometheus-Alertmanager function, which allows users to monitor the monitoring target in real time according to preset rules and trigger alarm notifications when specific conditions are met. Prometheus is an open source monitoring and alarm system that stores indicator data through a time series database and uses a multidimensional data model and query language PromQL for data analysis. Prometheus is responsible for defining alarm rules and generating alarms when the monitoring data meets these rules. Alertmanager is a key component in the Prometheus ecosystem, specifically used to process these alarms generated by Prometheus. Alertmanager is responsible for receiving alarms from Prometheus, performing notification distribution, suppression, silencing and aggregation, and ensuring that alarm information can be efficiently and accurately delivered to staff. The configuration monitoring and alarm function in the Prometheus-Alertmanager function allows users to flexibly define alarm rules according to business needs, and efficiently and accurately process alarm notifications through Alertmanager. Through reasonable configuration and monitoring alarm functions, users can promptly discover and solve potential problems and ensure the stable operation of the system.

[0055] As an example, vehicle original test data is collected through an electronic control unit, the timestamp data of the vehicle original test data is converted into a preset format, and the converted vehicle original test data is stored in a time series database. Specifically, the first application programming interface and the second application programming interface are two-way data interactions.

[0056] In one embodiment of the present application, a data storage module is used to create a monitoring warning component on the server, and to create an alarm file in the monitoring warning component, and to add the alarm file to the monitoring warning component, and the alarm file is used to define the alarm rules and receiving end of the vehicle test items; the alarm rules corresponding to the vehicle test items set in advance or in real time are added to the alarm file, and the corresponding receiving end is configured in the alarm file to configure the monitoring warning service on the server; the vehicle test items include engine speed, vehicle sensors, braking performance, and vehicle battery. Real-time monitoring of the operating status and performance indicators of the electronic control unit helps to timely discover potential problems and avoid failures. Through the visual analysis of a large amount of test data, the laws and trends in the data can be found, providing a basis for optimizing the design of the electronic control unit and improving the test method. When the electronic control unit fails, the monitoring system can notify the engineer to quickly locate the cause of the problem and improve the accuracy and speed of fault diagnosis.

[0057] As an example, configure the monitoring warning service on the server, and the alarm module is Alertmanager. First, you need to download and install Alertmanager, and then create a configuration file (alertmanager.yml) to define the alarm rules and receivers; configure alarm rules: in the configuration file of Prometheus (prometheus.yml), add the address and port of Alertmanager to enable Alertmanager; create alarm rules: in the configuration file of Prometheus, add alarm rules, for example: take the alarm triggered when the CPU is too high as an example, create a file named high_cpu_usage.rules, containing the following content: the alarm rule is named "HighCPUUsage" and belongs to the "example" group. This alarm will be triggered when the average CPU usage (obtained by calculating the non-idle CPU time) exceeds 80% for 5 minutes. To test whether the alarm rule is effective, you can manually trigger an alarm event. For example, you can simulate high CPU usage by modifying the data source of Prometheus. When the alarm conditions are met, Alertmanager will send a notification to the specified receiver. As a specific example, the configuration of the receiver is included in the configuration file of Alertmanager, defining the type of receiver and the detailed information of the receiver. The types of receivers include email, DingTalk, Feishu interface, etc. In addition, when the monitoring data is different, different alarm rules can be configured according to actual needs. By real-time monitoring of the operating status and performance indicators of the electronic control unit, it is helpful to detect potential problems in time and avoid failures. Through the visual analysis of a large amount of test data, the rules and trends in the data can be discovered, providing a basis for optimizing the design of electronic control units and improving test methods. When an electronic control unit fails, the monitoring system can notify engineers to quickly locate the cause of the problem and improve the accuracy and speed of fault diagnosis.

[0058] In one embodiment of the present application, the data storage module is used for setting an alarm rule for the engine speed if the vehicle test item is the engine speed, which is recorded as the first alarm rule. The first alarm rule is that when the engine speed is greater than a preset speed value and lasts for a first preset time, an alarm is triggered; if the vehicle test item is a vehicle sensor, a corresponding alarm rule is set for the vehicle sensor, which is recorded as the second alarm rule. The second alarm rule is that when the vehicle sensor data is abnormal or the sensor is offline, an alarm is triggered; if the vehicle test item is braking performance, a corresponding alarm rule is set for the braking performance, which is recorded as the third alarm rule. The third alarm rule is that when the braking distance is greater than a preset distance threshold and the braking time is greater than the second preset time, an alarm is triggered; if the vehicle test item is battery power, a corresponding alarm rule is set for the battery power, which is recorded as the fourth alarm rule. The fourth alarm rule is that when the battery power is less than a preset charge threshold, an alarm is triggered. By setting special alarm rules for different monitoring items, the abnormal conditions of each monitoring item can be monitored and identified more accurately, false alarms and missed alarms can be reduced, and the reliability and practicality of the monitoring system can be improved. Clear alarm rules enable the system to quickly trigger an alarm when an abnormal situation is detected, and promptly notify relevant personnel for processing, thereby shortening the response time and reducing potential safety hazards and losses.

[0059] In one embodiment of the present application, the network communication module is used to integrate a communication software protocol stack on an electronic control unit, and integrate a network security mechanism into the communication software protocol stack; connect the electronic control unit to a server, and verify the network configuration on the electronic control unit and the server respectively, so that the electronic control unit and the server are located in the same network.

[0060] In one embodiment of the present application, a network communication module is used to establish an encrypted tunnel between an electronic control unit and a server, and the encrypted tunnel is used to confirm that the communication transmission between the electronic control unit and the server is encrypted transmission; an access control policy is implemented on the server side to allow authenticated electronic control units to access key indicators, and a corresponding access control mechanism is configured on the electronic control unit side to communicate with the authorized server; a security audit is performed on the communication between the electronic control unit and the server regularly to maintain the communication between the electronic control unit and the server, and the network configuration is verified based on the communication maintenance results. By establishing an encrypted tunnel, the communication transmission between the vehicle ECU and the server is encrypted, which effectively prevents the data from being eavesdropped, tampered with or leaked during the transmission process, thereby enhancing the security of the communication. The access control strategy is implemented on the server side, and the vehicle ECU side is required to configure the corresponding access control mechanism. This doubles the guarantee that only authenticated vehicle ECUs can access key indicators, preventing unauthorized access and potential security threats. The encrypted tunnel and access control mechanism jointly ensure the integrity and reliability of the communication, making the data transmission between the vehicle ECU and the server more accurate and reliable. In addition, by regularly conducting security audits on the communication between the vehicle ECU and the server, potential security vulnerabilities and weaknesses can be discovered and repaired in a timely manner, thereby reducing the risk of the test system being attacked and ensuring the data security of the test data.

[0061] It should be noted that the device provided in the above embodiment and the method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment, and will not be repeated here. In practical applications, the device provided in the above embodiment can distribute the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.

[0062] See also Figure 6 , Figure 6 is a structural diagram of a vehicle-mounted terminal shown in an exemplary embodiment of the present application. It should be noted that: Figure 6 The vehicle-mounted terminal 600 shown is only an example and should not bring any limitation to the functions and usage area of ​​the embodiments of the present application.

[0063] like Figure 6 As shown, the vehicle terminal 600 includes a processor 601, a memory 602 and a communication bus 603; the communication bus 603 is used to connect the processor 601 and the memory 602; the processor 601 is used to execute the computer program stored in the memory 602 to implement one or more methods as in the above embodiments.

[0064] The vehicle-mounted terminal provided in the present application includes a processor, a memory, a transceiver and a communication interface. The memory and the communication interface are connected to the processor and the transceiver and complete communication with each other. The memory is used to store computer programs, the communication interface is used to communicate, and the processor and the transceiver are used to run computer programs so that the electronic device executes the various steps of the above method.

[0065] In this embodiment, the memory may include a random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

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

[0067] The above embodiments are merely illustrative of the principles and effects of the present application, and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.

Claims

1. A vehicle test data monitoring method, characterized in that: The method comprises: Connecting a monitoring and warning component to the visual data management platform, wherein the monitoring and warning component is used to monitor vehicle test data determined in advance or in real time by a target person; A time series database is configured for the visual data management platform, wherein the time series database includes a time series database address, a time series database address account, and a time series database address password; The monitoring warning component issues a monitoring item selection instruction, extracts vehicle test data of the monitoring item in the time series database as a key indicator in the vehicle test data, and the monitoring item includes the vehicle test item that triggers the alarm; The key indicators in the vehicle test data are configured on a display panel created in advance or in real time, and the vehicle test data is monitored through the key indicator configuration results.

2. The vehicle test data monitoring method according to claim 1, characterized in that: Configuring the key indicators in the vehicle test data on a pre-created or real-time display panel includes: Creating a new display panel on the visualization panel, the display panel including an image display panel, a search panel, and a panel attribute panel; In response to the vehicle test item display instruction, searching the display dial of the key indicator in the search panel through a chart type statement, the display dial includes a pie chart, a bar chart, a line chart, a ring chart, a scatter chart, a histogram and a bar chart, wherein the image display panel includes a plurality of display dials; The panel attribute section is adjusted according to display requirements. The panel attributes include the size, color, title and label of the display panel.

3. The vehicle test data monitoring method according to claim 1, characterized in that: Before the visual data management platform is connected to the monitoring and warning components, it also includes: A time series database is configured on a server, and a monitoring warning service is configured on the server, wherein the time series database stores vehicle test data, and the vehicle test data includes original vehicle test data and historical vehicle test data; configuring network communication between an electronic control unit and the server, and integrating a first application programming interface into the server, and integrating a second application programming interface into the electronic control unit, wherein the first application programming interface is used to transmit the historical vehicle test data, and the second application programming interface is used to transmit the original vehicle test data; The electronic control unit collects original vehicle test data, converts timestamp data of the original vehicle test data into a preset format, and stores the converted original vehicle test data into a time series database.

4. The vehicle test data monitoring method according to claim 3, characterized in that: Configure monitoring and warning services on the server, including: Creating a monitoring and warning component on the server, creating an alarm file in the monitoring and warning component, and adding the alarm file into the monitoring and warning component, wherein the alarm file is used to define an alarm rule and a receiving end of a vehicle test item; Adding the alarm rules corresponding to the vehicle test items set in advance or in real time to the alarm file, and configuring the corresponding receiving end in the alarm file to configure the monitoring warning service on the server; The vehicle test items include engine speed, vehicle sensors, braking performance and vehicle battery.

5. The vehicle test data monitoring method according to claim 4, characterized in that: Setting the warning rules corresponding to the vehicle test items includes: If the vehicle test item is the engine speed, the alarm rule set for the engine speed is recorded as the first alarm rule, and the first alarm rule is that when the engine speed is greater than a preset speed value and lasts for a first preset time, an alarm is triggered; If the vehicle test item is a vehicle sensor, a corresponding alarm rule is set for the vehicle sensor, which is recorded as a second alarm rule. The second alarm rule is that when the vehicle sensor data is abnormal or the sensor is offline, an alarm is triggered; If the vehicle test item is braking performance, a corresponding alarm rule is set for the braking performance, which is recorded as a third alarm rule. The third alarm rule is that when the braking distance is greater than a preset distance threshold and the braking time is greater than a second preset time, an alarm is triggered; If the vehicle test item is battery power, a corresponding alarm rule is set for the battery power, recorded as the fourth alarm rule, and the fourth alarm rule is that an alarm is triggered when the battery power is less than a preset charge threshold.

6. The vehicle test data monitoring method according to claim 3, characterized in that: Configuring network communication between the electronic control unit and the server, including: Integrating a communication software protocol stack on the electronic control unit, and integrating a network security mechanism on the communication software protocol stack; The electronic control unit is connected to a server, and network configurations are verified on the electronic control unit and the server respectively, so that the electronic control unit and the server are located in the same network.

7. The vehicle test data monitoring method according to claim 6, characterized in that: Verify the network configuration on both the ECU and the server, including: Establishing an encrypted tunnel between the electronic control unit and the server, wherein the encrypted tunnel is used to confirm that the communication transmission between the electronic control unit and the server is encrypted transmission; Implement access control policies on the server side to allow authenticated ECUs to access key indicators, configure corresponding access control mechanisms on the ECU side to communicate with authorized servers; A security audit is performed regularly on the communication between the electronic control unit and the server to perform communication maintenance on the electronic control unit and the server, and a network configuration is verified based on the communication maintenance result.

8. A vehicle test data monitoring system, characterized in that: The system comprises: A data preparation module, used to connect a monitoring and warning component on a visual data management platform, wherein the monitoring and warning component is used to monitor vehicle test data determined in advance or in real time by a target person; A data storage module, used to configure a time series database for the visual data management platform, wherein the time series database includes a time series database address, a time series database address account, and a time series database address password; A key indicator determination module, configured to issue a monitoring item selection instruction according to the monitoring warning component, extract vehicle test data of the monitoring item in the time series database as a key indicator in the vehicle test data, wherein the monitoring item includes the vehicle test item that triggers the alarm; The data visualization module is used to configure the key indicators in the vehicle test data on a display panel that is created in advance or in real time, and monitor the vehicle test data through the key indicator configuration results.

9. A vehicle-mounted terminal, characterized in that: It comprises a processor, a memory and a communication bus; the communication bus is used to connect the processor and the memory; the processor is used to execute the computer program stored in the memory to implement the vehicle test data monitoring method as described in any one of claims 1 to 7.

10. A vehicle, characterized in that: It includes the vehicle test data monitoring system as described in claim 8 or the vehicle-mounted terminal as described in claim 9.

Citation Information

Patent Citations

  • Car monitoring and diagnosing system

    CN102445940A

  • Vehicle-mounted service authorization anti-counterfeiting monitoring method and vehicle

    CN112615850A

  • Testing method of remote information processor and related equipment

    CN114839951A

  • ATS-based vehicle control system and method, computer equipment and storage medium

    CN115714695A

  • Alarm system and method for vehicle software

    CN115827461A