CN-122023601-A - Vehicle data-driven animation visual display method and device
Abstract
The invention relates to the technical field of vehicle diagnosis and discloses a vehicle data-driven animation visual display method and device, wherein the method comprises the steps of obtaining real-time data flow of a vehicle; the method comprises the steps of matching a real-time data stream with a preset animation mapping rule to obtain a matching result, wherein the animation mapping rule is used for defining a corresponding relation between a data value corresponding to the real-time data stream and SVG graphic element attribute parameters, generating an animation instruction for adjusting the SVG graphic element attribute parameters according to the matching result, and driving SVG graphic elements on a display interface to update the attributes of the SVG graphic elements according to the animation instruction so as to generate a dynamic visualization effect in linkage with the real-time data stream. Therefore, the display flexibility of the vehicle diagnosis data is improved by implementing the invention, so that the analysis efficiency of the vehicle diagnosis data is improved.
Inventors
- ZHOU ZHENBIN
- LOU KE
- LI JIANFENG
- BIN CHAOLIN
- HE KEREN
Assignees
- 深圳鼎匠科技有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20251212
Claims (10)
- 1. A vehicle data-driven animated visual presentation method, the method comprising: Acquiring a real-time data stream of a vehicle; Matching the real-time data stream with a preset animation mapping rule to obtain a matching result, wherein the animation mapping rule is used for defining the corresponding relation between a data value corresponding to the real-time data stream and SVG graphic element attribute parameters; Generating an animation instruction for adjusting the attribute parameters of the SVG graphic element according to the matching result; and driving the SVG graphic element on the display interface to update the attribute of the SVG graphic element according to the animation instruction so as to generate a dynamic visualization effect which is linked with the real-time data stream.
- 2. The vehicle data-driven animation visual display method according to claim 1, wherein the matching the real-time data stream with a preset animation mapping rule to obtain a matching result comprises: For each data point in the real-time data stream, identifying a data characteristic of the data point, wherein the data characteristic is used for representing the type and the behavior of the corresponding data point, and at least comprises at least one characteristic content of a data value, a data change trend and a system state mark of the corresponding data point; invoking a target mapping rule corresponding to the data characteristic from a preset rule base based on the data characteristic, wherein the target mapping rule is used for defining a conversion relation between the data characteristic and the SVG graphic element attribute parameter; And carrying out matching judgment on the data point according to the target mapping rule to obtain a matching result of the data point.
- 3. The vehicle data-driven animation visual presentation method of claim 2, wherein the invoking the corresponding target mapping rule from a preset rule base based on the data characteristics comprises: Determining the characteristic content included in the data characteristic; according to the characteristic content, matching the target mapping rule of the data characteristic from a preset rule base; The target mapping rule at least comprises at least one of a threshold triggering rule, a trend mapping rule and a state association rule, the data value corresponds to the threshold triggering rule, the data change trend corresponds to the trend mapping rule, and the system state mark corresponds to the state association rule.
- 4. The vehicle data-driven animation visual display method according to claim 2, wherein the performing a matching judgment on the data point according to the target mapping rule to obtain a matching result of the data point comprises: When the target mapping rule comprises the threshold trigger rule, comparing the data value of the data point with a preset threshold value in the threshold trigger rule, and judging whether the data value is in a preset threshold value interval or not to obtain a matching result based on interval judgment; When the target mapping rule comprises the trend mapping rule, analyzing the data change trend direction and change rate intensity of the data point, and mapping the data change trend direction and the change rate intensity into a matching result for continuously adjusting the SVG graphic element attribute parameters; and when the target mapping rule comprises the state association rule, analyzing the logic value of the system state mark to which the data point belongs, and converting the logic value into a matching result for carrying out display state switching on the associated SVG graphic element.
- 5. The vehicle data driven animated visual presentation method of any of claims 1-4, wherein said generating an animation instruction for adjusting said SVG graphical element attribute parameter based on said matching result comprises: Analyzing the matching result, and determining a target SVG graphic element to be adjusted, a graphic attribute type to be adjusted and a corresponding attribute parameter value; and generating an animation instruction containing target element identification, attribute operation type and parameter assignment information based on the graphic attribute type and the attribute parameter value, wherein the animation instruction is used for instructing a rendering engine to execute attribute updating operation with specific parameter value on a designated SVG graphic element.
- 6. The method for vehicle data driven animated visual presentation of any of claims 1-4, wherein said driving SVG graphical elements on a display interface to update their attributes in accordance with said animation instructions to generate a dynamic visual effect in conjunction with said real-time data stream comprises: analyzing the received animation instruction to obtain target element identification, attribute operation type and parameter assignment information contained in the animation instruction; Converting the attribute operation type and the parameter assignment information into graphic attribute modification operation executable by the rendering engine according to the display environment parameters of the display interface; positioning a corresponding target SVG graphic element in the SVG graphic template loaded on the display interface according to the target element identifier; and the graphic attribute modification operation is acted on the target SVG graphic element to modify the corresponding graphic attribute value, and the rendering engine renders the display interface based on the modified graphic attribute value so as to generate a dynamic visualization effect which is linked with the real-time data stream.
- 7. The vehicle data driven animated visual presentation method of any of claims 1-4, further comprising: conflict detection is carried out on all animation instructions to be executed currently, and a plurality of conflict instructions which have the same target SVG graphic element and are contradictory with each other in indicated graphic attribute modification operation are identified; Resolving the identified conflict instructions based on preset instruction priority rules, wherein the instruction priority rules are used for defining the priority sequence of instructions to be executed when different animation mapping rules trigger instruction conflicts; and driving the display interface to update according to the digestion processing result.
- 8. A vehicle data-driven animated visual display device, the device comprising: The acquisition module is used for acquiring real-time data streams of the vehicle; The matching module is used for matching the real-time data stream with a preset animation mapping rule to obtain a matching result, and the animation mapping rule is used for defining the corresponding relation between the data value corresponding to the real-time data stream and the SVG graphic element attribute parameter; The generation module is used for generating an animation instruction for adjusting the attribute parameters of the SVG graphic element according to the matching result; And the driving module is used for driving the SVG graphic element on the display interface to update the attribute thereof according to the animation instruction so as to generate a dynamic visualization effect which is mutually linked with the real-time data stream.
- 9. A vehicle data-driven animated visual display device, the device comprising: a memory storing executable program code; a processor coupled to the memory; The processor invokes the executable program code stored in the memory to perform the vehicle data driven animated visual presentation method of any of claims 1-7.
- 10. A computer storage medium storing computer instructions which, when invoked, are operable to perform the vehicle data driven animated visual presentation method of any of claims 1-7.
Description
Vehicle data-driven animation visual display method and device Technical Field The invention relates to the technical field of vehicle diagnosis, in particular to a vehicle data-driven animation visual display method and device. Background With the rapid development of automotive electronics, the number and complexity of Electronic Control Units (ECU) for vehicles have been increasing, and the data streams generated have been increasing. In the scenes of vehicle fault diagnosis, performance monitoring and the like, how to clearly and intuitively present massive and abstract real-time data (such as engine rotation speed, water temperature, fault codes and the like) generated by an ECU to a maintenance technician or a user becomes a key for improving diagnosis efficiency and user experience. Currently, existing vehicle diagnostic systems mostly present data streams in the form of tables, charts, or plain text lists. This way of presentation presents the abstract values directly in front of the user, requiring the user (e.g. a service technician) to have expertise and experience, manually interpreting the associations between the different data items. With the increase of the data volume, the workload of user statistics data is increasing, the processing time of processing statistics results is also increasing, and key information is easy to miss when complex faults are processed. Therefore, it is important to provide a technical scheme for improving the display flexibility of the vehicle diagnostic data so as to improve the analysis efficiency of the vehicle diagnostic data. Disclosure of Invention The invention provides a vehicle data-driven animation visual display method and device, which can improve the display flexibility of vehicle diagnostic data so as to improve the analysis efficiency of the vehicle diagnostic data. In order to solve the technical problem, a first aspect of the present invention discloses a vehicle data-driven animation visual display method, which comprises: Acquiring a real-time data stream of a vehicle; Matching the real-time data stream with a preset animation mapping rule to obtain a matching result, wherein the animation mapping rule is used for defining the corresponding relation between a data value corresponding to the real-time data stream and SVG graphic element attribute parameters; Generating an animation instruction for adjusting the attribute parameters of the SVG graphic element according to the matching result; and driving the SVG graphic element on the display interface to update the attribute of the SVG graphic element according to the animation instruction so as to generate a dynamic visualization effect which is linked with the real-time data stream. In an optional implementation manner, in a first aspect of the present invention, the matching the real-time data stream with a preset animation mapping rule to obtain a matching result includes: For each data point in the real-time data stream, identifying a data characteristic of the data point, wherein the data characteristic is used for representing the type and the behavior of the corresponding data point, and at least comprises at least one characteristic content of a data value, a data change trend and a system state mark of the corresponding data point; invoking a target mapping rule corresponding to the data characteristic from a preset rule base based on the data characteristic, wherein the target mapping rule is used for defining a conversion relation between the data characteristic and the SVG graphic element attribute parameter; And carrying out matching judgment on the data point according to the target mapping rule to obtain a matching result of the data point. In an optional implementation manner, in a first aspect of the present invention, the calling, based on the data feature, a target mapping rule corresponding to the data feature from a preset rule base includes: Determining the characteristic content included in the data characteristic; according to the characteristic content, matching the target mapping rule of the data characteristic from a preset rule base; The target mapping rule at least comprises at least one of a threshold triggering rule, a trend mapping rule and a state association rule, the data value corresponds to the threshold triggering rule, the data change trend corresponds to the trend mapping rule, and the system state mark corresponds to the state association rule. In an optional implementation manner, in a first aspect of the present invention, the performing, according to the target mapping rule, a matching judgment on the data point to obtain a matching result of the data point includes: When the target mapping rule comprises the threshold trigger rule, comparing the data value of the data point with a preset threshold value in the threshold trigger rule, and judging whether the data value is in a preset threshold value interval or not to obtain a matching result based on i