CN109144387B - Cursor touch method, cursor touch device and digital oscilloscope - Google Patents

Cursor touch method, cursor touch device and digital oscilloscope Download PDF

Info

Publication number
CN109144387B
CN109144387B CN201810863617.4A CN201810863617A CN109144387B CN 109144387 B CN109144387 B CN 109144387B CN 201810863617 A CN201810863617 A CN 201810863617A CN 109144387 B CN109144387 B CN 109144387B
Authority
CN
China
Prior art keywords
cursor
information
line
information label
touch screen
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201810863617.4A
Other languages
Chinese (zh)
Other versions
CN109144387A (en
Inventor
李富伟
陈锋
宋民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Siglent Technologies Co Ltd
Original Assignee
Shenzhen Siglent Technologies Co Ltd
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 Shenzhen Siglent Technologies Co Ltd filed Critical Shenzhen Siglent Technologies Co Ltd
Priority to CN201810863617.4A priority Critical patent/CN109144387B/en
Publication of CN109144387A publication Critical patent/CN109144387A/en
Application granted granted Critical
Publication of CN109144387B publication Critical patent/CN109144387B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)

Abstract

A cursor touch control method, a cursor touch control device and a digital oscilloscope are provided, wherein the cursor touch control device comprises a display unit, a contact detection unit, a cursor enabling unit, a track capturing unit and a cursor adjusting unit. The display unit provides the display capability of the cursor on the touch screen, so that a corresponding display effect is formed between the cursor line and the information label, and a user can observe the measurement information on the cursor line and the corresponding information label in real time; the cursor enabling unit provides the selection condition of the cursor, so that the user can quickly select the cursor line and the corresponding information label, the situation that the user can only select the cursor line and the corresponding information label by using an entity key or a virtual key in the prior operation is avoided, and the operation efficiency of the user can be improved; the cursor adjusting unit provides a convenient function of dragging the cursor to adjust the position, so that the cursor measuring operation can be realized by directly dragging the cursor on the touch screen by a user, and the effect of quickly adjusting the cursor position is favorably achieved.

Description

Cursor touch method, cursor touch device and digital oscilloscope
Technical Field
The invention relates to the oscilloscope technology, in particular to a cursor touch method, a cursor touch device and a digital oscilloscope.
Background
A digital oscilloscope which is an electronic measuring instrument with wide application is an indispensable tool for designing, manufacturing and maintaining electronic equipment, is known as the eyes of engineers, and quickly and accurately solves the measuring challenge in various occasions. Digital oscilloscopes are increasingly used because of their unique advantages such as waveform triggering, storage, display, measurement, waveform data analysis and processing. The digital oscilloscope can convert various analog signals into digital signals, and visually and vividly display parameters such as voltage, current, frequency, phase difference, amplitude modulation and the like on a display through display means such as waveforms, numerical values and the like, so that a user can greatly observe the signal state conveniently.
At present, not only the waveform is observed in debugging by means of a digital oscilloscope, but more importantly, some parameters can be measured well and the measurement result can be obtained accurately. The digital oscilloscope has three measuring methods: scale measurement, cursor measurement and automatic measurement; the scale measurement is estimated according to the number of the lattices occupied by the waveform, and the estimation accuracy is low and is only suitable for qualitative analysis; the automatic measurement is suitable for the measurement situation with good periodicity and waveform, and the statistical data is more and the measurement is more accurate in the way; the cursor measurement is suitable for the situations of more noise and complex waveform in signals, and some unimportant signals can be artificially ignored, so that the measurement error caused by interference is avoided. Generally, in order to facilitate the measurement requirements of users in different application situations, the existing digital oscilloscope usually has the three measurement functions.
The cursor is a common measuring tool in the digital oscilloscope, and the use frequency of cursor measurement is higher in the use process of the digital oscilloscope, so that the cursor is particularly suitable for some special measurement situations. In the existing digital oscilloscope, two vertical cursor lines and two horizontal cursor lines are often arranged on a display interface, and a fixed display area is arranged to display cursor measurement information, so that the function of cursor measurement is realized, but some defects exist.
In a non-touch digital oscilloscope, a method for operating a cursor comprises the following steps: and a cursor control menu is opened by pressing keys, a mechanical button is clicked to switch a cursor line, a mechanical knob is rotated to adjust the position of a horizontal cursor line or a vertical cursor line, and cursor measurement information is displayed through a fixed display area. In a touch-control digital oscilloscope, a method for operating a cursor comprises the following steps: the method comprises the steps that a cursor measurement virtual key is arranged on a main interface of a display, when a touch key enters an operation interface of cursor measurement, a horizontal cursor line and a vertical cursor line are respectively selected through the touch times of a horizontal cursor line virtual key and a vertical cursor line virtual key in the interface, when the horizontal cursor line virtual key is touched once, one horizontal cursor line is selected, two horizontal cursor lines are selected when the horizontal cursor line virtual key is touched twice continuously, two horizontal cursor lines are simultaneously selected when the horizontal cursor line virtual key is touched three times continuously, the selected horizontal cursor line is moved through touch sliding operation on the display, and the operation method of the vertical cursor line is also applicable.
Therefore, in the current cursor measurement operation, the cursor line needs to be switched to be selected through a specific physical key or a virtual key, and then the cursor line can be moved to the observation position through a mode of rotating the physical key or sliding by touch. In addition, the display position of the cursor measurement information limits the visual observation range of the user, the current cursor measurement information needs to be observed by stopping rotating or sliding operation, the adjustment process and the observation process are not synchronously realized, and poor user experience exists.
Disclosure of Invention
The invention mainly solves the technical problem of how to improve the operation efficiency and the observation experience of the cursor measurement control process of the digital oscilloscope. In order to solve the above technical problems, the present application provides a cursor touch method, a cursor touch device, and a digital oscilloscope.
According to a first aspect, an embodiment provides a cursor touch method, including the following steps:
displaying one or more cursors on the touch screen;
detecting the position of a contact point of a user on the touch screen, and enabling a cursor meeting the selection condition when judging that the position of the contact point meets the selection condition of the cursor;
capturing a sliding track of a contact on the touch screen;
and adjusting the position of the enabled cursor according to the sliding track.
The cursor comprises a cursor line and an information label, and the information label is used for displaying the measurement information of the cursor line.
If a cursor is displayed on the touch screen, the information label of the cursor displays the measurement information of the position of the cursor line of the cursor;
if a plurality of cursors are displayed on the touch screen, at least one pair of vertical cursor lines and/or at least one pair of horizontal cursor lines are formed on the touch screen by the cursor lines of each cursor, and the measurement information of the position of each cursor line is displayed through the corresponding information label, and/or the measurement information of the difference value between the two cursor lines of any pair of vertical cursor lines is displayed through the corresponding information label, and/or the measurement information of the difference value between the two cursor lines of any pair of horizontal cursor lines is displayed through the corresponding information label.
When the position of the contact point is judged to accord with the selection condition of the cursor, enabling the cursor which accords with the selection condition, wherein the step of enabling the cursor which accords with the selection condition comprises the following steps:
if the position of the contact on the touch screen is in accordance with the position of the cursor line of a cursor, judging that the position of the contact is in accordance with the selection condition of the cursor, enabling the cursor line of the cursor and the information label corresponding to the cursor line, and enabling the cursor line and the information label corresponding to the cursor line to be in a selected state;
and if the position of the contact on the touch screen is consistent with the current position of the information label of the cursor, judging that the position of the contact is consistent with the selection condition of the cursor, enabling the information label of the cursor and the cursor line corresponding to the information label, and enabling the information label and the cursor line corresponding to the information label to be in the selected state.
The positions of the contacts on the touch screen are matched with the position of a cursor line of a cursor, and the positions of the contacts on the touch screen are on the cursor line of the cursor or in an area adjacent to the cursor line;
the position of the contact point on the touch screen is consistent with the position of an information label of a cursor, and the position of the contact point on the touch screen is on the information label or in the area adjacent to the information label.
The adjusting the position of the enabled cursor according to the sliding track comprises:
dragging an enabled cursor to perform position adjustment on the touch screen in response to the sliding track of the contact point, comprising:
dragging the enabled cursor to move from the starting position of the sliding track, and moving the enabled cursor to the end position of the sliding track according to the sliding direction of the sliding track.
According to a second aspect, an embodiment provides a cursor touch device, including:
a display unit for displaying one or more cursors on the touch screen;
the touch point detection unit is used for detecting the position of a touch point of a user on the touch screen;
the cursor enabling unit is used for judging that the position of the contact meets the selection condition of the cursor and enabling the cursor meeting the selection condition;
the track capturing unit is used for capturing a sliding track of a contact on the touch screen;
and the cursor adjusting unit is used for adjusting the position of the enabled cursor according to the sliding track.
The cursor comprises a cursor line and an information label, and the information label is used for displaying the measurement information of the cursor line;
the cursor enabling unit includes:
the first enabling module is used for judging that the position of the contact point accords with the selection condition of the cursor when the position of the contact point on the touch screen accords with the position of a cursor line of the cursor, and enabling the cursor line of the cursor and an information label corresponding to the cursor line to enable the cursor line and the information label corresponding to the cursor line to be in a selected state;
and the second enabling module is used for judging that the position of the contact point conforms to the selection condition of the cursor when the position of the contact point on the touch screen conforms to the current position of the information label of the cursor, and enabling the information label of the cursor and the cursor line corresponding to the information label to enable the information label and the cursor line corresponding to the information label to be in a selected state.
According to a third aspect, an embodiment provides a digital oscilloscope, comprising:
the touch screen is used for displaying a cursor and/or a signal waveform and receiving touch operation of a user;
the cursor touch device according to the second aspect.
According to a fourth aspect, an embodiment provides a computer readable storage medium comprising a program executable by a processor to implement the method according to the first aspect as described above.
The beneficial effect of this application is:
according to the cursor touch method, the cursor touch device and the digital oscilloscope, the cursor touch device comprises a display unit, a contact detection unit, a cursor enabling unit, a track capturing unit and a cursor adjusting unit. On the first hand, because the display unit provides the display capability of one or more cursors on the touch screen, a corresponding display effect is formed between the cursor line of the cursor and the information label of the cursor, so that a user can observe the cursor line and can observe the measurement information on the corresponding information label in real time; in the second aspect, since the cursor enabling unit provides the selection condition of the cursor, the user can quickly select the cursor line and the corresponding information label according to the position of the contact point during the touch operation, and even can select the information label and a plurality of cursor lines corresponding to the information label, thus avoiding the situation that the user can select the information label only by using an entity key or a virtual key in the previous operation, and improving the operation efficiency of the user; in a third aspect, the cursor adjusting unit provides a function of adjusting the position of the enabled cursor according to the sliding track of the contact, so that the user can directly drag the cursor line or the information label on the touch screen to move the cursor to measure the cursor, thereby avoiding the inconvenience of adjusting the cursor position by using the physical keys or the virtual keys and being beneficial to achieving the effect of quickly adjusting the cursor position. In addition, the technical scheme that this application provided can make the process that user touched the screen, the cursor was selected and the cursor was dragged possess the operation effect of continuity, and the user only need click the cursor on the touch-sensitive screen and drag and can realize the effect that cursor line and information label moved along with the contact for cursor movement operation process is swift and convenient, measurement information observation process is comfortable and directly perceived, does benefit to and promotes user's cursor measurement operation experience. The digital oscilloscope adopting the cursor touch device has the dual performance of rapid cursor dragging and real-time observation of measurement information, greatly improves the operation experience of users, and can enable the digital oscilloscope of the type to have higher application value and commercial value.
Drawings
FIG. 1 is a diagram of a cursor touch device;
FIG. 2 is a flowchart of a cursor touch method;
FIG. 3 is a flow chart diagram of a cursor enabling method;
FIG. 4 is a flow chart diagram of a cursor dragging method;
FIG. 5 is a schematic view of a touch screen display interface;
fig. 6 is a structural diagram of a digital oscilloscope.
Detailed Description
The present invention will be described in further detail with reference to the following detailed description and accompanying drawings. Wherein like elements in different embodiments are numbered with like associated elements. In the following description, numerous details are set forth in order to provide a better understanding of the present application. However, those skilled in the art will readily recognize that some of the features may be omitted or replaced with other elements, materials, methods in different instances. In some instances, certain operations related to the present application have not been shown or described in detail in order to avoid obscuring the core of the present application from excessive description, and it is not necessary for those skilled in the art to describe these operations in detail, so that they may be fully understood from the description in the specification and the general knowledge in the art.
Furthermore, the features, operations, or characteristics described in the specification may be combined in any suitable manner to form various embodiments. Also, the various steps or actions in the method descriptions may be transposed or transposed in order, as will be apparent to one of ordinary skill in the art. Thus, the various sequences in the specification and drawings are for the purpose of describing certain embodiments only and are not intended to imply a required sequence unless otherwise indicated where such sequence must be followed.
The numbering of the components as such, e.g., "first", "second", etc., is used herein only to distinguish the objects as described, and does not have any sequential or technical meaning. The term "connected" and "coupled" when used in this application, unless otherwise indicated, includes both direct and indirect connections (couplings).
Referring to fig. 1, the present application discloses a cursor touch device 1, which includes a display unit 11, a touch point detection unit 12, a cursor enabling unit 13, a track capturing unit 14, and a cursor adjusting unit 15, which are respectively described below.
The display unit 11 is used to display one or more cursors on the touch screen. The cursor in this embodiment includes a cursor line and an information label, and the information label is used for displaying measurement information of the cursor line. In an embodiment, the display unit 11 includes a first display module 111 and a second display module 112, where the first display module 111 is configured to display a cursor on the touch screen, and an information tag of the displayed cursor shows measurement information of a position of a cursor line of the cursor; the second display module 112 is configured to, when a plurality of cursors are displayed on the touch screen, form at least one pair of vertical cursor lines and/or at least one pair of horizontal cursor lines on the touch screen, display measurement information of a position of each cursor line through a corresponding information tag, and/or display measurement information of a difference between two cursor lines of any pair of vertical cursor lines through a corresponding information tag, and/or display measurement information of a difference between two cursor lines of any pair of horizontal cursor lines through a corresponding information tag.
In an embodiment, reference may be made to a plurality of cursors displayed on the touch screen in fig. 5, the cursors are formed by the display unit 11 and control the touch screen to display, and each cursor includes a cursor line and its corresponding information tag; the second display module 112 in the display unit 11 forms a pair of vertical cursor lines X1 and X2, respectively displays the measurement information of the positions of the cursor lines X1 and X2 by the information labels [ X1& Y1], [ X2& Y2], and displays the measurement information of the difference between the cursor lines X2 and X1 by the information label [ Δ X ] (the measurement information is obtained by X2-X1); the second display module 111 in the display unit 11 also forms a pair of horizontal cursor lines Y1 and Y2, and shows measurement information of the positions of the cursor lines Y1 and Y2 by information labels [ X1& Y1], [ X2& Y2], respectively, and measurement information of the difference between the cursor lines Y2 and Y1 by information label [. DELTA.Y ] (the measurement information is obtained by Y2-Y1). It should be noted that the user may also create other types of information tags, such as [ X1& Y2], [ X2& Y1], and the specific selection of which type of information tag needs to be determined according to the actual needs of the user.
In another embodiment, a cursor is displayed on the touch screen, the cursor is formed by the display unit 11 and controls the touch screen to display, the cursor includes a cursor line and its corresponding information label, the displayed cursor line can refer to any one of the cursor lines X1, X2, Y1 and Y2 in fig. 5, and the displayed information label can refer to the partial label corresponding to the measurement information about [ X1], [ X2], [ Y1] and [ Y2] in the information labels [ X1& Y1], [ X2& Y2] in fig. 5.
The touch point detecting unit 12 is used for detecting the position of a touch point on the touch screen by a user. The touch point may be generated by a finger of a user or a tool such as a touch pen when approaching or contacting the touch screen, and the specific generation manner is not limited. The technology for detecting the position of the touch point should be set according to the type of the touch screen, and can be implemented by means of vector pressure sensing technology, resistance technology, capacitance technology, infrared technology, surface acoustic wave technology, etc., and currently, the technology for detecting the position of the touch point is popular, and will not be described in detail here.
The cursor enabling unit 13 is used for judging that the position of the contact point meets the selection condition of the cursor, and enabling the cursor meeting the selection condition. In one embodiment, the cursor enabling unit 13 includes a first enabling module 131 and a second enabling module 132; when the position of a touch point on the touch screen is in accordance with the position of a cursor line of a cursor, the first enabling module 131 is used for judging that the position of the touch point is in accordance with the selection condition of the cursor, enabling the cursor line of the cursor and an information label corresponding to the cursor line, and enabling the cursor line and the information label corresponding to the cursor line to be in a selected state, for example, when the position of the touch point is above a cursor line X1 in fig. 5, the touch point is considered to be in accordance with the selection condition of a cursor line X1 at the moment, enabling the cursor line X1 and the information labels [ Δ X ], [ X1& Y1] and enabling the touch point X1 and the information labels to be in the selected state; the second enabling module 132 is configured to, when the position of the touch point on the touch screen matches the position of the information tab of a cursor, determine that the position of the touch point matches the selection condition of the cursor, enable the information tab of the cursor and the cursor line corresponding to the information tab, so that the information tab and the cursor line corresponding to the information tab are in a selected state, for example, when the position of the touch point is above information tab [ X1& Y1] in fig. 5, it is considered that the selection condition of information tab [ X1& Y1] is met at this time, and enable the information tab [ X1& Y1] and the cursor lines X1 and Y1, and make them in the selected state.
Further, in order to ensure that the touch point can accurately click on the cursor line or the information label and avoid the pressing object such as a finger or a touch pen at the touch point position from blocking the cursor line or the information label, the cursor enabling unit 13 may expand the condition that the position of the touch point on the touch screen coincides with the position of the cursor line of a cursor, and if the position of the touch point on the touch screen is on the cursor line of a cursor or in the area adjacent to the cursor line (preferably, the adjacent area includes the area within 10 pixels adjacent to the cursor line), the two conditions are considered to coincide. Similarly, the cursor enabling unit 13 may expand the condition that the position of the touch point on the touch screen coincides with the position of the information tag of a cursor, and the position of the touch point on the touch screen is considered to coincide with the position of the information tag of the cursor or within an area adjacent to the information tag (preferably, the adjacent area includes an area within 10 pixels adjacent to the information tag).
Further, to enhance the observation effect of the user, the cursor enabling unit 13 may perform visual effect processing on the enabled cursor line and/or information label, wherein the visual effect processing includes highlighting, flashing, color filling, and the like, which is not limited herein.
The track capture unit 14 is used for capturing a sliding track of a touch point on the touch screen. In one embodiment, the trajectory capturing unit 14 continuously obtains the position of the touch point on the touch screen, determines the sliding direction and the sliding distance of the touch point according to a series of position information, and uses the integrated parameters of the sliding direction and the sliding distance as the sliding trajectory of the touch point.
The cursor adjusting unit 15 is used for adjusting the position of the enabled cursor according to the sliding track. In one embodiment, the cursor adjusting unit 15 is configured to drag the enabled cursor to perform position adjustment on the touch screen in response to the sliding track of the contact. In a specific embodiment, the cursor adjusting unit 15 controls the enabled cursor to realize the simulated dragging effect, the enabled cursor is dragged to move from the starting position of the sliding track, and the enabled cursor is moved to the end position of the sliding track according to the sliding direction of the sliding track, namely, when the contact point disappears on the touch screen, the selected state of the enabled cursor is eliminated and the moving state of the enabled cursor is stopped.
It should be noted that, in order to ensure a stable display effect of the cursor line and the information label on the touch screen, the cursor line preferably maintains four moving states of left, right, up and down during the dragging process, and the information label should be in a pause moving state at a position close to the display edge of the touch screen during the dragging process, so that the information label is not hidden outside the display edge of the touch screen.
Referring to fig. 2, the present application further discloses a cursor touch method, which includes steps S100-S600, which are described below.
Step S100, one or more cursors are displayed on the touch screen. The cursor in this embodiment includes a cursor line and an information label, and the information label is used for displaying measurement information of the cursor line. In an embodiment, when the first display module 111 displays a cursor on the touch screen, the information tag of the displayed cursor shows the measurement information of the position of the cursor line of the cursor; the second display module 112 is configured to, when a plurality of cursors are displayed on the touch screen, form at least one pair of vertical cursor lines and/or at least one pair of horizontal cursor lines on the touch screen, display measurement information of a position of each cursor line through a corresponding information tag, and/or display measurement information of a difference between two cursor lines of any pair of vertical cursor lines through a corresponding information tag, and/or display measurement information of a difference between two cursor lines of any pair of horizontal cursor lines through a corresponding information tag.
In another embodiment, step S100 is preceded by a measurement selection step, including: the user turns on the Cursors function of the measuring device and enters the Manual mode to cause the cursor line and the information label to be displayed on the touch screen and to cause the system to enter a Manual operating state for cursor measurement.
And step S200, detecting the position of a touch point of a user on the touch screen.
Step S300, determining whether the position of the touch point meets the selection condition of the cursor, in an embodiment, see fig. 3, the step S300 may include steps S310 to S320, which are respectively described as follows.
Step S310, judging whether the position of the contact point is consistent with the position of the cursor line, if so, going to step S410, otherwise, going to step S320. For example, in fig. 5, it is determined whether the position of the contact point is on the reticle X1 or in the area adjacent to the reticle X1, and if so, the position of the contact point is considered to coincide with the position of the reticle X1.
Step S320, determining whether the position of the contact matches the position of the information label, if yes, going to step S420, otherwise, going to step S200. For example, in fig. 5, it is determined whether or not the position of the touch point is on the information tag [ X1& Y1] or in the area adjacent to the information tag [ X1& Y1], and if so, it is considered that the position of the touch point coincides with the position of the information tag [ X1& Y1 ].
It will be understood by those skilled in the art that the order of step S310 and step S320 may be adjusted, and the same judgment effect may be achieved.
And step S400, enabling the cursor meeting the selected condition. In one embodiment, see FIG. 3, the step 400 may include steps S410-S420, respectively, as described below.
In step S410, when the first enabling module 131 determines that the position of the touch point on the touch screen matches the position of the cursor line of a cursor, the cursor line of the cursor and the information label corresponding to the cursor line are enabled, so that the cursor line and the information label corresponding to the cursor line are in a selected state. For example, the location of the contacts on or adjacent to cursor line X1 in FIG. 5 enables cursor line X1 and information labels [. DELTA.X ], [ X1& Y1] and places them in the selected state.
In step S420, when the position of the contact on the touch screen matches the position of the information label of a cursor, the second enabling module 132 enables the information label of the cursor and the cursor line corresponding to the information label, so that the information label and the cursor line corresponding to the information label are in a selected state. For example, the location of the contacts on or adjacent to information tab [ X1& Y1] in FIG. 5 enables and places information tab [ X1& Y1] and cursor lines X1, Y1 in the selected state.
And step S500, capturing a sliding track of the touch point on the touch screen. In one embodiment, the trajectory capturing unit 14 continuously obtains the position of the touch point on the touch screen, determines the sliding direction and the sliding distance of the touch point according to a series of position information, and uses the integrated parameters of the sliding direction and the sliding distance as the sliding trajectory of the touch point.
And step S600, adjusting the position of the enabled cursor according to the sliding track. The cursor adjusting unit 15 drags the enabled cursor to perform position adjustment on the touch screen in response to the sliding trajectory of the contact, including: the cursor adjusting unit 15 controls the enabled cursor to realize the simulated dragging effect, and the dragged enabled cursor starts to move from the start position of the sliding track and moves the enabled cursor to the end position of the sliding track according to the sliding direction of the sliding track. In a specific embodiment, referring to fig. 4 and 5, when the user performs a touch operation on the touch screen by using a finger or a touch pen, the draggable cursor moves, and the step S600 specifically includes steps S610 to S660.
Step S610, when the vertical cursor line X1 on the touch screen is touched, the cursor line X1 and the corresponding information tags [ Δ X ], [ X1& Y1] are enabled and selected, at this time, the user drags the cursor line X1 and the information tags [ [ Δ X ], [ X1& Y1] to the measurement position by pressing objects such as fingers or touch pens, and analogy is performed in sequence, and the drags the cursor line X2 and the information tags [ [ Δ X ], [ X2& Y2] to the measurement position when the vertical cursor line X2 is touched.
Step S620, when the horizontal cursor line Y1 on the touch screen is touched, the cursor line Y1 and the corresponding information labels [ Δ Y ], [ X1& Y1] are enabled and selected, at this time, the user can drag the cursor line Y1 and the information labels [ [ Δ Y ], [ X1& Y1] to the measurement position by pressing objects such as fingers or touch pens, and analogy is performed in sequence, and the draggable cursor line Y2 and the information labels [ [ Δ Y ], [ X2& Y2] to the measurement position when the vertical cursor line Y2 is touched.
In step S630, when the information tag [. DELTA.X ] on the touch screen is touched, the information tag [. DELTA.X ] and the corresponding cursor lines X1, X2 are enabled and selected, and at this time, the user may drag the information tag [. DELTA.X ] and the cursor lines X1, X2 to the measurement position by a pressing object such as a finger or a touch pen. In another embodiment, the user may drag the information label [. DELTA.X ] and the cursor lines X1, X2 and the information labels [ X1& Y1], [ X2& Y2] corresponding to the cursor lines to move to the measurement location by pressing with a finger, a stylus, or the like.
In step S640, when the information tab [. DELTA.Y ] on the touch screen is touched, the information tab [. DELTA.Y ] and the corresponding cursor lines Y1, Y2 are enabled and selected, and at this time, the user may drag the information tab [. DELTA.Y ] and the cursor lines Y1, Y2 to the measurement position by a pressing object such as a finger or a touch pen. In another embodiment, the user may drag the information tab [. DELTA.Y ] and the cursor lines Y1, Y2 and the corresponding information tabs [ X1& Y1], [ X2& Y2] of the cursor lines to move to the measurement location.
In step S650, when the information tab [ X1& Y1] on the touch screen is touched, the information tab [ X1& Y1] and the corresponding cursor lines X1 and Y1 are enabled and selected, and at this time, the user may drag the information tab [ X1& Y1] and the cursor lines X1 and Y1 to the measurement location by pressing an object such as a finger or a touch pen. In another embodiment, the user may drag the information tab [ X1& Y1] and the cursor lines X1, Y1 and the information tabs [. DELTA.X ], [. DELTA.Y ] corresponding to the cursor lines to move to the measurement location.
In step S660, when the information tab [ X2& Y2] on the touch screen is touched, the information tab [ X2& Y2] and the corresponding cursor lines X2 and Y2 are enabled and selected, and at this time, the user may drag the information tab [ X2& Y2] and the cursor lines X2 and Y2 to the measurement position by pressing an object such as a finger or a touch pen. In another embodiment, the user may drag the information tab [ X2& Y2] and the cursor lines X2, Y2 and the information tabs [. DELTA.X ], [. DELTA.Y ] corresponding to the cursor lines to move to the measurement location.
In step S670, after the user drags the enabled cursor to the measurement position on the touch screen, the pressing object such as a finger or a touch pen will leave the touch screen, and at this time, the cursor adjusting unit 15 will push out the cursor dragging and cursor enabling states, so that the next user touch operation can be performed normally.
Referring to fig. 6, the present application further discloses a digital oscilloscope 2, which includes a cursor touch device 1 and a touch screen 20.
The touch screen 20 is used to display a cursor and/or a signal waveform, and is configured to receive a touch operation of a user, and the touch screen 20 may be a vector pressure sensing technology touch screen, a resistance technology touch screen, a capacitance technology touch screen, an infrared technology touch screen, or a surface acoustic wave technology touch screen.
The cursor touch device 1 is in communication connection with the touch screen 20, the display unit 11 forms a display process of a cursor controller on the touch screen 20, the contact detection unit 12 detects a contact position on the touch screen 20, the cursor enabling unit 13 judges enabling and selecting states of a cursor according to the contact position, the track capturing unit 14 captures a sliding track of the contact on the touch screen 20, and the cursor adjusting unit 15 controls a moving state of the cursor on the touch screen 20 according to the sliding track.
Those skilled in the art should understand that the digital oscilloscope 2 should further include functional components such as a signal acquisition unit, an analog-to-digital conversion unit, a signal waveform control unit, etc. to implement the cursor measurement function of the digital oscilloscope together with the touch screen 20 and the cursor touch device 1, and since the related components are all prior art, detailed description is omitted here.
Those skilled in the art will appreciate that all or part of the functions of the various methods in the above embodiments may be implemented by hardware, or may be implemented by computer programs. When all or part of the functions of the above embodiments are implemented by a computer program, the program may be stored in a computer-readable storage medium, and the storage medium may include: a read only memory, a random access memory, a magnetic disk, an optical disk, a hard disk, etc., and the program is executed by a computer to realize the above functions. For example, the program may be stored in a memory of the device, and when the program in the memory is executed by the processor, all or part of the functions described above may be implemented. In addition, when all or part of the functions in the above embodiments are implemented by a computer program, the program may be stored in a storage medium such as a server, another computer, a magnetic disk, an optical disk, a flash disk, or a removable hard disk, and may be downloaded or copied to a memory of a local device, or may be version-updated in a system of the local device, and when the program in the memory is executed by a processor, all or part of the functions in the above embodiments may be implemented.
The present invention has been described in terms of specific examples, which are provided to aid understanding of the invention and are not intended to be limiting. For a person skilled in the art to which the invention pertains, several simple deductions, modifications or substitutions may be made according to the idea of the invention.

Claims (6)

1. A cursor touch method is characterized by comprising the following steps:
displaying a plurality of cursors on a touch screen; the cursor comprises a cursor line and an information label, wherein the information label is used for displaying measurement information of the cursor line, and the measurement information comprises voltage information and time information of the position of the cursor line and difference value information between the cursor lines; the cursor lines of each cursor form at least one pair of vertical cursor lines and at least one pair of horizontal cursor lines on the touch screen, the measurement information of the position of each cursor line is displayed through the corresponding information label, the measurement information of the difference value between the two cursor lines of any pair of vertical cursor lines is displayed through the corresponding information label, and the measurement information of the difference value between the two cursor lines of any pair of horizontal cursor lines is displayed through the corresponding information label;
detecting the position of a contact point of a user on the touch screen, and enabling a cursor meeting the selection condition when judging that the position of the contact point meets the selection condition of the cursor; specifically, if the position of a contact on the touch screen is in accordance with the position of a cursor line of a cursor, judging that the position of the contact is in accordance with the selection condition of the cursor, enabling the cursor line of the cursor and an information label corresponding to the cursor line, and enabling the cursor line and the information label corresponding to the cursor line to be in a selected state; if the position of the contact on the touch screen is consistent with the position of an information label of a cursor, judging that the position of the contact is consistent with the selection condition of the cursor, enabling the information label of the cursor and a cursor line corresponding to the information label, and enabling the information label and the cursor line corresponding to the information label to be in a selected state;
capturing a sliding track of a contact on the touch screen;
adjusting the position of the enabled cursor according to the sliding track;
the process of performing touch operation on the touch screen to drag the cursor to move specifically includes steps S610-S660:
step S610, when a vertical cursor line X1 on the touch screen is touched, the cursor line X1 and the corresponding information labels [. DELTA.X ], [ X1& Y1] are enabled and selected, and at the moment, the cursor line X1 and the information labels [. DELTA.X ], [ X1& Y1] are dragged to a measuring position through a finger or a touch pen; analogize in sequence, when the vertical cursor line X2 is touched, the cursor line X2 and the information labels [. DELTA.X ], [ X2& Y2] are dragged to the measuring position;
step S620, when a horizontal cursor line Y1 on the touch screen is touched, the cursor line Y1 and the corresponding information labels [. DELTA.Y ], [ X1& Y1] are enabled and selected, and at the moment, the cursor line Y1 and the information labels [. DELTA.Y ], [ X1& Y1] are dragged to a measuring position through a finger or a touch pen; analogy is carried out in sequence, when the vertical cursor line Y2 is touched, the cursor line Y2 and the information labels [ delta Y ], [ X2& Y2] are dragged to the measuring position;
step S630, when the information label [. DELTA.X ] on the touch screen is touched, the information label [. DELTA.X ] and the corresponding cursor lines X1 and X2 are enabled and selected, and at the moment, the information label [. DELTA.X ] and the cursor lines X1 and X2 and the information labels [ X1& Y1], [ X2& Y2] corresponding to the cursor lines are dragged to move to the measuring position by a finger or a touch pen;
step S640, when the information label [ Delta Y ] on the touch screen is touched, the information label [ Delta Y ] and the corresponding cursor lines Y1 and Y2 are enabled and selected, and at the moment, the information label [ Delta Y ] and the cursor lines Y1 and Y2 as well as the information labels [ X1& Y1], [ X2& Y2] corresponding to the cursor lines are dragged to move to the measuring position by a finger or a touch pen;
step S650, when the information label [ X1& Y1] on the touch screen is touched, the information label [ X1& Y1] and the corresponding cursor line X1, Y1 are enabled and selected, and at the moment, the information label [ X1& Y1] and the cursor line X1, Y1 and the information label [ Delta X ], [ DeltaY ] corresponding to the cursor line are dragged to move to the measuring position by a finger or a touch pen;
step S660, when the information label [ X2& Y2] on the touch screen is touched, the information label [ X2& Y2] and the corresponding cursor line X2 and Y2 are enabled and selected, and at the moment, the information label [ X2& Y2] and the cursor line X2 and Y2 and the information label [. DELTA.X ], [. DELTA.Y ] corresponding to the cursor line are dragged to move to the measuring position through a finger or a touch pen.
2. A cursor touch method according to claim 1,
the positions of the contacts on the touch screen are matched with the position of a cursor line of a cursor, and the positions of the contacts on the touch screen are on the cursor line of the cursor or in an area adjacent to the cursor line;
the position of the contact point on the touch screen is consistent with the position of an information label of a cursor, and the position of the contact point on the touch screen is on the information label or in the area adjacent to the information label.
3. The cursor touch method of claim 1, wherein the adjusting the position of the enabled cursor according to the sliding track comprises:
dragging an enabled cursor to perform position adjustment on the touch screen in response to the sliding track of the contact point, comprising: dragging the enabled cursor to move from the starting position of the sliding track, and moving the enabled cursor to the end position of the sliding track according to the sliding direction of the sliding track.
4. A cursor touch device, comprising:
a display unit for displaying a plurality of cursors on a touch screen; the cursor comprises a cursor line and an information label, and the information label is used for displaying the measurement information of the cursor line; the measurement information comprises voltage information and time information of the positions of the cursor lines and difference information between the cursor lines; the cursor lines of each cursor form at least one pair of vertical cursor lines and at least one pair of horizontal cursor lines on the touch screen, the measurement information of the position of each cursor line is displayed through the corresponding information label, the measurement information of the difference value between the two cursor lines of any pair of vertical cursor lines is displayed through the corresponding information label, and the measurement information of the difference value between the two cursor lines of any pair of horizontal cursor lines is displayed through the corresponding information label;
the touch point detection unit is used for detecting the position of a touch point of a user on the touch screen;
the cursor enabling unit is used for judging that the position of the contact meets the selection condition of the cursor and enabling the cursor meeting the selection condition; the cursor enabling unit comprises a first enabling module and a second enabling module; the first enabling module is used for judging that the position of the contact point accords with the selection condition of the cursor when the position of the contact point on the touch screen accords with the position of the cursor line of the cursor, and enabling the cursor line of the cursor and the information label corresponding to the cursor line to enable the cursor line and the information label corresponding to the cursor line to be in the selected state; the second enabling module is used for judging that the position of the contact point accords with the selection condition of the cursor when the position of the contact point on the touch screen accords with the current position of the information label of the cursor, and enabling the information label of the cursor and the cursor line corresponding to the information label to enable the information label and the cursor line corresponding to the information label to be in the selected state;
the track capturing unit is used for capturing a sliding track of a contact on the touch screen;
the cursor adjusting unit is used for adjusting the position of the enabled cursor according to the sliding track;
the process of performing touch operation on the touch screen to drag the cursor to move specifically includes steps S610-S660:
step S610, when a vertical cursor line X1 on the touch screen is touched, the cursor line X1 and the corresponding information labels [. DELTA.X ], [ X1& Y1] are enabled and selected, and at the moment, the cursor line X1 and the information labels [. DELTA.X ], [ X1& Y1] are dragged to a measuring position through a finger or a touch pen; analogize in sequence, when the vertical cursor line X2 is touched, the cursor line X2 and the information labels [. DELTA.X ], [ X2& Y2] are dragged to the measuring position;
step S620, when a horizontal cursor line Y1 on the touch screen is touched, the cursor line Y1 and the corresponding information labels [. DELTA.Y ], [ X1& Y1] are enabled and selected, and at the moment, the cursor line Y1 and the information labels [. DELTA.Y ], [ X1& Y1] are dragged to a measuring position through a finger or a touch pen; analogy is carried out in sequence, when the vertical cursor line Y2 is touched, the cursor line Y2 and the information labels [ delta Y ], [ X2& Y2] are dragged to the measuring position;
step S630, when the information label [. DELTA.X ] on the touch screen is touched, the information label [. DELTA.X ] and the corresponding cursor lines X1 and X2 are enabled and selected, and at the moment, the information label [. DELTA.X ] and the cursor lines X1 and X2 and the information labels [ X1& Y1], [ X2& Y2] corresponding to the cursor lines are dragged to move to the measuring position by a finger or a touch pen;
step S640, when the information label [ Delta Y ] on the touch screen is touched, the information label [ Delta Y ] and the corresponding cursor lines Y1 and Y2 are enabled and selected, and at the moment, the information label [ Delta Y ] and the cursor lines Y1 and Y2 as well as the information labels [ X1& Y1], [ X2& Y2] corresponding to the cursor lines are dragged to move to the measuring position by a finger or a touch pen;
step S650, when the information label [ X1& Y1] on the touch screen is touched, the information label [ X1& Y1] and the corresponding cursor line X1, Y1 are enabled and selected, and at the moment, the information label [ X1& Y1] and the cursor line X1, Y1 and the information label [ Delta X ], [ DeltaY ] corresponding to the cursor line are dragged to move to the measuring position by a finger or a touch pen;
step S660, when the information label [ X2& Y2] on the touch screen is touched, the information label [ X2& Y2] and the corresponding cursor line X2 and Y2 are enabled and selected, and at the moment, the information label [ X2& Y2] and the cursor line X2 and Y2 and the information label [. DELTA.X ], [. DELTA.Y ] corresponding to the cursor line are dragged to move to the measuring position through a finger or a touch pen.
5. A digital oscilloscope, comprising:
the touch screen is used for displaying a cursor and/or a signal waveform and receiving touch operation of a user;
a cursor touch device as claimed in claim 4.
6. A computer-readable storage medium, characterized by comprising a program executable by a processor to implement the method of any one of claims 1-3.
CN201810863617.4A 2018-08-01 2018-08-01 Cursor touch method, cursor touch device and digital oscilloscope Active CN109144387B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810863617.4A CN109144387B (en) 2018-08-01 2018-08-01 Cursor touch method, cursor touch device and digital oscilloscope

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810863617.4A CN109144387B (en) 2018-08-01 2018-08-01 Cursor touch method, cursor touch device and digital oscilloscope

Publications (2)

Publication Number Publication Date
CN109144387A CN109144387A (en) 2019-01-04
CN109144387B true CN109144387B (en) 2021-03-30

Family

ID=64799423

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810863617.4A Active CN109144387B (en) 2018-08-01 2018-08-01 Cursor touch method, cursor touch device and digital oscilloscope

Country Status (1)

Country Link
CN (1) CN109144387B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111309244A (en) * 2020-03-13 2020-06-19 深圳市澎湃动力电子科技有限公司 Method for simulating touch operation by knob device
CN113064535B (en) * 2021-04-26 2022-09-13 北京世冠金洋科技发展有限公司 Vernier display method and device for two-dimensional chart, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102466762A (en) * 2010-11-03 2012-05-23 北京普源精电科技有限公司 Parameter setting method and device for spectrum analyzer
CN103425398A (en) * 2012-05-16 2013-12-04 瑞萨电子(中国)有限公司 Operating method and operating device for translating and scaling logic waveforms
CN103488393A (en) * 2013-09-03 2014-01-01 中国电子科技集团公司第四十一研究所 Multi-domain association analysis parameter setting method for microwave signal analyzer
CN103809808A (en) * 2014-01-25 2014-05-21 深圳麦科信仪器有限公司 Method and device for horizontal movement of waveform based on touch screen
CN103902221A (en) * 2014-03-26 2014-07-02 深圳麦科信仪器有限公司 Touch oscilloscope cursor operating method and device
US20160041723A1 (en) * 2014-08-08 2016-02-11 Facebook, Inc. Systems and methods for manipulating ordered content items
CN107290577A (en) * 2017-08-14 2017-10-24 武汉虹信通信技术有限责任公司 A kind of oscilloscope data processing system and method
CN108205527A (en) * 2016-12-16 2018-06-26 深圳联友科技有限公司 A kind of method for drafting and device of engine data balance

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102466762A (en) * 2010-11-03 2012-05-23 北京普源精电科技有限公司 Parameter setting method and device for spectrum analyzer
CN103425398A (en) * 2012-05-16 2013-12-04 瑞萨电子(中国)有限公司 Operating method and operating device for translating and scaling logic waveforms
CN103488393A (en) * 2013-09-03 2014-01-01 中国电子科技集团公司第四十一研究所 Multi-domain association analysis parameter setting method for microwave signal analyzer
CN103809808A (en) * 2014-01-25 2014-05-21 深圳麦科信仪器有限公司 Method and device for horizontal movement of waveform based on touch screen
CN103902221A (en) * 2014-03-26 2014-07-02 深圳麦科信仪器有限公司 Touch oscilloscope cursor operating method and device
US20160041723A1 (en) * 2014-08-08 2016-02-11 Facebook, Inc. Systems and methods for manipulating ordered content items
CN108205527A (en) * 2016-12-16 2018-06-26 深圳联友科技有限公司 A kind of method for drafting and device of engine data balance
CN107290577A (en) * 2017-08-14 2017-10-24 武汉虹信通信技术有限责任公司 A kind of oscilloscope data processing system and method

Also Published As

Publication number Publication date
CN109144387A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
CN203894708U (en) Touchpen detection device for detecting touch from touchpen
US8907910B2 (en) Context based gesture-controlled instrument interface
US20160070461A1 (en) Multitouch gestures for a measurement system
US10877659B2 (en) Method for controlling the magnification level on a display
US20110254806A1 (en) Method and apparatus for interface
US20120105367A1 (en) Methods of using tactile force sensing for intuitive user interface
US8542199B2 (en) Image processing apparatus, image processing method, and program
CN103176633B (en) A kind of touch-screen method for preventing misoperation, device and system
JP2015518212A (en) Unlocking method, device and electronic terminal
CN109144387B (en) Cursor touch method, cursor touch device and digital oscilloscope
US9727228B2 (en) Method for selecting waveforms on electronic test equipment
US9507515B2 (en) System and method for data selection by means of a touch-sensitive surface
US20100214235A1 (en) Electronic Device and Method of Touch Screen Input Detection
CN104182144A (en) Mobile terminal interface browsing method and system
CN106325726B (en) Touch interaction method
CN202133989U (en) Terminal unit and icon position exchanging device thereof
US8786569B1 (en) Intermediate cursor touchscreen protocols
US9582185B2 (en) Method for scale adjustment of touch-based measurement equipment
US9640161B2 (en) Musical score displaying and performing program, and musical score displaying and performing device
US20170285902A1 (en) Modifying Settings of an Electronic Test or Measurement Instrument
CN105068734A (en) Sliding control method and device for terminal
CN103729104B (en) Electronic apparatus provided with resistive film type touch panel
JP6516437B2 (en) Waveform display
KR20190028961A (en) Gesture recognition based touch display apparatus
CN109471578B (en) Waveform local display method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 518000, 3 floors of 4 workshops and 1-3 floors of 5 office buildings of Antongda industrial plant, 68 District, Xingdong community, Xin'an street, Bao'an District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen dingyang Technology Co.,Ltd.

Address before: 518000 3rd floor, building 4, Antongda Industrial Park, liuxiansan Road, 68 District, Bao'an District, Shenzhen City, Guangdong Province

Applicant before: SHENZHEN CITY SIGLENT TECHNOLOGIES Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant