WO2021184742A1 - 一种基于鼠标的快速波形编辑方法 - Google Patents

一种基于鼠标的快速波形编辑方法 Download PDF

Info

Publication number
WO2021184742A1
WO2021184742A1 PCT/CN2020/120846 CN2020120846W WO2021184742A1 WO 2021184742 A1 WO2021184742 A1 WO 2021184742A1 CN 2020120846 W CN2020120846 W CN 2020120846W WO 2021184742 A1 WO2021184742 A1 WO 2021184742A1
Authority
WO
WIPO (PCT)
Prior art keywords
event
mouse
edge
selected edge
scroll
Prior art date
Application number
PCT/CN2020/120846
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 US17/426,216 priority Critical patent/US11928270B2/en
Publication of WO2021184742A1 publication Critical patent/WO2021184742A1/zh

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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0362Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 1D translations or rotations of an operating part of the device, e.g. scroll wheels, sliders, knobs, rollers or belts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03543Mice or pucks
    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/31Design entry, e.g. editors specifically adapted for circuit design
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the design of the present invention belongs to the field of semiconductor (Automatic Test Equipment, ATE for short) automated test equipment, and mainly relates to the design of waveform editing software in a host computer, in particular a fast waveform editing method based on a mouse.
  • semiconductor Automatic Test Equipment, ATE for short
  • the automated test equipment adopts the Microcontroller Unit (MCU), Programmable Logic Controller (PLC), Personal Computer (PC) based on the customer’s test requirements, drawings and reference plans.
  • MCU Microcontroller Unit
  • PLC Programmable Logic Controller
  • PC Personal Computer
  • VB or VC development platform using TestStand&LabVIEW and JTAG/Boundary Scan and other technologies to develop and design various automated test equipment.
  • Automated test equipment can be composed of a set of channels with a certain memory depth, a series of clock generators, and multiple power supplies.
  • the clock generator is used to generate pulses.
  • pulse waveforms of different frequencies and bandwidths are required. Therefore, pulse waveform editing is an indispensable task for using automated test equipment.
  • the current pulse waveform editing program is: first select the edge of the pulse waveform with the left mouse button, and then drag to realize the editing of the pulse waveform.
  • this program performs precise control of the pulse waveform, only the left and right buttons are used. There are too few shortcut operations that can be defined to cover common operations in the waveform editing process, which is tedious and time-consuming.
  • the present invention provides a mouse-based fast waveform editing method, which uses the mouse wheel and clicks on the wheel to select the edge, and the left mouse button can be released for other purposes, that is, during the waveform editing process
  • the left button of the middle mouse is more suitable for operating the left shift of the waveform edge.
  • the present invention provides a fast waveform editing method based on a mouse.
  • the mouse includes a left button, a right button, a mouse wheel and a mouse button, and is characterized in that it includes the following steps;
  • Step S1 receiving the original waveform to be edited and setting an editing task, where the editing task includes single waveform editing or full waveform editing, which is used to edit the edge waveform of at least one pulse waveform;
  • Step S2 Monitor the mouse event and determine the type of the mouse event, where the types of the mouse event include a left button event, a scroll wheel event, and a right button event; if it is a left button event, perform step S3; if it is a scroll wheel event, perform step S4 ; If it is a right-click event, execute step S5;
  • Step S3 Receive the occurrence of the monitored left key event and there is a selected edge, then move the selected edge to the left by a predetermined distance;
  • Step S4 Receive the monitored occurrence of the scroll wheel event and there is a selected edge, then move the selected edge up or down a predetermined distance;
  • Step S5 Receive the monitored right-click event occurrence and there is a selected edge, then move the selected edge to the right by a predetermined distance.
  • the scroll wheel event includes a pressing event. If the mouse scroll wheel triggers the pressing event and there is an edge at the pressing point, the edge is selected, that is, the scroll wheel pressing event is used to select the edge, and the scroll event includes scrolling up and scrolling down. , If the scroll wheel triggers upward scrolling and there is a selected edge, it will move upward until the pressing event of the scroll wheel ends, that is, the mouse wheel pressing is released; if the scroll wheel triggers downward scrolling and there is a selected edge, it will move downward until the scroll wheel is pressed. The pressing event ends, that is, the pressing of the mouse wheel is released; wherein the pressing event of the mouse scroll includes two operations: scroll pressing and scroll releasing.
  • the scroll wheel event includes a scroll event. If the mouse wheel triggers a click event and there is an edge at the click point, the edge is selected, that is, the scroll wheel click event is used to select the edge, and the scroll event includes scroll up and scroll down. , If the scroll wheel triggers upward scrolling and the selected edge moves up a predetermined distance; if the scroll wheel triggers downward scrolling and there is a selected edge, it moves downward a predetermined distance.
  • the left button event includes a pressing event and a click event. If the pressing event occurs and there is a selected edge, the selected edge continues to move left until the left button pressing event ends, that is, the left mouse button is released; if the mouse When the click event of the left button occurs and there is a selected edge, the selected edge is moved to the left by the predetermined distance; wherein, the click event of the left mouse button includes two operations of pressing the left button and releasing the left button.
  • the right-click event includes a pressing event and a click event. If the pressing event occurs and there is a selected edge, the selected edge continues to move to the right until the right-click event ends, that is, the right mouse button is released; if the right mouse button is clicked When an event occurs and there is a selected edge, the selected edge is moved one predetermined distance to the right; wherein, the click event of the right mouse button includes two operations of pressing the right button and releasing the right button.
  • the predetermined distance among the left key event, the scroll wheel event, and the right key event is set by the editing task.
  • the above technical solution can release the left mouse button for other purposes, and the left mouse button is more suitable for operating the left shift of the waveform edge during the waveform editing process.
  • Figure 1 is a schematic diagram of the mouse-based fast waveform editing method of the present invention
  • Figure 2 is a schematic diagram of the usage state of the mouse wheel, the left mouse button and the right mouse button in each step of the mouse-based fast waveform editing method of the present invention
  • Figure 3 is a schematic diagram of a specific embodiment of the mouse-based fast waveform editing method of the present invention
  • Figure 1 is a schematic diagram of a mouse-based fast waveform editing method in an embodiment of the present invention. Schematic diagram of the use status of the right mouse button.
  • the mouse-based fast waveform editing method the mouse includes a left button, a right button, a mouse wheel, and a mouse button, which includes the following steps;
  • Step S1 Receive the original waveform to be edited and set an editing task, where the editing task includes single waveform editing or full waveform editing, which is used to edit the edge waveform of at least one pulse waveform.
  • the waveform is usually a series of pulse wave waveforms in the pulse wave. Before starting to edit the waveform, you need to set the editing task. If you only need to edit one of the waveforms, you can set the editing task to single waveform editing. If the edited waveform is a series of pulse waveforms, you can set the editing task. For full waveform editing.
  • Step S2 Monitor the mouse event and determine the type of the mouse event, where the types of the mouse event include a left button event, a scroll wheel event, and a right button event; if it is a left button event, perform step S3; if it is a scroll wheel event, perform step S4 ; If it is a right-click event, go to step S5.
  • the types of the mouse event include a left button event, a scroll wheel event, and a right button event; if it is a left button event, perform step S3; if it is a scroll wheel event, perform step S4 ; If it is a right-click event, go to step S5.
  • FIG. 2 is a schematic diagram of a specific execution flow of a left button event, a scroll wheel event, and a right button event included in the mouse event type in an embodiment of the present invention.
  • Step S3 Receive the occurrence of the monitored left key event and there is a selected edge, then move the selected edge to the left by a predetermined distance.
  • the left button event includes a press event and a click event. If the press event occurs and there is a selected edge, the selected edge continues to move left until the left button press event ends, that is, the left mouse button is released; if When the click event of the left mouse button occurs and there is a selected edge, the selected edge is moved to the left by a predetermined distance; wherein, the click event of the left mouse button includes two operations of pressing the left button and releasing the left button.
  • Step S4 Receive the monitored occurrence of the scroll wheel event and there is a selected edge, then move the selected edge up or down a predetermined distance;
  • the scroll wheel event includes a pressing event and a scroll event.
  • the scroll wheel event is a pressing event
  • the edge is selected, that is, the scroll wheel pressing event is used to select the edge.
  • the scroll event includes scrolling up and scrolling down.
  • the scroll wheel triggers upward scrolling and the selected edge moves upward until the pressing event of the scroll wheel ends, that is, the mouse wheel pressing is released; if the scroll wheel triggers downward scrolling and there is a selected edge, it moves downward until the scroll wheel press event End, that is, the pressing of the mouse wheel is released; wherein the pressing event of the mouse scroll includes two operations: scroll pressing and scroll releasing.
  • the scroll wheel event is a click event, that is, if the mouse wheel triggers the click event and there is an edge at the click point, the edge is selected, that is, the scroll wheel click event is used to select the edge.
  • the scroll event includes scroll up and scroll down. If the scroll wheel triggers upward scrolling and there is a selected edge, it moves upward a predetermined distance; if the scroll wheel triggers downward scrolling and there is a selected edge, it moves downward a predetermined distance.
  • Step S5 Receive the monitored right-click event occurrence and there is a selected edge, then move the selected edge to the right by a predetermined distance.
  • the right-click event includes a pressing event and a click event. If the pressing event occurs and there is a selected edge, the selected edge continues to move to the right until the right-click event ends, that is, the right mouse button is released; When a right-click event occurs and there is a selected edge, the selected edge moves a predetermined distance to the right; wherein, the right-click event of the mouse includes two operations of pressing the right button and releasing the right button.
  • the predetermined distance of movement in the left button event, scroll wheel event, and right button event included in the mouse event type is set by the editing task.
  • FIG. 3 is a schematic diagram of a specific embodiment of the mouse-based fast waveform editing method of the present invention.
  • the mouse wheel operation is incorporated into the waveform editing, and the wheel click is used as the selection operation of the waveform edge, and the operation on the waveform edge corresponds to the mouse operation.
  • Move the edge up, the scroll wheel down corresponds to the edge move down, the left click corresponds to the edge move left, and the right click corresponds to the edge move right.
  • the operations in the four directions of the waveform edge up, down, left, and right correspond to the mouse operation one by one, which is convenient for the user Precise control and adjustment of the waveform.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • Position Input By Displaying (AREA)

Abstract

一种基于鼠标的快速波形编辑方法,其包括:接收需编辑的原始波形并设置编辑任务,其中,所述编辑任务包括单波形编辑或全波形编辑,用于编辑至少一个脉冲波波形的边沿波形;监听鼠标事件并判断鼠标事件的类型,其中,鼠标事件的类型包括左键事件、滚轮事件和右键事件;若是左键事件,则接收监听到的左键事件发生,且有选中的边沿,则将选中边沿左移一预定距离;若是滚轮事件,接收监听到的滚轮事件发生,且有选中的边沿,则将选中边沿上移或下移一预定距离;若是右键事件,则接收监听到的右键事件发生,且有选中的边沿,则将选中边沿右移一预定距离。因此,该方法将鼠标左键释放出来,且可以通过鼠标滚轮选中边沿后,将其移动到理想的位置。

Description

一种基于鼠标的快速波形编辑方法
交叉引用
本申请要求2020年03月20日提交的申请号为CN202010205488.7的中国专利申请的优先权。上述申请的内容以引用方式被包含于此。
技术领域
本发明设计属于半导体(Automatic Test Equipment,简称ATE)自动化测试设备领域,主要涉及上位机中的波形编辑软件的设计,尤其一种基于鼠标的快速波形编辑方法。
背景技术
自动化测试设备根据客户的测试要求、图纸和参考方案,采用微控制单元(Microcontroller Unit,简称MCU)、可编程逻辑控制器(Programmable Logic Controller,简称PLC)、个人计算机(Personal Computer,简称PC)基于VB或VC开发平台,利用TestStand&LabVIEW和JTAG/Boundary Scan等技术开发和设计各类自动化测试设备。
自动化测试设备可以由一定内存深度的一组通道、一系列时钟发生器及多个电源组成。时钟发生器用于产生脉冲,在不同的测试过程中,需要不同频率和频宽的脉冲波形。因此,脉冲波形编辑是采用自动化测试设备不可或缺的工作。
当前脉冲波形编辑方案为:首先通过鼠标左键选中脉冲波形的边沿,然后进行拖拽,以实现对脉冲波形的编辑,此方案对脉冲波形做精确控制时,只利用的左键以及右键,所能够定义的快捷操作太少,不能够覆盖波形编辑过程中的常用操作,比较繁琐且耗费时间。
发明内容
为了克服以上问题,本发明提供一种基于鼠标的快速波形编辑方法,其利用鼠标滚轮,并以滚轮的点击来选中边沿,可以将鼠标左键释放出来留做它用,即在波形编辑的过程中鼠标左键更为合适用于操作波形边沿的左移。
为实现上述目的,本发明的技术方案如下:
本发明提供一种基于鼠标的快速波形编辑方法,所述鼠标包括左按键、右按键、鼠标滚轮和鼠标按键,其特征在于,包括如下步骤;
步骤S1:接收需编辑的原始波形并设置编辑任务,其中,所述编辑任务包括单波形编辑或全波形编辑,用于编辑至少一个脉冲波波形的边沿波形;
步骤S2:监听鼠标事件并判断鼠标事件的类型,其中,所述鼠标事件的类型包括左键事件、滚轮事件和右键事件;若是左键事件,则执行步骤S3;若是滚轮事件,则执行步骤S4;若是右键事件,则执行步骤S5;
步骤S3:接收监听到的所述左键事件发生,且有选中的边沿,则将选中边沿左移一预定距离;
步骤S4:接收监听到的所述滚轮事件发生,且有选中的边沿,则将选中边沿上移或下移一预定距离;
步骤S5:接收监听到的所述右键事件发生,且有选中的边沿,则将选中边沿右移一预定距离。
优选地,所述滚轮事件包括按压事件,若鼠标滚轮触发了按压事件且按压点处有边沿,则选中边沿,即滚轮的按压事件是用来选中边沿的,滚动事件包括向上滚动和向下滚动,若滚轮触发了向上滚动有选中的边沿则向上移动,直到滚轮的按压事件结束,即鼠标滚轮的按压被释放;若滚轮触发了向下滚动且有选中的边沿则向下移动,直到滚轮的按压事件结束,即鼠标滚轮的按压被释放;其中,所述鼠标滚动的按压事件包含滚动按压以及滚动释放两个操作。
优选地,所述滚轮事件包括滚动事件,若鼠标滚轮触发了点击事件且点击点处有边沿,则选中边沿,即滚轮的点击事件是用来选中边沿的,滚动事件包括向上滚动和向下滚动,若滚轮触发了向上滚动有选中的边沿则向上移动一个预定距离;若滚轮触发了向下滚动且有选中的边沿则向下移动一个所 述预定距离。
优选地,所述左键事件包括按压事件和点击事件,若按压事件发生且有选中的边沿,则选中边沿持续左移,直到左键按压事件结束,即鼠标左键被释放;若所述鼠标左键的点击事件发生且有选中边沿,则选中边沿左移一个所述预定距离;其中,所述鼠标左键的点击事件包含左键按压以及左键释放两个操作。
优选地,所述右键事件包括按压事件和点击事件,若按压事件发生且有选中的边沿,则选中边沿持续右移,直到右键按压事件结束,即鼠标右键被释放;若所述鼠标右键的点击事件发生且有选中边沿,则选中边沿右移一个所述预定距离;其中,所述鼠标右键的点击事件包含右键按压以及右键释放两个操作。
优选地,所述左键事件、滚轮事件和右键事件中的预定距离由所述编辑任务设定。
从上述技术方案可以看出,上述技术方案可以将鼠标左键释放出来留做他用,而在波形编辑的过程中鼠标左键更为合适用于操作波形边沿的左移。
此外,上述技术方案可以很方便的实现精确控制:通过鼠标滚轮选中边沿后,先将其拖拽到理想位置附近,然后通过鼠标左(右)键的点击,以及滚轮上(下)的滚动,将其移动到理想的位置。
附图说明
图1为本发明基于鼠标的快速波形编辑方法示意图
图2为本发明基于鼠标的快速波形编辑方法各步骤中鼠标滚轮、鼠标左键和鼠标右键的使用状态示意图
图3为本发明基于鼠标的快速波形编辑方法一具体实施例示意图
具体实施方式
体现本发明特征与优点的实施例将在后段的说明中详细叙述。应理解的是本发明能够在不同的示例上具有各种的变化,其皆不脱离本发明的范围,且其中的说明及图示在本质上当做说明之用,而非用以限制本发明。
以下结合附图1-2,通过具体实施例对本发明的基于鼠标的快速波形编 辑方法作进一步详细说明。
请参阅图1和图2,图1为本发明实施例中基于鼠标的快速波形编辑方法示意图;图2为本发明实施例中基于鼠标的快速波形编辑方法各步骤中鼠标滚轮、鼠标左键和鼠标右键的使用状态示意图。
如图1所示,该基于鼠标的快速波形编辑方法,所述鼠标包括左按键、右按键、鼠标滚轮和鼠标按键,其包括如下步骤;
步骤S1:接收需编辑的原始波形并设置编辑任务,其中,所述编辑任务包括单波形编辑或全波形编辑,用于编辑至少一个脉冲波波形的边沿波形。
在本发明的实施例中,该波形通常为脉冲波中的一系列脉冲波波形。在开始编辑波形前,需要设置编辑任务,如果仅需要编辑其中的一个波形,可以将该编辑任务设置为单波形编辑,如果所编辑的波形是一系列脉冲波波形,则将可以该编辑任务设置为全波形编辑。
步骤S2:监听鼠标事件并判断鼠标事件的类型,其中,所述鼠标事件的类型包括左键事件、滚轮事件和右键事件;若是左键事件,则执行步骤S3;若是滚轮事件,则执行步骤S4;若是右键事件,则执行步骤S5。
请参阅图2,图2所示为本发明实施例中鼠标事件类型所包括左键事件、滚轮事件和右键事件的具体执行流程示意图。
步骤S3:接收监听到的所述左键事件发生,且有选中的边沿,则将选中边沿左移一预定距离。
如图2所示,所述左键事件包括按压事件和点击事件,若按压事件发生且有选中的边沿,则选中边沿持续左移,直到左键按压事件结束,即鼠标左键被释放;若所述鼠标左键的点击事件发生且有选中边沿,则选中边沿左移一个预定距离;其中,所述鼠标左键的点击事件包含左键按压以及左键释放两个操作。
步骤S4:接收监听到的所述滚轮事件发生,且有选中的边沿,则将选中边沿上移或下移一预定距离;
如图2所示,在本发明的实施例中,所述滚轮事件包括按压事件与滚动事件。所述滚轮事件为按压事件时,若鼠标滚轮触发了按压事件且按压点处有边沿,则选中边沿,即滚轮的按压事件是用来选中边沿的,滚动事件包括向上滚动和向下滚动,若滚轮触发了向上滚动有选中的边沿则向上移动,直 到滚轮的按压事件结束,即鼠标滚轮的按压被释放;若滚轮触发了向下滚动且有选中的边沿则向下移动,直到滚轮的按压事件结束,即鼠标滚轮的按压被释放;其中,所述鼠标滚动的按压事件包含滚动按压以及滚动释放两个操作。
所述滚轮事件为点击事件时,即若鼠标滚轮触发了点击事件且点击点处有边沿,则选中边沿,即滚轮的点击事件是用来选中边沿的,滚动事件包括向上滚动和向下滚动,若滚轮触发了向上滚动有选中的边沿则向上移动一个预定距离;若滚轮触发了向下滚动且有选中的边沿则向下移动一个所述预定距离。
步骤S5:接收监听到的所述右键事件发生,且有选中的边沿,则将选中边沿右移一预定距离。
如图2所示,所述右键事件包括按压事件和点击事件,若按压事件发生且有选中的边沿,则选中边沿持续右移,直到右键按压事件结束,即鼠标右键被释放;若所述鼠标右键的点击事件发生且有选中边沿,则选中边沿右移一个预定距离;其中,所述鼠标右键的点击事件包含右键按压以及右键释放两个操作。
需要说明的是,所述鼠标事件类型所包括的左键事件、滚轮事件和右键事件中的移动预定距离由所述编辑任务设定。
请参阅图3,图3为本发明基于鼠标的快速波形编辑方法一具体实施例示意图。如图3所示,在本发明的实施例中,将鼠标滚轮操作纳入到波形编辑中,以滚轮点击作为波形边沿的选中操作,将对于波形边沿的操作与鼠标操作对应起来,滚轮上滑对应于边沿上移,滚轮下滑对应于边沿下移,左键点击对应于边沿左移,右键点击对应于边沿右移,将波形边沿上下左右四个方向的操作与鼠标操作一一对应,方便了用户对波形进行精确的控制和调整。
以上的仅为本发明的实施例,实施例并非用以限制本发明的专利保护范围,因此凡是运用本发明的说明书及附图内容所作的等同结构变化,同理均应包含在本发明的保护范围内。

Claims (6)

  1. 一种基于鼠标的快速波形编辑方法,所述鼠标包括左按键、右按键、鼠标滚轮和鼠标按键,其特征在于,包括如下步骤;
    步骤S1:接收需编辑的原始波形并设置编辑任务,其中,所述编辑任务包括单波形编辑或全波形编辑,用于编辑至少一个脉冲波波形的边沿波形;
    步骤S2:监听鼠标事件并判断鼠标事件的类型,其中,所述鼠标事件的类型包括左键事件、滚轮事件和右键事件;若是左键事件,则执行步骤S3;若是滚轮事件,则执行步骤S4;若是右键事件,则执行步骤S5;
    步骤S3:接收监听到的所述左键事件发生,且有选中的边沿,则将选中边沿左移一预定距离;
    步骤S4:接收监听到的所述滚轮事件发生,且有选中的边沿,则将选中边沿上移或下移一预定距离;
    步骤S5:接收监听到的所述右键事件发生,且有选中的边沿,则将选中边沿右移一预定距离。
  2. 根据权利要求1所述的基于鼠标的快速波形编辑方法,其特征在于,所述滚轮事件为按压事件时,若鼠标滚轮触发了按压事件且按压点处有边沿,则选中边沿,即滚轮的按压事件是用来选中边沿的,滚动事件包括向上滚动和向下滚动,若滚轮触发了向上滚动有选中的边沿则向上移动,直到滚轮的按压事件结束,即鼠标滚轮的按压被释放;若滚轮触发了向下滚动且有选中的边沿则向下移动,直到滚轮的按压事件结束,即鼠标滚轮的按压被释放;其中,所述鼠标滚动的按压事件包含滚动按压以及滚动释放两个操作。
  3. 根据权利要求1所述的基于鼠标的快速波形编辑方法,其特征在于,所述滚轮事件包括点击事件,若鼠标滚轮触发了点击事件且点击点处有边沿,则选中边沿,即滚轮的点击事件是用来选中边沿的,滚动事件包括向上滚动和向下滚动,若滚轮触发了向上滚动有选中的边沿则向上移动一个预定距离;若滚轮触发了向下滚动且有选中的边沿则向下移动一个所述预定距离。
  4. 根据权利要求1所述的基于鼠标的快速波形编辑方法,其特征在于,所述 左键事件包括按压事件和点击事件,若按压事件发生且有选中的边沿,则选中边沿持续左移,直到左键按压事件结束,即鼠标左键被释放;若所述鼠标左键的点击事件发生且有选中边沿,则选中边沿左移一个所述预定距离;其中,所述鼠标左键的点击事件包含左键按压以及左键释放两个操作。
  5. 根据权利要求1所述的基于鼠标的快速波形编辑方法,其特征在于,所述右键事件包括按压事件和点击事件,若按压事件发生且有选中的边沿,则选中边沿持续右移,直到右键按压事件结束,即鼠标右键被释放;若所述鼠标右键的点击事件发生且有选中边沿,则选中边沿右移一个所述预定距离;其中,所述鼠标右键的点击事件包含右键按压以及右键释放两个操作。
  6. 根据权利要求2、3或4任意一个所述的基于鼠标的快速波形编辑方法,其特征在于,所述左键事件、滚轮事件和右键事件中的移动预定距离由所述编辑任务设定。
PCT/CN2020/120846 2020-03-20 2020-10-14 一种基于鼠标的快速波形编辑方法 WO2021184742A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/426,216 US11928270B2 (en) 2020-03-20 2020-10-14 Quick waveform editing method based on mouse

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010205488.7 2020-03-20
CN202010205488.7A CN111429552B (zh) 2020-03-20 2020-03-20 一种基于鼠标的快速波形编辑方法

Publications (1)

Publication Number Publication Date
WO2021184742A1 true WO2021184742A1 (zh) 2021-09-23

Family

ID=71548491

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/120846 WO2021184742A1 (zh) 2020-03-20 2020-10-14 一种基于鼠标的快速波形编辑方法

Country Status (3)

Country Link
US (1) US11928270B2 (zh)
CN (1) CN111429552B (zh)
WO (1) WO2021184742A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111429552B (zh) * 2020-03-20 2023-08-08 上海御渡半导体科技有限公司 一种基于鼠标的快速波形编辑方法

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003345361A (ja) * 2002-05-30 2003-12-03 Yamaha Corp 波形編集方法、波形編集装置およびプログラム
CN1556492A (zh) * 2003-12-30 2004-12-22 华东师范大学 一种图形化的核磁共振脉冲序列编译器
US20120042287A1 (en) * 2010-08-11 2012-02-16 Anritsu Corporation Emphasis-adding system and emphasis-adding method
CN102566867A (zh) * 2010-12-24 2012-07-11 北京普源精电科技有限公司 鼠标绘制波形的处理方法及装置
CN108236461A (zh) * 2017-12-22 2018-07-03 天津天堰科技股份有限公司 一种可进行编辑的心电信号的处理方法
CN111429552A (zh) * 2020-03-20 2020-07-17 上海御渡半导体科技有限公司 一种基于鼠标的快速波形编辑方法

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07160704A (ja) * 1993-12-06 1995-06-23 Canon Inc 文書編集装置
JPH11195053A (ja) * 1997-12-26 1999-07-21 Nec Eng Ltd テストパタン発生装置
US20070132733A1 (en) * 2004-06-08 2007-06-14 Pranil Ram Computer Apparatus with added functionality
CN101004644A (zh) * 2006-01-17 2007-07-25 吴东辉 一种光学触摸鼠标及光学触摸滚轮
US20090128504A1 (en) * 2007-11-16 2009-05-21 Garey Alexander Smith Touch screen peripheral device
CN101477436A (zh) * 2008-12-18 2009-07-08 腾讯科技(深圳)有限公司 对程序窗口的客户区进行交互的方法与系统
US20110028194A1 (en) * 2009-07-31 2011-02-03 Razer (Asia-Pacific) Pte Ltd System and method for unified-context mapping of physical input device controls to application program actions
CN101655750A (zh) * 2009-09-08 2010-02-24 萧日光 构建滚轮的方法及具有该滚轮的鼠标
CN107533391B (zh) * 2015-08-11 2021-03-19 可赛尔内存股份有限公司 具有移动模组的鼠标
CN107562340A (zh) * 2017-08-28 2018-01-09 北京白鹭时代信息技术有限公司 一种图形编辑类应用的辅助图形选择和编辑方法及装置
EP3665554A4 (en) * 2017-10-09 2021-05-05 Hewlett-Packard Development Company, L.P. REMOVABLE BUTTON ELEMENTS FOR ELECTRONIC POINTING DEVICES
US11327521B1 (en) * 2021-01-18 2022-05-10 Dell Products L.P. System and method for switching and on-device portability of personalized monitor profiles

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003345361A (ja) * 2002-05-30 2003-12-03 Yamaha Corp 波形編集方法、波形編集装置およびプログラム
CN1556492A (zh) * 2003-12-30 2004-12-22 华东师范大学 一种图形化的核磁共振脉冲序列编译器
US20120042287A1 (en) * 2010-08-11 2012-02-16 Anritsu Corporation Emphasis-adding system and emphasis-adding method
CN102566867A (zh) * 2010-12-24 2012-07-11 北京普源精电科技有限公司 鼠标绘制波形的处理方法及装置
CN108236461A (zh) * 2017-12-22 2018-07-03 天津天堰科技股份有限公司 一种可进行编辑的心电信号的处理方法
CN111429552A (zh) * 2020-03-20 2020-07-17 上海御渡半导体科技有限公司 一种基于鼠标的快速波形编辑方法

Also Published As

Publication number Publication date
US11928270B2 (en) 2024-03-12
CN111429552B (zh) 2023-08-08
US20240012495A1 (en) 2024-01-11
CN111429552A (zh) 2020-07-17

Similar Documents

Publication Publication Date Title
KR101004493B1 (ko) 사용자 인터페이스 구성요소를 가시화하기 위한 컴퓨터-구현된 방법, 사용자 인터페이스 오브젝트를 가시화하는 방법, 컴퓨터-판독가능 매체, 및 컴퓨터 시스템
US5754760A (en) Automatic software testing tool
CN107844331B (zh) 生成引导配置文件的方法、装置及设备
US6724409B1 (en) Tree-based graphical user interface for creating and editing machine control sequences
EP1808757A2 (en) Method for providing selectable alternate menu views
KR101118602B1 (ko) 장면 기반 테스트 자동화 방법 및 그 시스템
JPH0642210B2 (ja) 電子機器制御方法
WO2021184742A1 (zh) 一种基于鼠标的快速波形编辑方法
WO2008001749A1 (en) Parameter input receiving method
JP2007052011A (ja) トリガ機能設定方法
US20090064076A1 (en) Systems, methods and computer products for traversing schematic hierarchy using a scrolling mechanism
KR100246862B1 (ko) 툴 버튼의 설정 방법 및 편집 장치
US20150339127A1 (en) Configuration Change Tracking for Measurement Devices
CN104330764B (zh) 一种用于电表用电检测装置及其操作方法
US7405733B2 (en) Spline drawing in a computer-implemented graphics program
KR20120040419A (ko) 유저 인터페이스 자동 분석을 통한 테스트 케이스 생성 방법
CN109446082B (zh) 多线程测试流程项目配置系统
US9547479B2 (en) Method for adapting GUI-based instrument components in a visual programming language
CN109271677B (zh) 一种在线层次化修复版图格点问题的方法
KR101873655B1 (ko) 모니터링 화면 표시 방법
TWI652559B (zh) 鋼構建材之鑽孔加工設計方法
US20230236804A1 (en) Method and Apparatus for Automatic Programming
CN108595322A (zh) 一种应用测试方法及装置
WO2013073023A1 (ja) シーケンスプログラム作成装置
JP5744363B1 (ja) 作画ソフトウェア

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: 20925910

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: 20925910

Country of ref document: EP

Kind code of ref document: A1