Vehicle signal display method and device, electronic equipment and storage medium
By setting the horizontal and vertical axis mapping formats and graphic styles of the vehicle signal data, and combining the preset chart styles to generate visual charts, the existing technology problems of vehicle signal data display complexity and remote viewing difficulty are solved, and an intuitive, intuitive and Comprehensive and customized vehicle signal data display, supporting multi-dimensional data display.
Patent Information
- Application Number
- CN202410732899.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-10-22
AI Technical Summary
Existing local analysis tools have the problems of being expensive, highly professional, difficult to operate, and incompatible with the system when processing complex vehicle signal data. They are also unable to achieve remote viewing and signal analysis, and their application scenarios are relatively limited.
By setting the horizontal and vertical axis mapping formats of vehicle signal data, displaying area markers and graphic styles, and combining preset chart styles to generate visual charts, a unified timeline display of multi-dimensional vehicle signal data is realized, and data preprocessing such as cleaning, Timeline thinning and millisecond-level extreme filling provide customized signal query and personalized settings.
Effectively displays a variety of vehicle signals on a unified timeline, allowing users to understand vehicle data more intuitively and comprehensively, facilitating the analysis of correlations between different signals, providing a more intuitive way to display data for decision-making, and supporting information visualization UI layout and multi-dimensionality Data display.
Smart Images

Figure CN118823903A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle data display, and in particular to a method and device for displaying vehicle signals, electronic equipment and storage medium. Background Art
[0002] In recent years, with the continuous development of the new energy vehicle industry, new energy vehicles have gradually become intelligent and have shown an explosive growth in the number of users. In the process of digital vehicle development, the amount of vehicle data continues to increase, and the information processed becomes more complex. Therefore, it is necessary to effectively display complex vehicle signals for real-time viewing and analysis.
[0003] The existing method is to use local analysis tools, such as the CAN Open Environment (CanOE), but local analysis tools are usually expensive, highly specialized, difficult to operate, and not compatible with the system. In addition, the use of local analysis tools cannot realize remote signal viewing and signal analysis, and the application scenarios are relatively limited. Summary of the invention
[0004] The object of the present invention is to solve one of the above-mentioned technical problems at least to a certain extent.
[0005] To this end, the first purpose of the present invention is to propose a method for displaying vehicle signals. The method sets the mapping format of vehicle signal data on the horizontal and vertical axes, and sets the displayed area marks and graphic styles, so that the display of vehicle signal data is more intuitive and specific, and can map multi-dimensional vehicle signals to the same time axis, which helps to fully understand the vehicle signal data and effectively provides a data visualization layout.
[0006] To achieve the above-mentioned purpose, a first aspect of an embodiment of the present invention proposes a method for displaying a vehicle signal, the display method comprising: obtaining configuration files of multiple vehicle signals, loading data of the vehicle signal based on established query conditions, wherein the data of the vehicle signal includes the signal type, signal value, timestamp, status and predefined information of the vehicle signal; setting the data format of the timestamp of the vehicle signal on the horizontal axis so that the timestamps of multiple vehicle signals are mapped to the same horizontal axis; setting the representation information of the multiple vehicle signals on the vertical axis according to the signal type and signal value of the vehicle signal, and the vertical axis and the horizontal axis are in the same visualization area; setting the marking information of the vehicle signal according to the status of the vehicle signal; setting the graphic format of the vehicle signal according to the predefined information of the vehicle signal; and generating a visualization chart for displaying the operating conditions of multiple vehicle signals under the same horizontal axis according to the set data format, the representation information, the marking information and the graphic format, in combination with a preset chart style.
[0007] According to an embodiment of the present invention, the display method further comprises: data preprocessing of the acquired vehicle signal, wherein the data preprocessing comprises data cleaning, time axis thinning and millisecond level limit filling.
[0008] According to one embodiment of the present invention, the data format of setting the timestamp of the vehicle signal on the horizontal axis includes: setting the display state of the horizontal axis corresponding to each vehicle signal, wherein the display state includes a display state and a hidden state; converting the timestamp of the vehicle signal corresponding to the display state into a time string; and dividing the horizontal axis corresponding to the vehicle signal into multiple time intervals according to the initial time and end time of the vehicle signal.
[0009] According to one embodiment of the present invention, the characterization information of the vehicle signal data on the vertical axis is set according to the signal type and signal value of the vehicle signal, including: determining whether the type of the vehicle signal is an enumeration type according to the attribute of the vehicle signal, and if so, obtaining the enumeration value of the vehicle signal and converting the enumeration value of the vehicle signal into a corresponding semantic label; and / or determining whether there is a jump value according to the signal value of the vehicle signal, and if so, converting the signal value of the vehicle signal into a continuous value.
[0010] According to one embodiment of the present invention, setting the marking information of the vehicle signal according to the vehicle signal includes: determining the event type of the vehicle signal according to the state of the vehicle signal, wherein the event types include active, dormant and disconnected; setting a marking area for the event type of the vehicle signal; and configuring the display features of the marking area according to the marking area and the event type to characterize the state of the vehicle signal.
[0011] According to one embodiment of the present invention, setting the graphic information of the vehicle signal according to the predefined information of the vehicle signal includes: setting the graphic color and text color of the vehicle signal according to the signal color predefined in the configuration information; determining the data points of the displayed graphics according to the scaling amount obtained based on the data scaling processing; setting the display graphics of the vehicle signal according to the graphic color, text color and / or data points of the vehicle signal in combination with the setting information of the horizontal axis and the vertical axis.
[0012] According to an embodiment of the present invention, the display method further includes: monitoring the visualization chart and optimizing and adjusting the display style of the vehicle data.
[0013] To achieve the above-mentioned purpose, a second aspect of the present invention proposes a display device for vehicle signal data, the display device comprising: a loading unit, used to obtain a configuration file of a vehicle signal, and load the data of the vehicle signal based on an established query condition, wherein the data of the vehicle signal comprises the signal type, signal value, timestamp, state and predefined information of the vehicle signal; a data unit, used to set the data format of the timestamp of the vehicle signal on the horizontal axis so that the timestamps of multiple vehicle signals are mapped to the same horizontal axis; a characterization unit, used to set the characterization information of the vehicle signal on the vertical axis according to the signal type and signal value of the vehicle signal, wherein the vertical axis and the horizontal axis are in the same visualization area; a marking unit, used to set the marking information of the vehicle signal according to the state of the vehicle signal; a graphic unit, used to set the graphic format of the vehicle signal according to the predefined information of the vehicle signal; and a chart unit, used to generate a visualization chart for displaying the operating conditions of multiple vehicle signals under the same horizontal axis according to the set data format, the characterization information, the marking feature and the graphic format, in combination with a preset chart style.
[0014] To achieve the above-mentioned purpose, an embodiment of the third aspect of the present invention proposes an electronic device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the vehicle signal display method described in the embodiment of the first aspect of the present invention is implemented.
[0015] To achieve the above-mentioned purpose, a computer-readable storage medium is proposed in a fourth embodiment of the present invention, and when the computer program is executed by a processor, the method for displaying a vehicle signal described in the first embodiment of the present invention is implemented.
[0016] The vehicle signal display method provided by the embodiment of the present invention has the following advantages:
[0017] 1) Effectively display multiple vehicle signals on a unified timeline, allowing users to understand vehicle data more intuitively and comprehensively;
[0018] 2) Facilitate the analysis and solution of the correlation between different signals, and provide a more intuitive data presentation method for decision-making;
[0019] 3) Support custom signal query and personalized settings
[0020] 4) Information visualization UI layout provides data presentation in multiple dimensions in the visible area.
[0021] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0023] Figure 1 is a schematic flow chart of a method for displaying a vehicle signal according to an exemplary embodiment;
[0024] Figure 2 is a schematic diagram of a visualization chart according to an exemplary embodiment;
[0025] Figure 3 is a schematic block diagram of a display device for a vehicle signal according to an exemplary embodiment; and
[0026] Figure 4 The diagram is a schematic structural diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0027] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0028] Specifically, a method and device for displaying vehicle signal data, an electronic device, and a storage medium according to an embodiment of the present invention are described below with reference to the accompanying drawings.
[0029] Figure 1 This is a flow chart of a method for displaying vehicle signal data according to an exemplary embodiment. It should be noted that the method of the embodiment of the present invention can be applied to the device of the embodiment of the present invention, and the device for displaying vehicle signal data can be configured on an electronic device or in a server. The electronic device can be a PC or a mobile terminal. The embodiment of the present invention does not impose too many restrictions on this.
[0030] like Figure 1 As shown, the method for displaying vehicle signal data includes:
[0031] Step S110, obtaining configuration files of multiple vehicle signals, and loading data of the vehicle signals based on the established query conditions, wherein the data of the vehicle signals includes signal type, signal value, timestamp, status and predefined information of the vehicle signals.
[0032] Specifically, the present invention can send a request to the server based on the protocol documents of the front and back ends, and obtain the configuration file of the vehicle signal in Json format obtained through the interface. For example, the data of the vehicle signal of the configuration file can be loaded by obtaining the configuration file that has been shared or privately saved in the cloud through the interface, or the data of the vehicle signal of the configuration file can be obtained by creating or editing the configuration file for the first time. When used for the first time, the signal to be displayed and analyzed can be selected according to the signal classification, and the display of the signal can be preliminarily predefined, such as the corresponding chart color adjustment, order adjustment, and data addition and deletion. In addition, when selecting signal data, a fuzzy search can be performed according to the predefined Chinese name of the signal, thereby providing a more boundary signal data selection entry. In addition, after the configuration file is newly created, the present invention can save the configuration file in the cloud, which can provide convenience for subsequent analysis of vehicle signal data on the one hand, and facilitate other users to load it on the other hand, so as to analyze the same problem. In addition to fuzzy search based on Chinese name, the present invention can also set advanced screening conditions such as signal type, source, and status. When editing the configuration file, a data verification mechanism is added to ensure the legitimacy and accuracy of the data, and corresponding prompt information is provided.
[0033] When saving configuration files, a unified format specification can be established to facilitate users to migrate configuration files between different platforms or tools.
[0034] In addition, when the signal data of the vehicle needs to be displayed based on an external request, the present invention can also perform a security check. Specifically, the present invention can provide a vehicle identification number (VIN) and a time query range, wherein a VIN fuzzy search option is displayed to quickly locate and verify the legality and existence of the VIN, thereby ensuring the accuracy and reliability of the vehicle data.
[0035] Step S120: setting the data format of the timestamps of the vehicle signals on the horizontal axis so that the timestamps of multiple vehicle signals are mapped to the same horizontal axis.
[0036] Step S130: setting representation information of the plurality of vehicle signals on a vertical axis according to signal types and signal values of the vehicle signals, wherein the vertical axis and the horizontal axis are in a same visualization area.
[0037] Specifically, after loading the vehicle signal data, the present invention needs to chart and semanticize the vehicle signal data so that the vehicle signal data can be displayed intuitively and concretely. Therefore, the present invention uses a data processing plug-in to map the timestamps of multiple vehicle signals to the same time axis. For example, the display of vehicle signals is usually displayed as a horizontal axis (X axis) and a vertical axis (Y axis). The present invention defines the X axis to characterize the occurrence time of vehicle signal data and the Y axis to characterize the type and signal value of vehicle signal data based on the characteristics of vehicle signals. The data processing plug-in may include processing plug-ins such as mark area (MarkArea), data to label (TransDataToLabel), data to Y axis (TransDataToY) and generate interval (GenerateInterval). By processing and converting the data of the vehicle signal, it can be displayed in a clear and regular manner in the chart, not only converting the timestamps of multiple vehicle signals into a unified time rule representation, but also making the vertical axes of multiple vehicle signals vertically aligned.
[0038] Step S140: setting the marking information of the vehicle signal according to the state of the vehicle signal.
[0039] Specifically, in order to display the status of the vehicle signal on the chart, the present invention can mark the vehicle signal to be displayed so that the marked object is prominently displayed on the chart, thereby facilitating the user to combine other data displays to more accurately analyze the operation status of the current vehicle signal and quickly identify abnormal situations.
[0040] Step S150: setting a graphic format of the vehicle signal according to predefined information of the vehicle signal.
[0041] Specifically, the predefined information may include a predefined display style for the vehicle signal, such as a graphic style, color, text, etc., and then determine the image format of the vehicle signal, so as to more intuitively obtain the change of the vehicle signal in a graphical manner.
[0042] Step S160, generating a visual chart for displaying the operation status of multiple vehicle signals on the same horizontal axis according to the set data format, the characterization information, the marking information and the graphic format in combination with a preset chart style.
[0043] Specifically, through the above steps, the display settings of different aspects of the vehicle signal are combined with the use of corresponding chart libraries (such as ECharts, D3.js, etc.) to draw charts, thereby generating a visual chart for the vehicle signal.
[0044] In the embodiment of the present invention, by processing and converting the signal data, multi-dimensional signal data can be displayed on the same time axis, so that users can understand the vehicle signal data more intuitively and comprehensively, and effectively provide a data visualization layout.
[0045] The above steps are further described and introduced in detail below with reference to the accompanying drawings.
[0046] In a preferred embodiment, the display method further comprises: data preprocessing of the acquired vehicle signal, wherein the data preprocessing comprises data cleaning, time axis thinning and millisecond level limit filling.
[0047] For example, data cleaning is used to remove duplicate data, process missing values, remove outliers, and unify data formats. Timeline thinning is used to reduce the number of data points by sampling, aggregation, or downsampling when the timestamps of the data are too dense to optimize rendering performance. Millisecond-level data limit filling is used to fill in the missing data by forward filling, backward filling, interpolation, etc. when data is missing in certain time periods, so that the vehicle signal data can correspond to the complete timeline.
[0048] In the present invention, by preprocessing the vehicle signal data, the accuracy of data display can be improved, making subsequent data analysis more convenient.
[0049] In a preferred embodiment, the data format of the timestamp of the vehicle signal on the horizontal axis is set, including: setting the display state of the horizontal axis corresponding to each vehicle signal, wherein the display state includes a display state and a hidden state; converting the timestamp of the vehicle signal corresponding to the display state into a time string; and dividing the horizontal axis corresponding to the vehicle signal into multiple time intervals according to the initial time and end time of the vehicle signal.
[0050] For example, the present invention can set the X-axis of the last vehicle signal data displayed to be displayed, and set other X-axes to be hidden, and convert the returned timestamp into a time string, format the first data as YYYY-MM-DD hh:mm:ss, and the other data as hh:mm:ss. In addition, the present invention uses the generateInterval plug-in to set the time interval of the X-axis, so that the status and signal value of the vehicle data at different time intervals can be displayed correspondingly, making its changes within a certain period of time more intuitive.
[0051] The embodiment of the present invention uniformly processes the X-axis display corresponding to the vehicle signal data, so that the multi-dimensional vehicle signal data has a unified time display, and then the status of the multi-dimensional vehicle signal data at the same time can be known to facilitate accurate and effective data analysis.
[0052] In a preferred embodiment, according to the signal type and signal value of the vehicle signal, setting the representation information of the data of the vehicle signal on the vertical axis includes: determining whether the type of the vehicle signal is an enumeration type according to the attribute of the vehicle signal, and if so, obtaining the enumeration value of the vehicle signal, and converting the enumeration value of the vehicle signal into a corresponding semantic label; and /
[0053] Or, judging whether there is a jump value according to the signal value of the vehicle signal, and if so, converting the signal value of the vehicle signal into a continuous value.
[0054] For example, for the enumerated data display on the Y-axis, the present invention can convert the original data into semantic labels corresponding to the enumerated values through the TransDataToLabel plug-in. In this way, what is displayed on the chart will not be the original data value, but a more readable semantic label. For irregular data on the Y-axis, the TransDataToY plug-in can be used for conversion. This method can handle various irregular data, such as missing values, outliers, etc., and convert them into regular data points suitable for display on the chart. For example, data gaps can be filled or data curves can be smoothed by interpolation, smoothing, etc.
[0055] For example, taking the vehicle status as an example, the values returned by the status signal data are 0 and 1, but if 0 and 1 are displayed, it is impossible to intuitively understand the meanings of 0 and 1. Therefore, the present invention can convert the returned values into corresponding semantic labels, namely, vehicle startup status and shutdown, through the TransDataToLabel plug-in, so that the value returned by the vehicle status can be displayed more intuitively on the Y-axis.
[0056] For example, the gear signal data of a vehicle may return values including 1, 2, 3, 13, 15, etc. If such signal values are displayed on the Y axis, discontinuous jumps may occur. Therefore, the present invention may call the TransDataToY plug-in to process the discontinuous signal values returned into continuous values such as 0, 1, 2, 3, so that the values are displayed regularly and continuously on the Y axis, which is more orderly and unified.
[0057] The present invention can make the display of vehicle signals on the vertical axis more intuitive, accurate and semantic by converting the vehicle signals into labels and / or continuous processing.
[0058] In a preferred embodiment, the marking information of the vehicle signal is set according to the state of the vehicle signal, including: determining the event type of the vehicle signal according to the state of the vehicle signal, wherein the event types include active, dormant, and disconnected; setting a marking area for the event type of the vehicle signal; and configuring the display features of the marking area according to the marking area and the event type to characterize the state of the vehicle signal.
[0059] For example, the present invention can first obtain the event type of the state of the vehicle signal from the data of the vehicle signal, wherein the event type includes active, dormant, and disconnected. Then, the present invention uses the MarkArea plug-in to mark the area where the vehicle signal is to be highlighted, so that the data of the vehicle signal in the area is highlighted. Finally, according to the marked area, the corresponding background information, such as the background color, is set.
[0060] The embodiment of the present invention can highlight the time period or signal data that needs special monitoring by setting the marking information of the vehicle signal, which helps the user to quickly identify the key areas or abnormal values in the data.
[0061] In a preferred embodiment, the graphic information of the vehicle signal is set according to the predefined information of the vehicle signal, including: setting the graphic color and text color of the vehicle signal according to the signal color predefined in the configuration information; determining the data points of the displayed graphics according to the scaling amount obtained based on the data scaling processing; setting the display graphics of the vehicle signal according to the graphic color, text color and / or data points of the vehicle signal in combination with the setting information of the horizontal axis and the vertical axis.
[0062] Specifically, the type of graphic, graphic color, and associated text color representing the vehicle signal can be determined by the signal color and signal data type defined in the configuration file. For example, the graphic can be a line, etc. The data zoom plug-in is further called to obtain the zoom amount, and whether to display the marker point is determined according to the zoom amount. For example, if the zoom amount is greater than 1, the marker point is displayed. Thus, the color of the line representing the signal data and the text color are determined according to the acquired defined signal color and the display configuration of the marker point.
[0063] In a preferred embodiment, the display method further includes: monitoring the visualization chart and optimizing and adjusting the display of the vehicle signal.
[0064] Specifically, after generating a visualization chart for vehicle signal data, the present invention can also operate the visualization chart in different ways to optimize the display of vehicle signals.
[0065] For example, Figure 2is a generated visualization chart, in which A is the configuration area, which is used to load the configuration file and list the vehicle signals to be displayed. B is the conditional query area, which is used to provide the vehicle VIN verification and time range query. C is the operation area, which is used to perform visualization operations. D is the visualization area, which is used to list the vehicle signals to be displayed, such as Figure 2 As shown, the coordinate axes of multiple vehicle signals are arranged vertically, and the time axis of the vehicle signals is the same time axis. Through such a display, the operation status of each vehicle signal at the same time can be obtained, and the abnormal situation that occurs can be accurately analyzed. The present invention can call the dispatchActionAPI of Echarts, and can monitor the visualization operation of the chart; by zooming in and out buttons and pressing the mouse to slide the mouse in the visualization area D, data analysis with a smaller time granularity can be performed. Auxiliary lines can also be added, and the graphic configuration function provided by Echarts is used to provide the corresponding function of marking lines. By calling the processing auxiliary line, it is determined whether there is an auxiliary line in the chart, the auxiliary line position and style are dynamically generated, and the dragging of the auxiliary line is monitored, and the position, content and time difference of the auxiliary line text box are dynamically updated to achieve this operation. Or it can be exported, calling the export open source pdf module, and the query conditions and visualization area D are exported as pdf files, which is convenient for users to freely share the analysis results.
[0066] In summary, the method provided by the present invention has the following advantages:
[0067] 1) Effectively display multiple vehicle signals on a unified timeline, allowing users to understand vehicle signal data more intuitively and comprehensively;
[0068] 2) Facilitate the analysis of the correlation between different vehicle signals, solve the problem, and provide a more intuitive data display method for decision-making;
[0069] 3) Support custom signal query and personalized settings
[0070] 4) Information visualization UI layout provides data presentation in multiple dimensions in the visible area.
[0071] Based on the same inventive concept as the above-mentioned method for generating image samples, an embodiment of the present invention provides a display device for vehicle signals, such as Figure 3As shown, the device 300 includes: a loading unit 310, which is used to obtain a configuration file of a vehicle signal, and load the data of the vehicle signal based on the established query conditions, wherein the data of the vehicle signal includes the signal type, signal value, timestamp, state and predefined information of the vehicle signal; a data unit 320, which is used to set the data format of the timestamp of the vehicle signal on the horizontal axis so that the timestamps of multiple vehicle signals are mapped to the same horizontal axis; a representation unit 330, which is used to set the representation information of the vehicle signal on the vertical axis according to the signal type and signal value of the vehicle signal, and the vertical axis and the horizontal axis are in the same visualization area; a marking unit 340, which is used to set the marking information of the vehicle signal according to the state of the vehicle signal; a graphic unit 350, which is used to set the graphic format of the vehicle signal according to the predefined information of the vehicle signal; and a chart unit 360, which is used to generate a visualization table for displaying the operation status of multiple vehicle signals under the same horizontal axis according to the set data format, the representation information, the marking information and the graphic format, combined with a preset chart style.
[0072] The specific implementation contents and advantages of the vehicle signal display device of the present invention can be referred to the embodiment of the above-mentioned method for generating image samples, which will not be elaborated herein.
[0073] Accordingly, an embodiment of the present invention further provides an electronic device, such as Figure 4 , which shows a schematic diagram of the structure of an electronic device suitable for implementing an embodiment of the present invention. The electronic device in the embodiment of the present invention may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0074] like Figure 4 As shown, the electronic device may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage device 408 into a random access memory (RAM) 403. In RAM 403, various programs and data required for the operation of the electronic device are also stored. Processing device 401, ROM 402, and RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to bus 404.
[0075] Typically, the following devices may be connected to the I / O interface 405: input devices 406 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 408 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 409. The communication devices 409 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although Figure 4 An electronic device having various devices is shown, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0076] In particular, according to an embodiment of the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present invention provides a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 409, or installed from the storage device 408, or installed from the ROM402. When the computer program is executed by the processing device 401, the above-mentioned functions defined in the method of the embodiment of the present invention are executed.
[0077] It should be noted that the computer-readable medium of the present invention can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal can take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0078] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperTextTransferProtocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an adhoc peer-to-peer network), as well as any currently known or future developed network.
[0079] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0080] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: obtains configuration files of multiple vehicle signals, loads data of the vehicle signals based on established query conditions, wherein the data of the vehicle signals includes the signal type, signal value, timestamp, status and predefined information of the vehicle signals; sets the data format of the timestamp of the vehicle signals on the horizontal axis so that the timestamps of multiple vehicle signals are mapped to the same horizontal axis; sets the representation information of the multiple vehicle signals on the vertical axis according to the signal type and signal value of the vehicle signals, and the vertical axis and the horizontal axis are in the same visualization area; sets the marking information of the vehicle signals according to the status of the vehicle signals; sets the graphic format of the vehicle signals according to the predefined information of the vehicle signals; and generates a visualization chart for displaying the operating conditions of multiple vehicle signals under the same horizontal axis according to the set data format, the representation information, the marking information and the graphic format, in combination with a preset chart style.
[0081] Computer program code for performing the operations of the present invention may be written in one or more programming languages or combinations thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0082] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0083] The units involved in the embodiments of the present invention may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".
[0084] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0085] In the context of the present invention, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0086] The above description is only a preferred embodiment of the present invention and an explanation of the technical principles used. Those skilled in the art should understand that the disclosure scope involved in the present invention is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present invention (but not limited to) by each other.
[0087] In addition, although each operation is described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present invention. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0088] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A method for displaying a vehicle signal, characterized in that: The display method comprises: Obtaining configuration files of a plurality of vehicle signals, and loading data of the vehicle signals based on established query conditions, wherein the data of the vehicle signals includes signal types, signal values, timestamps, states, and predefined information of the vehicle signals; Setting the data format of the timestamps of the vehicle signals on the horizontal axis so that the timestamps of multiple vehicle signals are mapped to the same horizontal axis; According to the signal type and signal value of the vehicle signal, setting the representation information of the plurality of vehicle signals on the vertical axis, wherein the vertical axis and the horizontal axis are in the same visualization area; According to the state of the vehicle signal, setting the marking information of the vehicle signal; According to the predefined information of the vehicle signal, setting the graphic format of the vehicle signal; and According to the set data format, characterization information, marking information and graphic format, combined with a preset chart style, a visual chart is generated for displaying the operating conditions of multiple vehicle signals under the same horizontal axis.
2. The display method according to claim 1, characterized in that: The display method further includes: The acquired vehicle signal is preprocessed, wherein the data preprocessing includes data cleaning, time axis thinning and millisecond level limit filling.
3. The display method according to claim 1, characterized in that: The data format of setting the timestamp of the vehicle signal on the horizontal axis includes: Setting a display state of the horizontal axis corresponding to each vehicle signal, wherein the display state includes a display state and a hidden state; Converting the timestamp of the vehicle signal corresponding to the display state into a time string; and The horizontal axis corresponding to the vehicle signal is divided into a plurality of time intervals according to the initial time and the end time of the vehicle signal.
4. The display method according to claim 1, characterized in that: The step of setting the representation information of the data of the vehicle signal on the vertical axis according to the signal type and signal value of the vehicle signal includes: Determining whether the type of the vehicle signal is an enumeration type according to the attribute of the vehicle signal, and if so, obtaining the enumeration values of the multiple vehicle signals and converting the enumeration values of the multiple vehicle signals into corresponding semantic labels; and / or According to the signal value of the vehicle signal, it is determined whether there is a jump value, and if so, the signal value of the vehicle signal is converted into a continuous value.
5. The display method according to claim 1, characterized in that: The step of setting the marking information of the vehicle signal according to the state of the vehicle signal comprises: Determining an event type of the vehicle signal according to a state of the vehicle signal, wherein the event type includes active, dormant, and disconnected; marking an area of an event type for the vehicle signal; According to the marked area and the event type, a display feature of the marked area is configured to characterize the state of the vehicle signal.
6. The display method according to claim 1, characterized in that: The step of setting the graphic information of the vehicle signal according to the predefined information of the vehicle signal comprises: Setting the graphic color and text color of the vehicle signal according to the predefined signal color in the configuration information; Determining a data point of the displayed graphic according to a scaling amount obtained based on the data scaling process; The display graphic of the vehicle signal is set according to the graphic color, text color and / or data point of the vehicle signal in combination with the setting information of the horizontal axis and the vertical axis.
7. The display method according to claim 1, characterized in that: The display method further includes: Perform visualization operations on the visualization chart to optimize and adjust the display of the vehicle signal.
8. A display device for vehicle signal data, characterized in that: The display device comprises: A loading unit, configured to obtain a configuration file of a vehicle signal, and load data of the vehicle signal based on an established query condition, wherein the data of the vehicle signal includes a signal type, a signal value, a timestamp, a state, and predefined information of the vehicle signal; A data unit, used to set the data format of the timestamp of the vehicle signal on the horizontal axis so that the timestamps of multiple vehicle signals are mapped to the same horizontal axis; a characterization unit, configured to set characterization information of the vehicle signal on a vertical axis according to a signal type and a signal value of the vehicle signal, wherein the vertical axis and the horizontal axis are in the same visualization area; a marking unit, configured to set marking information of the vehicle signal according to a state of the vehicle signal; a graphic unit, configured to set a graphic format of the vehicle signal according to predefined information of the vehicle signal; and The chart unit is used to generate a visual chart for displaying the operation status of multiple vehicle signals under the same horizontal axis according to the set data format, the characterization information, the marking characteristics and the graphic format, combined with a preset chart style.
9. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the vehicle signal display method according to any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the vehicle signal display method according to any one of claims 1-7.
Citation Information
Patent Citations
Vehicle data display control method and waveform display device
CN112799556A
Data processing method and device, computer equipment and storage medium
CN113742366A
Method and device for simultaneously displaying state information of multiple devices and storage medium
CN114766018A
Vehicle driving state display method, system and device
CN115171412A
Vehicle data display method and device, electronic equipment and storage medium
CN115220677A
