WO2017133022A1 - 一种数字示波器及其波形搜索方法和装置 - Google Patents

一种数字示波器及其波形搜索方法和装置 Download PDF

Info

Publication number
WO2017133022A1
WO2017133022A1 PCT/CN2016/073733 CN2016073733W WO2017133022A1 WO 2017133022 A1 WO2017133022 A1 WO 2017133022A1 CN 2016073733 W CN2016073733 W CN 2016073733W WO 2017133022 A1 WO2017133022 A1 WO 2017133022A1
Authority
WO
WIPO (PCT)
Prior art keywords
waveform
search
block
layer
current
Prior art date
Application number
PCT/CN2016/073733
Other languages
English (en)
French (fr)
Inventor
吴雁
易晓阳
Original Assignee
深圳高宜电子科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳高宜电子科技有限公司 filed Critical 深圳高宜电子科技有限公司
Priority to PCT/CN2016/073733 priority Critical patent/WO2017133022A1/zh
Publication of WO2017133022A1 publication Critical patent/WO2017133022A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R13/00Arrangements for displaying electric variables or waveforms
    • G01R13/02Arrangements for displaying electric variables or waveforms for displaying measured electric variables in digital form
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R13/00Arrangements for displaying electric variables or waveforms
    • G01R13/20Cathode-ray oscilloscopes

Definitions

  • the present invention relates to the field of digital oscilloscope technology, and more particularly to a digital oscilloscope and a waveform search method and apparatus thereof.
  • Digital oscilloscopes are the basic tools commonly used by electronic engineers. With the development of technology, digital oscilloscopes can record a large number of waveforms in a short time. In the subsequent analysis, the previously recorded waveforms need to be found.
  • the storage mode of the digital oscilloscope usually has a single-segment or multi-segment storage mode.
  • the waveform search method usually has a navigation area above the waveform display area, and a flag is provided in the navigation area to prompt the position and size of the waveform of the waveform display area in the entire recorded data; In the mode, the usual waveform search method is to check the waveform one by one.
  • the above two search methods are convenient.
  • the depth of the record determines how much the measured waveform is.
  • the user usually wants a large memory depth, and the trend of technology development in recent years is also the same.
  • the recording depth of the waveform is very deep, for example, when thousands or hundreds of thousands of waveforms are recorded, it would be inefficient to use the above two search methods, because this way of viewing one by one It is difficult to find the exact location of the anomalous waveform that the user wishes to see from thousands or hundreds of thousands of waveforms.
  • the technical problem to be solved by the present invention is to provide a digital oscilloscope and a waveform search method and apparatus thereof that can quickly search for a target waveform from at least thousands of waveforms in view of the above-mentioned drawbacks of the prior art.
  • the waveform search mode trigger instruction input by the user When the waveform search mode trigger instruction input by the user is acquired, the waveform search mode is entered;
  • a first layer of waveform search bar is displayed in the search navigation area, and the first layer of the waveform search bar includes: a plurality of first-level blocks obtained by dividing all waveforms to be searched according to a preset rule. Each of the first-level blocks corresponding to one or more waveform data;
  • the first-level block corresponding to the current search pointer is highlighted, the search pointer position adjustment information input by the user is obtained in real time, and the new first-level block is highlighted according to the new current search pointer position, and overlapped in the waveform display area at the same time.
  • the mode displays all the waveforms included in the primary block corresponding to the current search pointer;
  • the second layer waveform search bar includes: a plurality of second-level blocks obtained by further dividing all waveforms included in the selected first-level block in the first-layer waveform search bar according to a preset rule, The sum of the number of waveforms included in all the secondary blocks is equal to the number of waveforms in the selected primary block;
  • the search pointer position adjustment information input by the user is acquired in real time, and the highlighted secondary block is changed according to the new current search pointer position, and the secondary search block corresponding to the current search pointer is displayed in an overlapping manner in the waveform display area.
  • waveform search method of the present invention wherein the waveform search method further comprises the steps of:
  • the third layer waveform search bar includes: all waveforms included in the selected second block in the second layer waveform search bar, according to the number of waveforms of the second block, according to a preset rule a plurality of third-level blocks obtained by further dividing, all of the three-level blocks include equal number of waveforms, and the sum is equal to the number of waveforms in the selected two-level block;
  • the highlighted block of the second layer waveform search bar maintains a highlighted state; the search pointer position is moved to the third layer waveform search bar, and the third level block corresponding to the current search pointer is highlighted;
  • the search pointer position adjustment information input by the user is acquired in real time, and the highlighted three-level block is changed according to the new current search pointer position, and the three-level block corresponding to the current search pointer is displayed in an overlapping manner in the waveform display area.
  • waveform search method of the present invention wherein the waveform search method further comprises the steps of:
  • the fourth layer waveform search bar includes: a plurality of four-level blocks obtained by further dividing all waveforms included in the selected three-level block in the third layer waveform search bar according to a preset rule, Place The number of waveforms included in the four-level block is equal, and the sum is equal to the number of waveforms in the selected three-level block;
  • the highlighted block of the third layer waveform search bar maintains a highlighted state; the search pointer position is moved to the fourth layer waveform search bar, and the fourth level block corresponding to the current search pointer is highlighted;
  • the search pointer position adjustment information input by the user is acquired in real time, and the highlighted four-level block is changed according to the new current search pointer position, and the four-level block corresponding to the current search pointer is displayed in an overlapping manner in the waveform display area.
  • the waveform search method of the present invention wherein in the waveform display area, the first search block, the second level block, the third level block or the fourth level block corresponding to the current search pointer is displayed in an overlapping manner.
  • the specific way of all waveforms is:
  • the first state is that all waveforms in the current block are overlapped and displayed in the first feature color, and all waveforms except the waveform in the current block are removed from the current layer in the second feature color;
  • the second state is that all waveforms in the current block overlapped by the first feature color in the first state are hidden, and all waveforms except the waveform in the current block are removed from the current layer only by the second feature color. ;
  • the current block is the primary block, the secondary block, the third-level block, or the fourth-level block, and the current layer corresponding to the first-level block is the first block.
  • a layer of a waveform search bar wherein the current layer corresponding to the second level block is the second layer waveform search bar, and the current layer corresponding to the third level block is the third layer waveform search bar, the fourth level The current layer corresponding to the block is the fourth layer waveform search bar.
  • waveform search method of the present invention wherein the waveform search method further comprises the steps of:
  • Display parameters corresponding to one or more waveforms the display parameters including time base information, delay information, current block information, current layer information, waveform color information, and trigger setting information;
  • All display parameters recorded under one bookmark setting instruction are stored and displayed in a human-computer interaction interface of the digital oscilloscope as a trigger mark.
  • waveform search method of the present invention wherein the waveform search method further comprises the steps of:
  • all the display parameters corresponding to the stored bookmark mark button are read, and all the read display parameters are loaded into the current waveform display system, so as to be The waveform of the waveform display area shows the status when it is restored to the bookmark mark.
  • the waveform search method of the present invention wherein when a plurality of bookmark setting instructions input by the user are acquired, the display parameters corresponding to the respective bookmark setting instructions are separately recorded, and a plurality of different displays are displayed on the human-computer interaction interface of the digital oscilloscope. Bookmark mark button.
  • the search pointer is continuously slid on the plurality of blocks of the current layer waveform search bar to sequentially highlight adjacent blocks on the current layer waveform search bar, the current layer
  • the waveform search bar is the first layer waveform search bar, the second layer waveform search bar, the third waveform search bar, or the fourth waveform search bar; or
  • the search pointer is moved between the waveform search bars of different layers, so as to select to further view the next layer waveform corresponding to a certain block, or exit to observe a layer of the waveform, Go back to the block on the previous level.
  • the waveform search method of the present invention wherein the search pointer movement manner further comprises the following steps:
  • the search pointer position adjustment instruction is not executed, and the counting and timing are started. After the timing meets the preset time, it is checked whether the count satisfies the pre-designed value. If not, the search pointer position adjustment command is canceled, and if so, the search pointer position is adjusted to the previous layer corresponding to the current left boundary block. Searching for the left block position of the currently highlighted block in the bar;
  • the search pointer position adjustment instruction is not executed temporarily, and the counting is started. Timing, when the timing meets the preset time, see if the count meets the pre-designed value. If not, cancel the search pointer position adjustment command. If yes, adjust the search pointer position to the previous one corresponding to the current right boundary block. The position of the right block of the currently highlighted block in the layer waveform search bar.
  • the waveform search method of the present invention wherein the specific steps of dividing the first layer waveform search bar according to a preset rule to all the waveforms to be searched to obtain a plurality of first-level blocks include:
  • the waveform search method of the present invention wherein the method for performing block division on the second layer waveform search bar, the third layer waveform search bar, and the fourth layer waveform search bar is specifically:
  • the blocks are evenly divided.
  • the waveform search method of the present invention wherein when the user input input is selected to exit the instruction to view the current layer waveform search bar, the current layer waveform search bar is cancelled in the search navigation area, and the search pointer is moved back to the upper The block currently highlighted in the layer of the waveform search bar.
  • the present invention also provides a waveform search device for a digital oscilloscope for quickly searching for a target waveform from at least thousands of waveforms, including:
  • the trigger information acquiring module is configured to control the digital oscilloscope to enter the waveform search mode when acquiring the waveform search mode trigger information input by the user;
  • a search bar display module configured to display a first layer of waveform search bar in the search navigation area in the waveform search mode, where the first layer of the waveform search bar includes: all waveforms to be searched are divided according to a preset rule a plurality of primary blocks, each of the primary blocks corresponding to one or more waveform data;
  • a search pointer module configured to acquire waveform search pointer position adjustment information input by a user in real time
  • the search bar display module is further configured to highlight a primary block corresponding to the current search pointer, and highlight a new primary block according to the new current search pointer position;
  • a waveform display module configured to display, in the waveform display area, all the waveforms included in the primary block corresponding to the current search pointer in an overlapping manner
  • the search bar display module is further configured to display a second layer of the waveform search bar directly in the search navigation area, or view the user input input to view any one of the first layer waveform search bars.
  • the second layer of the waveform search bar is further displayed in the search navigation area;
  • the second layer waveform search bar includes: a plurality of second-level blocks obtained by further dividing all waveforms included in the selected first-level block in the first-layer waveform search bar according to a preset rule, The sum of the number of waveforms included in all the secondary blocks is equal to the number of waveforms in the selected primary block;
  • the search pointer module is further configured to move a search pointer position to the second layer waveform search bar;
  • the search bar display module is further configured to highlight a secondary block corresponding to the current search pointer
  • the waveform display module is further configured to display, in the waveform display area, one or more waveforms included in the secondary block corresponding to the current search pointer in an overlapping manner.
  • the waveform search device of the present invention wherein the search bar display module is further configured to display a third layer waveform search bar directly in the search navigation area, or further select a second level after obtaining a user input selection.
  • the search bar display module is further configured to display a third layer waveform search bar directly in the search navigation area, or further select a second level after obtaining a user input selection.
  • the third layer waveform search bar is further displayed in the search navigation area;
  • the third layer waveform search bar includes: all waveforms included in the selected second block in the second layer waveform search bar, according to the number of waveforms of the second block, according to a preset rule a plurality of third-level blocks obtained by further dividing, all of the three-level blocks include equal number of waveforms, and the sum is equal to the number of waveforms in the selected two-level block;
  • the search pointer module is further configured to move a search pointer position to the third layer waveform search bar;
  • the search bar display module is further configured to highlight a third-level block corresponding to the current search pointer
  • the waveform display module is further configured to display, in the waveform display area, one or more waveforms included in a third-level block corresponding to the current search pointer in an overlapping manner.
  • the waveform search device of the present invention wherein the search bar display module is further configured to display a fourth layer waveform search bar directly in the search navigation area, or to further view a certain three level after obtaining a user input selection.
  • the fourth layer waveform search bar is further displayed in the search navigation area;
  • the fourth layer waveform search bar includes: a plurality of four-level blocks obtained by further dividing all waveforms included in the selected three-level block in the third layer waveform search bar according to a preset rule, The number of waveforms included in all four-level blocks is equal, and the sum is equal to the wave in the selected third-level block. Number of shapes;
  • the search pointer module is further configured to move a search pointer position to the fourth layer waveform search bar;
  • the search bar display module is further configured to highlight a fourth-level block corresponding to the current search pointer
  • the waveform display module is further configured to display, in the waveform display area, one or more waveforms included in a fourth-level block corresponding to the current search pointer in an overlapping manner.
  • the waveform display module includes a first waveform display unit and a second waveform display unit that are alternately displayed in two states;
  • the first waveform display unit is configured to overlap display all the waveforms in the current block with the first feature color, and simultaneously display all the waveforms in the current layer except the waveforms in the current block in the second feature color;
  • the first waveform display unit is configured to hide all waveforms in the current block overlapped by the first feature color in the first state, and only display the waveform in the current layer in the current layer by overlapping the second feature color All waveforms except
  • the current block is the primary block, the secondary block, the third-level block, or the fourth-level block, and the current layer corresponding to the first-level block is the first block.
  • a layer of a waveform search bar wherein the current layer corresponding to the second level block is the second layer waveform search bar, and the current layer corresponding to the third level block is the third layer waveform search bar, the fourth level The current layer corresponding to the block is the fourth layer waveform search bar.
  • the waveform search device further includes a bookmark setting module, which specifically includes:
  • a bookmark detecting unit configured to detect, in a waveform search mode, whether a user inputs a bookmark setting instruction in real time
  • a bookmark setting unit configured to record display parameters corresponding to one or more waveforms currently displayed in the waveform display area when the bookmark setting instruction input by the user is acquired, where the display parameter includes a time base Information, delay information, current block information, current layer information, waveform color information, and trigger setting information;
  • the bookmark mark unit is configured to store all display parameters recorded under one bookmark setting instruction, and is displayed in a human-computer interaction interface of the digital oscilloscope as a trigger mark.
  • the waveform search device further includes a waveform lookback module, which specifically includes:
  • a trigger information detecting unit configured to detect, in the waveform search mode, whether the user selects the bookmark mark button in real time
  • a parameter reading unit configured to: when the trigger information of the bookmark mark button is selected by the user, read all the display parameters corresponding to the stored bookmark mark button;
  • the bookmark waveform display unit is configured to load all the read display parameters to the current waveform display system to restore the waveform display of the waveform display area to the state at the time of the bookmark mark.
  • search bar display module is further configured to cancel display of the current layer waveform in the search navigation area when acquiring an instruction input by the user to exit the view of the current layer waveform search bar.
  • the search pointer module is further configured to move the search pointer back to the currently highlighted block in the previous layer of the waveform search bar when the current layer waveform search bar is cancelled.
  • search pointer module further comprises:
  • a boundary detecting unit configured to detect, in real time, whether a block corresponding to the search pointer position is a boundary block, where the boundary block includes: a left boundary block or a right boundary block of the second layer waveform search bar a left boundary block or a right boundary block of the third layer waveform search bar, a left boundary block or a right boundary block of the fourth layer waveform search bar;
  • the search pointer position adjustment instruction is not executed temporarily, and the counting and timing are started.
  • the timing meets the preset time, the count is satisfied whether the pre-designed value is satisfied, and if not , the search pointer position adjustment instruction is canceled, and if so, the search pointer position is adjusted to the left block position of the currently highlighted display block in the upper layer waveform search bar corresponding to the current left boundary block;
  • the search pointer position adjustment instruction is not executed temporarily, and the counting is started. Timing, when the timing meets the preset time, see if the count meets the pre-designed value. If not, cancel the search pointer position adjustment command. If yes, adjust the search pointer position to the previous one corresponding to the current right boundary block. The position of the right block of the currently highlighted block in the layer waveform search bar.
  • search bar display module comprises:
  • a dividing unit configured to divide the first layer waveform search bar into a plurality of fixed copies, each of which represents data of one frame
  • a waveform detecting unit configured to sequentially detect, in time sequence, whether each frame contains a trigger waveform
  • a partition display unit configured to display a frame with a trigger waveform as a single primary block, and when detecting that a frame has no trigger waveform, merge it with the next adjacent frame until merged into After the frame with the trigger waveform, all the merged frames are displayed as a single primary block.
  • the present invention also provides a digital oscilloscope comprising the waveform search device according to any of the preceding claims, or the waveform search method according to any of the preceding claims.
  • the invention has the beneficial effects of: searching and navigating through the multi-layer waveform search bar and overlapping display of the waveform partition block, and then using the search pointer to cooperate to realize fast waveform search of human-computer interaction, which can be quickly obtained from at least Searching for target waveforms in thousands of waveforms greatly improves search efficiency.
  • FIG. 1 is a flowchart of displaying a first and second layer waveform search bar in a digital oscilloscope waveform search method according to an embodiment of the present invention
  • FIG. 2 is a flow chart showing a third layer waveform search bar in a digital oscilloscope waveform search method according to a further embodiment of the present invention
  • FIG. 3 is a flow chart showing a fourth layer waveform search bar in a digital oscilloscope waveform search method according to a further embodiment of the present invention.
  • FIG. 4 is a flow chart of exiting a current layer waveform search bar in a digital oscilloscope waveform search method according to a further embodiment of the present invention.
  • FIG. 5 is a flow chart showing two states alternately displayed in a digital oscilloscope waveform search method according to a further embodiment of the present invention.
  • FIG. 6 is a flow chart of bookmark setting in a digital oscilloscope waveform search method according to a further embodiment of the present invention.
  • FIG. 7 is a flow chart of a waveform lookback in a digital oscilloscope waveform search method according to a further embodiment of the present invention.
  • FIG. 8 is a flow chart of cross-boundary operation in a digital oscilloscope waveform search method according to a further embodiment of the present invention.
  • FIG. 9 is a flowchart of a method for layering a first layer waveform search bar in a digital oscilloscope waveform search method according to a further embodiment of the present invention.
  • FIG. 10 is a schematic diagram showing a first layer waveform search bar and a waveform display state in a digital oscilloscope according to an embodiment of the present invention
  • FIG. 11 is a schematic diagram showing a first layer and a second layer of a waveform search bar and a waveform display state in a digital oscilloscope according to a preferred embodiment of the present invention
  • FIG. 12 is a schematic diagram showing the first layer, the second layer, the third layer search bar, and the waveform display state in the waveform of the digital oscilloscope according to the preferred embodiment of the present invention
  • FIG. 13 is a schematic diagram showing a first state, a second layer, a third layer, a fourth layer search bar, and a waveform display first state in a waveform of a digital oscilloscope according to a preferred embodiment of the present invention
  • Figure 14 is a schematic diagram showing a second state of the waveform display of the first state with respect to the waveform of Figure 13;
  • FIG. 15 is a schematic diagram showing a state in which a search pointer of a digital oscilloscope according to an embodiment of the present invention is located on a left side boundary of a third layer waveform search bar;
  • FIG. 16 is a state in which the search pointer of the digital oscilloscope of the embodiment of the present invention continues to shift to the leftmost boundary of the third layer waveform search bar shown in FIG. 15 to the rightmost boundary of the second layer waveform search bar.
  • FIG. 17 is a schematic block diagram of a digital oscilloscope according to an embodiment of the present invention.
  • FIG. 18 is a schematic block diagram of a search bar display module of a digital oscilloscope according to an embodiment of the present invention.
  • FIG. 19 is a further block diagram of a digital oscilloscope according to an embodiment of the present invention.
  • FIG. 20 is a schematic block diagram of a bookmark setting module of a digital oscilloscope according to an embodiment of the present invention.
  • 21 is a block diagram showing the principle of a waveform lookback module of a digital oscilloscope according to an embodiment of the present invention.
  • FIG. 1 A waveform search method flow of a digital oscilloscope according to a preferred embodiment of the present invention is shown in FIG. 1. Referring to FIG. 10 and FIG. 11, the method is used for quickly searching for a target waveform from at least thousands of waveforms, including the following steps:
  • Step S1 entering a waveform search mode when acquiring a waveform search mode trigger instruction input by the user;
  • Step S2 In the waveform search mode, the first layer of the waveform search bar is displayed in the search navigation area, and the first layer of the waveform search bar includes: a plurality of first-level blocks obtained by dividing all the waveforms to be searched according to a preset rule. Each primary block corresponds to one or more waveform data;
  • Step S3 highlighting the first-level block corresponding to the current search pointer, acquiring the search pointer position adjustment information input by the user in real time, and highlighting the new first-level block according to the new current search pointer position;
  • Step S4 displaying, in the waveform display area, all the waveforms included in the primary block corresponding to the current search pointer in an overlapping manner;
  • Steps S5&S6 directly displaying the second layer waveform search bar in the search navigation area (ie, the flow indicated by the dotted arrow in FIG. 1), or further searching when obtaining the user input selection to further view the instruction of a certain level block.
  • the navigation area displays a second layer of waveform search bar;
  • the second layer of waveform search bar includes: a plurality of waveforms obtained by further dividing the waveforms included in the selected first level block of the first layer of the waveform search bar according to a preset rule Secondary block, the sum of the number of waveforms included in all secondary blocks Equal to the number of waveforms in the selected primary block;
  • Step S7 The position of the search pointer in the first layer waveform search bar is unchanged, and the current search pointer position is moved to the second layer waveform search bar, and the second level block corresponding to the current search pointer is highlighted, and the first layer waveform search bar is The primary block selected for viewing remains highlighted;
  • Step S8 acquiring search pointer position adjustment information input by the user in real time, and changing the highlighted secondary block according to the new current search pointer position;
  • Step S9 Display one or more waveforms included in the secondary block corresponding to the current search pointer in an overlapping manner in the waveform display area.
  • preliminary first-level block division can be performed on thousands, tens of thousands, or even hundreds of thousands of waveforms, and each level block corresponds to one or more waveform data, and the waveform is
  • the search bar is displayed in the form of a block, which is convenient for the user to perform the partition search.
  • all the waveforms included in the first block corresponding to the current search pointer are displayed in an overlapping manner in the waveform search area, and the user can directly see the current search pointer. Whether there is an abnormal waveform in the corresponding first-level block.
  • the user can further perform the second-layer waveform search bar to view all the waveforms in the current first-level block, and in the second-layer waveform search bar, Further, the included waveform is divided into two blocks, and all the waveforms in the second block corresponding to the current search pointer are overlapped and displayed in the waveform display area, so that the position of the abnormal waveform is easier to find.
  • the search bar navigation area As shown in FIG. 10, currently displayed in the search bar navigation area is the first layer waveform search bar A1, and overlapped in the waveform display area B is the first layer waveform search bar contained in the first block indicated by T1. All waveforms.
  • the first layer waveform search bar A1 and the second layer waveform search bar A2 are currently displayed in the search bar navigation area, and the T2 indication in the second layer waveform search bar is superimposed in the waveform display area B. All waveforms contained in the secondary block.
  • the waveform search method further includes:
  • Step S21 directly displaying a third layer waveform search bar in the search navigation area, or further displaying a third layer waveform search bar in the search navigation area when acquiring a user input selection to further view an instruction of a second level block;
  • the three-layer waveform search bar includes: all the waveforms included in the selected second-level block in the second-layer waveform search bar, according to the number of waveforms of the second-level block, further divided by a preset rule a plurality of three-level blocks, all three levels of blocks contain equal number of waveforms, and the sum is equal to the number of waveforms in the selected two-level block;
  • Step S22 The position of the search pointer in the second layer waveform search bar is unchanged, that is, the highlighted block of the second layer waveform search bar remains highlighted, and the current search pointer position is moved to the third layer waveform search bar, and is highlighted.
  • Step S23 acquiring search pointer position adjustment information input by the user in real time, and changing the highlighted three-level block according to the new current search pointer position;
  • Step S24 Display one or more waveforms included in the third-level block corresponding to the current search pointer in an overlapping manner in the waveform display area.
  • the waveform to be viewed can be further layered to shorten the search time and improve the search efficiency.
  • the overlapping display in the waveform display area B is All waveforms contained in the three-level block indicated by T3 in the three-layer waveform search bar.
  • the waveform search method further includes the steps of:
  • Step S31 directly displaying the fourth layer waveform search bar in the search navigation area, or acquiring the user
  • the input selection further displays a fourth level waveform search bar in the search navigation area when the instruction of a third level block is further viewed;
  • the fourth layer waveform search bar includes: the selected third level area in the third layer waveform search bar a plurality of four-level blocks obtained by further dividing all waveforms included in the block according to a preset rule, all of the four-level blocks include equal number of waveforms, and the sum is equal to that in the selected three-level block Number of waveforms;
  • Step S32 The position of the search pointer in the third layer waveform search bar is unchanged, that is, the highlighted block of the third layer waveform search bar remains highlighted; the search pointer position is moved to the fourth layer waveform search bar, and the current Searching for a four-level block corresponding to the pointer;
  • Step S33 acquiring search pointer position adjustment information input by the user in real time, and changing the highlighted four-level block according to the new current search pointer position;
  • Step S34 displaying one or more waveforms included in the fourth-level block corresponding to the current search pointer in an overlapping manner in the waveform display area.
  • the waveform to be viewed can be further hierarchically displayed to shorten the search time and improve the search efficiency.
  • the search bar navigation area As shown in FIG. 13, currently displayed in the search bar navigation area are the first layer waveform search bar A1 and the second layer waveform search bar A2, the third layer waveform search bar A3, and the fourth layer waveform search bar A4, which are displayed in the waveform.
  • the overlap shown in the area B is all the waveforms contained in the four-level block indicated by T4 in the fourth layer waveform search bar.
  • the method further includes:
  • Step S41 determining whether the user input selection is selected to exit the instruction of viewing the current layer waveform search bar.
  • the current layer waveform search bar specifically refers to the second layer waveform search bar and the third layer waveform. Search bar or layer 4 waveform search bar.
  • Step S42 cancel displaying the current layer waveform search bar in the search navigation area, and move the search pointer back to the currently highlighted block in the previous layer waveform search bar.
  • the upper layer waveform search bar specifically refers to the first layer waveform search bar, the second layer waveform search bar, and the third layer waveform search bar.
  • the user can conveniently return from the next layer waveform search bar to the previous layer waveform search bar to further view the waveform in another block in the previous layer waveform search bar.
  • the current search pointer is located at the second-level block position corresponding to T2 of the second-layer waveform search bar.
  • the user input exit is obtained to view the second-layer waveform search bar, and the first-layer waveform search bar is returned.
  • the next display state corresponds to that shown in FIG. 10, the second layer waveform search bar disappears, and the current search pointer returns to the first block position corresponding to T1 in the first layer waveform search bar.
  • the first block, the second block, and the third level corresponding to the current search pointer are displayed in an overlapping manner.
  • Specific ways to include all the waveforms in a block or a four-level block include:
  • Step S51 alternately displaying in two states
  • the first state is that all the waveforms in the current block are overlapped and displayed in the first feature color, and all waveforms except the waveform in the current block are removed from the current layer by the second feature color.
  • the second state is to hide all the waveforms in the current block overlapped by the first feature color in the first state, and only display the second feature color in the current layer except the waveform in the current block. All waveforms;
  • the first feature color is a highlight color
  • the second feature color is a red or other colored background color
  • the current block is a primary block, a secondary block, a third block or a fourth block
  • the current layer corresponding to the first block is the first layer waveform search bar
  • the current layer corresponding to the second block Search for the second layer of waveform
  • the current layer corresponding to the third-level block is the third-layer waveform search bar
  • the current layer corresponding to the fourth-level block is the fourth-layer waveform search bar.
  • the waveform search method further includes:
  • Step S61 in the waveform search mode, detecting in real time whether the user inputs a bookmark setting instruction
  • Step S62 When the bookmark setting instruction input by the user is acquired, the display parameter corresponding to one or more waveforms currently displayed in the waveform display area is recorded, and the display parameters include time base information, delay information, current block information, and current layer information. , waveform color information and trigger setting information;
  • Step S63 Store all the display parameters recorded under one bookmark setting instruction, and display them in a human-computer interaction interface of the digital oscilloscope by using a bookmark mark button as a trigger form.
  • the waveform search method further includes the steps of: S71: detecting, in the waveform search mode, whether the user selects a bookmark mark button in real time; S72, reading the stored information when the trigger information of the user selecting the bookmark mark button is acquired. All the display parameters corresponding to the bookmark mark button; S73, loading all the read display parameters into the current waveform display system to restore the waveform display of the waveform display area B to the state at the time of the bookmark mark.
  • the user can bookmark the currently viewed waveform at any time in the waveform search mode, so that the waveform block of interest can be viewed at any time through the bookmark function.
  • the waveform search method when a plurality of bookmark setting instructions input by the user are acquired, The display parameters corresponding to each bookmark setting instruction are separately recorded, and a plurality of different bookmark mark buttons are displayed on the human-computer interaction interface of the digital oscilloscope. Users can set one or more bookmark mark buttons as needed to further improve the efficiency of waveform search.
  • the search pointer movement mode is: according to the search pointer position adjustment information input by the user, the search pointer is continuously slid on the plurality of blocks of the current layer waveform search bar to sequentially highlight the current layer waveform.
  • the current layer waveform search bar is a first layer waveform search bar, a second layer waveform search bar, a third wave search bar, or a fourth waveform search bar; or, according to a user input search
  • the pointer position adjustment information moves the search pointer between the waveform search bars of different layers, so as to select to further view the next layer waveform corresponding to a certain block, or exit to observe a certain layer waveform, and return to the upper layer area. Piece.
  • the search pointer moving manner further includes the following steps:
  • Step S81 detecting, in real time, whether the block corresponding to the search pointer position is a boundary block, where the boundary block includes: a left boundary block or a right boundary block of the second layer waveform search bar, and a third layer waveform search bar.
  • Step S82 determining whether the adjustment information of adjusting the position of the search pointer to the left input by the user is obtained.
  • Step S83 When the block corresponding to the position of the search pointer is the left (or right) boundary block, and the adjustment information for adjusting the position of the search pointer to the left (or right) input by the user is obtained, the time is not executed. Search pointer position adjustment command, start counting and timing;
  • Step S84 determining whether the timing meets the preset time?
  • Step S85 After the timing meets the preset time, check whether the count satisfies the pre-designed value
  • Step S86 if no, cancel the search pointer position adjustment instruction
  • Step S87 If yes, adjust the search pointer position to the left (or right) block position of the currently highlighted block in the upper layer waveform search bar corresponding to the current left (or right) boundary block.
  • the search pointer position is not executed temporarily. Adjust the command, start counting and timing. When the timing meets the preset time, check whether the count meets the pre-designed value. If not, cancel the search pointer position adjustment command. If yes, adjust the search pointer position to the current right boundary. The position of the right block of the block currently highlighted in the upper layer waveform search bar corresponding to the block.
  • the above-mentioned intentionally set operation obstacle is encountered, so as to remind the user that the operation will simultaneously change the search pointer position of the upper layer and the search pointer position of the current layer, and enhance the operation. Sense, to prevent misuse.
  • the first layer waveform search module has 120 first-level blocks, and the 50th first-level block is currently highlighted; the second-layer waveform search module has 60 second-level blocks, which are currently highlighted from the left.
  • the first secondary block to the right; when the user operates the search pointer to continue to move to the left, after the above obstacle operation, the search pointer of the first layer moves to the 49th block, and the search pointer of the second layer moves to the left
  • the 60th secondary block to the right when the user operates the search pointer to continue to move to the left, after the above obstacle operation, the search pointer of the first layer moves to the 49th block, and the search pointer of the second layer moves to the left.
  • the 17th secondary block (the position shown by T2) is highlighted in the second layer waveform search bar, and the first layer is highlighted in the third layer waveform search bar.
  • a three-level block (the position shown in T31), the user continues to move the search pointer to the left.
  • the new display state is as shown in FIG. 16, wherein the second layer of the waveform search bar is highlighted.
  • 16 secondary blocks positions indicated by T21
  • the third-level waveform search bar highlights the rightmost three-level block (shown at T32), that is, completes a left-to-left cross-boundary operation.
  • the specific steps of dividing the first layer waveform search bar according to a preset rule to all the waveforms to be searched to obtain a plurality of first-level blocks include:
  • Step S101 dividing the first layer waveform search bar into a plurality of fixed copies, each of which represents data of one frame;
  • Step S102 sequentially detecting, in chronological order, whether each frame contains a trigger waveform
  • Step S103 Display a frame with a trigger waveform detected as a single primary block
  • Step S104 When it is detected that a certain frame has no trigger waveform, merge it with the next adjacent frame;
  • Step S105 determining whether to merge into a frame having a trigger waveform
  • Step S106 after merging into the frame with the trigger waveform, display all the merged frames as a single primary block.
  • first detecting whether the first frame contains a trigger waveform if any, displaying it as a single primary block, and then detecting whether the second frame contains a trigger waveform, and if not, continuing to detect whether the third frame contains a trigger waveform, If it still does not, continue to detect whether the fourth frame contains a trigger waveform. If the fourth frame contains a trigger waveform, then display the second frame, the third frame, and the fourth frame together as the second secondary block, so that time is Each frame is detected in turn.
  • the waveform division method the number of primary blocks displayed in the final display can be reduced, thereby further saving the user's search time and improving the search efficiency.
  • the method for performing block division on the second layer waveform search bar, the third layer waveform search bar, and the fourth layer waveform search bar is specifically: searching for the number of waveforms in the waveform according to each layer waveform Evenly block.
  • the second layer of waveform search bar contains 10,000 waveforms, it can be divided into 100 secondary blocks, each of which contains 100 waveforms.
  • the continuation can be continued, for example, divided into 10 third-level blocks, and each of the three-level blocks includes 10 waveforms. This can greatly save search time and improve search efficiency.
  • the second layer waveform search bar A2, the third layer waveform search bar A3, and the fourth layer waveform search bar A4 may be displayed according to a user's instruction, or may be directly displayed in the search navigation area.
  • the fifth layer waveform search bar or the like can be further displayed.
  • a waveform search device for a digital oscilloscope for quickly searching for a target waveform from at least thousands of waveforms.
  • the block diagram is as shown in FIG. 17, and includes: trigger information.
  • the obtaining module 10 is configured to control the digital oscilloscope to enter the waveform search mode when acquiring the waveform search mode trigger information input by the user; and the search bar display module 20 is configured to display the first layer waveform search bar in the search navigation area in the waveform search mode.
  • the first layer of the waveform search bar includes: a plurality of first-level blocks obtained by dividing all the waveforms to be searched according to a preset rule, each of the first-level blocks corresponding to one or more pieces of waveform data; and the search pointer module 30,
  • the waveform search pointer position adjustment information is used for real-time acquisition of the user input; the search bar display module 20 is further configured to highlight the first-level block corresponding to the current search pointer, and highlight a new level according to the new current search pointer position.
  • a waveform display module 40 configured to display, in the waveform display area B, a level corresponding to the current search pointer in an overlapping manner All waveforms included in the block; the search bar display module 20 is also used to display the second layer of the waveform search bar directly in the search navigation area, or to view any one of the first layer of the waveform search bar in the selection of the user input.
  • the second layer waveform search bar is further displayed in the search navigation area;
  • the second layer waveform search bar includes: all the waveforms included in the selected first level block in the first layer waveform search bar a plurality of secondary blocks obtained by further dividing according to a preset rule, the sum of the number of waveforms included in all the secondary blocks is equal to the number of waveforms in the selected primary block;
  • the search pointer module 30 is further For moving the search pointer position to the second layer waveform search bar;
  • the search bar display module 20 is further configured to highlight the secondary block corresponding to the current search pointer;
  • the waveform display module 40 is further configured to be in the waveform display area
  • the overlapping mode displays one or more waveforms included in the secondary block corresponding to the current search pointer.
  • the trigger information acquiring module 10
  • the waveform searching device thousands, tens of thousands, even hundreds of thousands of waveforms can be divided into one level block, each level block corresponding to one or more waveform data, and the waveform search bar
  • the block display is convenient for the user to perform the partition search, and all the waveforms included in the first-level block corresponding to the current search pointer are displayed in an overlapping manner in the waveform search area, and the user can directly see the corresponding one of the current search pointers. Whether there is an abnormal waveform in the level block.
  • the user can further perform the second layer waveform search bar to view all the waveforms in the current first level block, and in the second layer waveform search bar, further
  • the included waveform is divided into two blocks, and all the waveforms in the second block corresponding to the current search pointer are overlapped and displayed in the waveform display area, so that the position of the abnormal waveform is easier to find.
  • the first layer waveform search bar A1 As shown in FIG. 10, currently displayed in the search bar navigation area is the first layer waveform search bar A1, and overlapped in the waveform display area is all included in the first block indicated by T1 in the first layer waveform search bar. Waveform. As shown in FIG. 11, the first layer waveform search bar A1 and the second layer waveform search bar A2 are currently displayed in the search bar navigation area, and the T2 indication in the second layer waveform search bar is superimposed in the waveform display area B. All waveforms contained in the secondary block.
  • the search bar display module 20 is further configured to display the third layer waveform search bar directly in the search navigation area, or further search when obtaining the user input selection to further view the instruction of a certain secondary block.
  • the navigation area displays a third layer waveform search bar;
  • the third layer waveform search bar includes: for all waveforms included in the selected second block in the second layer waveform search bar, according to the number of waveforms of the second block a plurality of third-level blocks obtained by further dividing by a preset rule, all three-level blocks include equal number of waveforms, and the sum is equal to the number of waveforms in the selected two-level block;
  • the search pointer The module is further configured to move the search pointer position to the third layer waveform search bar;
  • the search bar display module is further configured to highlight the third level block corresponding to the current search pointer;
  • the waveform display module is further used in the waveform display area. Displaying one of the three levels of the block corresponding to the current search pointer in an overlapping manner Or multiple wave
  • the search bar navigation area is the first layer waveform search bar A1 and the second layer waveform search bar A2, and the third layer waveform search bar A3, and the overlapping display in the waveform display area B is All waveforms contained in the three-level block indicated by T3 in the three-layer waveform search bar.
  • the waveform to be viewed can be further hierarchically displayed to shorten the search time and improve the search efficiency.
  • the search bar display module 20 is further configured to display the fourth layer waveform search bar directly in the search navigation area, or further search when acquiring the user input selection to further view the instruction of a third level block.
  • the navigation area displays a fourth layer waveform search bar; the fourth layer waveform search bar includes: a plurality of waveforms obtained by further dividing the waveforms included in the selected three-level block in the third layer waveform search bar according to a preset rule.
  • the search pointer module 30 is also used to move the search pointer position to The fourth layer of the waveform search bar;
  • the search bar display module 20 is further configured to highlight the four-level block corresponding to the current search pointer;
  • the waveform display module 40 is further configured to display the current search pointer correspondingly in the waveform display area in an overlapping manner.
  • the search bar navigation area As shown in FIG. 13, currently displayed in the search bar navigation area are the first layer waveform search bar A1 and the second layer waveform search bar A2, the third layer waveform search bar A3, and the fourth layer waveform search bar A4, which are displayed in the waveform.
  • the overlap shown in the area B is all the waveforms contained in the four-level block indicated by T4 in the fourth layer waveform search bar.
  • the waveform display module 40 includes a first waveform display unit and a second waveform display unit that are alternately displayed in two states; wherein the first waveform display unit 41 is configured to be the first The feature color overlaps to display all the waveforms in the current block, while the second feature is The color overlap display all the waveforms except the waveforms in the current block in the current layer; the first waveform display unit 42 is configured to hide all the waveforms in the current block overlapped by the first feature color in the first state, and only The second feature color overlaps and displays all waveforms except the waveform in the current block in the current layer; wherein the current block is a primary block, a secondary block, a third block, or a fourth block, and the first block is The corresponding current layer is the first layer waveform search bar, the current layer corresponding to the second block is the second layer waveform search bar, and the current layer corresponding to the third level block is the third layer waveform search bar, and the fourth layer block corresponds to
  • the waveform search device further includes a bookmark setting module 50, which specifically includes: a bookmark detecting unit 51, for detecting whether the user is in real time in the waveform search mode.
  • the bookmark setting unit 52 is configured to: when the bookmark setting instruction input by the user is acquired, record display parameters corresponding to one or more waveforms currently displayed in the waveform display area, and the display parameters include time base information and delay Information, current block information, current layer information, waveform color information, and trigger setting information; a bookmark marking unit 53 for storing all display parameters recorded under one bookmark setting instruction, and displaying it as a trigger form with a bookmark mark button In the human-computer interaction interface of the digital oscilloscope.
  • the waveform search device further includes a waveform lookback module 60, and specifically includes: a trigger information detecting unit 61 for use in the waveform search mode. , detecting in real time whether the user selects a bookmark mark button; the parameter reading unit 62. For reading all the display parameters corresponding to the stored bookmark mark button when the user selects the trigger information of the bookmark mark button; the bookmark waveform display unit 63 is configured to load all the read display parameters to The current waveform display system restores the waveform display of the waveform display area to the state at the time of the bookmark mark.
  • a trigger information detecting unit 61 for use in the waveform search mode. , detecting in real time whether the user selects a bookmark mark button
  • the parameter reading unit 62 For reading all the display parameters corresponding to the stored bookmark mark button when the user selects the trigger information of the bookmark mark button
  • the bookmark waveform display unit 63 is configured to load all the read display parameters to The current waveform display system restores the waveform display of the waveform display area to the state at the time
  • the user can bookmark the currently viewed waveform at any time in the waveform search mode, so that the waveform block of interest can be viewed at any time through the bookmark function, so that the user needs to search again and save the search time.
  • the search bar display module 20 is further configured to cancel the display of the current layer waveform search bar in the search navigation area when acquiring the instruction of the user input to exit the view of the current layer waveform search bar; the search pointer module 30 Also, when the display of the current layer waveform search bar is canceled, the search pointer is moved back to the currently highlighted block in the previous layer of the waveform search bar. It is convenient for the user to return from the next layer of the waveform search bar to the previous layer of the waveform search bar to further view the waveform in another block of the previous layer of the waveform search bar.
  • the search pointer module 30 further includes: a boundary detecting unit, configured to detect in real time whether the block corresponding to the search pointer position is a boundary block, and the boundary block includes: a left side of the second layer waveform search bar The boundary block or the right boundary block, the left boundary block or the right boundary block of the third layer waveform search bar, the left boundary block of the fourth layer waveform search bar, or the right boundary block;
  • the unit is configured to: when the block corresponding to the position of the search pointer is the left boundary block, and obtain the adjustment information of the position of the search pointer adjusted to the left by the user, the search pointer position adjustment instruction is not executed, and the counting is started.
  • Timing when the timing meets the preset time, see if the count meets the pre-designed value. If not, cancel the search pointer position adjustment command. If yes, adjust the search pointer position to the previous one corresponding to the current left boundary block. The position of the left block of the currently highlighted block in the layer waveform search bar; or the block corresponding to the position of the search pointer is the right boundary block, and is acquired. Input When adjusting the adjustment information of the search pointer position to the right, the search pointer position adjustment command is not executed temporarily, and the counting and timing are started. When the timing meets the preset time, the count is satisfied whether the pre-designed value is satisfied, and if not, the cancellation is performed. The pointer position adjustment instruction is searched, and if so, the search pointer position is adjusted to the right block position of the currently highlighted block in the upper layer waveform search bar corresponding to the current right boundary block.
  • the second layer waveform search module has 80 first-level blocks, and the 40th first-level block is currently highlighted; the third-layer waveform search module has 60 second-level blocks, which are currently highlighted from the left.
  • the first three-level block to the right An example of operating to the left across the boundary can be seen in Figures 15 and 16, and a description of the previous method embodiments.
  • the search bar display module 20 includes: a dividing unit for dividing the first layer waveform search bar into a fixed plurality of copies, each of which represents data of one frame; and a waveform detecting unit for time-by-time The sequence sequentially detects whether each frame contains a trigger waveform; the partition display unit is configured to display the frame with the detected trigger waveform as a single primary block, and when a frame is detected that there is no trigger waveform, The next adjacent frame is merged until all the merged frames are displayed as a single primary block after being merged into the frame with the trigger waveform.
  • first detecting whether the first frame contains a trigger waveform if not, continuing to detect whether the second frame contains a trigger waveform, and if not, continuing to detect whether the third frame contains a trigger waveform, and if not, continue to detect the fourth frame.
  • the trigger waveform is included, if the fourth frame contains the trigger waveform, the second frame, the third frame, and the fourth frame are displayed together as the first secondary block, so that the time is followed by Each frame is detected once.
  • a digital oscilloscope comprising the waveform search device of any of the preceding embodiments, or the waveform search method of any of the foregoing. It has been proved by practice that with the digital oscilloscope of this embodiment, preliminary first-level block division can be performed on thousands, tens of thousands, or even hundreds of thousands of waveforms, and each primary block correspondingly includes one or more waveforms. The data is displayed in the form of a waveform search bar, which is convenient for the user to perform the partition search.
  • the waveforms included in the first-level block corresponding to the current search pointer are displayed in an overlapping manner in the waveform search area, and the user can directly If there is an abnormal waveform in the first block corresponding to the current search pointer, if there is an abnormal waveform, the user can further perform the second layer waveform search bar to view all the waveforms in the current primary block, and in the second layer waveform.
  • the included waveform is further divided into two blocks, and all waveforms in the secondary block corresponding to the current search pointer are superimposed and displayed in the waveform display area, so that the position of the abnormal waveform is easier to find.
  • the waveform of the secondary block is further divided into blocks to further improve the waveform search efficiency.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种数字示波器及其波形搜索方法和装置,用于快速从至少数千条波形中搜索到目标波形,包括步骤:进入波形搜索模式(S1);在搜索导航区显示第一层波形搜索条(S2);根据当前搜索指针位置对应突出显示新的一级区块(S3),同时以重叠方式显示当前搜索指针对应的一级区块中所包含的所有波形(S4);在搜索导航区显示第二层波形搜索条(S6);将搜索指针位置移至第二层波形搜索条,突出显示当前搜索指针对应的二级区块;根据当前搜索指针位置改变突出显示新的二级区块;在波形显示区中以重叠方式显示当前搜索指针对应的二级区块中所包含的一条或多条波形(S9)。该方法和装置可大大提高了波形搜索效率。

Description

一种数字示波器及其波形搜索方法和装置 技术领域
本发明涉及数字示波器技术领域,更具体地说,涉及一种数字示波器及其波形搜索方法和装置。
背景技术
数字示波器是电子工程师常用的基本工具,随着技术的发展,数字示波器一次测量中,短时间可以记录下来大量的波形,在后续分析时,需要把之前记录下来的波形找出来。在现有技术中,数字示波器的存储方式通常有单段或者多段存储方式。在单段储存方式下,波形寻找的方式通常是在波形显示区域上方设一个导航区,在导航区设有标志,提示波形显示区域的波形在整个记录数据中的位置和大小;而在多段存储方式下,通常的波形查找方法是逐个波形翻查。因此,当波形的记录深度不深,例如只有几屏或者几十屏波形,在上述两种查找方式不失为方便的方式。但是,记录的深度决定了其测量波形的多少,在现在的技术条件下,用户通常会希望大的存储深度,近年的技术发展的趋势也是这样的。但是,如果波形的记录深度很深,例如,记录了几千个或者几十万个波形的时候,如果再用上述两种查找方法,就变成很没有效率了,因为这种逐一查看的方式很难从几千个或几十万个波形中找到用户希望看到的异常波形的具体位置。
发明内容
本发明要解决的技术问题在于,针对现有技术的上述缺陷,提供一种可快速从至少数千条波形中搜索到目标波形的数字示波器及其波形搜索方法和装置。
本发明解决其技术问题所采用的技术方案是:
构造一种数字示波器的波形搜索方法,用于快速从至少数千条波形中搜索到目标波形;其中,包括以下步骤:
在获取到用户输入的波形搜索模式触发指令时,进入波形搜索模式;
在所述波形搜索模式下,在搜索导航区显示第一层波形搜索条,所述第一层波形搜索条包含:对待查找的所有波形按预设规则进行划分而得到的多个一级区块,每个所述一级区块对应包含一条或者多条波形数据;
突出显示当前搜索指针对应的一级区块,实时获取用户输入的搜索指针位置调整信息,并根据新的当前搜索指针位置对应突出显示新的一级区块,同时在波形显示区中,以重叠方式显示当前搜索指针对应的一级区块中所包含的所有波形;
直接在所述搜索导航区显示第二层波形搜索条,或者在获取到用户输入的选择进一步查看某个一级区块的指令时,进一步在所述搜索导航区显示第二层波形搜索条;
所述第二层波形搜索条包含:对所述第一层波形搜索条中被选择的一级区块中所包含的所有波形按预设规则进行进一步划分而得到的多个二级区块,所有二级区块中所包含的波形条数总和等于被选择的一级区块中的波形条数;
将搜索指针位置移至所述第二层波形搜索条,突出显示当前搜索指针对应的二级区块,所述第一层波形搜索条中被选择查看的一级区块保持突出显示状 态;
实时获取用户输入的搜索指针位置调整信息,并根据新的当前搜索指针位置改变突出显示的二级区块,同时在所述波形显示区中以重叠方式显示当前搜索指针对应的二级区块中所包含的一条或多条波形。
本发明所述的波形搜索方法,其中,所述波形搜索方法进一步包括步骤:
直接在所述搜索导航区显示第三层波形搜索条,或者在获取到用户输入的选择进一步查看某个二级区块的指令时,进一步在所述搜索导航区显示第三层波形搜索条;
所述第三层波形搜索条包含:对所述第二层波形搜索条中被选择的二级区块中所包含的所有波形,按该二级区块的波形条数,以预设规则进行进一步划分而得到的多个三级区块,所有三级区块中所包含的波形条数均等,并且总和等于被选择的二级区块中的波形条数;
所述第二层波形搜索条的突出显示的区块保持突出显示状态;将搜索指针位置移至所述第三层波形搜索条,突出显示当前搜索指针对应的三级区块;
实时获取用户输入的搜索指针位置调整信息,并根据新的当前搜索指针位置改变突出显示的三级区块,同时在所述波形显示区中以重叠方式显示当前搜索指针对应的三级区块中所包含的一条或多条波形。
本发明所述的波形搜索方法,其中,所述波形搜索方法进一步包括步骤:
直接在所述搜索导航区显示第四层波形搜索条,或者在获取到用户输入的选择进一步查看某个三级区块的指令时,进一步在所述搜索导航区显示第四层波形搜索条;
所述第四层波形搜索条包含:对所述第三层波形搜索条中被选择的三级区块中所包含的所有波形按预设规则进行进一步划分而得到的多个四级区块,所 有四级区块中所包含的波形条数均等,并且总和等于被选择的三级区块中的波形条数;
所述第三层波形搜索条的突出显示的区块保持突出显示状态;将搜索指针位置移至所述第四层波形搜索条,突出显示当前搜索指针对应的四级区块;
实时获取用户输入的搜索指针位置调整信息,并根据新的当前搜索指针位置改变突出显示的四级区块,同时在所述波形显示区中以重叠方式显示当前搜索指针对应的四级区块中所包含的一条或多条波形。
本发明所述的波形搜索方法,其中,所述在波形显示区中,以重叠方式显示当前搜索指针对应的一级区块、二级区块、三级区块或四级区块中所包含的所有波形的具体方式为:
以两个状态交替显示;其中,
第一状态为,以第一特征颜色重叠显示当前区块中的所有波形,同时以第二特征颜色重叠显示当前层中除去当前块中波形之外的所有波形;
第二状态为,隐藏所述第一状态中以第一特征颜色重叠显示的当前区块中的所有波形,而只以第二特征颜色重叠显示当前层中除去当前块中波形之外的所有波形;
其中,所述当前区块为所述一级区块、所述二级区块、所述三级区块或所述四级区块,所述一级区块对应的当前层为所述第一层波形搜索条,所述二级区块对应的当前层为所述第二层波形搜索条,所述三级区块对应的当前层为所述第三层波形搜索条,所述四级区块对应的当前层为所述第四层波形搜索条。
本发明所述的波形搜索方法,其中,所述波形搜索方法进一步包括步骤:
在波形搜索模式下,实时检测用户是否输入书签设置指令;
在获取到用户输入的书签设置指令时,记录所述波形显示区中当前显示的 一条或多条波形对应的显示参数,所述显示参数包括时基信息、时延信息、当前块信息、当前层信息、波形颜色信息和触发设置信息;
存储在一次书签设置指令下所记录的全部显示参数,并以一个书签标记按钮作为触发形式显示在所述数字示波器的人机交互界面中。
本发明所述的波形搜索方法,其中,所述波形搜索方法进一步包括步骤:
在波形搜索模式下,实时检测用户是否选择所述书签标记按钮;
在获取到用户选择所述书签标记按钮的触发信息时,读取所存储的该书签标记按钮对应的全部显示参数,并将所读取的全部显示参数加载至当前波形显示系统,以将所述波形显示区的波形显示还原至书签标记时的状态。
本发明所述的波形搜索方法,其中,在获取到用户输入的多次书签设置指令时,分别记录各个书签设置指令对应的显示参数,并在所述数字示波器的人机交互界面显示多个不同的书签标记按钮。
本发明所述的波形搜索方法,其中,所述搜索指针移动方式为:
根据用户输入的搜索指针位置调整信息,将所述搜索指针在当前层波形搜索条的多个区块上连续滑动、以依次突出显示当前层波形搜索条上相邻的区块,所述当前层波形搜索条为所述第一层波形搜索条、所述第二层波形搜索条、所述第三条波形搜索条或所述第四条波形搜索条;或者,
根据用户输入的搜索指针位置调整信息,将所述搜索指针在不同层的波形搜索条之间移动,以供选择进一步查看某个区块对应的下一层波形,或者退出观察某一层波形,回到上一层的区块。
本发明所述的波形搜索方法,其中,所述搜索指针移动方式进一步包括以下步骤:
实时检测所述搜索指针位置对应的区块是否为边界区块,所述边界区块包 括:所述第二层波形搜索条的左侧边界区块或右侧边界区块、所述第三层波形搜索条的左侧边界区块或右侧边界区块、所述第四层波形搜索条的左侧边界区块或右侧边界区块;
在所述搜索指针位置对应的区块为左侧边界区块,且获取到用户输入的向左调整搜索指针位置的调整信息时,暂不执行该次搜索指针位置调整指令,开始计数和计时,当计时满足预设时间后,看计数是否满足预设计数值,若否,则取消该次搜索指针位置调整指令,若是,则将搜索指针位置调整至当前左侧边界区块对应的上一层波形搜索条中当前突出显示区块的左侧区块位置;
或者,在所述搜索指针位置对应的区块为右侧边界区块,且获取到用户输入的向右调整搜索指针位置的调整信息时,暂不执行该次搜索指针位置调整指令,开始计数和计时,当计时满足预设时间后,看计数是否满足预设计数值,若否,则取消该次搜索指针位置调整指令,若是,则将搜索指针位置调整至当前右侧边界区块对应的上一层波形搜索条中当前突出显示区块的右侧区块位置。
本发明所述的波形搜索方法,其中,将所述第一层波形搜索条按预设规则对待查找的所有波形进行划分而得到多个一级区块的具体步骤包括:
将所述第一层波形搜索条分成固定的多份,每一份代表一帧的数据;
按时间顺序依次检测每一帧是否含有触发波形;
将检测到有触发波形的帧作为一个单独的一级区块进行显示;
在检测到某一帧没有触发波形时,将其与下一相邻的帧合并,直到合并到有触发波形的帧后,将所有被合并的帧作为一个单独的一级区块进行显示。
本发明所述的波形搜索方法,其中,对所述第二层波形搜索条、所述第三层波形搜索条和所述第四层波形搜索条进行区块划分的方法具体为:
按照各层波形搜索条中波形的条数均匀分块。
本发明所述的波形搜索方法,其中,在获取到用户输入的选择退出查看当前层波形搜索条的指令时,在所述搜索导航区取消显示当前层波形搜索条,将搜索指针移回到上一层波形搜索条中当前被突出显示的区块。
本发明还提供了一种数字示波器的波形搜索装置,用于快速从至少数千条波形中搜索到目标波形;其中,包括:
触发信息获取模块,用于获取用户输入的波形搜索模式触发信息时,控制数字示波器进入波形搜索模式;
搜索条显示模块,用于在所述波形搜索模式下,在搜索导航区显示第一层波形搜索条,所述第一层波形搜索条包含:对待查找的所有波形按预设规则进行划分而得到的多个一级区块,每个所述一级区块对应包含一条或者多条波形数据;
搜索指针模块,用于实时获取用户输入的波形搜索指针位置调整信息;
所述搜索条显示模块,还用于突出显示当前搜索指针对应的一级区块,并根据新的当前搜索指针位置对应突出显示新的一级区块;
波形显示模块,用于在波形显示区中,以重叠方式显示当前搜索指针对应的一级区块中所包含的所有波形;
所述搜索条显示模块,还用于直接在所述搜索导航区显示第二层波形搜索条,或者在获取到用户输入的选择查看所述第一层波形搜索条中任意一个一级区块的选择信息时,进一步在所述搜索导航区显示第二层波形搜索条;
所述第二层波形搜索条包含:对所述第一层波形搜索条中被选择的一级区块中所包含的所有波形按预设规则进行进一步划分而得到的多个二级区块,所有二级区块中所包含的波形条数总和等于被选择的一级区块中的波形条数;
所述搜索指针模块,还用于将搜索指针位置移至所述第二层波形搜索条;
所述搜索条显示模块,还用于突出显示当前搜索指针对应的二级区块;
所述波形显示模块,还用于在所述波形显示区中以重叠方式显示当前搜索指针对应的二级区块中所包含的一条或多条波形。
本发明所述的波形搜索装置,其中,所述搜索条显示模块,还用于直接在所述搜索导航区显示第三层波形搜索条,或者在获取到用户输入的选择进一步查看某个二级区块的指令时,进一步在所述搜索导航区显示第三层波形搜索条;
所述第三层波形搜索条包含:对所述第二层波形搜索条中被选择的二级区块中所包含的所有波形,按该二级区块的波形条数,以预设规则进行进一步划分而得到的多个三级区块,所有三级区块中所包含的波形条数均等,并且总和等于被选择的二级区块中的波形条数;
所述搜索指针模块,还用于将搜索指针位置移至所述第三层波形搜索条;
所述搜索条显示模块,还用于突出显示当前搜索指针对应的三级区块;
所述波形显示模块,还用于在所述波形显示区中以重叠方式显示当前搜索指针对应的三级区块中所包含的一条或多条波形。
本发明所述的波形搜索装置,其中,所述搜索条显示模块,还用于直接在所述搜索导航区显示第四层波形搜索条,或者在获取到用户输入的选择进一步查看某个三级区块的指令时,进一步在所述搜索导航区显示第四层波形搜索条;
所述第四层波形搜索条包含:对所述第三层波形搜索条中被选择的三级区块中所包含的所有波形按预设规则进行进一步划分而得到的多个四级区块,所有四级区块中所包含的波形条数均等,并且总和等于被选择的三级区块中的波 形条数;
所述搜索指针模块,还用于将搜索指针位置移至所述第四层波形搜索条;
所述搜索条显示模块,还用于突出显示当前搜索指针对应的四级区块;
所述波形显示模块,还用于在所述波形显示区中以重叠方式显示当前搜索指针对应的四级区块中所包含的一条或多条波形。
本发明所述的波形搜索装置,其中,所述波形显示模块包括以两个状态交替显示的第一波形显示单元和第二波形显示单元;其中,
所述第一波形显示单元,用于以第一特征颜色重叠显示当前区块中的所有波形,同时以第二特征颜色重叠显示当前层中除去当前块中波形之外的所有波形;
所述第一波形显示单元,用于隐藏所述第一状态中以第一特征颜色重叠显示的当前区块中的所有波形,而只以第二特征颜色重叠显示当前层中除去当前块中波形之外的所有波形;
其中,所述当前区块为所述一级区块、所述二级区块、所述三级区块或所述四级区块,所述一级区块对应的当前层为所述第一层波形搜索条,所述二级区块对应的当前层为所述第二层波形搜索条,所述三级区块对应的当前层为所述第三层波形搜索条,所述四级区块对应的当前层为所述第四层波形搜索条。
本发明所述的波形搜索装置,其中,所述波形搜索装置进一步包括书签设置模块,具体包括:
书签检测单元,用于在波形搜索模式下,实时检测用户是否输入书签设置指令;
书签设置单元,用于在获取到用户输入的书签设置指令时,记录所述波形显示区中当前显示的一条或多条波形对应的显示参数,所述显示参数包括时基 信息、时延信息、当前块信息、当前层信息、波形颜色信息和触发设置信息;
书签标记单元,用于存储在一次书签设置指令下所记录的全部显示参数,并以一个书签标记按钮作为触发形式显示在所述数字示波器的人机交互界面中。
本发明所述的波形搜索装置,其中,所述波形搜索装置进一步包括波形回看模块,具体包括:
触发信息检测单元,用于在波形搜索模式下,实时检测用户是否选择所述书签标记按钮;
参数读取单元,用于在获取到用户选择所述书签标记按钮的触发信息时,读取所存储的该书签标记按钮对应的全部显示参数;
书签波形显示单元,用于将所读取的全部显示参数加载至当前波形显示系统,以将所述波形显示区的波形显示还原至书签标记时的状态。
本发明所述的波形搜索装置,其中,所述搜索条显示模块,还用于在获取到用户输入的选择退出查看当前层波形搜索条的指令时,在所述搜索导航区取消显示当前层波形搜索条;
所述搜索指针模块,还用于在取消显示当前层波形搜索条时,将搜索指针移回到上一层波形搜索条中当前被突出显示的区块。
本发明所述的波形搜索装置,其中,所述搜索指针模块还包括:
边界检测单元,用于实时检测所述搜索指针位置对应的区块是否为边界区块,所述边界区块包括:所述第二层波形搜索条的左侧边界区块或右侧边界区块、所述第三层波形搜索条的左侧边界区块或右侧边界区块、所述第四层波形搜索条的左侧边界区块或右侧边界区块;
障碍设置单元,用于在所述搜索指针位置对应的区块为左侧边界区块,且 获取到用户输入的向左调整搜索指针位置的调整信息时,暂不执行该次搜索指针位置调整指令,开始计数和计时,当计时满足预设时间后,看计数是否满足预设计数值,若否,则取消该次搜索指针位置调整指令,若是,则将搜索指针位置调整至当前左侧边界区块对应的上一层波形搜索条中当前突出显示区块的左侧区块位置;
或者,在所述搜索指针位置对应的区块为右侧边界区块,且获取到用户输入的向右调整搜索指针位置的调整信息时,暂不执行该次搜索指针位置调整指令,开始计数和计时,当计时满足预设时间后,看计数是否满足预设计数值,若否,则取消该次搜索指针位置调整指令,若是,则将搜索指针位置调整至当前右侧边界区块对应的上一层波形搜索条中当前突出显示区块的右侧区块位置。
本发明所述的波形搜索装置,其中,所述搜索条显示模块包括:
划分单元,用于将所述第一层波形搜索条分成固定的多份,每一份代表一帧的数据;
波形检测单元,用于按时间顺序依次检测每一帧是否含有触发波形;
分区显示单元,用于将检测到有触发波形的帧作为一个单独的一级区块进行显示,在检测到某一帧没有触发波形时,将其与下一相邻的帧合并,直到合并到有触发波形的帧后,将所有被合并的帧作为一个单独的一级区块进行显示。
本发明还提供了一种数字示波器,其中,包括前述任一项中所述的波形搜索装置,或采用前述任一项所述的波形搜索方法进行波形搜索或查找。
本发明的有益效果在于:通过多层波形搜索条的搜索导航以及波形分区块重叠显示,再采用搜索指针配合,实现人机交互快速波形搜索,可快速从至少 数千条波形中搜索到目标波形,大大提高了搜索效率。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将结合附图及实施例对本发明作进一步说明,下面描述中的附图仅仅是本发明的部分实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他附图:
图1是本发明实施例的数字示波器波形搜索方法中显示第一、第二层波形搜索条的流程图;
图2是本发明进一步实施例的数字示波器波形搜索方法中显示第三层波形搜索条的流程图;
图3是本发明进一步实施例的数字示波器波形搜索方法中显示第四层波形搜索条的流程图;
图4是本发明进一步实施例的数字示波器波形搜索方法中退出当前层波形搜索条的流程图;
图5是本发明进一步实施例的数字示波器波形搜索方法中两个状态交替显示的流程图;
图6是本发明进一步实施例的数字示波器波形搜索方法中书签设置流程图;
图7是本发明进一步实施例的数字示波器波形搜索方法中波形回看流程图;
图8是本发明进一步实施例的数字示波器波形搜索方法中跨边界操作流程图;
图9是本发明进一步实施例的数字示波器波形搜索方法中对第一层波形搜索条分层方法的流程图;
图10是本发明实施例的数字示波器中显示第一层波形搜索条及波形显示状态示意图;
图11是本发明较佳实施例的数字示波器中显示第一层、第二层波形搜索条及波形显示状态示意图;
图12是本发明较佳实施例的数字示波器波形中显示第一层、第二层、第三层搜索条及波形显示状态示意图;
图13是本发明较佳实施例的数字示波器波形中显示第一层、第二层、第三层、第四层搜索条及波形显示第一状态示意图;
图14是相对于图13中波形显示第一状态的波形显示第二状态示意图;
图15是本发明实施例的数字示波器的搜索指针位于第三层波形搜索条的左侧边界状态示意图;
图16是本发明实施例的数字示波器的搜索指针从图15中所示的第三层波形搜索条的左侧边界继续向左移动调转至第二层波形搜索条的最右侧边界后的状态示意图;
图17是本发明实施例的数字示波器原理框图;
图18是本发明实施例的数字示波器的搜索条显示模块原理框图;
图19是本发明实施例的数字示波器进一步的原理框图;
图20是本发明实施例的数字示波器的书签设置模块原理框图;
图21是本发明实施例的数字示波器的波形回看模块原理框图。
具体实施方式
为了使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的技术方案进行清楚、完整的描述,显然,所描述的实施例是本发明的部分实施例,而不是全部实施例。基于本发明的实施例,本领域普通技术人员在没有付出创造性劳动的前提下所获得的所有其他实施例,都属于本发明的保护范围。
本发明较佳实施例的数字示波器的波形搜索方法流程如图1所示,同时参阅图10和图11,该方法用于快速从至少数千条波形中搜索到目标波形,包括以下步骤:
步骤S1、在获取到用户输入的波形搜索模式触发指令时,进入波形搜索模式;
步骤S2、在波形搜索模式下,在搜索导航区显示第一层波形搜索条,第一层波形搜索条包含:对待查找的所有波形按预设规则进行划分而得到的多个一级区块,每个一级区块对应包含一条或者多条波形数据;
步骤S3、突出显示当前搜索指针对应的一级区块,实时获取用户输入的搜索指针位置调整信息,并根据新的当前搜索指针位置对应突出显示新的一级区块;
步骤S4、在波形显示区中,以重叠方式显示当前搜索指针对应的一级区块中所包含的所有波形;
步骤S5&S6、直接在搜索导航区显示第二层波形搜索条(即图1中虚线箭头指示的流程),或者在获取到用户输入的选择进一步查看某个一级区块的指令时,进一步在搜索导航区显示第二层波形搜索条;第二层波形搜索条包含:对第一层波形搜索条中被选择的一级区块中所包含的所有波形按预设规则进行进一步划分而得到的多个二级区块,所有二级区块中所包含的波形条数总和 等于被选择的一级区块中的波形条数;
步骤S7、第一层波形搜索条中搜索指针位置不变,将当前搜索指针位置移至第二层波形搜索条,突出显示当前搜索指针对应的二级区块,第一层波形搜索条中被选择查看的一级区块保持突出显示状态;
步骤S8、实时获取用户输入的搜索指针位置调整信息,并根据新的当前搜索指针位置改变突出显示的二级区块;
步骤S9、在波形显示区中以重叠方式显示当前搜索指针对应的二级区块中所包含的一条或多条波形。
通过上述步骤S2-S9,可对数千条、数万条、甚至数十万条波形进行初步的一级区块划分,每个一级区块对应包含一条或者多条波形数据,并以波形搜索条的形式进行区块显示,方便用户进行分区查找,同时在波形搜索区以重叠的方式对当前搜索指针对应的一级区块中包含的所有波形进行显示,用户可直接看到当前搜索指针对应的一级区块中是否有异常波形,如果有异常波形,用户可进一步进行第二层波形搜索条,查看当前一级区块内的所有波形,而在第二层波形搜索条中,再进一步将所包含的波形进行二级区块的划分,并在波形显示区重叠显示当前搜索指针对应的二级区块中的所有波形,使得异常波形所在位置更加容易查找。
如图10所示,当前在搜索条导航区显示的是第一层波形搜索条A1,在波形显示区B中重叠显示的是第一层波形搜索条中T1指示的一级区块中包含的所有波形。
如图11所示,当前在搜索条导航区显示的是第一层波形搜索条A1和第二层波形搜索条A2,在波形显示区B中重叠显示的是第二层波形搜索条中T2指示的二级区块中包含的所有波形。
优选地,如图2所示,同时参阅图12,上述波形搜索方法进一步包括:
步骤S21、直接在搜索导航区显示第三层波形搜索条,或者在获取到用户输入的选择进一步查看某个二级区块的指令时,进一步在搜索导航区显示第三层波形搜索条;第三层波形搜索条包含:对第二层波形搜索条中被选择的二级区块中所包含的所有波形,按该二级区块的波形条数,以预设规则进行进一步划分而得到的多个三级区块,所有三级区块中所包含的波形条数均等,并且总和等于被选择的二级区块中的波形条数;
步骤S22、第二层波形搜索条中搜索指针位置不变,即第二层波形搜索条的突出显示的区块保持突出显示状态,将当前搜索指针位置移至第三层波形搜索条,突出显示当前搜索指针对应的三级区块;
步骤S23、实时获取用户输入的搜索指针位置调整信息,并根据新的当前搜索指针位置改变突出显示的三级区块;
步骤S24、在波形显示区中以重叠方式显示当前搜索指针对应的三级区块中所包含的一条或多条波形。
通过上述步骤S21-S24,在第二层波形搜索条中找到目标异常波形所在二级区块后,可将待查看波形进行进一步的分层显示,以缩短查找时间,提高查找效率。
如图12所示,当前在搜索条导航区显示的是第一层波形搜索条A1和第二层波形搜索条A2、第三层波形搜索条A3,在波形显示区B中重叠显示的是第三层波形搜索条中T3指示的三级区块中包含的所有波形。
更优选地,如图3所示,同时参阅图13,上述波形搜索方法进一步包括步骤:
步骤S31、直接在搜索导航区显示第四层波形搜索条,或者在获取到用户 输入的选择进一步查看某个三级区块的指令时,进一步在搜索导航区显示第四层波形搜索条;第四层波形搜索条包含:对第三层波形搜索条中被选择的三级区块中所包含的所有波形按预设规则进行进一步划分而得到的多个四级区块,所有四级区块中所包含的波形条数均等,并且总和等于被选择的三级区块中的波形条数;
步骤S32、第三层波形搜索条中搜索指针位置不变,即第三层波形搜索条的突出显示的区块保持突出显示状态;将搜索指针位置移至第四层波形搜索条,突出显示当前搜索指针对应的四级区块;
步骤S33、实时获取用户输入的搜索指针位置调整信息,并根据新的当前搜索指针位置改变突出显示的四级区块;
步骤S34、在波形显示区中以重叠方式显示当前搜索指针对应的四级区块中所包含的一条或多条波形。
通过上述步骤S31-S34,在第三层波形搜索条中找到目标异常波形所在三级区块后,可将待查看波形进行进一步的分层显示,以缩短查找时间,提高查找效率。
如图13所示,当前在搜索条导航区显示的是第一层波形搜索条A1和第二层波形搜索条A2、第三层波形搜索条A3、第四层波形搜索条A4,在波形显示区B中重叠显示的是第四层波形搜索条中T4指示的四级区块中包含的所有波形。
如图4所示,当用户需要将搜索指针从第二层波形搜索条返回至第一层波形搜索条,查看另一一级区块中的所有波形时,上述方法进一步包括:
步骤S41、判断是否获取到用户输入的选择退出查看当前层波形搜索条的指令?其中,当前层波形搜索条具体是指上述第二层波形搜索条、第三层波形 搜索条或第四层波形搜索条。
步骤S42、在搜索导航区取消显示当前层波形搜索条,将搜索指针移回到上一层波形搜索条中当前被突出显示的区块。其中,上一层波形搜索条具体是指上述第一层波形搜索条、第二层波形搜索条、第三层波形搜索条。
通过上述步骤S41-S42,可方便用户从下一层波形搜索条退回至上一层波形搜索条,以进一步查看上一层波形搜索条中另一区块内的波形。
如图11所示,当前搜索指针位于第二层波形搜索条的T2对应的二级区块位置,如此时获取到用户输入的退出查看第二层波形搜索条,欲返回第一层波形搜索条,则下一显示状态对应如图10所示,第二层波形搜索条消失,当前搜索指针回到第一层波形搜索条中T1对应的一级区块位置。
上述波形搜索方法中,如图5所示,同时参阅图1、图2和图3,在波形显示区中,以重叠方式显示当前搜索指针对应的一级区块、二级区块、三级区块或四级区块中所包含的所有波形的具体方式包括:
步骤S51、以两个状态交替显示;
其中,参阅图13,第一状态为,以第一特征颜色重叠显示当前区块中的所有波形,同时以第二特征颜色重叠显示当前层中除去当前块中波形之外的所有波形;
参阅图14,第二状态为,隐藏第一状态中以第一特征颜色重叠显示的当前区块中的所有波形,而只以第二特征颜色重叠显示当前层中除去当前块中波形之外的所有波形;
例如,第一特征颜色为高亮色,第二特征颜色为红色或其他彩色的背景色;
其中,当前区块为一级区块、二级区块、三级区块或四级区块,一级区块对应的当前层为第一层波形搜索条,二级区块对应的当前层为第二层波形搜索 条,三级区块对应的当前层为第三层波形搜索条,四级区块对应的当前层为第四层波形搜索条。
通过采用上述第一状态和第二状态的交替显示,可更加快速的分辨出当前区块中是否包含待寻找的目标异常波形。如图14中,当隐藏当前区块中的波形后,剩余的波形中,目标特征消失,则说明需要寻找的特征波形仅包含在当前区块中,用户只需在当前区块中进一步查找即可,进一步提高了波形查找效率。
如图6所示,上述波形搜索方法进一步包括:
步骤S61、在波形搜索模式下,实时检测用户是否输入书签设置指令;
步骤S62、在获取到用户输入的书签设置指令时,记录波形显示区中当前显示的一条或多条波形对应的显示参数,显示参数包括时基信息、时延信息、当前块信息、当前层信息、波形颜色信息和触发设置信息;
步骤S63、存储在一次书签设置指令下所记录的全部显示参数,并以一个书签标记按钮作为触发形式显示在数字示波器的人机交互界面中。
如图7所示,上述波形搜索方法进一步包括步骤:S71、在波形搜索模式下,实时检测用户是否选择书签标记按钮;S72、在获取到用户选择书签标记按钮的触发信息时,读取所存储的该书签标记按钮对应的全部显示参数;S73、将所读取的全部显示参数加载至当前波形显示系统,以将波形显示区B的波形显示还原至书签标记时的状态。
通过上述步骤S61-S63以及步骤S71-S73,使得用户在波形搜索模式下,可随时对当前查看的波形设置书签,以便于通过该书签功能随时回看感兴趣的波形区块。
优选地,上述波形搜索方法中,在获取到用户输入的多次书签设置指令时, 分别记录各个书签设置指令对应的显示参数,并在数字示波器的人机交互界面显示多个不同的书签标记按钮。用户可根据需要设置一个或多个书签标记按钮,进一步提高波形查找效率。
进一步地,上述波形搜索方法中,搜索指针移动方式为:根据用户输入的搜索指针位置调整信息,将搜索指针在当前层波形搜索条的多个区块上连续滑动、以依次突出显示当前层波形搜索条上相邻的区块,当前层波形搜索条为第一层波形搜索条、第二层波形搜索条、第三条波形搜索条或第四条波形搜索条;或者,根据用户输入的搜索指针位置调整信息,将搜索指针在不同层的波形搜索条之间移动,以供选择进一步查看某个区块对应的下一层波形,或者退出观察某一层波形,回到上一层的区块。
进一步地,上述波形搜索方法中,如图9所示,搜索指针移动方式进一步包括以下步骤:
步骤S81、实时检测搜索指针位置对应的区块是否为边界区块,其中边界区块包括:第二层波形搜索条的左侧边界区块或右侧边界区块、第三层波形搜索条的左侧边界区块或右侧边界区块、第四层波形搜索条的左侧边界区块或右侧边界区块;
步骤S82、判断是否获取到用户输入的向左调整搜索指针位置的调整信息?
步骤S83、在搜索指针位置对应的区块为左侧(或右侧)边界区块,且获取到用户输入的向左(或向右)调整搜索指针位置的调整信息时,暂不执行该次搜索指针位置调整指令,开始计数和计时;
步骤S84、判断计时是否满足预设时间?
步骤S85、当计时满足预设时间后,看计数是否满足预设计数值;
步骤S86、若否,则取消该次搜索指针位置调整指令;
步骤S87、若是,则将搜索指针位置调整至当前左侧(或右侧)边界区块对应的上一层波形搜索条中当前突出显示区块的左侧(或右侧)区块位置。
同样,根据上述步骤S81-S87可知,在搜索指针位置对应的区块为右侧边界区块,且获取到用户输入的向右调整搜索指针位置的调整信息时,暂不执行该次搜索指针位置调整指令,开始计数和计时,当计时满足预设时间后,看计数是否满足预设计数值,若否,则取消该次搜索指针位置调整指令,若是,则将搜索指针位置调整至当前右侧边界区块对应的上一层波形搜索条中当前突出显示区块的右侧区块位置。
根据上述步骤,当用户需要跨边界操作搜索指针时,会遇到上述故意设置的操作障碍,以便于提醒用户该操作将同时改变上一层的搜索指针位置和当前层的搜索指针位置,增强操作感,防止误操作。
例如,第一层波形搜索模块有120个一级区块,当前突出显示的是第50个一级区块;第二层波形搜索模块有60个二级区块,当前突出显示的是从左往右数的第1个二级区块;当用户操作搜索指针继续向左移动,经过上述障碍操作之后,第一层的搜索指针移动至第49块,第二层的搜索指针移动至从左往右数的第60个二级区块。
参见图15和图16,在图15中,第二层波形搜索条中突出显示的是第17个二级区块(T2所示位置),第三层波形搜索条中突出显示的是第1个三级区块(T31所示位置),用户继续向左移动搜索指针,经过上述障碍操作之后,新的显示状态如图16所示,其中,第二层波形搜索条中突出显示的是第16个二级区块(T21所示位置),第三层波形搜索条中突出显示的是最右侧的三级区块(T32所示位置),即完成一次向左的跨边界操作。
进一步地,上述波形搜索方法中,如图9所示,将第一层波形搜索条按预设规则对待查找的所有波形进行划分而得到多个一级区块的具体步骤包括:
步骤S101、将第一层波形搜索条分成固定的多份,每一份代表一帧的数据;
步骤S102、按时间顺序依次检测每一帧是否含有触发波形;
步骤S103、将检测到有触发波形的帧作为一个单独的一级区块进行显示;
步骤S104、在检测到某一帧没有触发波形时,将其与下一相邻的帧合并;
步骤S105、判断是否合并到有触发波形的帧;
步骤S106、直到合并到有触发波形的帧后,将所有被合并的帧作为一个单独的一级区块进行显示。
例如,先检测第一帧是否含有触发波形,如果有,则作为一个单独的一级区块显示,然后检测第二帧是否含有触发波形,如果没有,则继续检测第三帧是否含有触发波形,如果仍然没有,继续检测第四帧是否含有触发波形,如果第四帧含有触发波形,则将第二帧、第三帧和第四帧一起作为第二个二级区块显示,如此按时间往后依次检测每一帧。采用该波形划分方法,可减少最终显示的一级区块数量,进一步节省用户的查找时间,提高查找效率。
进一步地,上述波形搜索方法中,对第二层波形搜索条、第三层波形搜索条和第四层波形搜索条进行区块划分的方法具体为:按照各层波形搜索条中波形的条数均匀分块。例如,第二层波形搜索条中包含10000条波形,则可将其分为100个二级区块,每个二级区块中包含100条波形。如此,对于每个二级区块对应的第三层波形搜索条中包含的100条波形,可继续等分,例如分成10个三级区块,每个三级区块中包含10条波形。如此可大大节省搜索时间,提高搜索效率。
上述各实施例中,第二层波形搜索条A2、第三层波形搜索条A3、第四层波形搜索条A4,可根据用户的指令来显示,也可以直接显示在搜索导航区。或者,可进一步显示第五层波形搜索条等。
在本发明的另一实施例中,还提供了一种数字示波器的波形搜索装置,用于快速从至少数千条波形中搜索到目标波形,原理框图如图17所示,其包括:触发信息获取模块10,用于获取用户输入的波形搜索模式触发信息时,控制数字示波器进入波形搜索模式;搜索条显示模块20,用于在波形搜索模式下,在搜索导航区显示第一层波形搜索条,第一层波形搜索条包含:对待查找的所有波形按预设规则进行划分而得到的多个一级区块,每个一级区块对应包含一条或者多条波形数据;搜索指针模块30,用于实时获取用户输入的波形搜索指针位置调整信息;搜索条显示模块20,还用于突出显示当前搜索指针对应的一级区块,并根据新的当前搜索指针位置对应突出显示新的一级区块;波形显示模块40,用于在波形显示区B中,以重叠方式显示当前搜索指针对应的一级区块中所包含的所有波形;搜索条显示模块20,还用于直接在搜索导航区显示第二层波形搜索条,或者在获取到用户输入的选择查看第一层波形搜索条中任意一个一级区块的选择信息时,进一步在搜索导航区显示第二层波形搜索条;第二层波形搜索条包含:对第一层波形搜索条中被选择的一级区块中所包含的所有波形按预设规则进行进一步划分而得到的多个二级区块,所有二级区块中所包含的波形条数总和等于被选择的一级区块中的波形条数;搜索指针模块30,还用于将搜索指针位置移至第二层波形搜索条;搜索条显示模块20,还用于突出显示当前搜索指针对应的二级区块;波形显示模块40,还用于在波形显示区中以重叠方式显示当前搜索指针对应的二级区块中所包含的一条或多条波形。上述触发信息获取模块10、
通过上述波形搜索装置,可对数千条、数万条、甚至数十万条波形进行一级区块划分,每个一级区块对应包含一条或者多条波形数据,并以波形搜索条的形式进行区块显示,方便用户进行分区查找,同时在波形搜索区以重叠的方式对当前搜索指针对应的一级区块中包含的所有波形进行显示,用户可直接看到当前搜索指针对应的一级区块中是否有异常波形,如果有异常波形,用户可进一步进行第二层波形搜索条,查看当前一级区块内的所有波形,而在第二层波形搜索条中,再进一步将所包含的波形进行二级区块的划分,并在波形显示区重叠显示当前搜索指针对应的二级区块中的所有波形,使得异常波形所在位置更加容易查找。
如图10所示,当前在搜索条导航区显示的是第一层波形搜索条A1,在波形显示区中重叠显示的是第一层波形搜索条中T1指示的一级区块中包含的所有波形。如图11所示,当前在搜索条导航区显示的是第一层波形搜索条A1和第二层波形搜索条A2,在波形显示区B中重叠显示的是第二层波形搜索条中T2指示的二级区块中包含的所有波形。
上述波形搜索装置中,搜索条显示模块20还用于直接在搜索导航区显示第三层波形搜索条,或者在获取到用户输入的选择进一步查看某个二级区块的指令时,进一步在搜索导航区显示第三层波形搜索条;第三层波形搜索条包含:对第二层波形搜索条中被选择的二级区块中所包含的所有波形,按该二级区块的波形条数,以预设规则进行进一步划分而得到的多个三级区块,所有三级区块中所包含的波形条数均等,并且总和等于被选择的二级区块中的波形条数;搜索指针模块,还用于将搜索指针位置移至第三层波形搜索条;搜索条显示模块,还用于突出显示当前搜索指针对应的三级区块;波形显示模块,还用于在波形显示区中以重叠方式显示当前搜索指针对应的三级区块中所包含的一条 或多条波形。
如图12所示,当前在搜索条导航区显示的是第一层波形搜索条A1和第二层波形搜索条A2、第三层波形搜索条A3,在波形显示区B中重叠显示的是第三层波形搜索条中T3指示的三级区块中包含的所有波形。如此,当用户在第二层波形搜索条中找到目标异常波形所在二级区块后,可将待查看波形进行进一步的分层显示,以缩短查找时间,提高查找效率。
上述波形搜索装置中,搜索条显示模块20还用于直接在搜索导航区显示第四层波形搜索条,或者在获取到用户输入的选择进一步查看某个三级区块的指令时,进一步在搜索导航区显示第四层波形搜索条;第四层波形搜索条包含:对第三层波形搜索条中被选择的三级区块中所包含的所有波形按预设规则进行进一步划分而得到的多个四级区块,所有四级区块中所包含的波形条数均等,并且总和等于被选择的三级区块中的波形条数;搜索指针模块30,还用于将搜索指针位置移至第四层波形搜索条;搜索条显示模块20,还用于突出显示当前搜索指针对应的四级区块;波形显示模块40,还用于在波形显示区中以重叠方式显示当前搜索指针对应的四级区块中所包含的一条或多条波形。
如图13所示,当前在搜索条导航区显示的是第一层波形搜索条A1和第二层波形搜索条A2、第三层波形搜索条A3、第四层波形搜索条A4,在波形显示区B中重叠显示的是第四层波形搜索条中T4指示的四级区块中包含的所有波形。当用户在第三层波形搜索条中找到目标异常波形所在三级区块后,可将待查看波形进行进一步的分层显示,以缩短查找时间,提高查找效率。
上述波形搜索装置中,如图18所示,波形显示模块40包括以两个状态交替显示的第一波形显示单元和第二波形显示单元;其中,第一波形显示单元41,用于以第一特征颜色重叠显示当前区块中的所有波形,同时以第二特征颜 色重叠显示当前层中除去当前块中波形之外的所有波形;第一波形显示单元42,用于隐藏第一状态中以第一特征颜色重叠显示的当前区块中的所有波形,而只以第二特征颜色重叠显示当前层中除去当前块中波形之外的所有波形;其中,当前区块为一级区块、二级区块、三级区块或四级区块,一级区块对应的当前层为第一层波形搜索条,二级区块对应的当前层为第二层波形搜索条,三级区块对应的当前层为第三层波形搜索条,四级区块对应的当前层为第四层波形搜索条。
通过采用上述第一状态和第二状态的交替显示,可更加快速的分辨出当前区块中是否包含待寻找的目标异常波形。如图14中,当隐藏当前区块中的波形后,剩余的波形中,目标特征消失,则说明需要寻找的特征波形仅包含在当前区块中,用户只需在当前区块中进一步查找即可,进一步提高了波形查找效率。
上述波形搜索装置中,如图19和图20所示,同时参阅图6,波形搜索装置进一步包括书签设置模块50,具体包括:书签检测单元51,用于在波形搜索模式下,实时检测用户是否输入书签设置指令;书签设置单元52,用于在获取到用户输入的书签设置指令时,记录波形显示区中当前显示的一条或多条波形对应的显示参数,显示参数包括时基信息、时延信息、当前块信息、当前层信息、波形颜色信息和触发设置信息;书签标记单元53,用于存储在一次书签设置指令下所记录的全部显示参数,并以一个书签标记按钮作为触发形式显示在数字示波器的人机交互界面中。
进一步地,上述波形搜索装置中,如图19和图21所示,同时参阅图7,波形搜索装置进一步包括波形回看模块60,具体包括:触发信息检测单元61,用于在波形搜索模式下,实时检测用户是否选择书签标记按钮;参数读取单元 62,用于在获取到用户选择书签标记按钮的触发信息时,读取所存储的该书签标记按钮对应的全部显示参数;书签波形显示单元63,用于将所读取的全部显示参数加载至当前波形显示系统,以将波形显示区的波形显示还原至书签标记时的状态。
这样使得用户在波形搜索模式下,可随时对当前查看的波形设置书签,以便于通过该书签功能随时回看感兴趣的波形区块,以免用户需要重新再次进行查找,节省了查找时间。
在进一步的波形搜索装置中,搜索条显示模块20还用于在获取到用户输入的选择退出查看当前层波形搜索条的指令时,在搜索导航区取消显示当前层波形搜索条;搜索指针模块30,还用于在取消显示当前层波形搜索条时,将搜索指针移回到上一层波形搜索条中当前被突出显示的区块。可方便用户从下一层波形搜索条退回至上一层波形搜索条,以进一步查看上一层波形搜索条中另一区块内的波形。
在进一步的波形搜索装置中,搜索指针模块30还包括:边界检测单元,用于实时检测搜索指针位置对应的区块是否为边界区块,边界区块包括:第二层波形搜索条的左侧边界区块或右侧边界区块、第三层波形搜索条的左侧边界区块或右侧边界区块、第四层波形搜索条的左侧边界区块或右侧边界区块;障碍设置单元,用于在搜索指针位置对应的区块为左侧边界区块,且获取到用户输入的向左调整搜索指针位置的调整信息时,暂不执行该次搜索指针位置调整指令,开始计数和计时,当计时满足预设时间后,看计数是否满足预设计数值,若否,则取消该次搜索指针位置调整指令,若是,则将搜索指针位置调整至当前左侧边界区块对应的上一层波形搜索条中当前突出显示区块的左侧区块位置;或者,在搜索指针位置对应的区块为右侧边界区块,且获取到用户输入的 向右调整搜索指针位置的调整信息时,暂不执行该次搜索指针位置调整指令,开始计数和计时,当计时满足预设时间后,看计数是否满足预设计数值,若否,则取消该次搜索指针位置调整指令,若是,则将搜索指针位置调整至当前右侧边界区块对应的上一层波形搜索条中当前突出显示区块的右侧区块位置。
采用上述方案,当用户需要跨边界操作搜索指针时,会遇到上述故意设置的操作障碍,以便于提醒用户该操作将同时改变上一层的搜索指针位置和当前层的搜索指针位置,增强操作感,防止误操作。
例如,第二层波形搜索模块有80个一级区块,当前突出显示的是第40个一级区块;第三层波形搜索模块有60个二级区块,当前突出显示的是从左往右数的第60个三级区块;当用户操作搜索指针继续向右移动,经过上述障碍操作之后,第二层的搜索指针移动至第41块,第三层的搜索指针移动至从左往右数的第1个三级区块。向左侧跨边界操作的例子可参见图15和图16,及前述方法实施例部分的描述。
在进一步的波形搜索装置中,搜索条显示模块20包括:划分单元,用于将第一层波形搜索条分成固定的多份,每一份代表一帧的数据;波形检测单元,用于按时间顺序依次检测每一帧是否含有触发波形;分区显示单元,用于将检测到有触发波形的帧作为一个单独的一级区块进行显示,在检测到某一帧没有触发波形时,将其与下一相邻的帧合并,直到合并到有触发波形的帧后,将所有被合并的帧作为一个单独的一级区块进行显示。
例如,先检测第一帧是否含有触发波形,如果没有,则继续检测第二帧是否含有触发波形,如果仍然没有,则继续检测第三帧是否含有触发波形,如果仍然没有,继续检测第四帧是否含有触发波形,如果第四帧含有触发波形,则将第二帧、第三帧和第四帧一起作为第一个二级区块显示,如此按时间往后依 次检测每一帧。采用该波形划分方法,可减少最终显示的一级区块数量,进一步节省用户的查找时间,提高查找效率。
在本发明的另一实施例中,还提供了一种数字示波器,其中包括前述任一实施例中的波形搜索装置,或者采用前述任一项的波形搜索方法进行波形搜索或查找。经实践证明,采用本实施例的数字示波器,可对数千条、数万条、甚至数十万条波形进行初步的一级区块划分,每个一级区块对应包含一条或者多条波形数据,并以波形搜索条的形式进行区块显示,方便用户进行分区查找,同时在波形搜索区以重叠的方式对当前搜索指针对应的一级区块中包含的所有波形进行显示,用户可直接看到当前搜索指针对应的一级区块中是否有异常波形,如果有异常波形,用户可进一步进行第二层波形搜索条,查看当前一级区块内的所有波形,而在第二层波形搜索条中,再进一步将所包含的波形进行二级区块的划分,并在波形显示区重叠显示当前搜索指针对应的二级区块中的所有波形,使得异常波形所在位置更加容易查找。或者,进一步对二级区块的波形进行进一步的分层划分区块,以进一步提高波形查找效率。
应当理解的是,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,而所有这些改进和变换都应属于本发明所附权利要求的保护范围。

Claims (22)

  1. 一种数字示波器的波形搜索方法,用于快速从至少数千条波形中搜索到目标波形;其特征在于,包括以下步骤:
    在获取到用户输入的波形搜索模式触发指令时,进入波形搜索模式;
    在所述波形搜索模式下,在搜索导航区显示第一层波形搜索条,所述第一层波形搜索条包含:对待查找的所有波形按预设规则进行划分而得到的多个一级区块,每个所述一级区块对应包含一条或者多条波形数据;
    突出显示当前搜索指针对应的一级区块,实时获取用户输入的搜索指针位置调整信息,并根据新的当前搜索指针位置对应突出显示新的一级区块,同时在波形显示区中,以重叠方式显示当前搜索指针对应的一级区块中所包含的所有波形;
    直接在所述搜索导航区显示第二层波形搜索条,或者在获取到用户输入的选择进一步查看某个一级区块的指令时,进一步在所述搜索导航区显示第二层波形搜索条;
    所述第二层波形搜索条包含:对所述第一层波形搜索条中被选择的一级区块中所包含的所有波形按预设规则进行进一步划分而得到的多个二级区块,所有二级区块中所包含的波形条数总和等于被选择的一级区块中的波形条数;
    将搜索指针位置移至所述第二层波形搜索条,突出显示当前搜索指针对应的二级区块,所述第一层波形搜索条中被选择查看的一级区块保持突出显示状态;
    实时获取用户输入的搜索指针位置调整信息,并根据新的当前搜索指针位置改变突出显示的二级区块,同时在所述波形显示区中以重叠方式显示当前搜 索指针对应的二级区块中所包含的一条或多条波形。
  2. 根据权利要求1所述的波形搜索方法,其特征在于,所述波形搜索方法进一步包括步骤:
    直接在所述搜索导航区显示第三层波形搜索条,或者在获取到用户输入的选择进一步查看某个二级区块的指令时,进一步在所述搜索导航区显示第三层波形搜索条;
    所述第三层波形搜索条包含:对所述第二层波形搜索条中被选择的二级区块中所包含的所有波形,按该二级区块的波形条数,以预设规则进行进一步划分而得到的多个三级区块,所有三级区块中所包含的波形条数均等,并且总和等于被选择的二级区块中的波形条数;
    所述第二层波形搜索条的突出显示的区块保持突出显示状态;将搜索指针位置移至所述第三层波形搜索条,突出显示当前搜索指针对应的三级区块;
    实时获取用户输入的搜索指针位置调整信息,并根据新的当前搜索指针位置改变突出显示的三级区块,同时在所述波形显示区中以重叠方式显示当前搜索指针对应的三级区块中所包含的一条或多条波形。
  3. 根据权利要求2所述的波形搜索方法,其特征在于,所述波形搜索方法进一步包括步骤:
    直接在所述搜索导航区显示第四层波形搜索条,或者在获取到用户输入的选择进一步查看某个三级区块的指令时,进一步在所述搜索导航区显示第四层波形搜索条;
    所述第四层波形搜索条包含:对所述第三层波形搜索条中被选择的三级区块中所包含的所有波形按预设规则进行进一步划分而得到的多个四级区块,所有四级区块中所包含的波形条数均等,并且总和等于被选择的三级区块中的波 形条数;
    所述第三层波形搜索条的突出显示的区块保持突出显示状态;将搜索指针位置移至所述第四层波形搜索条,突出显示当前搜索指针对应的四级区块;
    实时获取用户输入的搜索指针位置调整信息,并根据新的当前搜索指针位置改变突出显示的四级区块,同时在所述波形显示区中以重叠方式显示当前搜索指针对应的四级区块中所包含的一条或多条波形。
  4. 根据权利要求1、2或3所述的波形搜索方法,其特征在于,所述在波形显示区中,以重叠方式显示当前搜索指针对应的一级区块、二级区块、三级区块或四级区块中所包含的所有波形的具体方式为:
    以两个状态交替显示;其中,
    第一状态为,以第一特征颜色重叠显示当前区块中的所有波形,同时以第二特征颜色重叠显示当前层中除去当前块中波形之外的所有波形;
    第二状态为,隐藏所述第一状态中以第一特征颜色重叠显示的当前区块中的所有波形,而只以第二特征颜色重叠显示当前层中除去当前块中波形之外的所有波形;
    其中,所述当前区块为所述一级区块、所述二级区块、所述三级区块或所述四级区块,所述一级区块对应的当前层为所述第一层波形搜索条,所述二级区块对应的当前层为所述第二层波形搜索条,所述三级区块对应的当前层为所述第三层波形搜索条,所述四级区块对应的当前层为所述第四层波形搜索条。
  5. 根据权利要求1、2或3所述的波形搜索方法,其特征在于,所述波形搜索方法进一步包括步骤:
    在波形搜索模式下,实时检测用户是否输入书签设置指令;
    在获取到用户输入的书签设置指令时,记录所述波形显示区中当前显示的 一条或多条波形对应的显示参数,所述显示参数包括时基信息、时延信息、当前块信息、当前层信息、波形颜色信息和触发设置信息;
    存储在一次书签设置指令下所记录的全部显示参数,并以一个书签标记按钮作为触发形式显示在所述数字示波器的人机交互界面中。
  6. 根据权利要求5所述的波形搜索方法,其特征在于,所述波形搜索方法进一步包括步骤:
    在波形搜索模式下,实时检测用户是否选择所述书签标记按钮;
    在获取到用户选择所述书签标记按钮的触发信息时,读取所存储的该书签标记按钮对应的全部显示参数,并将所读取的全部显示参数加载至当前波形显示系统,以将所述波形显示区的波形显示还原至书签标记时的状态。
  7. 根据权利要求5所述的波形搜索方法,其特征在于,在获取到用户输入的多次书签设置指令时,分别记录各个书签设置指令对应的显示参数,并在所述数字示波器的人机交互界面显示多个不同的书签标记按钮。
  8. 根据权利要求1、2或3所述的波形搜索方法,其特征在于,所述搜索指针移动方式为:
    根据用户输入的搜索指针位置调整信息,将所述搜索指针在当前层波形搜索条的多个区块上连续滑动、以依次突出显示当前层波形搜索条上相邻的区块,所述当前层波形搜索条为所述第一层波形搜索条、所述第二层波形搜索条、所述第三条波形搜索条或所述第四条波形搜索条;或者,
    根据用户输入的搜索指针位置调整信息,将所述搜索指针在不同层的波形搜索条之间移动,以供选择进一步查看某个区块对应的下一层波形,或者退出观察某一层波形,回到上一层的区块。
  9. 根据权利要求8所述的波形搜索方法,其特征在于,所述搜索指针移 动方式进一步包括以下步骤:
    实时检测所述搜索指针位置对应的区块是否为边界区块,所述边界区块包括:所述第二层波形搜索条的左侧边界区块或右侧边界区块、所述第三层波形搜索条的左侧边界区块或右侧边界区块、所述第四层波形搜索条的左侧边界区块或右侧边界区块;
    在所述搜索指针位置对应的区块为左侧边界区块,且获取到用户输入的向左调整搜索指针位置的调整信息时,暂不执行该次搜索指针位置调整指令,开始计数和计时,当计时满足预设时间后,看计数是否满足预设计数值,若否,则取消该次搜索指针位置调整指令,若是,则将搜索指针位置调整至当前左侧边界区块对应的上一层波形搜索条中当前突出显示区块的左侧区块位置;
    或者,在所述搜索指针位置对应的区块为右侧边界区块,且获取到用户输入的向右调整搜索指针位置的调整信息时,暂不执行该次搜索指针位置调整指令,开始计数和计时,当计时满足预设时间后,看计数是否满足预设计数值,若否,则取消该次搜索指针位置调整指令,若是,则将搜索指针位置调整至当前右侧边界区块对应的上一层波形搜索条中当前突出显示区块的右侧区块位置。
  10. 根据权利要求1所述的波形搜索方法,其特征在于,将所述第一层波形搜索条按预设规则对待查找的所有波形进行划分而得到多个一级区块的具体步骤包括:
    将所述第一层波形搜索条分成固定的多份,每一份代表一帧的数据;
    按时间顺序依次检测每一帧是否含有触发波形;
    将检测到有触发波形的帧作为一个单独的一级区块进行显示;
    在检测到某一帧没有触发波形时,将其与下一相邻的帧合并,直到合并到 有触发波形的帧后,将所有被合并的帧作为一个单独的一级区块进行显示。
  11. 根据权利要求1、2或3所述的波形搜索方法,其特征在于,对所述第二层波形搜索条、所述第三层波形搜索条和所述第四层波形搜索条进行区块划分的方法具体为:
    按照各层波形搜索条中波形的条数均匀分块。
  12. 根据权利要求1、2或3所述的波形搜索方法,其特征在于,在获取到用户输入的选择退出查看当前层波形搜索条的指令时,在所述搜索导航区取消显示当前层波形搜索条,将搜索指针移回到上一层波形搜索条中当前被突出显示的区块。
  13. 一种数字示波器的波形搜索装置,用于快速从至少数千条波形中搜索到目标波形;其特征在于,包括:
    触发信息获取模块,用于获取用户输入的波形搜索模式触发信息时,控制数字示波器进入波形搜索模式;
    搜索条显示模块,用于在所述波形搜索模式下,在搜索导航区显示第一层波形搜索条,所述第一层波形搜索条包含:对待查找的所有波形按预设规则进行划分而得到的多个一级区块,每个所述一级区块对应包含一条或者多条波形数据;
    搜索指针模块,用于实时获取用户输入的波形搜索指针位置调整信息;
    所述搜索条显示模块,还用于突出显示当前搜索指针对应的一级区块,并根据新的当前搜索指针位置对应突出显示新的一级区块;
    波形显示模块,用于在波形显示区中,以重叠方式显示当前搜索指针对应的一级区块中所包含的所有波形;
    所述搜索条显示模块,还用于直接在所述搜索导航区显示第二层波形搜索 条,或者在获取到用户输入的选择查看所述第一层波形搜索条中任意一个一级区块的选择信息时,进一步在所述搜索导航区显示第二层波形搜索条;
    所述第二层波形搜索条包含:对所述第一层波形搜索条中被选择的一级区块中所包含的所有波形按预设规则进行进一步划分而得到的多个二级区块,所有二级区块中所包含的波形条数总和等于被选择的一级区块中的波形条数;
    所述搜索指针模块,还用于将搜索指针位置移至所述第二层波形搜索条;
    所述搜索条显示模块,还用于突出显示当前搜索指针对应的二级区块;
    所述波形显示模块,还用于在所述波形显示区中以重叠方式显示当前搜索指针对应的二级区块中所包含的一条或多条波形。
  14. 根据权利要求13所述的波形搜索装置,其特征在于,所述搜索条显示模块,还用于直接在所述搜索导航区显示第三层波形搜索条,或者在获取到用户输入的选择进一步查看某个二级区块的指令时,进一步在所述搜索导航区显示第三层波形搜索条;
    所述第三层波形搜索条包含:对所述第二层波形搜索条中被选择的二级区块中所包含的所有波形,按该二级区块的波形条数,以预设规则进行进一步划分而得到的多个三级区块,所有三级区块中所包含的波形条数均等,并且总和等于被选择的二级区块中的波形条数;
    所述搜索指针模块,还用于将搜索指针位置移至所述第三层波形搜索条;
    所述搜索条显示模块,还用于突出显示当前搜索指针对应的三级区块;
    所述波形显示模块,还用于在所述波形显示区中以重叠方式显示当前搜索指针对应的三级区块中所包含的一条或多条波形。
  15. 根据权利要求13所述的波形搜索装置,其特征在于,所述搜索条显示模块,还用于直接在所述搜索导航区显示第四层波形搜索条,或者在获取到 用户输入的选择进一步查看某个三级区块的指令时,进一步在所述搜索导航区显示第四层波形搜索条;
    所述第四层波形搜索条包含:对所述第三层波形搜索条中被选择的三级区块中所包含的所有波形按预设规则进行进一步划分而得到的多个四级区块,所有四级区块中所包含的波形条数均等,并且总和等于被选择的三级区块中的波形条数;
    所述搜索指针模块,还用于将搜索指针位置移至所述第四层波形搜索条;
    所述搜索条显示模块,还用于突出显示当前搜索指针对应的四级区块;
    所述波形显示模块,还用于在所述波形显示区中以重叠方式显示当前搜索指针对应的四级区块中所包含的一条或多条波形。
  16. 根据权利要求13、14或15所述的波形搜索装置,其特征在于,所述波形显示模块包括以两个状态交替显示的第一波形显示单元和第二波形显示单元;其中,
    所述第一波形显示单元,用于以第一特征颜色重叠显示当前区块中的所有波形,同时以第二特征颜色重叠显示当前层中除去当前块中波形之外的所有波形;
    所述第一波形显示单元,用于隐藏所述第一状态中以第一特征颜色重叠显示的当前区块中的所有波形,而只以第二特征颜色重叠显示当前层中除去当前块中波形之外的所有波形;
    其中,所述当前区块为所述一级区块、所述二级区块、所述三级区块或所述四级区块,所述一级区块对应的当前层为所述第一层波形搜索条,所述二级区块对应的当前层为所述第二层波形搜索条,所述三级区块对应的当前层为所述第三层波形搜索条,所述四级区块对应的当前层为所述第四层波形搜索条。
  17. 根据权利要求13、14或15所述的波形搜索装置,其特征在于,所述波形搜索装置进一步包括书签设置模块,具体包括:
    书签检测单元,用于在波形搜索模式下,实时检测用户是否输入书签设置指令;
    书签设置单元,用于在获取到用户输入的书签设置指令时,记录所述波形显示区中当前显示的一条或多条波形对应的显示参数,所述显示参数包括时基信息、时延信息、当前块信息、当前层信息、波形颜色信息和触发设置信息;
    书签标记单元,用于存储在一次书签设置指令下所记录的全部显示参数,并以一个书签标记按钮作为触发形式显示在所述数字示波器的人机交互界面中。
  18. 根据权利要求17所述的波形搜索方法,其特征在于,所述波形搜索装置进一步包括波形回看模块,具体包括:
    触发信息检测单元,用于在波形搜索模式下,实时检测用户是否选择所述书签标记按钮;
    参数读取单元,用于在获取到用户选择所述书签标记按钮的触发信息时,读取所存储的该书签标记按钮对应的全部显示参数;
    书签波形显示单元,用于将所读取的全部显示参数加载至当前波形显示系统,以将所述波形显示区的波形显示还原至书签标记时的状态。
  19. 根据权利要求13、14或15所述的波形搜索装置,其特征在于,所述搜索条显示模块,还用于在获取到用户输入的选择退出查看当前层波形搜索条的指令时,在所述搜索导航区取消显示当前层波形搜索条;
    所述搜索指针模块,还用于在取消显示当前层波形搜索条时,将搜索指针移回到上一层波形搜索条中当前被突出显示的区块。
  20. 根据权利要求19所述的波形搜索装置,其特征在于,所述搜索指针模块还包括:
    边界检测单元,用于实时检测所述搜索指针位置对应的区块是否为边界区块,所述边界区块包括:所述第二层波形搜索条的左侧边界区块或右侧边界区块、所述第三层波形搜索条的左侧边界区块或右侧边界区块、所述第四层波形搜索条的左侧边界区块或右侧边界区块;
    障碍设置单元,用于在所述搜索指针位置对应的区块为左侧边界区块,且获取到用户输入的向左调整搜索指针位置的调整信息时,暂不执行该次搜索指针位置调整指令,开始计数和计时,当计时满足预设时间后,看计数是否满足预设计数值,若否,则取消该次搜索指针位置调整指令,若是,则将搜索指针位置调整至当前左侧边界区块对应的上一层波形搜索条中当前突出显示区块的左侧区块位置;
    或者,在所述搜索指针位置对应的区块为右侧边界区块,且获取到用户输入的向右调整搜索指针位置的调整信息时,暂不执行该次搜索指针位置调整指令,开始计数和计时,当计时满足预设时间后,看计数是否满足预设计数值,若否,则取消该次搜索指针位置调整指令,若是,则将搜索指针位置调整至当前右侧边界区块对应的上一层波形搜索条中当前突出显示区块的右侧区块位置。
  21. 根据权利要求13所述的波形搜索装置,其特征在于,所述搜索条显示模块包括:
    划分单元,用于将所述第一层波形搜索条分成固定的多份,每一份代表一帧的数据;
    波形检测单元,用于按时间顺序依次检测每一帧是否含有触发波形;
    分区显示单元,用于将检测到有触发波形的帧作为一个单独的一级区块进行显示,在检测到某一帧没有触发波形时,将其与下一相邻的帧合并,直到合并到有触发波形的帧后,将所有被合并的帧作为一个单独的一级区块进行显示。
  22. 一种数字示波器,其特征在于,包括权利要求13-21中所述的波形搜索装置,或者采用权利要求1-12中任一项所述的波形搜索方法进行波形搜索或查找。
PCT/CN2016/073733 2016-02-06 2016-02-06 一种数字示波器及其波形搜索方法和装置 WO2017133022A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/073733 WO2017133022A1 (zh) 2016-02-06 2016-02-06 一种数字示波器及其波形搜索方法和装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/073733 WO2017133022A1 (zh) 2016-02-06 2016-02-06 一种数字示波器及其波形搜索方法和装置

Publications (1)

Publication Number Publication Date
WO2017133022A1 true WO2017133022A1 (zh) 2017-08-10

Family

ID=59499198

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/073733 WO2017133022A1 (zh) 2016-02-06 2016-02-06 一种数字示波器及其波形搜索方法和装置

Country Status (1)

Country Link
WO (1) WO2017133022A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110887984A (zh) * 2019-12-05 2020-03-17 深圳市鼎阳科技股份有限公司 一种支持眼图重构的数字示波器

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1317695A (zh) * 2000-03-27 2001-10-17 特克特朗尼克公司 操纵示波器的方法
JP2002107380A (ja) * 2000-09-28 2002-04-10 Yokogawa Electric Corp 波形測定装置
JP2002162422A (ja) * 2000-11-28 2002-06-07 Iwatsu Electric Co Ltd 波形表示装置
US20040017384A1 (en) * 2002-07-29 2004-01-29 Jaffe Stanley E. Method for displaying markers and rendered waveforms
CN101413968A (zh) * 2008-09-30 2009-04-22 中国电子科技集团公司第四十一研究所 一种数字示波器及其操纵显示波形的方法
CN102128962A (zh) * 2009-09-04 2011-07-20 特克特朗尼克公司 用于提供采集后触发控制和呈现的测试与测量仪器和方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1317695A (zh) * 2000-03-27 2001-10-17 特克特朗尼克公司 操纵示波器的方法
JP2002107380A (ja) * 2000-09-28 2002-04-10 Yokogawa Electric Corp 波形測定装置
JP2002162422A (ja) * 2000-11-28 2002-06-07 Iwatsu Electric Co Ltd 波形表示装置
US20040017384A1 (en) * 2002-07-29 2004-01-29 Jaffe Stanley E. Method for displaying markers and rendered waveforms
CN101413968A (zh) * 2008-09-30 2009-04-22 中国电子科技集团公司第四十一研究所 一种数字示波器及其操纵显示波形的方法
CN102128962A (zh) * 2009-09-04 2011-07-20 特克特朗尼克公司 用于提供采集后触发控制和呈现的测试与测量仪器和方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110887984A (zh) * 2019-12-05 2020-03-17 深圳市鼎阳科技股份有限公司 一种支持眼图重构的数字示波器
CN110887984B (zh) * 2019-12-05 2022-07-01 深圳市鼎阳科技股份有限公司 一种支持眼图重构的数字示波器

Similar Documents

Publication Publication Date Title
US5226118A (en) Data analysis system and method for industrial process control systems
RU2014141283A (ru) Устройство обработки информации, способ обработки информации и программа
US7802178B2 (en) Information display apparatus, information display method, information display program, graphical user interface, music reproduction apparatus, and music reproduction program
CN100437832C (zh) 故障分析装置
JP2012142825A (ja) 情報処理装置、情報表示方法及びコンピュータプログラム
CN101354264B (zh) 导航装置以及导航方法
KR930011851B1 (ko) 방전가공기용 수치제어장치
US20110029855A1 (en) Information terminal apparatus
CN109070295A (zh) 机床的热位移补偿参数自动转换装置及转换方法
JP7009906B2 (ja) 情報処理装置、情報処理方法、プログラムおよび生体信号計測システム
JP6613626B2 (ja) 走行軌跡の解析支援プログラム、装置、及び方法
WO2017133022A1 (zh) 一种数字示波器及其波形搜索方法和装置
US9573055B2 (en) Game machine, method and non-transitory computer readable storage medium for a music game in which touch operations are evaluated
JP2002328031A (ja) ナビゲーション装置
JP2008065583A (ja) 画像表示制御装置および画像表示制御装置用プログラム
JP2008203017A (ja) ナビゲーション装置およびナビゲーション装置に用いるプログラム
JP4822986B2 (ja) ナビゲーション装置および行き先検索方法
TW201504089A (zh) 一種行車紀錄器影像檔案播放操作方法
JP4248964B2 (ja) ナビゲーション装置、施設リスト表示方法及びプログラム
JP5788125B1 (ja) システム構築支援装置、方法、および記録媒体
US8601400B2 (en) Retrieval and display device
JP5136034B2 (ja) 測定装置
JP2015200956A (ja) 情報処理装置、情報処理方法及びプログラム
US20090195549A1 (en) Color gradient generating method and device
US20110032254A1 (en) Sheet metal model creation device and sheet metal model creation method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16888846

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16888846

Country of ref document: EP

Kind code of ref document: A1