Method for synchronously displaying measurement data, apparatus, and computer readable storage medium
By implementing synchronization indicators and functions for vehicle software measurement data windows, the method synchronizes display time spans across paused windows, improving diagnostic efficiency and reducing manual analysis efforts.
Patent Information
- Application Number
- JP2025123174
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-22
- Filing Date
- 2025-07-23
- Publication Date
- 2025-10-22
- Estimated Expiration
- 2044-06-30
Smart Images

Figure 2025160303000001_ABST
Abstract
Description
[Technical Field]
[0001] This application claims priority from Chinese Patent Application No. 202311780520.4, filed on December 22, 2023, and U.S. Patent Application No. 18 / 512,083, filed on November 17, 2023, the entire contents of which are hereby incorporated by reference.
[0002] The present invention relates to the field of measurement technology, and more particularly to a method and system for synchronously displaying measurement data. [Background technology]
[0003] In vehicle software, the measurement data display window needs to display multiple signals, for example, the graphic window needs to display the curves of multiple signals. According to the needs of vehicle testing, these signals need to be grouped, for example, a group related to the power assembly, and a group related to the chassis electronic control. To avoid mutual influence, different groups need to be displayed using different measurement data display windows. Summary of the Invention
[0004] The present invention relates to a method for synchronously displaying measurement data, the method including: A synchronization indicator and a synchronization function are set for each of the multiple measurement data display windows. When the display time span of any of the paused measurement data display windows is changed, the synchronization functions of the remaining paused measurement data display windows are called, and the synchronization functions match the synchronization indicators of the paused measurement data display window and the remaining paused measurement data display windows, and if they match, the synchronization operation is performed.
[0005] Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the invention. The objectives and other advantages of the invention will be realized and obtained by the structure particularly pointed out in the description and drawings. In order to make the above objects, features and advantages of the present invention more comprehensible, the following preferred embodiments will be described in detail in conjunction with the accompanying drawings. [Brief explanation of the drawings]
[0006] In order to more clearly describe the specific embodiments of the present invention or the technical solutions of the prior art, the following will briefly describe the drawings that need to be used to describe the specific embodiments or the prior art. The drawings described in the following description are some embodiments of the present invention, and it is obvious that those skilled in the art can obtain other drawings from these drawings without any creative efforts. [Figure 1] 1 is a flowchart of a method for synchronously displaying measurement data according to some embodiments. [Figure 2] FIG. 1 is a schematic diagram of a graphics window according to some embodiments. [Figure 3] FIG. 10 is a schematic diagram of a message information window according to some embodiments. [Figure 4] FIG. 10 is a schematic diagram illustrating the graphic window “Engine Speed” in a paused state and the display time span from 30 seconds to 40 seconds according to some embodiments. [Figure 5] FIG. 10 is a schematic diagram illustrating the graphic window “Engine Speed” in a paused state and the display time span from 35 seconds to 45 seconds according to some embodiments. [Figure 6] 10 is a schematic diagram showing the graphic window "Engine Speed" in the measurement process according to some embodiments. FIG. [Figure 7] FIG. 10 is a schematic diagram illustrating the graphic window “Engine Speed” in a paused state according to some embodiments. [Figure 8]10 is a schematic diagram illustrating the curve variation of the signal "IdleRunning" in a graphic window according to some embodiments. FIG. [Figure 9] 9 is a schematic diagram of a message information window corresponding to the graphic window in FIG. 8 according to some embodiments. [Figure 10] FIG. 10 is a diagram illustrating a deployment time of 67.892935 seconds in a message information window according to some embodiments. [Figure 11] 1 is a principle block diagram of a measurement data synchronization display system in automotive bus tool software according to some embodiments. FIG. [Figure 12] 1 is a principle block diagram of a system for synchronously displaying measurement data according to some embodiments; [Figure 13] 1 is a principle block diagram of an electronic device or apparatus according to some embodiments. DETAILED DESCRIPTION OF THE INVENTION
[0007] In order to clarify the objectives, technical solutions and advantages of the embodiments of the present invention, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings, but it is clear that the described embodiments are only some embodiments of the present invention and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without performing creative work fall within the scope of protection of the invention.
[0008] In vehicle software, the measurement data display window needs to display multiple signals, for example, the graphic window needs to display the curves of multiple signals. According to the needs of vehicle testing, these signals need to be grouped, for example, a group related to the power assembly, and a group related to the chassis electronic control. To avoid mutual influence, different groups need to be displayed using different measurement data display windows.
[0009] When actually using these groups, you will always encounter situations where you need to synchronize the time axis to check the signals; for example, observing the wheel speed signal at shift time requires synchronizing the signal displays in the group related to the power assembly and the group related to the chassis electrical control.
[0010] To solve this problem, in some software platforms in the related art, a commonly adopted method is to divide a measurement data display window into multiple columns. Each column displays a set of signals, and all columns share the same time axis. When the scale of the time axis changes, all the divided columns display the current signals according to the scale of the time axis, thereby realizing synchronous display.
[0011] However, this method also has drawbacks. When there are many signal groups, they cannot be displayed in separate columns. At the same time, this method uses one window to combine multiple signal groups, which is unfavorable for dividing test functions.
[0012] Therefore, at least one embodiment provides a method for synchronously displaying measurement data, which includes: setting a synchronization indicator and a synchronization function for each of a plurality of measurement data display windows; when the display time span of any of the measurement data display windows in the paused state is changed, the synchronization functions of the remaining measurement data display windows in the paused state are called, and the synchronization functions match the synchronization indicators of the measurement data display window in the paused state with the synchronization indicators of the remaining measurement data display windows in the paused state, and if they match, perform a synchronization operation.
[0013] In some embodiments, the measurement data synchronous display method synchronizes different measurement data display windows, including but not limited to graphic windows, message information windows, etc. The time ranges in the message information windows and graphic windows can be synchronized, and any combination of synchronization methods can be used.
[0014] The method for synchronously displaying measurement data in some embodiments is particularly applicable to the synchronous display of measurement data in car bus tool software.Specific synchronous display methods for measurement data in car bus tool software can be used for synchronous display in the following application scenarios: 1) When analyzing a signal in a specific time period in the message list, you can simultaneously view the curves of other messages in that time period in the graphic window, and vice versa. 2) When analyzing a signal in a particular time period in a graphic window, one can simultaneously view the curves of other messages within that time period in other graphic windows, and vice versa. 3) When analyzing signals in a specific time period in the message list, you can simultaneously view the signal values in that time period in other message information windows, and vice versa. 4) When analyzing signals for a specific time period in a message information window or graphic window online in one automotive bus tool software process, you can simultaneously view the signal information in the related message information window or graphic window for that time period in one or more other processes of similar automotive bus tool software, and vice versa.
[0015] The advantages of synchronous display between graphic windows are as follows: When viewing a curve in one graphic window, the curves at the same time in other graphic windows can be simultaneously viewed, making it easier to analyze problems.
[0016] The advantages of synchronous display of the graphic window and the message information window are as follows: if you find that an abnormality has occurred in the signal curve in the graphic window, you can directly move to the message information window, and there is no need to scroll the scroll bar of the message information window to locate the problem message, but 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 is automatically synchronized in the process of viewing the graphic window.
[0017] Various non-limiting embodiments of examples of the present disclosure are described in detail below with reference to the accompanying drawings. As shown in FIG. 1, some embodiments provide a method for synchronously displaying measurement data. The method includes: In step S101, a synchronization indicator and a synchronization function are set in each of a plurality of measurement data display windows; In step S102, if the display time span of any of the measurement data display windows in the pause state is changed, the synchronization function of the remaining measurement data display windows in the pause state is called, and the synchronization function matches the synchronization marks of the measurement data display window in the pause state with those of the remaining measurement data display windows in the pause state, i.e., realizes synchronization matching judgment; In step S103, if the matching is found, a synchronization operation is performed.
[0018] In some embodiments, as shown in Figures 2 and 3, the measurement data display window may include, but is not limited to, a graphic window, a message information window, etc. The synchronization indicator is string information as an attribute of the measurement data display window. The synchronization function is a callback function, and the base classes of all measurement data display windows define this callback function, so that each measurement data display window can implement the callback function. Within the callback function, each measurement data display window determines how to synchronize based on its own characteristics.
[0019] 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 always track and display the latest signal state. When the paused state is activated, the measurement data display window maintains the current display without tracking and displaying the latest signal state, making it easier for the user to analyze the currently displayed signal data.
[0020] In some embodiments, the display time span includes two time points, a start time point and an end time point, and changing either time point means that the display time span has changed.
[0021] In some embodiments, the synchronization operation may include, but is not limited to, the following operational steps: In step S201, the time axis start time of the current measurement data display window is set. In step S202, the time axis end time of the current measurement data display window is set. In step S203, the data display in the current measurement data display window is refreshed, and the data between the start time and the end time on the time axis is displayed in the current measurement data display window.
[0022] In some embodiments, changing the display time span of any dormant measurement data display window includes: triggering an event that affects the display time span; calculating a current display time span of the dormant measurement data display window based on the event that affects the display time span; and updating the display time span of the dormant measurement data display window to the current display time span.
[0023] In some embodiments, the event that affects the time span is a trigger event, which specifically includes, but is not limited to, a mouse event, a keyboard event, and a program control event.
[0024] In some embodiments, the effects of mouse events may include, but are not limited to, the following: Dragging with the left mouse button translates the displayed time span left or right, leaving the length of the displayed time span unchanged. Mouse wheel zooming shifts the displayed time span left or right, simultaneously expanding or contracting the length of the displayed time.
[0025] In some embodiments, the effects of keyboard events may be, for example, but not limited to: Pressing the left or right button translates the displayed time span left or right, while the length of the displayed time span does not change. Pressing the Home key translates the displayed time span to the left to the measurement start point, while the length of the displayed time span remains unchanged. Pressing the End key translates the displayed time span to the right to the measurement end point, while the length of the displayed time span remains unchanged. Pressing the E key increases the length of the display time. Pressing the D key will decrease the length of time displayed. Pressing the I key resets the display time length to the default length (20 seconds). Pressing the F key sets the beginning of the displayed time span to the measurement start point and the end of the displayed time span to the measurement end point.
[0026] In some embodiments, the effect of a program controlled event may be, for example, but not limited to: Automatic setting of the display time span is achieved by calling the system API function “app.set_analysis_time_range” and inputting two parameters: the start point of the display time span and the end point of the display time span.
[0027] The following will explain in detail the process of changing the display time span of any of the measurement data display windows in a paused state as an example. As shown in FIG. 4, taking the graphic window "Engine Speed" in the software as an example, the graphic window is in a pause state, and the current display time span is from 30 seconds to 40 seconds. When the display time span of the graphic window is translated to the right by 5 seconds, a display time span change event bound to the graphic window is triggered. The change event processing function first calculates the latest display time span after the change, and then increases the start time and end time of the previous display time span by 5 seconds, i.e., changes the current display time span from 35 seconds to 45 seconds. Then, the signal curve within the display time span is updated in the graphic window, as shown in Figure 5.
[0028] In some embodiments, matching the synchronization marks of the resting measurement data display window and the remaining resting measurement data display windows in the synchronization function includes: It is determined whether the synchronization indicators of the measurement data display window in the pause state and the remaining measurement data display windows in the pause state are the same, and if they are the same, they match.
[0029] The following is an example of a detailed description of the synchronization function for matching the synchronization marks of the measurement data display window in the pause state with the remaining measurement data display windows in the pause state. It is assumed that graphic window A, graphic window B, and graphic window C are all in a pause state. Their synchronization identification lists are as follows: [Table 1] When the display time span of graphic window A changes, the synchronization matching judgment compares the synchronization mark of graphic window A with the synchronization marks of graphic window B and graphic window C. The synchronization mark of graphic window A is DEFAULT, which is equal to the synchronization mark of graphic window C but not equal to the synchronization mark of graphic window B. Therefore, graphic window C is synchronized with graphic window A and graphic window B is not synchronized.
[0030] In some embodiments, performing the synchronization operation includes: The current display time span of any one of the measurement data display windows in a pause state is transmitted as a parameter to the synchronization function of each of the measurement data display windows in a pause state that are matched in the matching. Each matched measurement data display window changes its display time span to the display time span indicated by the parameter in the corresponding synchronization function, i.e., the display time span of each matched measurement data display window matches the display time span of the measurement data display window in the paused state, thereby achieving synchronization.
[0031] The following provides an example to explain in detail the steps of performing the synchronization operation. It is assumed that graphic window A, graphic window B, and graphic window C are all in a pause state. Their synchronization identification lists are as follows: [Table 2] The initial display time span of graphic window A is 1 second at start time and 3 seconds at end time. The user changes it to 2 seconds at start time and 6 seconds at end time. Then, the synchronization matching judgment reads the synchronization indicator of graphic window A and its latest current display time span, and calls the synchronization functions of graphic window B and graphic window C with these as parameters. Graphic window B and graphic window C each judge in their synchronization functions whether their synchronization indicators are the same as graphic window A. The judgment result is that graphic window B is different and graphic window C is the same. Graphic window C, which has found a match, immediately adjusts its own display time span to the current display time span transmitted from graphic window A. That is, the start time is 2 seconds and the end time is 6 seconds. This completes the synchronization between graphic window A and graphic window C, and the synchronization process is complete.
[0032] In some embodiments, the method for determining whether the measurement data display window is in a dormant state includes: It is determined whether the pause indicator of the measurement data display window is true, and if true, it is determined that the measurement data display window is in a pause state.
[0033] The method for determining whether the measurement data display window is in a pause state will be described in detail below using an example. 6, for example, the graphic window "Engine Speed" has a Boolean variable IsPaused, which is associated with the first button on the graphic window toolbar. If the variable is false, it indicates that the graphic window is in the measurement process, and the button displays "Pause." The user can click the button to pause the measurement.
[0034] As shown in Figure 7, when the user clicks the button, the variable associated with the button changes from false to true, identifying the graphic window as being in a paused state, and the button is then displayed as [Run], allowing the user to continue the measurement by clicking this button. The user analyzes the car bus using the idle graphic window "Engine Speed" and the message information window "Engine Trace", both of which have the synchronization indicators set to "DEFAULT".
[0035] As shown in Figure 8, the user drags the graphic window with the left mouse button and observes the time change of the signal curve in the graphic window. When the dragged display time span reaches around 67.6 seconds at the start time and around 68 seconds at the end time, it can be seen that the state of the signal "IdleRunning" has changed from "Idle" to "Running."
[0036] The user wants to view the value of another signal in the message where the "IdleRunning" signal is located at the time when the "IdleRunning" signal changes. At this time, the user switches to the message information window "Engine Trace", which is also in the idle state and has the same synchronization indicator as the graphic window "Engine Speed", so the display time span of this window is the same as that of the graphic window "Engine Speed", as shown in Figure 9.
[0037] As shown in Figure 10, a user can easily determine the change time of the "IdleRunning" signal by simply expanding the message of the frame immediately preceding time 67.9 seconds. It can be seen that the value of the "IdleRunning" signal at time 67.841980 seconds is "Idle" and the value of the signal at time 67.892935 seconds is Running. Knowing that time 67.892935 seconds is the change time of this signal, the user can expand other signals in the message in which the signal at time 67.892935 seconds is located and observe the values of the other signals in the message in which the signal is located.
[0038] Some embodiments further provide a system for synchronously displaying measurement data, as shown in Figure 11. The system includes: At least one bus adapter is configured to acquire a plurality of measurement data from the ECU. At least one computing device, said computing device including a processor, a display in communication with the processor for displaying a graphical interface, a computer-readable storage medium, a communication bus, and a communication interface. The processor, the computer-readable storage medium, and the communication interface realize communication with a bus adapter via the communication bus. The computer-readable storage medium stores a command program. The processor is configured to execute the command program to cause the processor to perform the following operations after acquiring a plurality of pieces of measurement data: set a synchronization indicator and a synchronization function for each of a plurality of measurement data display windows; when the display time span of any of the paused measurement data display windows is changed, the synchronization functions of the remaining paused measurement data display windows are called, and the synchronization functions match the synchronization indicators of the paused measurement data display window with the remaining paused measurement data display windows, and if they match, perform a synchronization operation. The display displays at least one measurement data display window and / or an interface for displaying a plurality of measurement data display windows synchronously via a graphic interface.
[0039] In some embodiments, the measurement data synchronous display system can be applied to automotive bus tool software and can also be used for data collection and analysis of other debugging devices.
[0040] Some embodiments further provide a method for implementing a measurement data synchronous display system, the method including: Acquires multiple measurement data from the ECU via a bus adapter. After acquiring a plurality of measurement data of the ECU, a synchronization indicator and a synchronization function are set for each of the plurality of measurement data display windows. When the display time span of any of the measurement data display windows in the pause state is changed, the synchronization functions of the remaining measurement data display windows in the pause state are called, and the synchronization functions match the synchronization indicators of the measurement data display window in the pause state with those of the remaining measurement data display windows in the pause state. If the matching is true, a synchronization operation is performed. At least one measurement data display window and / or a plurality of measurement data display windows are displayed via a graphic interface to perform synchronous display. For details of the synchronous display system for measured data and the synchronous display method for measured data relating to the method for executing the synchronous display system for measured data, please refer to the detailed explanation above, and further explanation will be omitted here.
[0041] Some embodiments further provide a system for synchronously displaying measurement data in automotive bus tool software, as shown in Figure 12. The system includes an execution synchronization setting module, a synchronization matching judgment module, and a synchronization execution module. The synchronization setting module is configured to set a synchronization indicator and a synchronization function for each of the plurality of measurement data display windows. The synchronization matching determination module is configured such that when the display time span of any of the paused state measurement data display windows is changed, the synchronization functions of the remaining paused state measurement data display windows are called, and the synchronization functions match the synchronization marks of the paused state measurement data display window and the remaining paused state measurement data display windows. The synchronization execution module is configured to execute a synchronization operation when the synchronization matching determination module determines that a match occurs. Here, the computer commands 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 specific details, please refer to the above-mentioned content of the measurement data synchronous display method, and therefore, the description will be omitted here.
[0042] Some embodiments further provide an apparatus, which includes at least one memory and at least one processor. The memory stores computer-executable commands, which, when executed by the processor, cause the processor to perform a method for synchronously displaying measurement data. The method for synchronously displaying measurement data includes: setting a synchronization indicator and a synchronization function for each of a plurality of measurement data display windows; when the display time span of any of the paused measurement data display windows is changed, the synchronization functions of the remaining paused measurement data display windows are called, and the synchronization functions match the synchronization indicators of the paused measurement data display window with the synchronization indicators of the remaining paused measurement data display windows; and if they match, perform a synchronization operation. For details, please refer to the detailed description of the method for synchronously displaying measurement data, and further description will be omitted here.
[0043] Hereinafter, an electronic device according to an embodiment of the present disclosure will be described from the viewpoint of hardware processing. The specific embodiments of some examples do not limit the specific implementation of electronic devices. As shown in FIG. 13 , the electronic device includes a processor, a computer-readable storage medium (which may also be referred to as memory), a communication bus, and a communication interface. The processor, the computer-readable storage medium, and the communication interface communicate with each other via the communication bus. The computer-readable storage medium stores a program for executing the method for synchronously displaying measurement data. The program causes the processor to perform operations corresponding to the method for synchronously displaying measurement data. The method for synchronously displaying measurement data includes the following: setting a synchronization indicator and a synchronization function for each of a plurality of measurement data display windows; when the display time span of any of the measurement data display windows in a paused state is changed, the synchronization functions of the remaining measurement data display windows in a paused state are called, and the synchronization functions match the synchronization indicators of the measurement data display window in the paused state with those of the remaining measurement data display windows; and if they match, a synchronization operation is performed. For specific details, please refer to the detailed description of the method for synchronously displaying measurement data, and a detailed description thereof will be omitted here.
[0044] In other embodiments, a computer device, an industrial computer, or a specific hardware configuration of a device can also be considered a type of electronic device.
[0045] It should be noted that the configuration shown in FIG. 13 is not intended to limit the electronic device, which may include fewer or more components than those shown, may combine some components, or may have different component arrangements.
[0046] In some embodiments, the communication interface may be a communication interface connectable to an external bus adapter, such as RS232, RS485, a USB port, a TYPE port, etc. A wired or wireless network interface may also be included, and the network interface may optionally include a wired and / or wireless interface (e.g., a WI-FI interface, a Bluetooth interface, etc.) typically used to establish a communication connection between the computing device and other electronic devices. The readable storage medium or computer-readable storage medium includes at least one type of memory. Memory includes flash memory, hard disk, multimedia card, card-type memory (e.g., SD memory), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, it may be an internal storage unit of a computer device, such as a hard disk of the computer device. In other embodiments, the memory may be an external storage device of a computer device, such as a plug-in hard disk installed in the computer device, a SmartMedia Card (SMC)®, a Secure Digital Card (SD), a Flash Card, etc. Furthermore, the memory may include both an internal storage unit of a computer device and an external storage device. The memory is used to store various data, such as application software and computer program code installed in the computer device, as well as to temporarily store output data or data to be output.
[0047] In some embodiments, the processor may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data processing chip that executes program code stored in memory or processes data, for example, to execute a computer program.
[0048] In some embodiments, the communication bus may be an input / output bus, which may be a Peripheral Component Interconnect (PCI) bus or an Enhanced Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc.
[0049] Optionally, the computer device may further include a user interface. The user interface may include input units such as a display and a keyboard, and optionally, the user interface may also include a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. In this case, the display is also called a display screen or a display unit, since it displays information processed in the computer device and a visualized user interface.
[0050] When the processor executes the program, it realizes steps S101 to S103 shown in Fig. 1 in the embodiment of the method for synchronously displaying measurement data shown in Fig. 1. Alternatively, when the processor executes the computer program, it realizes the functions of each module or unit in each of the embodiments of the device.
[0051] Some embodiments further provide a computer-readable storage medium, which stores any of the above possible methods for synchronously displaying measurement data.
[0052] Some embodiments further provide a computer-readable storage medium. The storage medium stores computer-readable commands, which, when executed by at least one processor, cause the above-mentioned method for synchronously displaying measurement data to be performed. Specifically, the method includes: setting a synchronization indicator and a synchronization function for each of a plurality of measurement data display windows; when the display time span of any of the measurement data display windows in a paused state is changed, the synchronization functions of the remaining measurement data display windows in a paused state are called, and the synchronization functions match the synchronization indicators of the paused state measurement data display window with the remaining measurement data display windows; and if they match, performing a synchronization operation. For details, please refer to the detailed description of the method for synchronously displaying measurement data, and a detailed description thereof will be omitted here.
[0053] Some embodiments further provide a computer program product comprising a computer program or commands that, when executed on a computer, cause the computer to perform any of the possible methods for synchronously displaying measurement data described above.
[0054] 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 to cause at least one processor or one or more computing devices to perform the following actions: A synchronization indicator and a synchronization function are set for each of the multiple measurement data display windows. When the display time span of any of the paused measurement data display windows is changed, the synchronization functions of the remaining paused measurement data display windows are called, and the synchronization functions match the synchronization indicators of the paused measurement data display window and the remaining paused measurement data display windows, and if they match, the synchronization operation is performed.
[0055] Optionally, these commands may further cause at least one processor or one or more computer devices to perform the following operations: Changing the display time span of any dormant measurement data display window includes: triggering an event that affects the display time span; calculating the current display time span of the dormant measurement data display window based on the event that affects the display time span; and updating the display time span of the dormant measurement data display window to the current display time span.
[0056] Optionally, these commands may cause at least one processor or one or more computing devices to further perform the following operations: Events that affect the time span include mouse events, keyboard events, and program control events.
[0057] In an optional embodiment, the processor or one or more computing devices are further used to implement the following steps: In the synchronization function, matching the synchronization marks of the measurement data display window in the pause state with the remaining measurement data display windows in the pause state (step) includes: determining whether the synchronization marks of the measurement data display window in the pause state and the remaining measurement data display windows in the pause state are the same, and if they are the same, they are matched.
[0058] As an optional possible embodiment, these commands can further cause at least one processor or one or more computer devices to perform the following operations: A method for performing a synchronization operation includes: transmitting the current display time span of any dormant measurement data display window as a parameter to the synchronization function of each matching dormant measurement data display window; each matching measurement data display window changes its own display time span to the display time span indicated by the parameter in the corresponding synchronization function; that is, the display time span of each matching measurement data display window matches the display time span of the dormant measurement data display window, thereby achieving the synchronization operation.
[0059] As an optional possible embodiment, these commands may further cause at least one processor or one or more computer devices to perform the following operations: The method of determining whether the measurement data display window is in a paused state includes: determining whether a pause indicator of the measurement data display window is true, and if true, indicating that the measurement data display window is in a paused state;
[0060] Optionally, these commands may cause at least one processor or one or more computer devices to perform further operations: The synchronization indicator is of string type.
[0061] Optionally, these commands may cause at least one processor or one or more computer devices to further perform the following operations: The measurement data display window is a graphic window or a message information window.
[0062] In some embodiments, the bus adapter may be a Controller Area Network (CAN) bus adapter, a Controller Area Network Flexible Data Rate (CANFD) bus adapter, a Fast Local Interconnect Network (FastLIN) bus adapter, a Local Interconnect Network (LIN) bus adapter, an Ethernet bus adapter, or a FlexRay bus adapter, and may be a one-to-many or many-to-many bus adapter. In other embodiments, the specific implementation of the bus adapter is not limited. In some embodiments, the debugging device may communicate with a vehicle Electronic Control Unit (ECU) and its related systems via Unified Diagnostic Services (UDS), Universal Calibration Protocol (XCP), or CAN Calibration Protocol (CCP) protocols to acquire multiple measurement data from the ECU.
[0063] In some embodiments, the debugging device in the automotive field may specifically be a vehicle ECU (Electronic Control Unit) and its related systems, such as, but not limited to, an electronic power steering system EPS, an anti-lock braking system ABS, an electronic stability system ESC, an automobile engine management system, a battery management system BMS, etc., which can be connected to a computer device via a bus to receive multiple measurement data.
[0064] In some embodiments of the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. The apparatus embodiments described above are merely examples. For example, the flowcharts and block diagrams in the drawings illustrate possible architectures, functions, and operations of apparatuses, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, a program segment, or a portion of code. The module, program segment, or portion of code includes executable instructions for implementing one or more predetermined logical functions. Note that in some alternative implementations, the functions depicted in the blocks may occur in a different order than depicted in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, or may sometimes be executed in the reverse order, depending on the functionality involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented in a dedicated hardware-based system that performs the predetermined functions or operations, or in a combination of dedicated hardware and computer instructions.
[0065] Furthermore, each functional module in each embodiment of the present invention may be integrated together to form a single independent part, each module may exist independently, or two or more modules may be integrated to form a single independent part.
[0066] The above functions can be realized in the form of software functional modules and stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present invention essentially or a part that contributes to the prior art or a part of the technical solution can be expressed in the form of a software product. The computer software product is stored in a storage medium and includes multiple instructions to cause a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention.
[0067] The above-described preferred embodiments of the present invention have been enlightened, and those skilled in the art can make various changes and modifications based on the above description without departing from the technical spirit of the present invention. The technical scope of the present invention is not limited to the content of the specification, but should be determined based on the claims.
Claims
1. A method for synchronously displaying measurement data, comprising: When the display time span of a first measurement data display window, which is one of the measurement data display windows in the paused state, is changed, a synchronization operation is performed to match the display time span of a second measurement data display window, which has a matching synchronization mark among the remaining measurement data display windows in the paused state, with the display time span of the first measurement data display window, i.e. Transferring the current display time span of the first measurement data display window as a parameter to a synchronization function of the second measurement data display window whose synchronization mark coincides; A method for synchronously displaying measurement data, characterized in that the second measurement data display window whose synchronization mark is matched by matching changes its display time span to the display time span indicated by the parameters in the corresponding synchronization function, i.e., matches the display time span of the second measurement data display window whose synchronization mark is matched by matching with the display time span of the first measurement data display window.
2. The display time span of the first measurement data display window is changed by: An event is triggered that affects the display time span; calculating a current display time span of the first measurement data display window based on events affecting the display time span; 2. The method for synchronously displaying measurement data according to claim 1, further comprising updating a display time span of the first measurement data display window to a current display time span.
3. Events that affect the display time span are trigger events, 2. The method of claim 1, wherein the trigger events include mouse events, keyboard events, and program control events.
4. The synchronization function includes: matching synchronization marks of the first measurement data display window and the remaining idle measurement data display windows; The method for synchronously displaying measurement data according to claim 1, further comprising determining whether the synchronization marks of the first measurement data display window and the remaining paused measurement data display windows are the same, and if they are the same, matching is performed to determine that the synchronization marks match.
5. The method for determining whether the measurement data display window is in a pause state is as follows:
2. The method for synchronously displaying measurement data according to claim 1, further comprising determining whether a pause indicator of the measurement data display window is true, and if true, indicating that the measurement data display window is in a pause state.
6. 2. The method for synchronously displaying measurement data according to claim 1, wherein the synchronization indicator is a character string type.
7. 2. The method for synchronously displaying measurement data according to claim 1, wherein the measurement data display window is a graphic window or a message information window.
8. 2. The method for synchronously displaying measurement data according to claim 1, wherein the method is applied to synchronously displaying measurement data of an automobile bus in automobile bus tool software.
9. 1. An apparatus comprising: at least one memory and at least one processor; The apparatus, characterized in that the memory stores computer-executable commands that, when executed by a processor, cause the processor to perform the method for synchronously displaying measurement data according to any one of claims 1 to 8.
10. A computer-readable storage medium, comprising: A computer-readable storage medium storing computer-readable instructions that, when executed by at least one processor, cause the processor to perform the method for synchronously displaying measurement data according to any one of claims 1 to 8.
11. A system for synchronously displaying measurement data, comprising at least one bus adapter and at least one computer device; the at least one bus adapter is configured to acquire a plurality of measurement data from the ECU; at least one computer device including a processor, a display in communication with the processor for displaying a graphical interface, a computer-readable storage medium, a communication bus, and a communication interface; the processor and the computer-readable storage medium realize communication with a bus adapter via the communication interface and the communication bus; the computer-readable storage medium storing commands; A synchronous display system for measurement data, characterized in that after the processor acquires multiple measurement data, it executes the command to cause the processor to execute the synchronous display method for measurement data described in any one of claims 1 to 8.
12. the bus adapter is a CAN bus adapter, a CAN FD bus adapter, a FastLIN bus adapter, a LIN bus adapter, an Ethernet bus adapter, or a FlexRay bus adapter; 12. The system for synchronously displaying measurement data according to claim 11, wherein the system communicates with the ECU via UDS, XCP or CCP protocol to acquire a plurality of measurement data from the debugging device.
13. 1. A method for implementing a synchronous display system for measurement data, comprising: acquiring a plurality of measurement data from an ECU; After acquiring a plurality of measurement data of the ECU, a synchronization indicator and a synchronization function are set for each of the plurality of measurement data display windows, and when the display time span of a first measurement data display window, which is one of the paused measurement data display windows, is changed, the synchronization function of the remaining paused measurement data display windows is called, and the synchronization function matches the synchronization indicators of the first measurement data display window and the remaining paused measurement data display windows, and if the synchronization indicators match, a synchronization operation is performed to match the display time span of a second measurement data display window, among the remaining paused measurement data display windows, whose synchronization indicators match in the matching, with the display time span of the first measurement data display window; 2. A method for executing a synchronous display system for measurement data, comprising:
14. The display time span of the first measurement data display window is changed by: An event is triggered that affects the display time span; calculating a current display time span of the first measurement data display window based on events affecting the display time span; 14. The method of claim 13, further comprising updating the display time span of the first measurement data display window to the current display time span.
15. Events that affect the display time span are trigger events, 14. The method of claim 13, wherein the triggering events include mouse events, keyboard events, and program-controlled events.
16. The synchronization function includes: matching synchronization marks of the first measurement data display window and the remaining idle measurement data display windows; 14. The method of claim 13, further comprising determining whether the synchronization marks of the first measurement data display window and the remaining resting measurement data display windows are the same, and if they are the same, the synchronization marks are matched.
17. Performing a synchronous operation is transmitting the current display time span of the first measurement data display window as a parameter to a synchronization function of the second measurement data display window whose synchronization mark has been matched; The method of claim 13, further comprising: changing the display time span of the second measurement data display window whose synchronization mark is matched by matching to the display time span indicated by the parameter in the corresponding synchronization function, i.e., the display time span of the second measurement data display window whose synchronization mark is matched by matching becomes identical to the display time span of the first measurement data display window, thereby realizing synchronization operation.
18. The method for determining whether the measurement data display window is in a pause state is as follows:
15. The method of claim 14, further comprising determining whether a pause indicator of the measurement data display window is true, and if true, indicating that the measurement data display window is paused.
19. A computer program causing a computer to execute the method for synchronously displaying measurement data according to any one of claims 1 to 8.
Citation Information
Patent Citations
Signal acquisition system and signal acquisition device
JP2010072829A
Recorder and measurement system having the same
JP2016170120A
Quality control module for tandem arc welding
US20050133488A1