Vehicle data stream waveform display method, device, equipment and medium
By reading the data flow from the vehicle, determining the target signal characteristics and processing it, the problem of not being able to effectively filter interfering sampling points in the prior art is solved, and a more intuitive analysis of the change trend of data flow is achieved.
Patent Information
- Application Number
- CN202411988872.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-03-25
AI Technical Summary
The existing vehicle data flow waveform display method cannot effectively filter interfering sampling points, resulting in the inability to intuitively display the data flow change trend, which is difficult for users to analyze.
By reading the data stream from the vehicle to be detected, determining the data stream to be displayed and its target signal characteristics, processing the sampled data using a preset processing method table or a default processing method, and displaying the waveform based on the processed data.
Effectively filter interfering data, more intuitively reflect the changing trend of data flow, optimize the waveform display method of vehicle data flow, and facilitate users to analyze.
Smart Images

Figure CN119694022A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle diagnosis technology, and in particular to a vehicle data stream waveform display method, device, equipment and medium. Background Art
[0002] The vehicle data stream can truly reflect the working voltage and status of each sensor and actuator in the vehicle, and provide a basis for vehicle fault diagnosis. Therefore, data stream analysis is an important method in modern vehicle maintenance and inspection. Among them, waveform display is an intuitive and effective analysis method, which can display each parameter in the data stream in the form of a waveform, so that users can analyze by viewing the changes in the data stream waveform. At present, the existing vehicle data stream waveform display method only directly connects all the sampled data points in the read data stream linearly in sequence to form a simple linear waveform diagram for users to view. However, this method will still linearly connect the interfering sampling points in the presence of interfering sampling points, causing interference, and cannot achieve an intuitive display of the data stream change trend, which is inconvenient for users to analyze.
[0003] In summary, it can be seen that how to optimize the waveform display method of the vehicle data stream so that users can intuitively analyze the change trend of the vehicle data stream is a problem that needs to be solved urgently. Summary of the invention
[0004] In view of this, the purpose of the present invention is to provide a vehicle data stream waveform display method, device, equipment and medium, which can optimize the vehicle data stream waveform display method so that users can intuitively analyze the change trend of the vehicle data stream. The specific scheme is as follows:
[0005] In a first aspect, the present application provides a vehicle data stream waveform display method, comprising:
[0006] Reading a plurality of data streams corresponding to the vehicle to be detected from the vehicle to be detected based on the received data stream reading instruction to obtain a plurality of sampled data corresponding to the plurality of data streams;
[0007] Determine a data stream to be displayed from the plurality of data streams according to the received data stream display instruction, determine a target signal feature of the data stream to be displayed from a plurality of preset signal features, and determine target sampled data corresponding to the data stream to be displayed from the plurality of sampled data according to the data stream to be displayed;
[0008] Determine whether there is a processing method corresponding to the target signal feature in the preset processing method table, and determine the target processing method of the target signal feature based on the judgment result, so as to process the target sampling data using the target processing method, and display the waveform of the data stream to be displayed based on the processed target sampling data.
[0009] Optionally, before reading a plurality of data streams corresponding to the vehicle to be detected from the vehicle to be detected based on the received data stream reading instruction, the method further includes:
[0010] Determine the plurality of signal characteristics and the plurality of processing methods corresponding to the plurality of signal characteristics based on the received mapping table setting instruction;
[0011] The preset processing method table is constructed based on the plurality of signal features, the plurality of processing methods, and a mapping relationship between the plurality of signal features and the plurality of processing methods.
[0012] Optionally, the vehicle data stream waveform display method further includes:
[0013] If the target signal feature corresponding to the data stream to be displayed does not exist in the preset signal features, feature supplement feedback for the data stream to be displayed is triggered to obtain the supplemented target signal feature, and the supplemented target signal feature and the corresponding processing method are saved in the preset processing method table.
[0014] Optionally, determining a target processing method of the target signal feature based on the obtained judgment result includes:
[0015] If the obtained judgment result indicates that there is a processing method corresponding to the target signal feature in the preset processing method table, the processing method corresponding to the target signal feature in the preset processing method table is used as the target processing method for the target signal feature;
[0016] If the judgment result indicates that there is no processing method corresponding to the target signal feature in the preset processing method table, the preset default processing method is used as the target processing method for the target signal feature.
[0017] Optionally, if the judgment result indicates that the processing method corresponding to the target signal feature does not exist in the preset processing method table, then using the preset default processing method as the target processing method for the target signal feature includes:
[0018] If the judgment result indicates that the processing method corresponding to the target signal feature does not exist in the preset processing method table, the preset default processing method will be used as the target processing method for the target signal feature, and supplementary feedback on the processing method for the target signal feature will be triggered so that the preset processing method table can be supplemented and updated for the target signal feature through the mapping table supplement interface.
[0019] Optionally, the processing the target sampling data by using the target processing method, and displaying the waveform of the data stream to be displayed based on the processed target sampling data, includes:
[0020] Determine the parameter information corresponding to the target processing method through the parameter setting interface;
[0021] Processing the target sampling data based on the parameter information and the target processing method to obtain processed waveform data;
[0022] The waveform data is used to perform waveform display of the data stream to be displayed.
[0023] Optionally, the vehicle data stream waveform display method further includes:
[0024] Determine, based on the received mapping table change instruction, the signal features to be changed in the preset processing mode table, and the processing mode to be changed corresponding to the signal features to be changed;
[0025] The preset processing method table is changed based on the signal characteristics to be changed and the processing method to be changed, and the monitored change results are fed back so that the background can analyze the change results and determine whether the locally saved default processing method table needs to be optimized based on the obtained analysis results.
[0026] In a second aspect, the present application provides a vehicle data stream waveform display device, comprising:
[0027] A data stream reading module, configured to read a plurality of data streams corresponding to the vehicle to be detected from the vehicle to be detected based on a received data stream reading instruction, so as to obtain a plurality of sampled data corresponding to the plurality of data streams;
[0028] a data determination module, configured to determine a data stream to be displayed from the plurality of data streams according to the received data stream display instruction, determine a target signal feature of the data stream to be displayed from a plurality of preset signal features, and determine target sampled data corresponding to the data stream to be displayed from the plurality of sampled data according to the data stream to be displayed;
[0029] A method determination module is used to determine whether there is a processing method corresponding to the target signal feature in the preset processing method table, and determine the target processing method of the target signal feature based on the judgment result, so as to process the target sampling data using the target processing method, and display the waveform of the data stream to be displayed based on the processed target sampling data.
[0030] In a third aspect, the present application provides an electronic device, including:
[0031] Memory, used to store computer programs;
[0032] The processor is used to execute the computer program to implement the aforementioned vehicle data stream waveform display method.
[0033] In a fourth aspect, the present application provides a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the aforementioned vehicle data stream waveform display method is implemented.
[0034] In the present application, based on the received data stream reading instruction, several data streams corresponding to the vehicle to be detected are read from the vehicle to be detected to obtain several sampling data corresponding to the several data streams; according to the received data stream display instruction, the data stream to be displayed is determined from the several data streams, and the target signal characteristics of the data stream to be displayed are determined from the preset several signal characteristics, and the target sampling data corresponding to the data stream to be displayed is determined from the several sampling data according to the data stream to be displayed; it is determined whether there is a processing method corresponding to the target signal characteristic in the preset processing method table, and the target processing method of the target signal characteristic is determined based on the obtained judgment result, so as to process the target sampling data using the target processing method, and the waveform of the data stream to be displayed is displayed based on the processed target sampling data. As can be seen from the above, the present application first reads the corresponding data streams from the vehicle to be detected based on the received data stream reading instruction to obtain the corresponding sampled data of the data streams, determines the data stream to be displayed from the data streams based on the received data stream display instruction, and determines the target signal feature of the data stream to be displayed from the preset signal features and the corresponding target sampled data from the sampled data, and then determines whether there is a processing method corresponding to the target signal feature in the preset processing method table, and determines the target processing method based on the judgment result, so as to process the target sampled data using the target processing method, and display the waveform based on the processed target sampled data. In this way, through the above process of the present application, before displaying the waveform of the vehicle data stream, the processing method of the sampled data is first determined based on the signal feature of the vehicle data stream, and the sampled data is processed using the determined processing method, so as to display the processed sampled data in waveform, and the interference data can be filtered out according to the signal feature of the vehicle data stream, and the data change trend can be better reflected, thereby optimizing the waveform display method of the vehicle data stream so that the user can intuitively analyze the change trend of the vehicle data stream. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0036] Figure 1 A flow chart of a vehicle data stream waveform display method disclosed in this application;
[0037] Figure 2 A flow chart of a specific vehicle data stream waveform display method disclosed in this application;
[0038] Figure 3 This is a schematic diagram of the structure of a vehicle data stream waveform display device disclosed in this application;
[0039] Figure 4 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION
[0040] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0041] At present, the existing vehicle data stream waveform display method only directly connects all the sampling data points in the read data stream linearly in sequence to form a simple linear waveform graph for users to view. However, in the presence of interfering sampling points, this method will still linearly connect the interfering sampling points, causing interference, and cannot achieve an intuitive display of the data stream change trend, which is inconvenient for users to analyze.
[0042] In order to overcome the above technical problems, the present application provides a vehicle data stream waveform display method to optimize the vehicle data stream waveform display method so that users can intuitively analyze the change trend of the vehicle data stream.
[0043] See also Figure 1 As shown, an embodiment of the present invention discloses a vehicle data stream waveform display method, comprising:
[0044] Step S11: reading a plurality of data streams corresponding to the vehicle to be detected from the vehicle to be detected based on the received data stream reading instruction, so as to obtain a plurality of sampled data corresponding to the plurality of data streams.
[0045] In this embodiment, a plurality of data streams corresponding to the vehicle to be detected are read from the vehicle to be detected according to the received data stream reading instruction to obtain a plurality of sampled data corresponding to the plurality of data streams. The vehicle to be detected is a vehicle that requires the user to diagnose by viewing the data stream; the sampled data is data obtained by sampling the read data stream.
[0046] It should be pointed out that when a vehicle has a problem such as a malfunction, maintenance personnel can diagnose the malfunctioning vehicle by viewing the data stream of the malfunctioning vehicle and analyzing its trend. Therefore, the vehicle data stream waveform display method provided by the present invention can be applied to diagnostic equipment, that is, equipment that can display the vehicle data stream in the form of a waveform so that diagnostic personnel can diagnose the vehicle. It can be understood that the data stream reading instruction can be an instruction automatically generated when the user connects the diagnostic device to the diagnostic interface of the vehicle to be detected and turns on the diagnostic device, or it can be an instruction obtained through a preset reading interface. Among them, the preset reading interface can be the front end of the diagnostic device. Specifically, after the diagnostic device is connected to the diagnostic interface of the vehicle to be detected, the user turns on the diagnostic device and clicks the preset button on the front end of the diagnostic device to start reading the data stream, so that the diagnostic device obtains the data stream reading instruction through the preset reading interface.
[0047] It should be noted that the present embodiment can preset a mapping relationship table between the signal characteristics of the currently known data stream and the corresponding processing methods in the diagnostic device, that is, a preset processing method table, and its processing flow is as follows: determine a number of signal characteristics and a number of processing methods corresponding to the signal characteristics based on the received mapping table setting instruction; construct a preset processing method table based on the signal characteristics, the processing methods and the mapping relationship between the signal characteristics and the processing methods. The mapping table setting instruction is obtained through a preset setting interface, including the signal characteristics set by the user and the processing methods corresponding to the signal characteristics; the preset setting interface can be the front end of the diagnostic device or the back end of the diagnostic device, and is set by the developer. That is, a mapping table setting instruction initiated by a developer is received through a preset setting interface, and then a number of signal features set by the developer and a number of processing methods corresponding to the signal features are determined from the mapping table setting instruction, and the mapping relationship between the signal features and the processing methods is determined, so as to construct the preset processing method table based on the signal features, the processing methods, and the mapping relationship between the signal features and the processing methods, so as to determine the processing method corresponding to the data stream to be displayed through the preset processing method table when the waveform display of the vehicle data stream is required, and realize the waveform display of the vehicle data stream using the processed data. In this way, this embodiment reads a number of data streams corresponding to the vehicle to be detected from the vehicle to be detected based on the received data stream reading instruction, so as to quickly determine the data stream to be displayed from the data streams when the data stream display instruction is received later, thereby improving the efficiency of the vehicle data stream waveform display.
[0048] Step S12: determining a data stream to be displayed from the plurality of data streams according to the received data stream display instruction, determining a target signal feature of the data stream to be displayed from a plurality of preset signal features, and determining target sampling data corresponding to the data stream to be displayed from the plurality of sampling data according to the data stream to be displayed.
[0049] In this embodiment, the data stream to be displayed is determined from the plurality of data streams according to the received data stream display instruction, and the target signal feature of the data stream to be displayed is determined from the preset plurality of signal features, and the target sampling data corresponding to the data stream to be displayed is determined from the plurality of sampling data according to the determined data stream to be displayed. The data stream display instruction is an instruction obtained through a preset display interface, including the data stream to be displayed selected by the user for waveform display and the set target signal feature of the data stream to be displayed, and the preset display interface can be the front end of the diagnostic device; the target signal feature includes the waveform type of the data stream, and the waveform type includes but is not limited to a stable DC wave, a pulsating AC wave, a ripple DC wave, a square wave, a sine wave, etc.
[0050] It can be understood that the preset signal features are determined based on the signal features of the currently known data streams. If a temporarily unknown signal feature appears, the target signal feature of the data stream to be displayed cannot be determined from the preset signal features. Therefore, this embodiment can continuously update the preset signal features according to the determination of the data stream to be displayed, and its processing flow is as follows: if the target signal feature corresponding to the data stream to be displayed does not exist in the preset signal features, then trigger the feature supplementary feedback for the data stream to be displayed to obtain the supplemented target signal feature, and save the supplemented target signal feature and the corresponding processing method to the preset processing method table. It should be pointed out that the preset signal features can be the signal features determined when the preset processing method table is preset. That is, when the target signal feature corresponding to the data stream to be displayed does not exist in the preset signal features, this embodiment can trigger the feature supplementary feedback for the data stream to be displayed, so as to obtain the supplemented target signal feature, and save the supplemented target signal feature and the corresponding processing method to the preset processing method table. Specifically, when the target signal feature corresponding to the data stream to be displayed cannot be determined from the preset signal features, this embodiment can provide feedback to the front end of the diagnostic device indicating that the target signal feature is not currently supported, so that the user operating the diagnostic device is aware of the situation, and provides feedback to the developer through the official platform or contact information of the diagnostic device to supplement the preset signal features. In addition, this embodiment can also directly provide feature supplement feedback to the background of the diagnostic device, package the target signal feature and the data stream to be displayed into a feature supplement request, and send it to the background to obtain the developer's supplement to the preset processing method table in response to the feature supplement request. In this way, this embodiment determines the data stream to be displayed and the target signal feature and target sampling data corresponding to the data stream to be displayed according to the received data stream display instruction, so that the processing method corresponding to the data stream to be displayed can be determined according to the target signal feature later, which is convenient for users to view the waveform of the data stream to be displayed.
[0051] Step S13, determine whether there is a processing method corresponding to the target signal feature in the preset processing method table, and determine the target processing method of the target signal feature based on the judgment result, so as to process the target sampling data using the target processing method, and display the waveform of the data stream to be displayed based on the processed target sampling data.
[0052] In this embodiment, it is first determined whether there is a processing method corresponding to the target signal feature in the preset processing method table, and then the target processing method of the target signal feature is determined based on the obtained judgment result, so as to process the target sampling data using the target processing method, and the waveform of the data stream to be displayed is displayed based on the processed target sampling data. Among them, the preset processing method table is a mapping relationship table of the preset signal features of the currently known data streams and the corresponding processing methods; the processing method includes a filtering method, and the filtering method includes but is not limited to filtering methods for waveforms such as stable DC waves, pulsating AC waves, ripple DC waves, square waves, and sine waves.
[0053] Specifically, this embodiment determines whether there is a processing method corresponding to the target signal feature in the preset processing method table. If there is a processing method corresponding to the target signal feature in the preset processing method table, the processing method is used as the target processing method for the target signal feature, and then the parameter information corresponding to the target processing method is determined through the parameter setting interface; the target sampling data is processed based on the parameter information and the target processing method to obtain processed waveform data; and the waveform data is used to display the waveform of the data stream to be displayed. That is, the parameter information corresponding to the target processing method input by the user is obtained through the parameter setting interface of the diagnostic device, and the target sampling data is processed based on the parameter information using the target processing method to obtain processed waveform data, and the waveform data is used to display the waveform of the data stream to be displayed at the front end of the diagnostic device.
[0054] It should be noted that the specific content of the parameter information varies according to the characteristics of the target signal. For example, if the signal characteristic of a data stream is a stable DC wave, the user can set parameter information of the current data stream such as the standard value and the error range through the diagnostic device, and process the data stream based on the parameter information. Assuming that the user sets the standard value to 1A (i.e., Ampere) and the error range to plus or minus 0.1A, the data in the data stream that is based on 1A and floats to plus or minus 0.1A can be processed so that all these data are displayed as 1A, thereby filtering out line interference and intuitively displaying the changing trend of the data stream; if the signal characteristic of a data stream is a square wave, the user can set parameter information of the current data stream such as the high and low level range through the diagnostic device, and process the data stream based on the parameter information. Assuming that the user sets 3V-5V (i.e., Volt) as the high level of the current data stream and 0V-3V as the low level of the current data stream, the data stream is processed based on the user's settings so that data with a voltage value of 3V-5V are all displayed as 5V, and data with a voltage value lower than 3V are displayed as 0V, so that the user can view it at the front end of the diagnostic device.
[0055] It should be further pointed out that in order to improve the personalization of the data stream processing method, the user can change the mapping relationship between the signal characteristics and the processing method in the preset processing method table based on his own needs during use. The processing flow is as follows: based on the received mapping table change instruction, determine the signal characteristics to be changed in the preset processing method table, and the processing method to be changed corresponding to the signal characteristics to be changed; based on the signal characteristics to be changed and the processing method to be changed, change the preset processing method table, and feedback the monitored change results so that the background analyzes the change results, and based on the obtained analysis results, determine whether it is necessary to optimize the locally saved default processing method table. Among them, the mapping table change instruction includes the change information set by the user based on his own needs, which is obtained through the preset change interface, and the preset change interface can be the front end of the diagnostic device; the default processing method table is a processing method table preset by the developer according to the known signal characteristics of the data stream during the development process. That is, the signal characteristics to be changed and the corresponding processing methods to be changed are determined from the received mapping table change instruction, and the signal characteristics to be changed and the processing methods to be changed are determined from the preset processing method table, and the preset processing method table is changed using the signal characteristics to be changed and the processing methods to be changed, and the change results detected by the diagnostic device are fed back to the background, so that the developer can analyze the received change results and judge whether it is necessary to optimize the default processing method table saved locally based on the obtained analysis results. Specifically, when the user needs to change the preset processing method table, this embodiment can display the signal characteristics and processing methods in the preset processing method table to the user at the front end of the diagnostic device for the user to select and set to meet the user's personalized needs. In this way, this embodiment uses the determined target processing method to process the target sampling data, so as to display the processed sampling data in waveform, filter out interference data, and better reflect the data change trend; at the same time, it supports users to change the preset processing method table according to their own needs, improve the personalization of the data stream processing method, and meet the personalized needs of users.
[0056] As can be seen from the above, the embodiment of the present application first reads the corresponding data streams from the vehicle to be detected based on the received data stream reading instruction to obtain the several sampling data corresponding to the several data streams, determines the data stream to be displayed from the several data streams based on the received data stream display instruction, and determines the target signal characteristics of the data stream to be displayed from the preset signal characteristics and the corresponding target sampling data from the several sampling data, then determines whether there is a processing method corresponding to the target signal characteristics in the preset processing method table, and determines the target processing method based on the judgment result, so as to process the target sampling data using the target processing method, and perform waveform display based on the processed target sampling data. In this way, through the above process of the embodiment of the present application, on the one hand, based on the received data stream reading instruction, several data streams corresponding to the vehicle to be detected are read from the vehicle to be detected, so that when the data stream display instruction is received later, the data stream to be displayed can be quickly determined from the several data streams, thereby improving the efficiency of the vehicle data stream waveform display; on the one hand, the data stream to be displayed and the target signal characteristics and target sampling data corresponding to the data stream to be displayed are determined according to the data stream display instruction, so that the corresponding processing method can be determined according to the target signal characteristics later, which is convenient for users to view the waveform diagram of the data stream to be displayed; on the one hand, it supports users to change the preset processing method table according to their own needs, improves the personalization of the data stream processing method, and meets the personalized needs of users; on the other hand, the target sampling data is processed using the target processing method determined according to the signal characteristics of the vehicle data stream, so that the processed sampling data is displayed as a waveform, which can filter out interference data and better reflect the data change trend, thereby optimizing the waveform display method of the vehicle data stream so that users can intuitively analyze the change trend of the vehicle data stream.
[0057] Based on the above embodiments, it can be known that, through the method of the present application, when determining the target processing method corresponding to the data stream to be displayed, the target processing method can be determined according to the target signal characteristics of the data stream to be displayed, so as to filter the interference data in the data stream to be displayed, thereby facilitating the user to more intuitively analyze the change trend of the vehicle data stream. For this reason, this embodiment describes in detail how to determine the target processing method according to the target signal characteristics of the data stream to be displayed. Figure 2 As shown, a vehicle data stream waveform display method disclosed in an embodiment of the present invention includes:
[0058] Step S21: reading a plurality of data streams corresponding to the vehicle to be detected from the vehicle to be detected based on the received data stream reading instruction, so as to obtain a plurality of sampled data corresponding to the plurality of data streams.
[0059] Step S22: determine a data stream to be displayed from the plurality of data streams according to the received data stream display instruction, determine a target signal feature of the data stream to be displayed from a plurality of preset signal features, and determine target sampling data corresponding to the data stream to be displayed from the plurality of sampling data according to the data stream to be displayed.
[0060] Step S23: determine whether there is a processing method corresponding to the target signal feature in the preset processing method table.
[0061] Step S24: If the obtained judgment result indicates that a processing method corresponding to the target signal feature exists in the preset processing method table, the processing method corresponding to the target signal feature in the preset processing method table is used as the target processing method for the target signal feature.
[0062] In this embodiment, when the judgment result obtained indicates that there is a processing method corresponding to the target signal feature in the preset processing method table, the processing method corresponding to the target signal feature in the preset processing method table is determined, and the processing method is used as the target processing method of the target signal feature. It can be understood that the preset processing method table is a mapping relationship table between the signal feature of the data stream and its corresponding processing method pre-set by the developer during development. Based on the preset processing method table, the target processing method corresponding to the target signal feature can be quickly determined, thereby improving the efficiency and accuracy of the vehicle data stream waveform display. At the same time, the user can customize the target processing method corresponding to the target signal feature according to his own waveform display requirements, thereby realizing the personalization of the method. In this way, when there is a processing method corresponding to the target signal feature in the preset processing method table in this embodiment, the processing method corresponding to the target signal feature in the preset processing method table is directly used as the target processing method, thereby improving the efficiency of the vehicle data stream waveform display.
[0063] Step S25: If the judgment result indicates that there is no processing method corresponding to the target signal feature in the preset processing method table, the preset default processing method is used as the target processing method for the target signal feature.
[0064] In this embodiment, when the judgment result indicates that the processing method corresponding to the target signal feature does not exist in the preset processing method table, the preset default processing method is used as the target processing method for the target signal feature. It should be pointed out that when the judgment result indicates that the processing method corresponding to the target signal feature does not exist in the preset processing method table, it means that the target signal feature does not belong to any of the preset signal features. In this embodiment, the preset default processing method can be used as the target processing method for the target signal feature. Among them, the default processing method is to directly linearly connect the sampled data in sequence to obtain a processing method for linear waveform data.
[0065] It should be further pointed out that, when the judgment result indicates that the processing method corresponding to the target signal feature does not exist in the preset processing method table, the present embodiment can simultaneously trigger feedback on the judgment result, and its processing flow is as follows: If the judgment result indicates that the processing method corresponding to the target signal feature does not exist in the preset processing method table, the preset default processing method is used as the target processing method for the target signal feature, and supplementary feedback on the processing method for the target signal feature is triggered, so that the preset processing method table is supplemented and updated for the target signal feature through the mapping table supplement interface. That is, when the judgment result indicates that the processing method corresponding to the target signal feature does not exist in the preset processing method table, the present embodiment can trigger supplementary feedback on the processing method for the target signal feature while using the default processing method as the target processing method for the target signal feature, so that the preset processing method table for the target signal feature is supplemented and updated through the mapping table supplement interface. In this way, when the processing method corresponding to the target signal feature does not exist in the preset processing method table, this embodiment uses the preset default processing method as the target processing method, and triggers relevant supplementary feedback to continuously supplement and update the preset processing method table based on user usage, thereby improving the scope of use of the preset processing method table and the accuracy of the vehicle data stream waveform display.
[0066] Step S26: Process the target sampling data using the target processing method, and display the waveform of the data stream to be displayed based on the processed target sampling data.
[0067] Among them, the specific implementation process of steps S21, S22, S23 and S26 can refer to the contents of the aforementioned embodiments, and will not be repeated here.
[0068] As can be seen from the above, the embodiment of the present application first reads the corresponding data streams from the vehicle to be detected based on the received data stream reading instruction to obtain the corresponding sampled data of the data streams, determines the data stream to be displayed from the data streams based on the received data stream display instruction, and determines the target signal feature of the data stream to be displayed from the preset signal features and the corresponding target sampled data from the sampled data, then determines whether there is a processing method corresponding to the target signal feature in the preset processing method table, and when the judgment result indicates that there is a processing method corresponding to the target signal feature, the processing method is used as the target processing method for the target signal feature, and when the judgment result indicates that there is no processing method corresponding to the target signal feature, the preset default processing method is used as the target processing method for the target signal feature, so that the target sampling data can be processed using the target processing method, and a waveform display is performed based on the processed target sampling data. In this way, through the above process of the embodiment of the present application, on the one hand, when the processing method corresponding to the target signal feature exists in the preset processing method table, the processing method corresponding to the target signal feature in the preset processing method table is directly used as the target processing method, thereby improving the efficiency of the vehicle data stream waveform display; on the other hand, when the processing method corresponding to the target signal feature does not exist in the preset processing method table, the preset default processing method is used as the target processing method, and relevant supplementary feedback is triggered at the same time, so as to continuously supplement and update the preset processing method table based on user usage, thereby improving the scope of use of the preset processing method table and the accuracy of the vehicle data stream waveform display, thereby facilitating users to more intuitively analyze the changing trends of vehicle data streams.
[0069] Accordingly, see Figure 3 As shown, the embodiment of the present application also provides a vehicle data stream waveform display device, including:
[0070] The data stream reading module 11 is used to read a plurality of data streams corresponding to the vehicle to be detected from the vehicle to be detected based on the received data stream reading instruction, so as to obtain a plurality of sampled data corresponding to the plurality of data streams;
[0071] The data determination module 12 is used to determine a data stream to be displayed from the plurality of data streams according to the received data stream display instruction, determine a target signal feature of the data stream to be displayed from a plurality of preset signal features, and determine target sampled data corresponding to the data stream to be displayed from the plurality of sampled data according to the data stream to be displayed;
[0072] The method determination module 13 is used to determine whether there is a processing method corresponding to the target signal feature in the preset processing method table, and determine the target processing method of the target signal feature based on the judgment result, so as to process the target sampling data using the target processing method, and display the waveform of the data stream to be displayed based on the processed target sampling data.
[0073] As can be seen from the above, the embodiment of the present application first reads the corresponding data streams from the vehicle to be detected based on the received data stream reading instruction to obtain the corresponding sampled data of the data streams, determines the data stream to be displayed from the data streams based on the received data stream display instruction, and determines the target signal feature of the data stream to be displayed from the preset signal features and the corresponding target sampled data from the sampled data, and then determines whether there is a processing method corresponding to the target signal feature in the preset processing method table, and determines the target processing method based on the judgment result, so as to process the target sampled data using the target processing method, and display the waveform based on the processed target sampled data. In this way, through the above process of the embodiment of the present application, before displaying the waveform of the vehicle data stream, the processing method of the sampled data is first determined based on the signal feature of the vehicle data stream, and the sampled data is processed using the determined processing method, so as to display the processed sampled data in waveform, and the interference data can be filtered out according to the signal feature of the vehicle data stream, and the data change trend can be better reflected, thereby optimizing the waveform display method of the vehicle data stream so that the user can intuitively analyze the change trend of the vehicle data stream.
[0074] In some specific implementations, the vehicle data stream waveform display device may further include:
[0075] A first mode determination unit, configured to determine the plurality of signal features and the plurality of processing modes corresponding to the plurality of signal features based on a received mapping table setting instruction;
[0076] The method table construction unit is used to construct the preset processing method table based on the plurality of signal features, the plurality of processing methods and the mapping relationship between the plurality of signal features and the plurality of processing methods.
[0077] In some specific implementations, the vehicle data stream waveform display device may further include:
[0078] The first feedback trigger unit is used to trigger feature supplement feedback for the data stream to be displayed if the target signal feature corresponding to the data stream to be displayed does not exist in the preset signal features, so as to obtain the supplemented target signal feature, and save the supplemented target signal feature and the corresponding processing method into the preset processing method table.
[0079] In some specific implementations, the mode determination module 13 may specifically include:
[0080] A first mode determination submodule is configured to use the processing mode corresponding to the target signal feature in the preset processing mode table as the target processing mode of the target signal feature if the obtained judgment result indicates that the processing mode corresponding to the target signal feature exists in the preset processing mode table;
[0081] The second mode determination submodule is used to use a preset default processing mode as a target processing mode for the target signal feature if the judgment result indicates that the processing mode corresponding to the target signal feature does not exist in the preset processing mode table.
[0082] In some specific implementations, the second method for determining the submodule may specifically include:
[0083] A second feedback trigger unit is used to use the preset default processing method as the target processing method for the target signal feature if the judgment result indicates that the processing method corresponding to the target signal feature does not exist in the preset processing method table, and trigger supplementary feedback on the processing method for the target signal feature, so as to supplement and update the preset processing method table for the target signal feature through the mapping table supplement interface.
[0084] In some specific implementations, the mode determination module 13 may specifically include:
[0085] An information determination unit, used to determine parameter information corresponding to the target processing method through a parameter setting interface;
[0086] A data processing unit, used for processing the target sampling data based on the parameter information and the target processing mode to obtain processed waveform data;
[0087] A waveform display unit is used to display the waveform of the data stream to be displayed using the waveform data.
[0088] In some specific implementations, the vehicle data stream waveform display device may further include:
[0089] A second mode determination unit, configured to determine the signal features to be changed in the preset processing mode table and the processing modes to be changed corresponding to the signal features to be changed based on the received mapping table change instruction;
[0090] A result feedback unit is used to change the preset processing method table based on the signal characteristics to be changed and the processing method to be changed, and to feedback the monitored change results so that the background can analyze the change results and determine whether the locally saved default processing method table needs to be optimized based on the obtained analysis results.
[0091] Furthermore, the present application also discloses an electronic device. Figure 4 It is a structural diagram of an electronic device 20 shown according to an exemplary embodiment, and the content in the figure cannot be regarded as any limitation on the scope of use of this application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. Among them, the memory 22 is used to store a computer program, and the computer program is loaded and executed by the processor 21 to implement the relevant steps in the vehicle data stream waveform display method disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.
[0092] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.
[0093] In addition, the memory 22 as a carrier for resource storage may be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon may include an operating system 221, a computer program 222, etc., and the storage method may be temporary storage or permanent storage.
[0094] The operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20, and may be Windows Server, Netware, Unix, Linux, etc. In addition to the computer program that can be used to complete the vehicle data stream waveform display method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 may further include computer programs that can be used to complete other specific tasks.
[0095] Furthermore, the present application also discloses a computer-readable storage medium for storing a computer program; wherein the computer program, when executed by a processor, implements the vehicle data stream waveform display method disclosed above. For the specific steps of the method, reference may be made to the corresponding contents disclosed in the above embodiments, and no further description will be given here.
[0096] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0097] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0098] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0099] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0100] The technical solution provided by the present application is introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for general technicians in this field, according to the idea of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A vehicle data stream waveform display method, characterized in that: include: Reading a plurality of data streams corresponding to the vehicle to be detected from the vehicle to be detected based on the received data stream reading instruction to obtain a plurality of sampled data corresponding to the plurality of data streams; Determine a data stream to be displayed from the plurality of data streams according to the received data stream display instruction, determine a target signal feature of the data stream to be displayed from a plurality of preset signal features, and determine target sampled data corresponding to the data stream to be displayed from the plurality of sampled data according to the data stream to be displayed; Determine whether there is a processing method corresponding to the target signal feature in the preset processing method table, and determine the target processing method of the target signal feature based on the judgment result, so as to process the target sampling data using the target processing method, and display the waveform of the data stream to be displayed based on the processed target sampling data.
2. The vehicle data stream waveform display method according to claim 1, characterized in that: Before reading a plurality of data streams corresponding to the vehicle to be detected from the vehicle to be detected based on the received data stream reading instruction, the method further includes: Determine the plurality of signal characteristics and the plurality of processing methods corresponding to the plurality of signal characteristics based on the received mapping table setting instruction; The preset processing method table is constructed based on the plurality of signal features, the plurality of processing methods, and a mapping relationship between the plurality of signal features and the plurality of processing methods.
3. The vehicle data stream waveform display method according to claim 1, characterized in that: Also includes: If the target signal feature corresponding to the data stream to be displayed does not exist in the preset signal features, feature supplement feedback for the data stream to be displayed is triggered to obtain the supplemented target signal feature, and the supplemented target signal feature and the corresponding processing method are saved in the preset processing method table.
4. The vehicle data stream waveform display method according to claim 1, characterized in that: The target processing method of determining the target signal feature based on the obtained judgment result includes: If the obtained judgment result indicates that there is a processing method corresponding to the target signal feature in the preset processing method table, the processing method corresponding to the target signal feature in the preset processing method table is used as the target processing method for the target signal feature; If the judgment result indicates that there is no processing method corresponding to the target signal feature in the preset processing method table, the preset default processing method is used as the target processing method for the target signal feature.
5. The vehicle data stream waveform display method according to claim 4, characterized in that: If the judgment result indicates that the processing method corresponding to the target signal feature does not exist in the preset processing method table, then the preset default processing method is used as the target processing method of the target signal feature, including: If the judgment result indicates that the processing method corresponding to the target signal feature does not exist in the preset processing method table, the preset default processing method will be used as the target processing method for the target signal feature, and supplementary feedback on the processing method for the target signal feature will be triggered so that the preset processing method table can be supplemented and updated for the target signal feature through the mapping table supplement interface.
6. The vehicle data stream waveform display method according to claim 1, characterized in that: The process of processing the target sampled data by using the target processing method, and displaying the waveform of the data stream to be displayed based on the processed target sampled data, comprises: Determine the parameter information corresponding to the target processing method through the parameter setting interface; Processing the target sampling data based on the parameter information and the target processing method to obtain processed waveform data; The waveform data is used to perform waveform display of the data stream to be displayed.
7. The vehicle data stream waveform display method according to any one of claims 1 to 6, characterized in that: Also includes: Determine, based on the received mapping table change instruction, the signal features to be changed in the preset processing mode table, and the processing modes to be changed corresponding to the signal features to be changed; The preset processing method table is changed based on the signal characteristics to be changed and the processing method to be changed, and the monitored change results are fed back so that the background can analyze the change results and determine whether the locally saved default processing method table needs to be optimized based on the obtained analysis results.
8. A vehicle data stream waveform display device, characterized in that: include: A data stream reading module, configured to read a plurality of data streams corresponding to the vehicle to be detected from the vehicle to be detected based on a received data stream reading instruction, so as to obtain a plurality of sampled data corresponding to the plurality of data streams; a data determination module, configured to determine a data stream to be displayed from the plurality of data streams according to the received data stream display instruction, determine a target signal feature of the data stream to be displayed from a plurality of preset signal features, and determine target sampled data corresponding to the data stream to be displayed from the plurality of sampled data according to the data stream to be displayed; A method determination module is used to determine whether there is a processing method corresponding to the target signal feature in the preset processing method table, and determine the target processing method of the target signal feature based on the judgment result, so as to process the target sampling data using the target processing method, and display the waveform of the data stream to be displayed based on the processed target sampling data.
9. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, used to execute the computer program to implement the vehicle data stream waveform display method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: Used to store a computer program; wherein, when the computer program is executed by a processor, the vehicle data stream waveform display method as described in any one of claims 1 to 7 is implemented.