Measurement Data Synchronous Display System and Its Execution Method

By setting synchronization identifiers and synchronization functions for the measurement data display window, the problem of inability to display the columns and signal coupling when viewing the signal in the measurement data display window in the automotive software is solved, and the synchronous display between different windows is realized, which improves the testing efficiency.

CN118192845BActive Publication Date: 2025-07-18SHANGHAI TOSUN TECH LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410413426.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2023-11-17
Filing Date
2024-04-08
Publication Date
2025-07-18
Estimated Expiration
2044-04-08

AI Technical Summary

Technical Problem

In the prior art, when the automotive software measurement data display window needs to synchronize the timeline to view signals, the column display cannot be displayed and multiple groups of signals are coupled, affecting the division of test functions.

Method used

A measurement data synchronization display system is provided. By setting synchronization identifiers and synchronization functions for multiple measurement data display windows, the synchronization function is used to match and synchronize operations when the display time span changes, so as to realize synchronous display between different measurement data display windows.

Benefits of technology

It realizes synchronization between different measurement data display windows, especially suitable for synchronous display of measurement data in automotive bus tool software, which facilitates synchronous viewing of signal curves and message information when analyzing problems, and improves testing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118192845B_ABST
    Figure CN118192845B_ABST
Patent Text Reader

Abstract

The present invention belongs to the field of measurement technology, and particularly relates to a measurement data synchronous display system and an implementation method thereof. The measurement data synchronous display system includes: at least one bus adapter configured to obtain a plurality of measurement data from an ECU; at least one computer device, which includes: a processor, a display for communicating with the processor to present a graphical interface, a readable storage medium, a communication bus, and a communication interface; wherein the processor, the readable storage medium, and the communication interface communicate with the bus adapter through the communication bus; the readable storage medium is configured to store an instruction program; the processor is configured to execute the instruction program to cause the processor to perform a measurement data synchronous display operation after obtaining the plurality of measurement data.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is based on and claims priority to U.S. Patent Application No. 18 / 512,085, filed on November 17, 2023. The entire content of the above application is incorporated herein by reference. Technical Field

[0002] The present invention belongs to the field of measurement technology, and particularly relates to a measurement data synchronous display system and an execution method thereof. Background Art

[0003] The measurement data display window in vehicle software needs to display multiple signals. For example, the graph window needs to display the curves of multiple signals. According to the needs of vehicle testing, these signals need to be grouped, such as groups related to powertrain, and groups related to chassis electronic control. Different groups need to be displayed using different measurement data display windows to avoid mutual influence.

[0004] In actual use of these groups, there are often situations where it is necessary to view signals with a synchronized time axis. For example, observing the wheel speed signal at the gear shift moment requires synchronizing the signal displays in the groups related to powertrain and the groups related to chassis electronic control.

[0005] To solve this problem, in related technologies, some software platforms generally adopt the method of dividing a measurement data display window into multiple columns, with each column displaying a group of signals, and all columns sharing the same time axis. When the scale of the time axis changes, all columns will display the current signals according to the scale of the time axis, achieving synchronous display.

[0006] However, this method also has defects. That is, when there are many signal groups, the columns cannot display all of them. At the same time, this method uses one window to couple multiple groups of signals, which is not conducive to the division of test functions. Summary of the Invention

[0007] The purpose of the present invention is to provide a measurement data synchronous display system and an execution method thereof.

[0008] To solve the above technical problems, the present invention provides a measurement data synchronous display system, including:

[0009] At least one bus adapter, configured to obtain multiple measurement data from the ECU;

[0010] At least one computer device, the computer device includes: a processor, a display for presenting a graphical interface in communication with the processor, a readable storage medium, a communication bus, and a communication interface; wherein

[0011] The processor, the readable storage medium, and the communication interface communicate with the bus adapter through the communication bus;

[0012] The readable storage medium is configured to store an instruction program;

[0013] The processor is configured to, after obtaining a plurality of measurement data, execute the instruction program so that the processor performs the following operations: setting a synchronization identifier and a synchronization function for each of a plurality of measurement data display windows; when the display time span of any measurement data display window in a paused state is changed, the synchronization functions of the remaining measurement data display windows in the paused state are called, and in the synchronization function, the synchronization identifier of the measurement data display window in the paused state is matched with the synchronization identifiers of the remaining measurement data display windows in the paused state; if it is determined that the match is consistent, a synchronization operation is performed;

[0014] The display shows at least one measurement data display window and / or an interface for synchronous display of a plurality of measurement data display windows through a graphical interface.

[0015] In another aspect, the present invention also provides a method executed by a measurement data synchronous display system, including:

[0016] Obtaining a plurality of measurement data from an ECU through a bus adapter;

[0017] After obtaining the measurement data of a plurality of ECUs, setting a synchronization identifier and a synchronization function for each of a plurality of measurement data display windows; and when the display time span of any measurement data display window in a paused state is changed, the synchronization functions of the remaining measurement data display windows in the paused state are called, and in the synchronization function, the synchronization identifier of the measurement data display window in the paused state is matched with the synchronization identifiers of the remaining measurement data display windows in the paused state; if the match is consistent, a synchronization operation is performed;

[0018] Displaying at least one measurement data display window and / or an interface for synchronous display of a plurality of measurement data display windows through a graphical interface.

[0019] The beneficial effect of the present invention is that the measurement data synchronous display method of the present invention can achieve synchronization between different measurement data display windows. The measurement data display windows include, for example but not limited to, a graphical window, a message information window, etc., and the time ranges in the message information window and the graphical window can be synchronized, and the synchronization methods can be combined arbitrarily.

[0020] Other features and advantages of the present invention will be described in the following specification, and part of them will become obvious from the specification, or will be understood by implementing the present invention. The objectives and other advantages of the present invention are achieved and obtained by the structures specifically pointed out in the specification and the drawings.

[0021] To make the above objectives, features, and advantages of the present invention more obvious and understandable, the following specific preferred embodiments are given, and in conjunction with the accompanying drawings, the detailed description is as follows. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the specific embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0023] Figure 1 Shows a step diagram of a measurement data synchronization display method involved in some embodiments;

[0024] Figure 2 Shows a schematic diagram of a graphic window involved in some embodiments;

[0025] Figure 3 Shows a schematic diagram of a message information window involved in some embodiments;

[0026] Figure 4 Shows a schematic diagram of the graphic window "Engine Speed" in a paused state and with a display time span from 30 seconds to 40 seconds in some embodiments;

[0027] Figure 5 Shows a schematic diagram of the graphic window "Engine Speed" in a paused state and with a display time span from 35 seconds to 45 seconds in some embodiments;

[0028] Figure 6 Shows a schematic diagram of the graphic window "Engine Speed" during the measurement process in some embodiments;

[0029] Figure 7 Shows a schematic diagram of the graphic window "Engine Speed" in a paused state in some embodiments;

[0030] Figure 8 Shows a schematic diagram of the curve change of the signal "IdleRunning" in the graphic window involved in some embodiments;

[0031] Figure 9 Shows the corresponding in some embodiments Figure 8 Schematic diagram of the message information window corresponding to the graphic window in;

[0032] Figure 10 Shows a schematic diagram of the expansion at the moment of 67.892935 seconds in the message information window involved in some embodiments;

[0033] Figure 11The block diagram of the measurement data synchronous display system in the automotive bus tool software involved in some embodiments is shown;

[0034] Figure 12 The block diagram of the measurement data synchronous display system involved in some embodiments is shown;

[0035] Figure 13 The block diagram of the electronic device or apparatus involved in some embodiments is shown. Detailed implementation manners

[0036] To make the objectives, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Apparently, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0037] The measurement data display window in the vehicle software needs to display multiple signals. For example, the graphic window needs to display the curves of multiple signals. According to the needs of automotive testing, these signals need to be grouped, such as the group related to the powertrain, and the group related to the chassis electronic control. Different groups need to be displayed using different measurement data display windows to avoid mutual influence.

[0038] When actually using these groups, situations often occur where it is necessary to view the signals with a synchronized time axis. For example, observing the wheel speed signal at the shift moment requires synchronizing the signal displays in the group related to the powertrain and the group related to the chassis electronic control.

[0039] To solve this problem, in the related art, some software platforms generally adopt the method of dividing a measurement data display window into multiple columns, each column displaying a group of signals, and all columns sharing the same time axis. When the scale of the time axis changes, all sub-columns will display the current signals according to the scale of the time axis, achieving synchronous display.

[0040] However, this method also has defects. That is, when there are many signal groups, the sub-columns cannot display them all. At the same time, this method uses one window to couple multiple groups of signals, which is not conducive to the division of test functions.

[0041] Therefore, at least one embodiment provides a method for synchronously displaying measurement data, including: setting a synchronization identifier and a synchronization function for a plurality of measurement data display windows respectively; when the display time span of any measurement data display window in a paused state is changed, the synchronization functions of the remaining measurement data display windows in the paused state are called, and in the synchronization function, the synchronization identifier of the measurement data display window in the paused state is matched with the synchronization identifiers of the remaining measurement data display windows in the paused state. If the match is consistent, a synchronization operation is performed.

[0042] The method for synchronously displaying measurement data in some embodiments synchronizes between different measurement data display windows. The measurement data display windows include, for example but not limited to, a graphic window, a message information window, etc. Moreover, the time ranges in the message information window and the graphic window can be synchronized, and the synchronization methods can be combined arbitrarily.

[0043] The method for synchronously displaying measurement data in some embodiments is particularly applicable to the synchronous display of automotive bus measurement data in automotive bus tool software. The specific method for synchronously displaying measurement data in automotive bus tool software can perform synchronous display in the following application scenarios:

[0044] 1) When analyzing the signals in a specific time period in the message list, the curves of other messages in the same time period in the graphic window can be synchronously viewed, and vice versa;

[0045] 2) When analyzing the signals in a specific time period in the graphic window, the curves of other messages in the same time period in other graphic windows can be synchronously viewed, and vice versa;

[0046] 3) When analyzing the signals in a specific time period in the message list, the signal values in the same time period in other message information windows can be synchronously viewed, and vice versa;

[0047] 4) When online analyzing the signals in a specific time period in the message information window or the graphic window in a process of an automotive bus tool software, the signal information in the relevant message information window or the graphic window in the same time period in another or multiple processes of the same type of automotive bus tool software can be synchronously viewed, and vice versa.

[0048] The advantage brought by the synchronous display between graphic windows is that when viewing the curves of one graphic window, the curves at the same moment in another graphic window can be synchronously viewed, which is convenient for problem analysis.

[0049] The benefits brought by the synchronized display of the graphical window and the message information window are as follows: When an abnormality is found in the signal curve in the graphical window, one can directly switch to the message information window. Instead of scrolling the scroll bar of the message information window to locate the problem message, one can directly view the current display area of the message information window because the display time span of the current display area of the message information window has been automatically synchronized during the process of viewing the graphical window.

[0050] The following will, with reference to the accompanying drawings, elaborate on various non-limiting implementation manners of the embodiments of the present disclosure in detail.

[0051] As Figure 1 shown, some embodiments provide a method for synchronized display of measurement data, including:

[0052] Step S101, setting a synchronization identifier and a synchronization function for multiple measurement data display windows respectively;

[0053] Step S102, when the display time span of any measurement data display window in the paused state is changed, the synchronization functions of the remaining measurement data display windows in the paused state are called, and in the synchronization function, the synchronization identifier of this measurement data display window in the paused state is matched with the synchronization identifiers of the remaining measurement data display windows in the paused state, that is, synchronization matching judgment is realized;

[0054] Step S103, if the matching is consistent, then perform a synchronization operation.

[0055] In some embodiments, as Figure 2 and Figure 3 shown, the measurement data display window includes, for example but not limited to, a graphical window, a message information window, etc. The synchronization identifier is a string of information, which is an attribute of the measurement data display window. The synchronization function is a callback function, and this callback function is defined in the base class of all measurement data display windows, which enables each measurement data display window to implement this callback function. Inside the callback function, each measurement data display window decides how to perform synchronization according to its own characteristics.

[0056] In some embodiments, the measurement data display window is divided into two states: running and paused. When the running state is activated, the measurement data display window can continuously track and display the latest signal state. When the paused state is activated, the measurement data display window does not track and display the latest signal state, but will maintain the current display, facilitating the user to analyze the signal data in the current display.

[0057] In some embodiments, the display time span includes two time points, namely: the start time point and the end time point. Changing any one of the time points means that the display time span is changed.

[0058] In some embodiments, the synchronization operation includes, for example but not limited to, the following action steps:

[0059] Step S201, setting the start time of the time axis of the current measurement data display window;

[0060] Step S202, setting the end time of the time axis of the current measurement data display window;

[0061] Step S203, refreshing the data display of the current measurement data display window so that the current measurement data display window displays the data from the start time to the end time of the time axis.

[0062] In some embodiments, when the display time span of the measurement data display window in any pause state is changed, it includes: an event affecting the display time span is triggered; the current display time span of the measurement data display window in the pause state is calculated according to the event affecting the display time span; and the display time span of the measurement data display window in the pause state is updated to the current display time span.

[0063] In some embodiments, the event affecting the time span is a trigger event, and the trigger event may specifically include, for example but not limited to, a mouse event, a keyboard event, and a program control event.

[0064] In some embodiments, the influence of the mouse event is, for example but not limited to, the following: dragging the left mouse button causes the display time span to be translated left or right, and the length of the display time span remains unchanged.

[0065] Zooming the mouse wheel causes the display time span to be offset left or right, and at the same time, the display time length is enlarged or reduced.

[0066] In some embodiments, the influence of the keyboard event is, for example but not limited to, the following:

[0067] Pressing the left or right key causes the display time span to be translated left or right, and the length of the display time span remains unchanged.

[0068] Pressing the Home key causes the display time span to be translated left to the measurement start point, and the length of the display time span remains unchanged.

[0069] Pressing the End key causes the display time span to be translated right to the measurement end point, and the length of the display time span remains unchanged.

[0070] Pressing the E key causes the display time length to be enlarged.

[0071] Pressing the D key causes the display time length to be reduced.

[0072] Pressing the I key causes the display time length to be reset to the default length (20 seconds).

[0073] Press the F key to set the start point of the display time span to the measurement start point and the end point of the display time span to the measurement end point.

[0074] In some embodiments, the effects of program control events include, but are not limited to, the following:

[0075] Call the system API function "app.set_analysis_time_range" and pass in two parameters: the start point of the display time span and the end point of the display time span to automatically set the display time span.

[0076] The following uses a case to illustrate in detail the process of changing the display time span of the measurement data display window in any pause state:

[0077] As Figure 4 shown, taking the graphical window "Engine Speed" in the software as an example, this graphical window is in a paused state, and the current display time span is from 30 seconds to 40 seconds.

[0078] When the display time span of this graphical window is shifted 5 seconds to the right, the display time span change event bound to this graphical window is triggered. In the change event handling function, first calculate the latest display time span after the change. In the previous display time span, the start time point is increased by 5 seconds, and the end time point is increased by 5 seconds, that is, the current display time span is changed to from 35 seconds to 45 seconds; subsequently, in the graphical window, the signal curve within the display time span is updated, as Figure 5 shown.

[0079] In some embodiments, the method of matching the synchronization identifier of the measurement data display window in this pause state with the synchronization identifiers of the measurement data display windows in other pause states in the synchronization function includes:

[0080] Judge whether the synchronization identifier of the measurement data display window in this pause state is the same as the synchronization identifiers of the measurement data display windows in other pause states. If they are the same, the matching is consistent.

[0081] The following uses a case to illustrate in detail the method of matching the synchronization identifier of the measurement data display window in this pause state with the synchronization identifiers of the measurement data display windows in other pause states in the synchronization function:

[0082] Suppose graphical window A, graphical window B, and graphical window C are all in a paused state. Their synchronization identifier lists are as follows:

[0083] Graphical Window Name Synchronization Flag Graphical Window A DEFAULT Graphical Window B CUSTOM Graphical Window C DEFAULT

[0084] When the display time span of the graphic window A changes, the synchronization matching judgment will compare the synchronization identifier of the graphic window A with those of the graphic window B and the graphic window C. The synchronization identifier of the graphic window A is DEFAULT, which is equal to the synchronization identifier of the graphic window C and not equal to that of the graphic window B. Therefore, the graphic window C will be synchronized with the graphic window A, while the graphic window B will not be synchronized.

[0085] In some embodiments, the method for performing the synchronization operation includes:

[0086] Taking the current display time span of any measurement data display window in the paused state as a parameter and passing it to the synchronization function of each measurement data display window in the paused state that matches;

[0087] Each measurement data display window that matches will modify its own display time span to the display time span carried by the parameter in the corresponding synchronization function, that is, the display time spans of each measurement data display window that matches are the same as the display time span of the measurement data display window in this paused state, thus achieving the synchronization operation.

[0088] The following uses a case to illustrate in detail the method for performing the synchronization operation:

[0089] Suppose the graphic window A, the graphic window B, and the graphic window C are all in the paused state. Their synchronization identifier lists are as follows:

[0090] Graphical Window Name Synchronization Flag Graphical Window A DEFAULT Graphical Window B CUSTOM Graphical Window C DEFAULT

[0091] The initial display time span of the graphic window A is from the start time of 1 second to the end time of 3 seconds. The user changes it to the start time of 2 seconds and the end time of 6 seconds. Subsequently, the synchronization matching judgment reads out the synchronization identifier of the graphic window A and its latest current display time span, and uses them as parameters to call the synchronization functions of the graphic window B and the graphic window C. The graphic window B and the graphic window C respectively judge whether their own synchronization identifiers are the same as that of the graphic window A within the synchronization functions. The judgment result is that the graphic window B is different and the graphic window C is the same.

[0092] The matching graphic window C will immediately modify its own display time span to the current display time span passed by the graphic window A, that is, the start time of 2 seconds and the end time of 6 seconds. Thus, the synchronization operation between the graphic window A and the graphic window C is achieved, and then the synchronization process ends.

[0093] In some embodiments, the method for judging that the measurement data display window is in the paused state includes:

[0094] Judging whether the pause flag of the measurement data display window is true. If it is true, it means that the measurement data display window is in the paused state.

[0095] The following uses a case to illustrate in detail the method for judging that the measurement data display window is in a paused state:

[0096] As Figure 6 shown, taking the graphical window "Engine Speed" as an example, there is a bool-type variable IsPaused in the graphical window "Engine Speed". This variable is associated with the first button in the toolbar of this graphical window. When this variable is false, it indicates that the graphical window is in the measurement process, that is, this button is displayed as "Pause", and the user can click this button to pause the measurement.

[0097] As Figure 7 shown, when the user clicks this button, the variable associated with this button changes from false to true, indicating that the graphical window is in a paused state. At this time, the button is displayed as "Run", and the user can click this button to continue the measurement.

[0098] The user uses the graphical window "Engine Speed" in the paused state and the message information window "Engine Trace" to analyze the automotive bus. The synchronization identifiers of these two windows are both "DEFAULT".

[0099] As Figure 8 shown, the user drags the graphical window with the left mouse button to observe the change of the signal curve in the graphical window over time. When the start time point of the dragged display time span is close to 67.6 seconds and the end time point is close to 68 seconds, it is found that the state of the signal "IdleRunning" changes from "Idle" to "Running".

[0100] The user hopes to view the values of other signals in the message where the "IdleRunning" signal changes. As Figure 9 shown, at this time, the user switches to the message information window "Engine Trace". Since this window is also in a paused state and the synchronization identifier is the same as that of the graphical window "Engine Speed", the display time span of this window is the same as that of the graphical window "EngineSpeed".

[0101] As Figure 10As shown, the user only needs to expand the message of the frame slightly before the 67.9 - second moment to immediately locate the change moment of the signal "IdleRunning". It can be seen that the value of the "IdleRunning" signal at the 67.841980 - second moment is "Idle", while the value of this signal at the 67.892935 - second moment is "Running", indicating that the 67.892935 - second moment is the change moment of this signal. Then, by expanding the other signals of the message where this signal is located at the 67.892935 - second moment, the values of the other signals of the message where this signal is located can be observed.

[0102] As Figure 11 shown, some embodiments also provide a measurement data synchronous display system, which includes:

[0103] At least one bus adapter, configured to obtain a plurality of measurement data from the ECU;

[0104] At least one computer device, the computer device includes: a processor, a display for communicating with the processor to present a graphical interface, a readable storage medium, a communication bus, and a communication interface; where

[0105] The processor, the readable storage medium, and the communication interface communicate with the bus adapter through the communication bus;

[0106] The readable storage medium is configured to store an instruction program;

[0107] The processor is configured to, after obtaining a plurality of measurement data, execute the instruction program to cause the processor to perform the following operations: set a synchronization identifier and a synchronization function for each of the plurality of measurement data display windows respectively; when the display time span of any measurement data display window in a paused state is changed, the synchronization functions of the remaining measurement data display windows in a paused state are called, and in the synchronization function, the synchronization identifier of this paused - state measurement data display window is matched with the synchronization identifiers of the remaining measurement data display windows in a paused state; if it is determined that the match is consistent, a synchronization operation is performed;

[0108] The display displays at least one measurement data display window and / or an interface for synchronous display of a plurality of measurement data display windows through the graphical interface.

[0109] In some embodiments, the measurement data synchronous display system can be applied to automotive bus tool software or can also be used for data acquisition and analysis of other debugging devices.

[0110] Some embodiments also provide a method executed by a measurement data synchronous display system, including:

[0111] Obtain a plurality of measurement data from the ECU through the bus adapter;

[0112] After obtaining the measurement data of multiple ECUs, set synchronization identifiers and synchronization functions for multiple measurement data display windows respectively; and when the display time span of a measurement data display window in any pause state is changed, the synchronization functions of the remaining measurement data display windows in the pause state are called, and the synchronization identifier of the measurement data display window in this pause state is matched with the synchronization identifiers of the remaining measurement data display windows in the pause state in the synchronization function; if the match is consistent, a synchronization operation is performed;

[0113] Display at least one measurement data display window and / or an interface for synchronous display of multiple measurement data display windows through a graphical interface.

[0114] For the measurement data synchronous display method involved in the measurement data synchronous display system and the method executed by the measurement data synchronous display system, please refer to the above detailed description and will not be elaborated here.

[0115] As Figure 12 shown, some embodiments also provide a measurement data synchronous display system in an automotive bus tool software, which includes:

[0116] A synchronization setting module, a synchronization matching judgment module, and a synchronization execution module, where

[0117] The synchronization setting module is configured to set synchronization identifiers and synchronization functions for multiple measurement data display windows respectively;

[0118] The synchronization matching judgment module is configured to, when the display time span of a measurement data display window in any pause state is changed, call the synchronization functions of the remaining measurement data display windows in the pause state, and match the synchronization identifier of the measurement data display window in this pause state with the synchronization identifiers of the remaining measurement data display windows in the pause state in the synchronization function; and

[0119] The synchronization execution module is configured to perform a synchronization operation when the synchronization matching judgment module determines that the match is consistent.

[0120] Among them, the computer instructions corresponding to the specific implementation functions of the synchronization setting module, the synchronization matching judgment module, and the synchronization execution module are stored in a computer-readable storage medium and implemented in a computer device. For details, reference can be made to the content of the foregoing measurement data synchronous display method and will not be elaborated here.

[0121] Some embodiments also provide a device, including: at least one memory and at least one processor, wherein the memory stores computer-executable instructions, and when the computer-executable instructions are executed by the processor, the processor executes a measurement data synchronous display method; the measurement data synchronous display method includes: setting a synchronization identifier and a synchronization function for each of a plurality of measurement data display windows; when the display time span of any measurement data display window in a paused state is changed, the synchronization functions of the remaining measurement data display windows in the paused state are called, and in the synchronization function, the synchronization identifier of the measurement data display window in the paused state is matched with the synchronization identifiers of the remaining measurement data display windows in the paused state; if the match is consistent, a synchronization operation is performed. For specific details, please refer to the detailed description of the measurement data synchronous display method, which will not be elaborated here.

[0122] The following describes the electronic device in the embodiments of the present disclosure from the perspective of hardware processing:

[0123] The specific implementation manner of some embodiments does not limit the specific implementation of the electronic device.

[0124] As Figure 13 shown, the present electronic device includes: a processor, a readable storage medium (which can also be referred to as a memory), a communication bus, and a communication interface; wherein the processor, the readable storage medium, and the communication interface communicate with each other through the communication bus; the readable storage medium is used to store a program for executing the measurement data synchronous display method, and the program causes the processor to execute the operations corresponding to the measurement data synchronous display method, and the measurement data synchronous display method includes: setting a synchronization identifier and a synchronization function for each of a plurality of measurement data display windows; when the display time span of any measurement data display window in a paused state is changed, the synchronization functions of the remaining measurement data display windows in the paused state are called, and in the synchronization function, the synchronization identifier of the measurement data display window in the paused state is matched with the synchronization identifiers of the remaining measurement data display windows in the paused state; if the match is consistent, a synchronization operation is performed. For specific details, please refer to the detailed description of the measurement data synchronous display method, which will not be elaborated here.

[0125] In other embodiments, the specific hardware structure of a computer device, an industrial control computer, or a device can also be used as a type of electronic device.

[0126] Figure 13 The structure shown does not limit the electronic device, and it may include fewer or more components than shown in the figure, or combine some components, or have a different component arrangement.

[0127] In some embodiments, the communication interface may be an RS232, RS485, USB port, TYPE port, etc., which is a communication interface that can be connected to an external bus adapter. It may also include a wired or wireless network interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the computer device and other electronic devices.

[0128] Among them, the readable storage medium or computer-readable storage medium includes at least one type of memory, and the memory includes flash memory, hard disk, multimedia card, card-type memory (such as SD memory, etc.), magnetic memory, magnetic disk, optical disc, etc. In some embodiments, it may be an internal storage unit of the computer device, such as the hard disk of the computer device. In other embodiments, the memory may also be an external storage device of the computer device, such as a plug-in hard disk equipped on the computer device, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. Further, the memory may also include both an internal storage unit and an external storage device of the computer device. The memory can be used not only to store application software installed on the computer device and various types of data, such as the code of a computer program, etc., but also to temporarily store data that has been output or will be output.

[0129] In some embodiments, the processor may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips, which is used to run the program code stored in the memory or process data, such as executing a computer program.

[0130] In some embodiments, the communication bus may also be an input / output bus, which may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc.

[0131] Optionally, the computer device may further include a user interface, which may include a display, an input unit such as a keyboard. Optionally, the user interface may further include a standard wired interface and a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch liquid crystal display, and an OLED (Organic Light-Emitting Diode) toucher, etc. Among them, the display may also be appropriately referred to as a display screen or a display unit, which is used to display the information processed in the computer device and to display a visual user interface.

[0132] When the processor executes the program, it implements the steps in the above-mentioned Figure 1 embodiment of the measurement data synchronous display method shown, such as Figure 1 the steps S101 to S103 shown. Alternatively, when the processor executes a computer program, it implements the functions of each module or unit in the above-mentioned device embodiments.

[0133] Some embodiments also provide a computer-readable storage medium, which is configured to store any of the above possible measurement data synchronous display methods.

[0134] Some embodiments also provide a computer-readable storage medium storing computer-readable instructions, which when executed by at least one processor, cause the measurement data synchronous display method as described above to be executed, specifically, setting synchronization identifiers and synchronization functions for a plurality of measurement data display windows respectively; when the display time span of any measurement data display window in a paused state is changed, the synchronization functions of the remaining measurement data display windows in the paused state are called, and in the synchronization function, the synchronization identifier of the measurement data display window in the paused state is matched with the synchronization identifiers of the remaining measurement data display windows in the paused state. If the match is consistent, a synchronization operation is performed. Please refer to the specific description of the measurement data synchronous display method, and details are not described here again.

[0135] Some embodiments also provide a computer program product, including a computer program or instructions, wherein when the computer program or instructions are executed on a computer, the computer can execute any of the above possible measurement data synchronous display methods.

[0136] Some embodiments also provide a computer program product, including a computer-readable storage medium, on which computer-readable program code is stored, and the computer-readable program code includes instructions that cause at least one processor or one or more computer devices to perform the following operations:

[0137] Setting synchronization identifiers and synchronization functions for a plurality of measurement data display windows respectively;

[0138] When the display time span of the measurement data display window in any pause state is changed, the synchronization function of the measurement data display windows in the remaining pause states is called, and in the synchronization function, the synchronization identifier of the measurement data display window in this pause state is matched with the synchronization identifiers of the measurement data display windows in the remaining pause states; if the match is consistent, a synchronization operation is performed.

[0139] Optionally, as a possible implementation, these instructions may also cause at least one processor or one or more computer devices to perform the following operations:

[0140] The change in the display time span of the measurement data display window in any pause state includes: an event affecting the display time span is triggered; the current display time span of the measurement data display window in this pause state is calculated according to the event affecting the display time span; and the display time span of the measurement data display window in this pause state is updated to the current display time span.

[0141] Optionally, as a possible implementation, these instructions may also cause at least one processor or one or more computer devices to perform the following operations: The events affecting the display time span include: mouse events, keyboard events, and program control events.

[0142] Optionally, as a possible implementation, the processor or one or more computer devices may also be used to implement the following steps:

[0143] The method of matching the synchronization identifier of the measurement data display window in this pause state with the synchronization identifiers of the measurement data display windows in the remaining pause states in the synchronization function includes: determining whether the synchronization identifier of the measurement data display window in this pause state is the same as the synchronization identifiers of the measurement data display windows in the remaining pause states, and if so, the match is consistent.

[0144] Optionally, as a possible implementation, these instructions may also cause at least one processor or one or more computer devices to perform the following operations: The method of performing the synchronization operation includes: passing the current display time span of the measurement data display window in any pause state as a parameter to the synchronization functions of the measurement data display windows in the pause states with consistent matches; the measurement data display windows with consistent matches modify their own display time spans to the display time spans carried by the parameters in the corresponding synchronization functions, that is, the display time spans of the measurement data display windows with consistent matches are the same as the display time span of the measurement data display window in this pause state, and the synchronization operation is realized.

[0145] Optionally, as a possible implementation, these instructions can also cause at least one processor or one or more computer devices to perform the following operations: The method for determining that the measurement data display window is in a paused state includes: determining whether the pause flag of the measurement data display window is true, and if it is true, it indicates that the measurement data display window is in a paused state.

[0146] Optionally, as a possible implementation, these instructions can also cause at least one processor or one or more computer devices to perform the following operations: The synchronization identifier is of string type.

[0147] Optionally, as a possible implementation, these instructions can also cause at least one processor or one or more computer devices to perform the following operations: The measurement data display window is a graphic window or a message information window.

[0148] In some embodiments, the bus adapter can be a CAN (Controller Area Network) bus adapter, a CANFD (Controller Area Network Flexible Data Rate) bus adapter, a FastLIN (Fast Local Interconnect Network) bus adapter, a LIN (Local Interconnect Network) bus adapter, an Ethernet bus adapter, a FlexRay bus adapter, it can also be one-to-many, or many-to-many. In some other embodiments, no specific implementation of the bus adapter is limited. In some embodiments, communication with a debugging device, such as a vehicle ECU (Electronic Control Unit) and its related systems, can be performed through the UDS (Unified Diagnostic Services) or XCP (Universal Calibration Protocol) or CCP (CAN Calibration Protocol) protocol to obtain multiple measurement data from the ECU.

[0149] In some embodiments, for the debugging device in the automotive field, it can specifically be a vehicle ECU (Electronic Control Unit) and its related systems. For example, but not limited to, an electric power steering system EPS, an anti-lock braking system ABS, an electronic stability system ESC, an automotive engine management system, a battery management system BMS, etc. These devices can be connected to the computer device through a bus to receive multiple measurement data.

[0150] In several embodiments provided by this application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architectures, functions, and operations of devices, methods, and computer program products according to multiple embodiments of the present invention. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, and the module, program segment, or part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, as well as the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.

[0151] In addition, the functional modules in various embodiments of the present invention can be integrated together to form an independent part, or each module can exist separately, or two or more modules can be integrated to form an independent part.

[0152] If the above functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention.

[0153] Taking the above ideal embodiments of the present invention as an inspiration, through the above description, relevant staff can completely make various changes and modifications without departing from the technical idea of this invention. The technical scope of this invention is not limited to the content in the specification, and its technical scope must be determined according to the scope of the claims.

Claims

1. A measurement data synchronization display system, characterized in that, Comprising: At least one bus adapter, configured to obtain a plurality of measurement data from an ECU; At least one computer device, the computer device comprising: a processor, a display for communicating with the processor to present a graphical interface, a readable storage medium, a communication bus, and a communication interface; wherein The processor, the readable storage medium, and the communication interface communicate with the bus adapter via the communication bus; The readable storage medium is configured to store an instruction program; The processor is configured to, after obtaining a plurality of measurement data, execute the instruction program to cause the processor to perform the following operations: set synchronization identifiers and synchronization functions for a plurality of measurement data display windows respectively; when the display time span of any measurement data display window in a paused state is changed, the synchronization functions of the remaining measurement data display windows in the paused state are called, and in the synchronization function, the synchronization identifier of the measurement data display window in the paused state is matched with the synchronization identifiers of the remaining measurement data display windows in the paused state; if it is determined that the match is consistent, perform a synchronization operation; The display displays an interface for synchronous display of a plurality of measurement data display windows through the graphical interface; Matching the synchronization identifier of the measurement data display window in the paused state with the synchronization identifiers of the remaining measurement data display windows in the paused state in the synchronization function includes: Determining whether the synchronization identifier of the measurement data display window in the paused state is the same as the synchronization identifiers of the remaining measurement data display windows in the paused state, and if the same, the match is consistent; Performing the synchronization operation includes: Passing the current display time span of any measurement data display window in a paused state as a parameter to the synchronization functions of the measurement data display windows in the paused state that match; The measurement data display windows that match modify their own display time spans to the display time spans carried by the parameters in the corresponding synchronization functions, that is, the display time spans of the measurement data display windows that match are the same as the display time span of the measurement data display window in the paused state, thereby realizing the synchronization operation.

2. The measurement data synchronous display system according to claim 1, wherein The change in the display time span of any measurement data display window in a paused state includes: An event affecting the display time span is triggered; Calculating the current display time span of the measurement data display window in the paused state according to the event affecting the display time span; Updating the display time span of the measurement data display window in the paused state to the current display time span.

3. The measurement data synchronous display system according to claim 1, wherein The event affecting the display time span is a trigger event, and includes: a mouse event, a keyboard event, and a program control event.

4. The measurement data synchronous display system according to claim 1, wherein The determination of whether the measurement data display window is in a paused state includes: Determining whether the pause flag of the measurement data display window is true, and if true, it indicates that the measurement data display window is in a paused state.

5. The measurement data synchronous display system according to claim 1, wherein The synchronization identifier is of string type; The measurement data display window is a graphic window or a message information window; The bus adapter is a CAN bus adapter or a CANFD bus adapter or a FastLIN bus adapter or a LIN bus adapter or an Ethernet bus adapter or a FlexRay bus adapter; and Communicate with the ECU through the UDS or XCP or CCP protocol to obtain multiple measurement data from the debugging device.

6. A method for implementing a measurement data synchronization display system, characterized in that, It includes: Obtain multiple measurement data from the ECU through the bus adapter; After obtaining the measurement data of multiple ECUs, set a synchronization identifier and a synchronization function for each of the multiple measurement data display windows respectively; And when the display time span of a measurement data display window in any pause state is changed, the synchronization functions of the remaining measurement data display windows in the pause state are called, and in the synchronization function, the synchronization identifier of the measurement data display window in this pause state is matched with the synchronization identifiers of the remaining measurement data display windows in the pause state; if the match is consistent, a synchronization operation is performed; Display the interface of the synchronized display of multiple measurement data display windows through the graphical interface; In the synchronization function, matching the synchronization identifier of the measurement data display window in this pause state with the synchronization identifiers of the remaining measurement data display windows in the pause state includes: Judging whether the synchronization identifier of the measurement data display window in this pause state is the same as that of the remaining measurement data display windows in the pause state, and if it is the same, the match is consistent; Performing the synchronization operation includes: Taking the current display time span of a measurement data display window in any pause state as a parameter and passing it to the synchronization functions of the measurement data display windows in each pause state with consistent matches; Each measurement data display window with a consistent match modifies its own display time span to the display time span carried by the parameter in the corresponding synchronization function, that is, the display time spans of the measurement data display windows with a consistent match are the same as the display time span of the measurement data display window in this pause state, so as to achieve the synchronization operation.

7. The method according to claim 6, wherein The change of the display time span of a measurement data display window in any pause state includes: An event affecting the display time span is triggered; Calculating the current display time span of the measurement data display window in this pause state according to the event affecting the display time span; Updating the display time span of the measurement data display window in this pause state to the current display time span.

8. The method according to claim 6, wherein The event affecting the display time span is a trigger event; The trigger event includes: a mouse event, a keyboard event, and a program control event.

Citation Information

Patent Citations

  • Method and apparatus for synchronously displaying measurement data and computer readable storage medium

    US20250166253A1