Measurement data synchronous display method and system and computer program product

By setting synchronization identifiers and synchronization functions for the measurement data display window in automotive software, synchronous display between different windows is realized, solving the problems of insufficient display of signal groups and unfavorable function division when many signal groups are not displayed, and flexible synchronous display and function division are realized.

CN120234375APending Publication Date: 2025-07-01SHANGHAI TOSUN TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510122633.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-11-17
Filing Date
2023-12-22
Publication Date
2025-07-01

AI Technical Summary

Technical Problem

When the prior art realizes synchronous display of measurement data in automotive software, the signal group cannot be displayed in multiple time segments, and a window is used to couple multiple sets of signals, which is not conducive to the division of test functions.

Method used

The synchronization identifier and synchronization function are set for multiple measurement data display windows respectively. When the display time span of any pause state is changed, the synchronization function is called for matching and synchronization operations.

Benefits of technology

It realizes synchronous display between different measurement data display windows, the time range can be synchronized, and the synchronization methods can be combined arbitrarily, solving the problem of not being able to display when many signal groups are present, and supports flexible testing function division.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120234375A_ABST
    Figure CN120234375A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of measurement, and particularly relates to a measurement data synchronous display method and device and a computer readable storage medium, and the measurement data synchronous display method comprises the steps: respectively setting a synchronous identifier and a synchronous function for a plurality of measurement data display windows; when the display time span of any measurement data display window in the pause state is changed, the synchronization functions of the other measurement data display windows in the pause state are called, and the synchronization identifiers of the measurement data display window in the pause state and the synchronization identifiers of the other measurement data display windows in the pause state are matched in the synchronization functions; and if the matching is consistent, executing a synchronization operation.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This is a divisional application of the measurement data synchronous display method, device and computer-readable storage medium with the application number 2023117805204. Technical Field

[0002] The invention belongs to the technical field of measurement, and particularly relates to a measurement data synchronous display method, device and computer-readable storage medium. 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 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.

[0004] When actually using 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 shift moment requires synchronizing the signal displays in the group related to the powertrain and the group related to the chassis electronic control.

[0005] To solve this problem, in the related art, some software platforms generally divide a measurement data display window into multiple columns, each column displays a group of signals, and all columns share 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.

[0006] 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. Summary of the Invention

[0007] The purpose of the invention is to provide a measurement data synchronous display method, device and computer-readable storage medium.

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

[0009] Setting a synchronization identifier and a synchronization function for each of multiple measurement data display windows;

[0010] When the display time span of any paused measurement data display window is changed, the synchronization functions of the remaining paused measurement data display windows are called. In the synchronization function, the synchronization identifier of this paused measurement data display window is matched with the synchronization identifiers of the remaining paused measurement data display windows. If the match is consistent, a synchronization operation is performed.

[0011] In another aspect, the present invention further provides a device, including: at least one memory and at least one processor, wherein

[0012] the memory stores computer-executable instructions, and when the computer-executable instructions are executed by the processor, the processor executes the measurement data synchronous display method as described above.

[0013] In a third aspect, the present invention further provides 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.

[0014] 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 graphic window, a message information window, etc., and the time ranges in the message information window and the graphic window can be synchronized, and the synchronization methods can be combined arbitrarily.

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

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

[0017] 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, other drawings can be obtained based on these drawings without creative efforts.

[0018] Figure 1 show a step diagram of the measurement data synchronous display method involved in some embodiments;

[0019] Figure 2 show a schematic diagram of a graphic window involved in some embodiments;

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

[0021] Figure 4Shows a schematic diagram of the graphical window "Engine Speed" involved in some embodiments being in a paused state, and the display time span is from 30 seconds to 40 seconds;

[0022] Figure 5 Shows a schematic diagram of the graphical window "Engine Speed" involved in some embodiments being in a paused state, and the display time span is from 35 seconds to 45 seconds;

[0023] Figure 6 Shows a schematic diagram of the graphical window "Engine Speed" involved in some embodiments being in the measurement process;

[0024] Figure 7 Shows a schematic diagram of the graphical window "Engine Speed" involved in some embodiments being in a paused state;

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

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

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

[0028] Figure 11 Shows a schematic block diagram of the measurement data synchronous display system in the automotive bus tool software involved in some embodiments;

[0029] Figure 12 Shows a schematic block diagram of the measurement data synchronous display system involved in some embodiments;

[0030] Figure 13 Shows a schematic block diagram of an electronic device or apparatus involved in some embodiments. Detailed implementation manners

[0031] 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. Obviously, 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.

[0032] 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 a group related to the powertrain and a group related to the chassis electronic control. Different groups need to be displayed using different measurement data display windows to avoid mutual influence.

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

[0034] 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 timeline. When the scale of the timeline changes, all columns will display the current signals according to the scale of the timeline, achieving synchronous display.

[0035] However, this method also has defects. That is, when there are many signal groups, they cannot be fully displayed in the columns. 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.

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

[0037] The method for synchronous display of measurement data in some embodiments synchronizes between different measurement data display windows. The measurement data display windows include, for example but not limited to, graph windows, message information windows, etc., and the time ranges in the message information windows and graph windows can be synchronized, and the synchronization methods can be combined arbitrarily.

[0038] The method for synchronous display of 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 synchronous display of measurement data in automotive bus tool software can perform synchronous display in the following application scenarios:

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

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

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

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

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

[0044] The advantage brought by the synchronous display between a graph window and a message information window is that when an abnormality occurs in the signal curve in the graph window, it is possible to directly switch to the message information window. Instead of scrolling the scroll bar of the message information window to locate the problem message, it is only necessary to 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 graph window.

[0045] Next, with reference to the accompanying drawings, various non-limiting embodiments of the embodiments of the present disclosure will be described in detail.

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

[0047] Step S101, setting a synchronization identifier and a synchronization function for each of multiple measurement data display windows;

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

[0049] Step S103, if the matching is consistent, a synchronization operation is performed.

[0050] In some embodiments, as Figure 2 and Figure 3As shown, the measurement data display window includes, for example but not limited to, a graph 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, enabling 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.

[0051] 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 instead maintains the current display to facilitate the user's analysis of the signal data in the current display.

[0052] 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 changing the display time span.

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

[0054] Step S201, set the start moment of the time axis of the current measurement data display window;

[0055] Step S202, set the end moment of the time axis of the current measurement data display window;

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

[0057] In some embodiments, when the display time span of any measurement data display window in the paused state is changed, it includes: an event affecting the display time span is triggered; calculate the current display time span of the measurement data display window in the paused state according to the event affecting the display time span; update the display time span of the measurement data display window in the paused state to the current display time span.

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

[0059] In some embodiments, the influence of a mouse event includes, 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.

[0060] Mouse wheel zooming causes the displayed time span to shift left or right, while the displayed time length is enlarged or reduced.

[0061] In some embodiments, the impacts of keyboard events are, for example but not limited to, as follows:

[0062] Pressing the left or right key causes the displayed time span to translate left or right, and the length of the displayed time span remains unchanged.

[0063] Pressing the Home key causes the displayed time span to translate left to the measurement start point, and the length of the displayed time span remains unchanged.

[0064] Pressing the End key causes the displayed time span to translate right to the measurement end point, and the length of the displayed time span remains unchanged.

[0065] Pressing the E key causes the displayed time length to be enlarged.

[0066] Pressing the D key causes the displayed time length to be reduced.

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

[0068] Pressing the F key causes the start point of the displayed time span to be set to the measurement start point, and the end point of the displayed time span to be set to the measurement end point.

[0069] In some embodiments, the impacts of program control events are, for example but not limited to, as follows:

[0070] Calling the system API function "app.set_analysis_time_range" and passing in two parameters, namely the start point and the end point of the displayed time span, realizes the automatic setting of the displayed time span.

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

[0072] 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 displayed time span is from 30 seconds to 40 seconds.

[0073] When the displayed time span of this graphical window is translated 5 seconds to the right, the displayed time span change event bound to this graphical window is triggered. In the change event handling function, first calculate the latest displayed time span after the change. For the previous displayed 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 displayed time span is changed to from 35 seconds to 45 seconds; subsequently, in the graphical window, the signal curve within the displayed time span is updated, as Figure 5 shown.

[0074] In some embodiments, the method of matching the synchronization identifier of the measurement data display window in the pause state with those of the measurement data display windows in the remaining pause states in the synchronization function includes:

[0075] Determine whether the synchronization identifier of the measurement data display window in the pause state is the same as those of the measurement data display windows in the remaining pause states. If they are the same, the matching is consistent.

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

[0077] Suppose that graphic windows A, B, and C are all in the pause state. Their synchronization identifier lists are as follows:

[0078] Graphical Window Name Synchronization Identifier Graphical Window A DEFAULT Graphical Window B CUSTOM Graphical Window C DEFAULT

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

[0080] In some embodiments, the method of performing the synchronization operation includes:

[0081] Transfer the current display time span of the measurement data display window in any pause state as a parameter to the synchronization function of the measurement data display windows in the pause states with consistent matching;

[0082] The measurement data display windows with consistent matching will modify their own display time spans 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 consistent matching are the same as the display time span of the measurement data display window in the pause state, thus realizing the synchronization operation.

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

[0084] Suppose that graphic windows A, B, and C are all in the pause state. Their synchronization identifier lists are as follows:

[0085]

[0086]

[0087] 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 function. The judgment result is that the graphic window B is different and the graphic window C is the same.

[0088] The matching graphic window C that is consistent immediately modifies 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 realized, and then the synchronization process ends.

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

[0090] Judge 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 a paused state.

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

[0092] As Figure 6 shown, taking the graphic window "Engine Speed" as an example, there is a bool type variable IsPaused in the graphic window "Engine Speed". This variable is associated with the first button in the toolbar of this graphic window. When this variable is false, it indicates that this graphic 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.

[0093] As Figure 7 shown, when the user clicks this button, the variable associated with this button is changed from false to true, indicating that this graphic 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.

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

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

[0096] The user hopes to view the values of other signals in the message where the "IdleRunning" signal is located at the moment of signal change. 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 graphic window "Engine Speed", the displayed time span of this window is the same as that of the graphic window "EngineSpeed".

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

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

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

[0100] 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; wherein

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

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

[0103] 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 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;

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

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

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

[0107] Obtain a plurality of measurement data from an ECU through a bus adapter;

[0108] After obtaining the measurement data of a plurality of ECUs, set 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;

[0109] Show at least one measurement data display window and / or an interface for synchronously displaying a plurality of measurement data display windows through a graphical interface.

[0110] 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, see the above detailed description, and details are not described herein again.

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

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

[0113] The synchronization setting module is configured to set a synchronization identifier and a synchronization function for each of a plurality of measurement data display windows;

[0114] A synchronous matching judgment module, configured to call the synchronization function of the measurement data display windows in the remaining pause states when the display time span of the measurement data display window in any pause state is changed, and match 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; and

[0115] A synchronous execution module, configured to perform a synchronization operation when the synchronous matching judgment module determines that the matching is consistent.

[0116] Among them, the computer instructions corresponding to the specific implementation functions of the synchronization setting module, the synchronous matching judgment module, and the synchronous 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, which will not be elaborated here.

[0117] Some embodiments further 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 the measurement data synchronous display method; the measurement data synchronous display method includes: setting synchronization identifiers and synchronization functions for a plurality of measurement data display windows respectively; when the display time span of the measurement data display window in any pause state is changed, the synchronization functions of the measurement data display windows in the remaining pause states are called, and 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 in the synchronization function; if the matching is consistent, a synchronization operation is performed. For details, please refer to the detailed description of the measurement data synchronous display method, which will not be elaborated here.

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

[0119] The specific implementation manners of some embodiments do not limit the specific implementation of the electronic device.

[0120] Such as Figure 13As shown, the 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 synchronization display method, and the program causes the processor to execute the operations corresponding to the measurement data synchronization display method. The measurement data synchronization display method includes: setting synchronization identifiers and synchronization functions for multiple measurement data display windows respectively; when the display time span of any paused measurement data display window is changed, the synchronization functions of the remaining paused measurement data display windows are called, and in the synchronization function, the synchronization identifier of this paused measurement data display window is matched with the synchronization identifiers of the remaining paused measurement data display windows; if the match is consistent, a synchronization operation is performed. For specific details, please refer to the detailed description of the measurement data synchronization display method, which will not be elaborated here.

[0121] 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.

[0122] Figure 13 The shown structure does not limit the electronic device, and it can include fewer or more components than shown, or combine certain components, or have different component arrangements.

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

[0124] 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 disk, etc. In some embodiments, it can be an internal storage unit of a computer device, such as the hard disk of the computer device. In other embodiments, the memory can 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 can also include both the internal storage unit of the computer device and the external storage 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.

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

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

[0127] Optionally, the computer device can further include a user interface, and the user interface can include a display, an input unit such as a keyboard. Optionally, the user interface can further include a standard wired interface and a wireless interface. Optionally, in some embodiments, the display can 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 can 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.

[0128] When the processor executes the program, it implements the steps in the embodiments of the measurement data synchronization display method shown above, such as Figure 1 For example Figure 1Steps S101 to S103 as shown. Alternatively, when the processor executes the computer program, it implements the functions of each module or unit in the above device embodiments.

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

[0130] 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 multiple measurement data display windows respectively; 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 paused state measurement data display window is matched with the synchronization identifiers of the remaining paused state measurement data display windows. If the match is consistent, a synchronization operation is performed. Please refer to the specific description of the measurement data synchronous display method and will not be elaborated here.

[0131] 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 is enabled to execute any of the above possible measurement data synchronous display methods.

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

[0133] Set synchronization identifiers and synchronization functions for multiple measurement data display windows respectively;

[0134] 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 paused state measurement data display window is matched with the synchronization identifiers of the remaining paused state measurement data display windows; if the match is consistent, a synchronization operation is performed.

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

[0136] The display time span of the measurement data display window in any pause state is changed, including: 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.

[0137] Optionally, as a possible implementation manner, these instructions can 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.

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

[0139] The method for 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 they are the same, the matching is consistent.

[0140] Optionally, as a possible implementation manner, these instructions can also cause at least one processor or one or more computer devices to perform the following operations: The method for 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 function of each measurement data display window with consistent matching; each measurement data display window with consistent matching 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 each measurement data display window with consistent matching are the same as the display time span of the measurement data display window in this pause state, so as to implement the synchronization operation.

[0141] Optionally, as a possible implementation manner, 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 the pause state includes: determining whether the pause flag of the measurement data display window is true, and if it is true, it means that the measurement data display window is in the pause state.

[0142] Optionally, as a possible implementation manner, 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.

[0143] Optionally, as a possible implementation manner, 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.

[0144] 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 can be carried out with a debugging device, such as a vehicle ECU (Electronic Control Unit) and its related systems, 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.

[0145] 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, devices such as the electronic power steering system EPS, the anti-lock braking system ABS, the electronic stability system ESC, the vehicle engine management system, and the battery management system BMS can be connected to the computer device through the bus to receive multiple measurement data.

[0146] 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 can 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.

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

[0148] If the above functions are implemented in the form of software functional modules and sold or used as an independent product, 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 each embodiment of the present invention.

[0149] Based on the above inspiration from the ideal embodiments of the present invention, 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 method for synchronous display of measurement data, characterized in that, Including: When the display time span of the measurement data display window in any pause state is changed, and the synchronization identifier of the measurement data display window in this pause state is the same as that of the measurement data display windows in the remaining pause states, the current display time span of the measurement data display window in this pause state is passed as a parameter to the synchronization functions of the measurement data display windows in each pause state that match; And Each measurement data display window that matches 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 each measurement data display window that matches are the same as the display time span of the measurement data display window in this pause state, realizing the synchronization operation.

2. The measurement data synchronous display method according to claim 1, wherein It also includes: Setting synchronization identifiers and synchronization functions for multiple measurement data display windows respectively; When the display time span of the measurement data display window in any pause state is changed, the synchronization functions of the measurement data display windows in the remaining pause states are called to match 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; If they match, the current display time span of the measurement data display window in this pause state is passed as a parameter to the synchronization functions of the measurement data display windows in each pause state that match.

3. The measurement data synchronous display method according to claim 2, characterized in that The change of the display time span of the 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.

4. The measurement data synchronous display method according to claim 2, characterized in that The event affecting the display time span is a trigger event.

5. The measurement data synchronous display method according to claim 4, characterized in that The trigger event includes: mouse event, keyboard event and program control event.

6. The measurement data synchronous display method according to claim 2, characterized in that The method for judging whether the measurement data display window is in a pause state includes: 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 a pause state; The synchronization identifier is of string type; The measurement data display window is a graphic window or a message information window.

7. The measurement data synchronous display method according to claim 2, characterized in that The measurement data synchronous display method is applicable to the synchronous display of automotive bus measurement data in automotive bus tool software.

8. The measurement data synchronous display method according to claim 1, characterized in that The synchronization identifier is a string information, which is used as an attribute of the measurement data display window; and The synchronization function is a callback function, and this callback function is defined in the base class of all measurement data display windows.

9. The measurement data synchronous display method according to claim 1, characterized in that 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 instead maintains the current display.

10. The measurement data synchronization display method according to claim 8 or 9, characterized in that The method of matching the synchronization identifier of the measurement data display window in the paused state with the synchronization identifiers of the measurement data display windows in the other paused states in the synchronization function includes: Determine whether the synchronization identifiers of the measurement data display window in the paused state and the measurement data display windows in the other paused states are the same. If they are the same, the matching is consistent.

11. A measurement data synchronization display system, characterized in that, Including: A computer device, a bus adapter, and a debugging device; The computer device communicates with the debugging device through the bus adapter to obtain multiple measurement data applied to the measurement data synchronization display method according to any one of claims 1-0.

12. The measurement data synchronization display system according to claim 11, characterized in that The bus adapter includes one or more of a CAN bus adapter, a CANFD bus adapter, a FastLIN bus adapter, a LIN bus adapter, an Ethernet bus adapter, and a FlexRay bus adapter; and The debugging device includes one or more of an electronic 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, and a vehicle ECU.

13. 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 the measurement data synchronization display method according to any one of claims 1-10.

14. A computer-readable storage medium stores computer-readable instructions, and when executed by at least one processor, causes the measurement data synchronization display method according to any one of claims 1-10 to be executed.

15. A computer program product includes a computer program or instructions, and when the computer program or instructions are executed on a computer, the computer can execute the measurement data synchronization display method according to any one of claims 1-10.

16. A method executed by a measurement data synchronization display system, including: Obtaining multiple measurement data from an ECU through a bus adapter; After obtaining the measurement data of multiple ECUs, setting synchronization identifiers and synchronization functions for multiple measurement data display windows respectively; And when the display time span of the measurement data display window in any paused state is changed, the synchronization functions of the measurement data display windows in the other paused states are called, and the synchronization identifier of the measurement data display window in the paused state is matched with the synchronization identifiers of the measurement data display windows in the other paused states in the synchronization function; if the matching is consistent, a synchronization operation is performed.

17. A measurement data synchronization display system in an automotive bus tool software, which includes: An execution synchronization setting module, a synchronization matching judgment module, and a synchronization execution module are provided, where the synchronization setting module is configured to set a synchronization identifier and a synchronization function for a plurality of measurement data display windows respectively; the synchronization matching judgment module is configured to, when the display time span of any measurement data display window in a paused state is changed, call the synchronization functions of the remaining measurement data display windows in the paused state, and match 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; and the synchronization execution module is configured to perform a synchronization operation when the synchronization matching judgment module determines that the matching is consistent.