Data display method and measuring instrument
By filtering data update messages in the measurement instrument, the frequency of display updates is reduced, and the problem of lag in the display interface of the measurement instrument is solved, improving the user experience and ensuring the latest data.
Patent Information
- Application Number
- CN202510314646.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-18
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2045-03-18
AI Technical Summary
When the measuring instrument refreshes the display in real time, it may cause the display interface to be stuck and affect the user experience.
By implementing filtering of data update messages in the measurement instrument, the frequency of display updates is reduced. The specific steps include obtaining the update of the data to be displayed, generating a data update message, and determining the target update time difference based on the human eye recognition frequency or the data processing capability of the measurement instrument, filtering the data update message, and only displaying and updating it in response to the filtered message.
It effectively reduces the lag of the measuring instrument during display, improves the user experience, and ensures the latest data to be displayed, avoiding data distortion.
Smart Images

Figure CN119846284A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of waveform display technology, and in particular to a data display method and a measuring instrument. Background Art
[0002] The function of a measuring instrument is generally to collect waveforms to be measured, and to display the collected waveform data and its measurement results as display data for technicians to view. Usually, after the measuring instrument completes the collection of the waveform to be measured, it will refresh the corresponding display data in real time.
[0003] However, as the measurement functions of measuring instruments increase, the amount of data to be displayed also increases. For example, spectrum analyzers require multiple measurement modes to be run simultaneously, and each measurement mode supports one to dozens of measurement result view windows. Each view window may need to display a large amount of waveform data or measurement results. Therefore, when the data to be displayed is refreshed in real time, the display interface may become stuck due to the large amount of waveform data or measurement results, thus affecting the user experience. In this regard, new technical solutions need to be proposed. Summary of the invention
[0004] The main technical problem solved by the present application is that the measuring instrument is prone to freeze when displaying.
[0005] According to the first aspect, an embodiment provides a data display method, which is applied to a measuring instrument, and the data display method includes: In the current measurement mode, data to be displayed corresponding to at least one display result of the waveform to be measured is obtained, and after each update of the data to be displayed, a currently updated set of data to be displayed is obtained, and a corresponding data update message is generated; wherein the display result includes a waveform display result and / or a plurality of different types of waveform measurement results; Filtering each of the data update messages so that the number of the data update messages after filtering is less than the number of the data update messages before filtering; Respond to the filtered data update message, and perform a corresponding display update on the at least one display result according to the latest set of data to be displayed; wherein the display update is performed once for each response to a data update message.
[0006] In some embodiments, filtering each of the data update messages includes: A target update time difference is determined, and adjacent data update messages are filtered based on the target update time difference, so that the time difference between adjacent data update messages after filtering is not less than the target update time difference.
[0007] In some embodiments, determining the target update time difference includes: Determine a first update time difference based on a recognition frequency of human eyes, and determine the target update time difference according to the first update time difference; or, Determine a second update time difference based on the data generation amount of the current measurement mode and the data processing capability of the measuring instrument, and determine the target update time difference according to the second update time difference; or, A first update time difference is determined based on the recognition frequency of the human eye, and a second update time difference is determined based on the data generation amount of the current measurement mode and the data processing capability of the measuring instrument, and the target update time difference is determined based on the first update time difference and the second update time difference.
[0008] In some embodiments, determining the target update time difference according to the first update time difference and the second update time difference includes: Determine the target update time difference according to the larger one of the first update time difference and the second update time difference; or, The target update time difference is determined according to an average value of the first update time difference and the second update time difference.
[0009] In some embodiments, obtaining a currently updated set of data to be displayed after each update of the data to be displayed includes: After each update of the data to be displayed, the currently updated data to be displayed is obtained, and the currently updated data to be displayed is compressed to match the size of the display area of the measuring instrument to obtain the set of data to be displayed.
[0010] In some embodiments, the updating of the at least one display result according to the latest set of data to be displayed includes: Determining whether the actual display area size of each display result on the measuring instrument matches the current latest corresponding data set to be displayed; If not, the currently latest corresponding set of data to be displayed is compressed to match the size of the actual display area, so as to update the corresponding display result.
[0011] In some embodiments, when the at least one display result includes two or more display results; the corresponding display update of the at least one display result according to the latest set of data to be displayed includes: Determine whether the latest set of data to be displayed has changed compared to the latest set of data to be displayed when the display was last updated; If there is a change, the corresponding display result is updated based on the latest set of data to be displayed; If there is no change, the corresponding display result will not be updated.
[0012] In some embodiments, determining whether the latest set of data to be displayed has changed compared to the latest set of data to be displayed when the display was last updated includes: When the data set to be displayed is obtained, marking it; Determine whether the identifier of the latest set of data to be displayed is the same as the identifier of the latest set of data to be displayed when the last display update was performed; If they are different, the current latest set of data to be displayed has changed compared to the latest set of data to be displayed when the display was last updated; If they are the same, the current latest set of data to be displayed has no change compared to the latest set of data to be displayed when the display was last updated.
[0013] According to the second aspect, an embodiment provides a measuring instrument, comprising: A signal measurement analysis and processing module, used to obtain data to be displayed corresponding to at least one display result of the waveform to be measured in the current measurement mode; wherein the display result includes a waveform display result and / or a plurality of different types of waveform measurement results; A primary display preprocessing module, used for obtaining a currently updated set of data to be displayed after each update of the data to be displayed, and generating a corresponding data update message; An update message management module, used for filtering each of the data update messages, so that the number of the data update messages after filtering is less than the number of the data update messages before filtering; A data display module, used to respond to the filtered data update message, and perform a corresponding display update on the at least one display result according to the latest set of data to be displayed; wherein the display update is performed once for each response to a data update message; The signal measurement and analysis processing module, the primary display preprocessing module, the update message management module and the data display module are respectively implemented based on software programs and belong to different threads.
[0014] According to a third aspect, an embodiment provides a measuring instrument, comprising: A waveform acquisition channel is used to acquire and process the waveform to be measured to obtain acquired data; the acquired data is used to be processed in the current measurement mode to obtain data to be displayed corresponding to at least one display result of the waveform to be measured; A display, used to visualize the display results in the current measurement mode; A processor is used to implement the data display method as described in the first aspect when executing a computer program.
[0015] According to the data display method and measuring instrument of the above embodiment, the updated data to be displayed corresponding to the display result is first obtained in the current measurement mode, the currently updated data set to be displayed is obtained, and the corresponding data update message is generated. Then the data update message is filtered so that the number of filtered data update messages is less than the number of data update messages before filtering. Finally, the filtered data update message is responded to, and at least one display result is correspondingly updated according to the current latest data sets to be displayed. Since the data update message is filtered to reduce the data update message, the frequency of display update is reduced, thereby reducing the jamming of the measuring instrument during display. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A schematic diagram of the structure of a measuring instrument according to an embodiment; Figure 2 A schematic diagram of a flow chart of a data display method according to an embodiment; Figure 3 A schematic diagram of the structure of a measuring instrument according to another embodiment; Figure 4 A schematic diagram of the structure of a measuring instrument according to another embodiment; Figure 5 The figure is a schematic diagram of the structure of a measuring instrument according to another embodiment. DETAILED DESCRIPTION
[0017] The present application is further described in detail below by specific embodiments in conjunction with the accompanying drawings. Wherein similar elements in different embodiments use associated similar element numbers. In the following embodiments, many detailed descriptions are intended to enable the present application to be better understood. However, those skilled in the art can easily recognize that some of the features can be omitted in different situations, or can be replaced by other elements, materials, and methods. In some cases, some operations related to the present application are not shown or described in the specification, in order to avoid the core part of the present application being overwhelmed by too much description, and for those skilled in the art, it is not necessary to describe these related operations in detail, and the related operations can be fully understood according to the description in the specification and the general technical knowledge in the art.
[0018] In addition, the features, operations or characteristics described in the specification can be combined in any appropriate manner to form various implementations. At the same time, the steps or actions in the method description can also be interchanged or adjusted in a manner that is obvious to those skilled in the art. Therefore, the various sequences in the specification and the drawings are only for the purpose of clearly describing a certain embodiment and are not meant to be a required sequence, unless otherwise specified that a certain sequence must be followed.
[0019] The serial numbers assigned to the components herein, such as "first", "second", etc., are only used to distinguish the objects described and do not have any order or technical meaning. The "connection" and "coupling" mentioned in this application, unless otherwise specified, include direct and indirect connections (couplings).
[0020] In the current technical solution, when the measuring instrument refreshes the display in real time, it will update the waveform data and its measurement results in real time to wait for the display data, and then send an update message to notify the display interface to update the display when there is an update. Each display update requires reading the data to be displayed, and then generating the corresponding display content based on the data to be displayed and displaying it. Therefore, each display update consumes a lot of computing power. As more and more data to be displayed needs to be displayed, under the same computing power, real-time refresh of the display is likely to cause the display interface to freeze, thus affecting the user experience.
[0021] In some embodiments of the present application, during the process of real-time refresh display of the measuring instrument, if the frequency of refreshing the display is too high, on the one hand, the computing power of the measuring instrument cannot meet the high-frequency refresh, and on the other hand, the human eye cannot actually distinguish the display content refreshed at a high frequency. Therefore, after each update of the data to be displayed and the generation of the corresponding data update message, the data update message is filtered to reduce the number of data update messages, so that the frequency of the filtered data update message is reduced, thereby reducing the frequency of refreshing the display, avoiding jamming during display, and improving the user experience. At the same time, only the data update message is filtered, and the corresponding data to be displayed is not filtered, so that the latest updated data to be displayed can be retained, thereby reducing the distortion of the data to be displayed. In addition, especially in the scenario where large-scale waveform data or a large number of measurement results need to be displayed, the effect that can be achieved in some embodiments of the present application is better.
[0022] Some embodiments provide a measuring instrument for collecting waveforms to be measured and displaying the corresponding waveforms and their measurement results. Figure 1 The measuring instrument includes a waveform acquisition channel 10, a display 20 and a processor 30, which are described in detail below.
[0023] The waveform acquisition channel 10 is used to acquire and process the waveform to be measured to obtain acquired data.
[0024] In some embodiments, the measuring instrument may have one or more waveform acquisition channels 10, and each waveform acquisition channel 10 may be used to acquire a waveform to be measured. In some embodiments, the waveform acquisition channel 10 may be a digital waveform acquisition channel 10, which may include a digital channel and a digital signal processing module. The digital channel is used to input the digital signal to be measured, and the digital signal processing module is used to pre-process the digital signal to be measured to obtain acquisition data. The pre-processing may include filtering processing, amplification processing, etc., which will not be repeated here.
[0025] In some embodiments, the waveform acquisition channel 10 may be an analog waveform acquisition channel 10, which may include an analog front end and an analog signal processing module. The analog front end is used to input the analog signal to be measured, and the analog signal processing module is used to pre-process the analog signal to be measured to obtain acquisition data. The pre-processing may include analog-to-digital conversion processing, filtering processing, amplification processing, etc., which will not be described in detail here.
[0026] The display 20 is used for visual display. In some embodiments, the display 20 can be implemented based on a device with a display function such as a display screen or a touch display screen.
[0027] The processor 30 is used to process the collected data acquired by the waveform collection channel 10 in the current measurement mode, obtain the data to be displayed corresponding to the display result of the waveform to be measured, and control the display 20 to display the display result in the current measurement mode based on the data to be displayed. In some embodiments, the processor 30 can be implemented based on a device with data processing capabilities such as FPGA, CPU, GPU, single-chip microcomputer, etc. In some embodiments, the measuring instrument can include multiple processors 30, and the processor 30 can have a single core or multiple cores.
[0028] In some embodiments, the measuring instrument may have multiple measurement modes, and different measurement modes may have corresponding multiple different display results. For example, the measurement mode may include a 5G signal measurement mode, a 4G signal measurement mode, and other modes. Among them, the display results under each measurement mode may include a waveform display result and multiple different types of waveform measurement results under the measurement mode. The waveform display result may be the shape of the waveform, and the waveform measurement result may be a related feature of the waveform, such as the frequency and amplitude of the waveform. The waveform measurement results included in different measurement modes are matched with their corresponding measurement modes respectively, and the waveform measurement results under different measurement modes may be the same or different.
[0029] In some embodiments, the measuring instrument can perform multiple measurement modes at the same time, or a single measurement mode. In each measurement mode, one waveform to be measured can be measured, or multiple waveforms to be measured can be measured. In addition, each display result of the waveform to be measured in the measurement mode can be displayed on the display 20 through a display window, for example, the user can choose to display part of the display results, or can choose to display all the display results.
[0030] The above is some description of the measuring instrument. The following is a specific description of the data display method used for the measuring instrument. Figure 2 , the data display method may include the following steps: Step 100: Acquire updated data to be displayed and generate a corresponding data update message.
[0031] The processor 30 processes the collected data acquired by the waveform acquisition channel 10 in the current measurement mode to obtain data to be displayed corresponding to at least one display result of the waveform to be measured, for example, performing signal analysis processing on the collected data to obtain data to be displayed corresponding to the waveform display result, for example, performing signal measurement processing on the collected data to obtain data to be displayed corresponding to the waveform measurement result.
[0032] The processor obtains the currently updated set of data to be displayed after each update of the data to be displayed. For example, when the waveform measurement result is updated, the processor obtains the currently updated set of data to be displayed of the waveform measurement result. In some embodiments, the set of data to be displayed adopts a format corresponding to the data transmission mode, for example, the format of the set of data to be displayed can be a data frame. In some embodiments, after obtaining the set of data to be displayed, the processor transmits it to the memory for caching.
[0033] In some embodiments, after each update of the data to be displayed, the processor first obtains the currently updated data to be displayed, and then compresses the currently updated data to be displayed to match the size of the display area of the measuring instrument to obtain a set of data to be displayed. In this embodiment, the display area of the measuring instrument can display a limited amount of data or a limited resolution. Therefore, after the data to be displayed is updated, it can be pre-processed at the first level, such as extracting part of the data from the currently updated data to be displayed so that the extracted data to be displayed matches the size of the display area of the measuring instrument, thereby reducing the amount of data to be processed. In some embodiments, the first level of pre-processing can be extracting the envelope of the data to be displayed when it is displayed, or it can be extracting the maximum and minimum values of the data to be displayed when it is displayed. In some embodiments, the display area of the measuring instrument is the display area of the display 20, and the size of the display area is the pixels of the display area.
[0034] The processor will also generate a corresponding data update message after each update of the data to be displayed, to indicate that the data to be displayed is updated.
[0035] Step 200: Filter each data update message.
[0036] The processor 30 filters each data update message so that the number of data update messages after filtering is less than the number of data update messages before filtering. In this embodiment, by filtering the data update messages to reduce the number of data update messages, the frequency of display updates of the data to be displayed is reduced, thereby reducing the jamming caused when the measuring instrument is displayed. Among them, when filtering each data update message, different filtering methods can be used to reduce the number of data update messages, for example, filtering can be performed according to a certain time difference, for example, filtering can be performed according to the number of data update messages required per unit time. It can be understood that as long as filtering is based on appropriate filtering conditions, the number of data update messages can be reduced, and the filtering conditions are no longer exhaustively described here.
[0037] In some embodiments, when filtering each data update message, the processor first determines the target update time difference, and then filters the adjacent data update messages based on the target update time difference, so that the time difference between the adjacent data update messages after filtering is not less than the target update time difference. For example, for the second data update message, if the time difference between it and the first data update message is greater than or equal to the target update time difference, the second data update message is not filtered, and then it is determined whether the time difference between the third data update message and the second data update message is greater than or equal to the target update time difference. On the contrary, if the time difference between it and the first data update message is less than the target update time difference, the second data update message is filtered, and it is continued to be determined whether the time difference between the third data update message and the first data update message is greater than or equal to the target update time difference, thereby filtering each data update message in turn, and filtering out the adjacent data update messages whose time difference is greater than the target update time difference.
[0038] In some embodiments, when determining the target update time difference, the processor may determine the first update time difference based on the recognition frequency of the human eye, and then determine the target update time difference based on the first update time difference, for example, taking the first update time difference as the target update time difference, for example, multiplying the first update time difference by a coefficient to obtain the target update time difference, and the target update time difference may be greater than the first update time difference, or may be less than the first update time difference. Among them, the recognition frequency of the human eye is approximately between 30Hz and 90Hz, the first update time difference corresponding to 30Hz is 1 / 30 second, and the first update time difference corresponding to 90Hz is 1 / 90 second, and the first update time difference may be selected between the two, or may be selected to be greater than or equal to 1 / 30 second. In this embodiment, when the frequency of display update is greater than the recognition frequency of the human eye, some of the display updates cannot be recognized by the human eye, resulting in a waste of display resources, so the target update time difference may be determined based on the recognition frequency of the human eye, so that the frequency of display update is adapted to the recognition frequency of the human eye, thereby reducing the frequency of display update to avoid display freeze.
[0039] In some embodiments, when determining the target update time difference, the processor may first determine the second update time difference based on the data generation amount of the current measurement mode and the data processing capacity of the measuring instrument, and then determine the target update time difference according to the second update time difference. Wherein, the method of determining the target update time difference according to the second update time difference can refer to the above-mentioned first update time difference, which will not be repeated here. In this embodiment, after determining the measurement mode, the data generation amount under the measurement mode can be basically determined, and the data processing capacity of the measuring instrument is determined by the processor, which is basically stable. Therefore, based on the two, the second update time difference can be determined, and the second update time difference can characterize the minimum time difference for the measuring instrument to perform display update. Therefore, when the time difference of the display update is greater than or equal to the second update time difference, the processor can process the current display update without jamming, and when the time difference of the display update is less than the second update time difference, the processor may not be able to handle the current display update, which easily causes the display jam. Therefore, the target update time difference can be determined based on the data generation amount of the current measurement mode and the data processing capacity of the measuring instrument, so that the frequency of the display update is adapted to the processing capacity of the processor, thereby reducing the frequency of the display update to avoid display jam.
[0040] In some embodiments, the target update time difference can also be determined based on the above-mentioned first update time difference and the second update time difference, so as to take into account the effects of the above two at the same time. In some embodiments, the target update time difference can be determined based on the larger of the first update time difference and the second update time difference, in which case the recognition frequency of the human eye and the processing power of the processor can be satisfied at the same time. In some embodiments, the target update time difference can be determined based on the average value of the first update time difference and the second update time difference, in which case the recognition frequency of the human eye and the processing power of the processor can be taken into account, or the target update time difference can be determined based on the different weights of the first update time difference and the second update time difference, in which case more emphasis can be placed on the recognition frequency of the human eye with a larger weight or more emphasis can be placed on the processing power of the processor with a larger weight.
[0041] In some embodiments, after filtering the current data update message, the processor will also determine whether to stop acquiring the data to be displayed, for example, determine whether the waveform acquisition channel 10 stops acquiring and processing the waveform to be measured, for example, determine whether to stop processing the acquired data. If so, it means that the acquisition of the data to be displayed has stopped, and the processor will regenerate the current data update message. In this embodiment, when the processor filters the data update message, the last data update message may be filtered out, and the data set to be displayed corresponding to the data update message will not be displayed and updated, resulting in distortion of the last part of the data display. Therefore, after filtering out the current data update message, the processor also needs to determine whether to stop acquiring the data to be displayed. If the data to be displayed is still being acquired, there will be new data update messages in the future, so that the display can be updated based on the latest data set to be displayed, so that the data display will not be distorted. If the acquisition of the data to be displayed is stopped, it is necessary to restore the currently filtered data update message to avoid distortion of the data display.
[0042] Step 300: Respond to the filtered data update message to perform display update.
[0043] The processor 30 responds to the filtered data update message and performs a corresponding display update on at least one display result according to the latest data sets to be displayed. In some embodiments, after responding to the data update message, the processor reads the latest data sets to be displayed from the cache from the memory, and controls the display 20 to display each display result based on the data sets to be displayed corresponding to each display result. The processor controls the display 20 to perform the above display update once each time it responds to a data update message.
[0044] In some embodiments, when the processor performs a corresponding display update on at least one display result according to the latest data sets to be displayed, the processor will also determine whether the actual display area size of each display result on the measuring instrument matches the latest corresponding data set to be displayed. If not, the latest corresponding data set to be displayed is compressed to match the actual display area size to update the display of the corresponding display result. If it matches, the display update of the display result is directly performed. In this embodiment, since the user can adjust the actual display area size of the display result, before performing the display update, it is also possible to determine whether a second preprocessing is required, that is, whether the data set to be displayed matches the actual display area, so that on the basis of the first preprocessing, the amount of data required to be processed for the display update can be further reduced. Among them, the second preprocessing can be the same as the first preprocessing, which will not be repeated here. Among them, the actual display area size on the measuring instrument is the display window size corresponding to the display result on the display 20, and the display window size can be the pixel of the display window.
[0045] In some embodiments, if at least one display result includes two or more display results, when the processor performs a corresponding display update on at least one display result according to the latest data sets to be displayed, for each display result, the processor will also determine whether the latest data set to be displayed has changed compared to the latest data to be displayed when the display was last updated. If there is a change, the corresponding display result is updated based on the latest data set to be displayed, that is, the latest data set to be displayed is read to display the latest updated display result. If there is no change, the corresponding display result is not updated, that is, the display content of the display window is kept unchanged, and there is no need to read the data set to be displayed again. In this embodiment, when the display result is updated, it is also determined whether the data set to be displayed corresponding to the display result has changed. If there is a change, it needs to be re-read and displayed. Otherwise, it does not need to be read again, thereby reducing the amount of data processing during the display update.
[0046] In some embodiments, when the processor determines whether the latest set of data to be displayed has changed compared to the latest data to be displayed at the last display update, the processor first identifies the set of data to be displayed when it obtains it, and then determines whether the identification of the latest set of data to be displayed is the same as the identification of the latest data to be displayed at the last display update. If they are different, the latest set of data to be displayed has changed compared to the latest data to be displayed at the last display update. On the contrary, if they are the same, the latest set of data to be displayed has not changed compared to the latest data to be displayed at the last display update. In some embodiments, when identifying the set of data to be displayed, it can be identified based on an ID, such as a frame ID identification, or it can be identified based on time, such as a timestamp identification. It can be understood that the identification is only used to distinguish different sets of data to be displayed, so other identification methods can also be used, which will not be repeated here.
[0047] The above is a description of one measuring instrument. The following is a description of another measuring instrument.
[0048] Please refer to Figure 3 In some embodiments, a measuring instrument is provided, which includes a signal measurement and analysis processing module 40, a primary display preprocessing module 50, an update message management module 60 and a data display module 70, which are described in detail below.
[0049] The signal measurement analysis and processing module 40 is used to obtain data to be displayed corresponding to at least one display result of the waveform to be measured in the current measurement mode.
[0050] The primary display preprocessing module 50 is used to obtain the currently updated set of data to be displayed after each update of the data to be displayed, and to generate a corresponding data update message, wherein the set of data to be displayed can be cached in a memory, and the data update message is sent to the update message management module 60 .
[0051] The update message management module 60 is used to filter each data update message so that the number of the filtered data update messages is less than the number of the data update messages before filtering. The filtered data update messages are sent to the data display module 70.
[0052] The data display module 70 responds to the filtered data update message and performs a corresponding display update on at least one display result according to the latest data sets to be displayed, wherein a display update is performed once in response to a data update message.
[0053] In some embodiments, the detailed functions and implementation processes further implemented by the signal measurement and analysis processing module 40, the first-level display preprocessing module 50, the update message management module 60 and the data display module 70 can refer to the measuring instruments of the above embodiments and will not be repeated here.
[0054] In some embodiments, the measuring instrument includes a processor with multiple cores, and the signal measurement and analysis processing module, the first-level display preprocessing module, the update message management module and the data display module are respectively implemented based on software programs and belong to different threads. For example, the signal measurement and analysis processing module 40, the first-level display preprocessing module 50, the update message management module 60 and the data display module 70 are all independent threads, and each thread is run by a different core of the processor. In this embodiment, the core reason for the slow real-time response speed and interactive jamming of the display 20 during display update is that the display calculation load of the corresponding user interface thread is too large. On the one hand, the data processing amount of the user interface thread can be reduced, such as reducing the update frequency in the above embodiment. On the other hand, the original user interface thread can be split into multiple independent threads, such as the present application is split into a first-level display preprocessing module 50, an update message management module 60 and a data display module 70, and different threads are run by different cores of the processor. Therefore, while reducing the data processing amount of the data display module 70 based on the first-level display preprocessing module 50 and the update message management module 60, the computing power of the processor can be maximized to further avoid jamming of the display 20 during display update.
[0055] Please refer to Figure 4 In some embodiments, the data display module 70 includes a change mark check module 72, a secondary display preprocessing module 74 and a waveform window display module 76. Among them, the change mark check module 72 is used to read the set of data to be displayed to determine whether the latest set of data to be displayed has changed compared to the latest data to be displayed when the display was last updated, and to determine whether the above-mentioned second preprocessing is required. The secondary display preprocessing module 74 is used to read the set of data to be displayed for the second preprocessing. The waveform window display module 76 is used to update the display of each display result accordingly after obtaining the set of data to be displayed sent by the change mark check module 72 or the secondary display preprocessing module 74. Specifically, the detailed functions and implementation processes further implemented by the change mark check module 72, the secondary display preprocessing module 74 and the waveform window display module 76 can also refer to the measuring instrument of the above-mentioned embodiment, and will not be repeated here.
[0056] In some embodiments, the change mark checking module 72, the secondary display pre-processing module 74 and the waveform window display module 76 are also independent threads and are run by different cores of the processor.
[0057] In the above embodiment, the above structure of the measuring instrument can be used to run one measurement mode or multiple measurement modes.
[0058] In some embodiments, when the measuring instrument operates in multiple measurement modes, each measurement mode has a corresponding signal measurement analysis processing module 40, a primary display preprocessing module 50 and a secondary display preprocessing module 74, and shares other modules. For example, please refer to Figure 5 The A measurement mode and the B measurement mode have corresponding signal measurement analysis processing module 40, primary display preprocessing module 50 and secondary display preprocessing module 74, and share the update message management module 60, change mark checking module 72 and waveform window display module 76, and each module can be an independent thread and run by different cores of the processor.
[0059] In some embodiments, a computer program product includes a computer program and / or instructions, and when the computer program and / or instructions are executed by a processor, the above-mentioned data display method is implemented.
[0060] Those skilled in the art will appreciate that all or part of the functions of the various methods in the above-mentioned embodiments can be implemented by hardware or by computer programs. When all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can be stored in a computer-readable storage medium, and the storage medium can include: read-only memory, random access memory, disk, optical disk, hard disk, etc., and the program is executed by a computer to implement the above-mentioned functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the above-mentioned functions can be implemented. In addition, when all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can also be stored in a storage medium such as a server, another computer, disk, optical disk, flash disk or mobile hard disk, and can be downloaded or copied and saved in the memory of the local device, or the system of the local device is updated, and when the program in the memory is executed by the processor, all or part of the functions in the above-mentioned embodiments can be implemented.
[0061] The above specific examples are used to illustrate the present application, which is only used to help understand the present application and is not intended to limit the present application. For technicians in the technical field to which the present application belongs, they can also make some simple deductions, deformations or substitutions based on the ideas of the present application.
Claims
1. A data display method, characterized in that: Applied to a measuring instrument, the data display method comprises: In the current measurement mode, data to be displayed corresponding to at least one display result of the waveform to be measured is obtained, and after each update of the data to be displayed, a currently updated set of data to be displayed is obtained, and a corresponding data update message is generated; wherein the display result includes a waveform display result and / or a plurality of different types of waveform measurement results; Filtering each of the data update messages so that the number of the data update messages after filtering is less than the number of the data update messages before filtering; Respond to the filtered data update message, and perform a corresponding display update on the at least one display result according to the latest set of data to be displayed; wherein the display update is performed once for each response to a data update message.
2. The data display method according to claim 1, characterized in that: The filtering of each of the data update messages comprises: A target update time difference is determined, and adjacent data update messages are filtered based on the target update time difference, so that the time difference between adjacent data update messages after filtering is not less than the target update time difference.
3. The data display method according to claim 2, characterized in that: Determining the target update time difference includes: Determine a first update time difference based on a recognition frequency of human eyes, and determine the target update time difference according to the first update time difference; or, Determine a second update time difference based on the data generation amount of the current measurement mode and the data processing capability of the measuring instrument, and determine the target update time difference according to the second update time difference; or, A first update time difference is determined based on the recognition frequency of the human eye, and a second update time difference is determined based on the data generation amount of the current measurement mode and the data processing capability of the measuring instrument, and the target update time difference is determined based on the first update time difference and the second update time difference.
4. The data display method according to claim 3, characterized in that: The determining the target update time difference according to the first update time difference and the second update time difference comprises: Determine the target update time difference according to the larger one of the first update time difference and the second update time difference; or, The target update time difference is determined according to an average value of the first update time difference and the second update time difference.
5. The data display method according to claim 1, characterized in that: The step of obtaining a currently updated set of data to be displayed after each update of the data to be displayed comprises: After each update of the data to be displayed, the currently updated data to be displayed is obtained, and the currently updated data to be displayed is compressed to match the size of the display area of the measuring instrument to obtain the set of data to be displayed.
6. The data display method according to claim 1 or 5, characterized in that: The corresponding display updating of the at least one display result according to the latest respective data sets to be displayed comprises: Determining whether the actual display area size of each display result on the measuring instrument matches the current latest corresponding data set to be displayed; If not, the currently latest corresponding set of data to be displayed is compressed to match the size of the actual display area, so as to update the corresponding display result.
7. The data display method according to claim 1, characterized in that: When the at least one display result includes two or more display results; the corresponding display update of the at least one display result according to the latest set of data to be displayed includes: Determine whether the latest set of data to be displayed has changed compared to the latest set of data to be displayed when the display was last updated; If there is a change, the corresponding display result is updated based on the latest set of data to be displayed; If there is no change, the corresponding display result will not be updated.
8. The data display method according to claim 7, characterized in that: The determining whether the latest set of data to be displayed has changed compared to the latest set of data to be displayed when the display was last updated includes: When the data set to be displayed is obtained, marking it; Determine whether the identifier of the latest set of data to be displayed is the same as the identifier of the latest set of data to be displayed when the last display update was performed; If they are different, the current latest set of data to be displayed has changed compared to the latest set of data to be displayed when the display was last updated; If they are the same, the current latest set of data to be displayed has no change compared to the latest set of data to be displayed when the display was last updated.
9. A measuring instrument, characterized in that: include: A signal measurement analysis and processing module, used to obtain data to be displayed corresponding to at least one display result of the waveform to be measured in the current measurement mode; wherein the display result includes a waveform display result and / or a plurality of different types of waveform measurement results; A primary display preprocessing module, used for obtaining a currently updated set of data to be displayed after each update of the data to be displayed, and generating a corresponding data update message; An update message management module, used for filtering each of the data update messages, so that the number of the data update messages after filtering is less than the number of the data update messages before filtering; A data display module, used to respond to the filtered data update message, and perform a corresponding display update on the at least one display result according to the latest set of data to be displayed; wherein the display update is performed once for each response to a data update message; The signal measurement and analysis processing module, the primary display preprocessing module, the update message management module and the data display module are respectively implemented based on software programs and belong to different threads.
10. A measuring instrument, characterized in that: include: The waveform acquisition channel is used to acquire and process the waveform to be measured to obtain the acquired data; The collected data is used to be processed in the current measurement mode to obtain data to be displayed corresponding to at least one display result of the waveform to be measured; A display, used to visualize the display results in the current measurement mode; A processor, configured to implement the data display method according to any one of claims 1 to 8 when executing a computer program.
Citation Information
Patent Citations
Information display method and apparatus
CN105468695A
Intelligent data display method and device
CN114896012A
Display command set processing method and device of chip system based on chip
CN115951855A
Data processing method and device, computer equipment and computer readable storage medium
CN116048788A
Filtering Unnecessary Display Updates for a Networked Client
US20150127716A1