Measurement data synchronous display method, device and computer readable storage medium

By setting synchronization identifiers and functions for the measurement data display window in automotive software, synchronous timeline display between multiple signal groups is realized, which solves the problem of multiple signal groups being displayed and the window coupling in the prior art, and improves the problem of multiple signal groups being displayed and displayed in the previous technology. Analytical efficiency and functional division were carried out.

CN117743480BActive Publication Date: 2025-02-11SHANGHAI TOSUN TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311780520.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2023-11-17
Filing Date
2023-12-22
Publication Date
2025-02-11
Estimated Expiration
2043-12-22

AI Technical Summary

Technical Problem

The prior art is difficult to realize the synchronous timeline display between multiple signal groups in automotive software, which makes it difficult to view signals synchronously. The signal group cannot be displayed in multiple time segment columns, and multiple sets of signals are coupled using one window. Not conducive to the division of test functions.

Method used

Set synchronization identifier and synchronization functions for multiple measurement data display windows respectively. When the display time span of the measurement data display window in any paused state is changed, the synchronization function of the measurement data display window in the rest of the paused state is called and the The synchronization identifiers of other windows are matched. If the match is consistent, the synchronization operation will be performed.

Benefits of technology

It realizes synchronous display between different measurement data display windows, including the time range synchronization of the graphics window and the message information window. The synchronization method can be arbitrarily combined, solving the problem of the lack of display and the window coupling when the signal group is too many, and improving the testing function division and analysis efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117743480B_ABST
    Figure CN117743480B_ABST
Patent Text Reader

Abstract

The present invention belongs to the field of measurement technology, and specifically relates to a method, device and computer-readable storage medium for synchronous display of measurement data, wherein the method for synchronous display of measurement data comprises: respectively setting synchronization identifiers and synchronization functions for multiple 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 measurement data display windows in the remaining paused states are called, and in the synchronization function, the synchronization identifiers of the measurement data display window in the paused state are matched with the synchronization identifiers of the measurement data display windows in the remaining paused states, and if the matches are consistent, the synchronization operation is performed.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is based upon and claims the benefit of priority from U.S. patent application No. 18 / 512,085 filed on November 17, 2023. The entire contents of the above application are incorporated herein by reference. Technical Field

[0002] The present invention belongs to the field of measurement technology, and in particular relates to a method and device for synchronously displaying measurement data, and a computer-readable storage medium. Background Art

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

[0004] When actually using these groups, you often encounter situations where you need to synchronize the time axis to view the signal, such as observing the wheel speed signal at the moment of gear shifting. This requires synchronizing the signal display in the powertrain-related group and the chassis electronic control-related group.

[0005] In order to solve this problem, some software platforms in the related art generally adopt the approach of dividing 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 columns will display the current signal according to the scale of the time axis, achieving synchronous display.

[0006] However, this method also has its flaws. That is, when there are many signal groups, the columns cannot be displayed. 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 present invention aims to provide a method, device and computer readable storage medium for synchronous display of measurement data

[0008] In order to solve the above technical problems, the present invention provides a method for synchronously displaying measurement data, comprising:

[0009] Set synchronization flags and synchronization functions for multiple measurement data display windows respectively;

[0010] When the display time span of any paused measurement data display window is changed, the synchronization function of the remaining paused measurement data display windows is called, in which the synchronization identifiers of the paused measurement data display window and the remaining paused measurement data display windows are matched, and if the match is consistent, the synchronization operation is performed.

[0011] In another aspect, the present invention further provides a device, comprising: 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, enables the aforementioned method for synchronous display of measurement data 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, and the measurement data display windows include, but are not limited to, graphic windows, message information windows, etc., and the time ranges in the message information window and the graphic window can be synchronized, and the synchronization methods can be arbitrarily combined.

[0015] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description and the drawings.

[0016] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1 A diagram showing the steps of a method for synchronously displaying measurement data according to some embodiments;

[0019] Figure 2 A schematic diagram of a graphics window involved in some embodiments is shown;

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

[0021] Figure 4A schematic diagram showing that the graphic window "Engine Speed" involved in some embodiments is in a paused state and the display time span is 30 seconds to 40 seconds;

[0022] Figure 5 A schematic diagram showing that the graphic window "Engine Speed" involved in some embodiments is in a paused state and the display time span is 35 seconds to 45 seconds;

[0023] Figure 6 A schematic diagram showing a graphical window "Engine Speed" involved in some embodiments during measurement;

[0024] Figure 7 A schematic diagram showing a graphical window "Engine Speed" in a paused state according to some embodiments;

[0025] Figure 8 A schematic diagram showing a curve change of a signal "IdleRunning" in a graphic window involved in some embodiments is shown;

[0026] Fig. 9 Some embodiments of the present invention are shown in FIG. Figure 8 Schematic diagram of the message information window in the graphic window;

[0027] Fig.10 A schematic diagram showing the time of 67.892935 seconds in a message information window involved in some embodiments is shown;

[0028] Fig.11 A principle block diagram of a measurement data synchronization display system in an automobile bus tool software according to some embodiments is shown;

[0029] Fig.12 A principle block diagram of a measurement data synchronization display system involved in some embodiments is shown;

[0030] Fig.13 A principle block diagram of an electronic device or device involved in some embodiments is shown. DETAILED DESCRIPTION

[0031] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

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

[0033] When actually using these groups, you often encounter situations where you need to synchronize the time axis to view the signal, such as observing the wheel speed signal at the moment of gear shifting. This requires synchronizing the signal display in the powertrain-related group and the chassis electronic control-related group.

[0034] In order to solve this problem, some software platforms in the related art generally adopt the approach of dividing 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 columns will display the current signal according to the scale of the time axis, achieving synchronous display.

[0035] However, this method also has its flaws. That is, when there are many signal groups, the columns cannot be displayed. 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 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 measurement data display window in the paused state is matched with the synchronization identifiers of the remaining paused measurement data display windows, and if the match is consistent, the synchronization operation is performed.

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

[0038] The measurement data synchronization display method of some embodiments is particularly suitable for the synchronization display of vehicle bus measurement data in vehicle bus tool software. The measurement data synchronization display method in the specific vehicle bus tool software can be synchronized in the following application scenarios:

[0039] 1) When analyzing the signal of a specific time period in the message list, you can simultaneously view the curves of other messages in the same time period in the graph window, and vice versa;

[0040] 2) When analyzing the signal of a specific time period in a graphic window, you can simultaneously view the curves of other messages in the same time period in other graphic windows, and vice versa;

[0041] 3) When analyzing the signal of a specific time period in the message list, you can simultaneously view the signal value of the time period in other message information windows, and vice versa;

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

[0043] The benefit of synchronous display between graphics windows is that when viewing the curve in one graphics window, you can synchronously view the curve at the same time in another graphics window, which is convenient for problem analysis.

[0044] The benefit of synchronous display of the graphics window and the message information window is that when an abnormality is found in the signal curve in the graphics window, you can directly switch to the message information window. There is no need to scroll the scroll bar of the message information window to locate the problem message. Instead, you 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 viewing of the graphics window.

[0045] Various non-limiting implementations of the embodiments of the present disclosure are described in detail below in conjunction with the accompanying drawings.

[0046] like Figure 1 As shown, some embodiments provide a method for synchronously displaying measurement data, including:

[0047] Step S101, respectively setting synchronization flags and synchronization functions for a plurality of measurement data display windows;

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

[0049] Step S103: If the match is consistent, a synchronization operation is performed.

[0050] In some embodiments, Figure 2 and Figure 3As shown, the measurement data display window includes, for example but not limited to, a graphic window, a message information window, etc. The synchronization flag is a string of information, which is used as an attribute of the measurement data display window. The synchronization function is a callback function. The base class of all measurement data display windows defines this callback function, so that each measurement data display window can implement the callback function. Inside the callback function, each measurement data display window decides how to synchronize 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 pause state is activated, the measurement data display window will not track and display the latest signal state, but will maintain the current display, so that the user can analyze the signal data currently displayed.

[0052] In some embodiments, the display time span includes two time points, namely: a start time point and an end time point. If any time point is changed, it means that the display time span is changed.

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

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

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

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

[0057] In some embodiments, the display time span of any paused measurement data display window is changed, including: an event affecting the display time span is triggered; the current display time span of the paused measurement data display window is calculated based on the event affecting the display time span; and the display time span of the paused measurement data display window is updated to the current display time span.

[0058] In some embodiments, the event that affects the time span is a trigger event, and the trigger event may specifically include but is not limited to: a mouse event, a keyboard event, and a program control event.

[0059] In some embodiments, the influence of the mouse event is, for example but not limited to, as follows: dragging the left button of the mouse causes the displayed time span to move to the left or right, and the length of the displayed time span remains unchanged.

[0060] Zooming with the mouse wheel shifts the displayed time span to the left or right, while enlarging or reducing the displayed time length.

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

[0062] Press the left or right button to shift the displayed time span to the left or right, while the length of the displayed time span remains unchanged.

[0063] Press the Home button to move the displayed time span to the left to the measurement starting point, and the length of the displayed time span remains unchanged.

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

[0065] Press the E key to enlarge the displayed time length.

[0066] Press the D key to reduce the displayed time length.

[0067] Press the I key to reset the display time length to the default length (20 seconds).

[0068] Press the F key to set the start point of the displayed time span as the measurement start point and the end point of the displayed time span as the measurement end point.

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

[0070] Call the system API function "app.set_analysis_time_range" to pass in two parameters: the start point of the display time span and the end point of the display time span, to achieve automatic setting of the display time span.

[0071] The following example explains in detail the process of changing the display time span of any paused measurement data display window:

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

[0073] When the display time span of the graphic window is shifted to the right by 5 seconds, the display time span change event bound to the graphic window is triggered. In the change event processing function, the latest display time span after the change is calculated first, which is the previous display time span with the start time point increased by 5 seconds and the end time point increased by 5 seconds, that is, the current display time span is changed to 35 seconds to 45 seconds; then the signal curve within the display time span range in the graphic window is updated, such as Figure 5 shown.

[0074] In some embodiments, the method for matching the synchronization identifiers 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:

[0075] It is determined whether the synchronization identifiers of the measurement data display window in the pause state and other measurement data display windows in the pause state are the same. If they are the same, they match each other.

[0076] The following is a detailed description of a method for matching the synchronization identifiers of the measurement data display window in the paused state with the other measurement data display windows in the paused state in the synchronization function using an example:

[0077] Assume that graphics window A, graphics window B and graphics window C are all in paused state. Their synchronization flags are listed as follows:

[0078] Graphics Window Name Synchronization flag Graphics Window A DEFAULT Graphics Window B CUSTOM Graphics 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 the synchronization identifiers of graphic window B and graphic window C. The synchronization identifier of graphic window A is DEFAULT, which is equal to the synchronization identifier of graphic window C, but not equal to the synchronization identifier of graphic window B. Therefore, graphic window C will be synchronized with graphic window A, but graphic window B will not be synchronized.

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

[0081] The current display time span of any paused measurement data display window is passed as a parameter to the synchronization function of each paused measurement data display window that matches the same state;

[0082] Each matching measurement data display window modifies its own display time span to the display time span carried by the parameters in the corresponding synchronization function, that is, the display time span of each matching measurement data display window is consistent with the display time span of the measurement data display window in the paused state, thereby realizing synchronous operation.

[0083] The following example describes how to perform synchronization operations in detail:

[0084] Assume that graphics window A, graphics window B and graphics window C are all in paused state. Their synchronization flags are listed as follows:

[0085]

[0086]

[0087] The initial display time span of graphic window A is 1 second at the start time and 3 seconds at the end time. The user changes it to 2 seconds at the start time and 6 seconds at the end time. Then the synchronization match judgment reads out the synchronization identifier of graphic window A and its latest current display time span, and uses them as parameters to call the synchronization function of graphic window B and graphic window C. Graphic window B and graphic window C respectively judge whether their own synchronization identifiers are the same as those of graphic window A in the synchronization function, and the judgment result is that graphic window B is different and graphic window C is the same.

[0088] The matching graphic window C then modifies its own display time span to the current display time span transmitted by the graphic window A, that is, 2 seconds at the start time and 6 seconds at the end time. Thus, the synchronization operation of the graphic window A and the graphic window C is realized, and then the synchronization process ends.

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

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

[0091] The following example uses a case to explain in detail how to determine whether the measurement data display window is in the paused state:

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

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

[0094] The user uses the paused graphics window "Engine Speed" and the message information window "Engine Trace" to analyze the vehicle bus. The synchronization mark of these two windows is "DEFAULT".

[0095] like Figure 8As shown in the figure, 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 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".

[0096] The user wants to view the values ​​of other signals in the message where the "IdleRunning" signal is located when the signal changes. Fig. 9 As 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 mark is the same as the graphic window "Engine Speed", the display time span of this window is the same as the display time span of the graphic window "EngineSpeed".

[0097] like Fig.10 As shown, the user only needs to expand the message of the previous frame at 67.9 seconds to immediately locate the change time of the signal "IdleRunning". It can be seen that the value of the "IdleRunning" signal at 67.841980 seconds is "Idle", and the value of the signal at 67.892935 seconds is "Running", indicating that 67.892935 seconds is the change time of the signal. Then, by expanding other signals of the message where the signal is located at 67.892935 seconds, the values ​​of other signals of the message where the signal is located can be observed.

[0098] like Fig.11 As shown, some embodiments further 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 comprising: a processor, a display 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 via 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 so that the processor performs the following operations: respectively set synchronization identifiers and synchronization functions for 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 functions, the synchronization identifiers of the measurement data display window in the paused state are matched with the synchronization identifiers of the measurement data display windows in the remaining paused states; if it is determined that the match is consistent, perform the synchronization operation;

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

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

[0106] Some embodiments also provide a method for measuring data synchronization display system execution, comprising:

[0107] Acquire multiple measurement data from the ECU via the bus adapter;

[0108] After obtaining measurement data of multiple ECUs, synchronization identifiers and synchronization functions are respectively set for multiple 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 the synchronization identifiers of the measurement data display window in the paused state are matched with the synchronization identifiers of the measurement data display windows in the remaining paused states in the synchronization function; if the matches are consistent, the synchronization operation is performed;

[0109] An interface for performing synchronous display of at least one measurement data display window and / or multiple measurement data display windows through a graphical interface.

[0110] The measurement data synchronization display system and the measurement data synchronization display method involved in the method executed by the measurement data synchronization display system are described in detail above and will not be repeated here.

[0111] like Fig.12 As shown, some embodiments further provide a system for synchronously displaying measurement data in automobile bus tool software, which includes:

[0112] Execute the synchronization setting module, the synchronization matching judgment module and the synchronization execution module, wherein

[0113] A synchronization setting module, configured to set synchronization identifiers and synchronization functions for a plurality of measurement data display windows respectively;

[0114] a synchronization matching judgment module, configured to, when the display time span of any measurement data display window in a paused state is changed, call the synchronization function of the measurement data display window in the remaining paused states, and match the synchronization identifiers of the measurement data display window in the paused state with the synchronization identifiers of the measurement data display windows in the remaining paused states in the synchronization function; and

[0115] The synchronous execution module is configured to execute the synchronous operation when the synchronous matching judgment module determines that the match is consistent.

[0116] Among them, 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, please refer to the content of the aforementioned measurement data synchronization display method, which will not be repeated here.

[0117] Some embodiments further provide a device, comprising: 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 method for synchronously displaying measurement data; the method for synchronously displaying measurement data comprises: 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 a paused state is changed, the synchronization functions of the measurement data display windows in the remaining paused states are called, and the synchronization identifiers of the measurement data display window in the paused state are matched with those of the measurement data display windows in the remaining paused states in the synchronization function; if the matches are consistent, the synchronization operation is performed. For details, please refer to the detailed description of the method for synchronously displaying measurement data, which will not be repeated here.

[0118] The electronic device in the embodiment of the present disclosure is described below from the perspective of hardware processing:

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

[0120] like Fig.13As shown, the electronic device includes: a processor, a readable storage medium (also 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 enables the processor to execute the operation corresponding to the measurement data synchronization display method, and 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 measurement data display window in a paused state is changed, the synchronization function of the measurement data display windows in the remaining paused states is called, and the synchronization identifiers of the measurement data display window in the paused state are matched with the synchronization identifiers of the measurement data display windows in the remaining paused states in the synchronization function; if the match is consistent, the synchronization operation is performed. For details, please refer to the detailed description of the measurement data synchronization display method, which will not be repeated here.

[0121] In other embodiments, a computer device, an industrial computer, or a specific hardware structure of a device may also be used as a type of electronic device.

[0122] Fig.13 The structure shown does not constitute a limitation on the electronic device, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0123] In some embodiments, the communication interface may be RS232, RS485, USB port, TYPE port, etc., which may be connected to an external bus adapter. It may also include a wired or wireless network interface, and the network interface may optionally include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is usually used to establish a communication connection between the 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, disk, optical disk, etc. In some embodiments, it can be an internal storage unit of a computer device, such as a hard disk of the computer device. In other embodiments, the memory can also be an external storage device of a computer device, such as a plug-in hard disk equipped on the computer device, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Further, the memory can also include both an internal storage unit of a computer device and an external storage device. The memory can not only be used to store application software and various types of data installed in the computer device, such as the code of a computer program, etc., but can also be used to temporarily store data that has been output or is to be output.

[0125] In some embodiments, the processor may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor or other data processing chip for running program codes stored in a memory or processing data, such as executing a computer program.

[0126] 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 may be divided into an address bus, a data bus, a control bus, etc.

[0127] Optionally, the computer device may further include a user interface, which may include a display (Display), an input unit such as a keyboard (Keyboard), and optionally, the user interface may also 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-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device, etc. Among them, the display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the computer device and to display a visual user interface.

[0128] When the processor executes the program, the above Figure 1 The steps in the embodiment of the method for synchronously displaying measurement data shown are, for example, Figure 1Alternatively, when the processor executes the computer program, the functions of the modules or units in the above-mentioned device embodiments are realized.

[0129] Some embodiments further provide a computer-readable storage medium configured to store any possible measurement data synchronous display method described above.

[0130] Some embodiments further provide a computer-readable storage medium storing computer-readable instructions, which, when executed by at least one processor, enables the aforementioned method for synchronous display of measurement data to be executed, specifically, for 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 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 functions, the synchronization identifiers of the measurement data display window in the paused state are matched with the synchronization identifiers of the measurement data display windows in the remaining paused states, and if the matches are consistent, the synchronization operation is performed. Please refer to the specific description of the method for synchronous display of measurement data, which will not be repeated here.

[0131] Some embodiments further 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 possible measurement data synchronous display method described above.

[0132] Some embodiments further provide a computer program product, including a computer-readable storage medium having computer-readable program code stored thereon, the computer-readable program code including instructions, the instructions causing at least one processor or one or more computer devices to perform the following operations:

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

[0134] When the display time span of any paused measurement data display window is changed, the synchronization function of the other paused measurement data display windows is called, in which the synchronization identifiers of the paused measurement data display window and the other paused measurement data display windows are matched; if the match is consistent, the synchronization operation is performed.

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

[0136] The display time span of any paused measurement data display window is changed, including: an event affecting the display time span is triggered; the current display time span of the paused measurement data display window is calculated according to the event affecting the display time span; the display time span of the paused measurement data display window is updated to the current display time span.

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

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

[0139] The method for matching the synchronization identifiers of the measurement data display window in the paused state with the other measurement data display windows in the paused state in the synchronization function includes: judging whether the synchronization identifiers of the measurement data display window in the paused state and the other measurement data display windows in the paused state are the same, and if they are the same, the matching is consistent.

[0140] Optionally, as a possible implementation, these instructions may also enable at least one processor or one or more computer devices to perform the following operations: The method for performing a synchronization operation includes: passing the current display time span of a measurement data display window in any paused state as a parameter to a synchronization function of each matching measurement data display window in the paused state; each matching measurement data display window 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 span of each matching measurement data display window is consistent with the display time span of the measurement data display window in the paused state, thereby realizing a synchronization operation.

[0141] Optionally, as a possible implementation, these instructions can also enable at least one processor or one or more computer devices to perform the following operations: The method for determining 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, if so, indicating that the measurement data display window is in a paused state.

[0142] Optionally, as a possible implementation, these instructions may also enable at least one processor or one or more computer devices to perform the following operations: the synchronization identifier is a string type.

[0143] Optionally, as a possible implementation, these instructions may also enable 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 (FastLocal Interconnect Network) bus adapter, a LIN (Local Interconnect Network) bus adapter, an Ethernet bus adapter, a FlexRay bus adapter, or one-way to multiple-way, or multiple-way to multiple-way. In some other embodiments, the specific implementation of the bus adapter is not limited. In some embodiments, the UDS (Unified Diagnostic Services) or XCP (Universal Calibration Protocol) or CCP (CAN Calibration Protocol) protocol can be used to communicate with debugging equipment, such as automotive ECU (Electronic Control Unit) and its related systems to obtain multiple measurement data from the ECU.

[0145] In some embodiments, the debugging equipment in the automotive field can specifically be a vehicle ECU (Electronic Control Unit) and its related systems, such as but not limited to electronic power steering system EPS, anti-lock braking system ABS, electronic stability system ESC, automobile engine management system, battery management system BMS and other equipment can be connected to the computer device via a bus to receive multiple measurement data.

[0146] In several embodiments provided in the present 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 schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a 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 box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

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

[0148] If the 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, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.

[0149] Based on the above ideal embodiments of the present invention, the relevant staff can make various changes and modifications without departing from the technical concept of the present invention through the above description. The technical scope of the present invention is not limited to the contents of the specification, and its technical scope must be determined according to the scope of the claims.

Claims

1. A method for synchronously displaying measurement data, characterized in that: include: Set synchronization flags 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 function of the measurement data display windows in the other paused states is called, in which 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 matched; If the match is consistent, the synchronization operation is performed; The method for matching the synchronization identifiers of the measurement data display window in the pause state with the synchronization identifiers of the measurement data display windows in other pause states in the synchronization function comprises: Determine whether the synchronization identifiers of the measurement data display window in the pause state and the measurement data display windows in other pause states are the same, if they are the same, they match each other; Methods that perform synchronous operations include: The current display time span of any paused measurement data display window is passed as a parameter to the synchronization function of each paused measurement data display window that matches the same state; Each matching measurement data display window modifies its own display time span to the display time span carried by the parameters in the corresponding synchronization function, that is, the display time span of each matching measurement data display window is consistent with the display time span of the measurement data display window in the paused state, thereby realizing synchronous operation.

2. The method for synchronously displaying measurement data according to claim 1, characterized in that: The display time span of any paused measurement data display window is changed, including: An event that affects the displayed 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; The display time span of the measurement data display window in the paused state is updated to the current display time span.

3. The method for synchronously displaying measurement data according to claim 1, characterized in that: Events that affect the displayed time span are called trigger events.

4. The method for synchronously displaying measurement data according to claim 3, characterized in that: The trigger events include: mouse events, keyboard events and program control events.

5. The method for synchronously displaying measurement data according to claim 1, characterized in that: Methods for determining whether the measurement data display window is in a paused state include: Determine whether the pause flag of the measurement data display window is true, if 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.

6. The method for synchronously displaying measurement data according to claim 1, characterized in that: The measurement data synchronous display method is suitable for synchronous display of automobile bus measurement data in automobile bus tool software.

7. A device comprising: 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 method for synchronously displaying measurement data according to any one of claims 1 to 5.

8. A computer-readable storage medium storing computer-readable instructions, which, when executed by at least one processor, enables the method for synchronously displaying measurement data according to any one of claims 1 to 5 to be executed.