US 11,928,270 B2
Quick waveform editing method based on mouse
Ryan Ren, Shanghai (CN); and Jiqiang Lyv, Shanghai (CN)
Assigned to SHANGHAI NCATEST TECHNOLOGIES CO., LTD, Shanghai (CN)
Appl. No. 17/426,216
Filed by SHANGHAI NCATEST TECHNOLOGIES CO., LTD., Shanghai (CN)
PCT Filed Oct. 14, 2020, PCT No. PCT/CN2020/120846
§ 371(c)(1), (2) Date May 6, 2023,
PCT Pub. No. WO2021/184742, PCT Pub. Date Sep. 23, 2021.
Claims priority of application No. 202010205488.7 (CN), filed on Mar. 20, 2020.
Prior Publication US 2024/0012495 A1, Jan. 11, 2024
Int. Cl. G06F 3/03 (2006.01); G06F 3/0362 (2013.01); G06F 3/0485 (2022.01); G06F 3/0487 (2013.01); G06F 30/31 (2020.01); G06F 3/0354 (2013.01)
CPC G06F 3/0362 (2013.01) [G06F 3/0485 (2013.01); G06F 3/0487 (2013.01); G06F 30/31 (2020.01); G06F 3/03543 (2013.01)] 7 Claims
OG exemplary drawing
 
1. A quick waveform editing method based on a mouse comprising a left button, a right button, a mouse wheel and a mouse button, comprising following steps:
step S1: receiving an original waveform which needs to be edited and setting an editing task, wherein, the editing task comprises a single waveform editing or a full waveform editing and is used to edit an edge waveform of a pulse wave waveform at least;
step S2: monitoring a mouse event and determining a type of the mouse event, wherein, the type of the mouse event comprises a left button event, a mouse wheel event and a right button event; in a case that the type of the mouse event is the left button event, performing step S3; in a case that the type of the mouse event is the mouse wheel event, performing step S4; in a case that the type of the mouse event is the right button event, performing step S5;
step S3: receiving occurrence of the left button event monitored, which has a selected edge, and moving the selected edge left by a predetermined distance;
step S4: receiving occurrence of the mouse wheel event monitored, which has thselected edge, and moving the selected edge up or down by the predetermined distance; and
step S5: receiving occurrence of the right button event monitored, which has thselected edge, and moving the selected edge right by the predetermined distance;
wherein the mouse wheel event comprises a press event and a scroll event, in a case that the mouse wheel triggers the press event and an edge exists in an press point, then the edge is selected as the selected edge, the press event of the mouse wheel is used to select the edge, the scroll event comprises scrolling up and scrolling down, in a case that the mouse wheel triggers the scrolling up, the selected edge is moved up till the press event of the mouse wheel is over, which is indicated by releasing the pressing of the mouse wheel; and in a case that the mouse wheel triggers the scrolling down, the selected edge is moved down till the press event of the mouse wheel is over, which is indicated by releasing the pressing of the mouse wheel; wherein, the press event of the mouse wheel comprises a rolling press operation and a rolling release operation.