WO2021023110A1 - 一种移动轨迹的绘制方法、终端、装置及计算机可读存储介质 - Google Patents
一种移动轨迹的绘制方法、终端、装置及计算机可读存储介质 Download PDFInfo
- Publication number
- WO2021023110A1 WO2021023110A1 PCT/CN2020/106228 CN2020106228W WO2021023110A1 WO 2021023110 A1 WO2021023110 A1 WO 2021023110A1 CN 2020106228 W CN2020106228 W CN 2020106228W WO 2021023110 A1 WO2021023110 A1 WO 2021023110A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal
- touch
- movement
- coordinate information
- track
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0354—Pointing 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/03547—Touch pads, in which fingers can move on a surface
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0354—Pointing 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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/0483—Interaction with page-structured environments, e.g. book metaphor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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/04883—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/80—Creating or modifying a manually drawn or painted image using a manual input device, e.g. mouse, light pen, direction keys on keyboard
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04808—Several contacts: gestures triggering a specific function, e.g. scrolling, zooming, right-click, when the user establishes several contacts with the surface simultaneously; e.g. using several fingers or a combination of fingers and pen
Definitions
- the embodiments of the present invention relate to the field of computer technology, in particular to a method, terminal, device, and computer-readable storage medium for drawing a moving track.
- the use of electronic whiteboards can effectively enhance the communication between users at multiple ends of the conference and enhance the experience of video conference participants.
- the Linux-based free and open source android system when drawing the movement track, receives the touch movement event for drawing the movement track, and draws the movement track according to the touch movement event.
- embodiments of the present invention provide a method, terminal, device, and computer-readable storage medium for drawing a moving track.
- the embodiment of the present invention provides a method for drawing a movement track, including: a terminal uses its own local framework layer to receive a touch movement event for drawing a movement track; wherein the touch movement event includes coordinate information of a touch point; Upon receiving a touch movement event, the terminal draws a movement track according to the coordinate information of the touch point.
- the embodiment of the present invention also provides a terminal, including: a receiving module, configured to use the local framework layer of the terminal to receive a touch movement event for drawing a movement track; wherein, the touch movement event includes coordinate information of a touch point
- the processing module is used to draw a movement track according to the coordinate information of the touch point whenever a touch movement event is received.
- An embodiment of the present invention also provides a device for drawing a movement track, including: a processor and a memory, wherein the memory stores the following commands that can be executed by the processor: the local framework layer of the terminal is used to receive the command for drawing the movement track.
- a touch movement event wherein the touch movement event includes coordinate information of a touch point; whenever a touch movement event is received, a movement track is drawn according to the coordinate information of the touch point.
- the embodiment of the present invention also provides a computer-readable storage medium that stores computer-executable commands, where the computer-executable commands are used to perform the following steps: use the local framework layer of the terminal to receive the touch used to draw the movement track A movement event; wherein the touch movement event includes coordinate information of a touch point; whenever a touch movement event is received, a movement track is drawn according to the coordinate information of the touch point.
- FIG. 1 is a schematic flowchart of a method for drawing a moving track provided by an embodiment of the present invention
- Figure 2 is a schematic structural diagram of a terminal provided by an embodiment of the present invention.
- FIG. 3 is a schematic structural diagram of a device for drawing a moving track provided by an embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of a device for drawing a moving track provided by an embodiment of the present invention.
- the embodiment of the present invention provides a method for drawing a moving track, as shown in FIG. 1, including:
- Step S101 The terminal uses its own local framework layer to receive a touch movement event for drawing a movement track; where the touch movement event includes coordinate information of a touch point.
- the embodiment of the present invention receives the touch movement event directly from the touch device hardware at the native framework layer (native layer) through JNI.
- Touch movement events are a type of touch events. Touch events also include touch down events and touch release events.
- Step S102 Whenever a touch movement event is received, the terminal draws a movement track according to the coordinate information of the touch point.
- the method for drawing the movement track provided by the embodiments of the present invention is implemented at the native framework layer (native layer) through JNI.
- the terminal draws the movement track according to the coordinate information of the touch point, including:
- the terminal draws the movement track on the display layer (Overlay layer) according to the coordinate information of the touch point.
- drawing the movement trajectory in the Overlay layer instead of drawing the movement trajectory in the OSD layer can improve the drawing speed, because the drawing of the movement trajectory in the OSD layer requires the android system itself to use the interface display function surfaceflinger to draw, surfaceflinger There will be a delay of about 2 frames, and the drawing of the movement trajectory in the Overlay layer is directly drawn without using surfaceflinger, so the drawing speed is improved.
- the terminal draws the movement track on the Overlay layer according to the coordinate information of the touch point, including:
- the terminal uses the third-order Bezier curve to draw the movement track based on the coordinate information of the touch point on the Overlay layer.
- different from the second-order Bezier curve is the addition of a prediction point, and the third-order Bezier curve can be drawn to the coordinate information of the touch point in real time, thereby making the trajectory drawing more accurate.
- the touch movement event originates from the terminal itself or other terminals in the system.
- the terminal when the terminal is in a system that includes other terminals in addition to itself, and the touch movement event originates from other terminals in the system, it also includes:
- the terminal marks the touch movement event so that the terminal can determine that this touch movement event is not a touch movement event generated by itself.
- the touch movement event originates from the terminal itself, and when the terminal is in a system that includes other terminals in addition to itself, after the terminal uses its own local framework layer to receive the touch movement event for drawing the movement track, it also includes :
- the terminal sends the touch movement event to other terminals in the system.
- the terminal sends touch movement events to other terminals in the system, so that other terminals use their own local framework layer to receive touch movement events for drawing movement tracks.
- touch movement event is received, the movement track is drawn according to the coordinate information of the touch point, so that the movement track can be drawn in real time.
- the terminal uses its own local framework layer to receive the touch movement event used to draw the movement track, whenever a touch movement event is received, the terminal according to the touch points included in the touch movement event
- the coordinate information is used to draw the moving trajectory, thus realizing the instant drawing of the moving trajectory, thereby greatly reducing the drawing time delay of the moving trajectory and improving the user experience.
- the embodiment of the present invention also provides a terminal.
- the terminal 2 includes:
- the receiving module 21 is configured to use the local framework layer of the terminal to receive a touch movement event for drawing a movement track; wherein, the touch movement event includes coordinate information of a touch point.
- the processing module 22 is configured to draw a movement track according to the coordinate information of the touch point whenever a touch movement event is received.
- the processing module 22 is specifically configured to draw a moving track on the Overlay layer according to the coordinate information of the touch point, and draw using a third-order Bezier curve.
- the touch movement event originates from the terminal itself or other terminals in the system.
- the processing module 22 is further configured to send the touch movement event to Other terminals in the system.
- the terminal provided by the embodiment of the present invention uses its own local framework layer to receive a touch movement event for drawing a movement track. Whenever a touch movement event is received, the terminal performs a movement track according to the coordinate information of the touch point included in the touch movement event. Therefore, the instant drawing of the moving track is realized, which greatly reduces the drawing time delay of the moving track and improves the user experience.
- the receiving module 21 and the processing module 22 are both located in the central processing unit (CPU), microprocessor (Micro Processor Unit, MPU), and digital signal processor (Digital Signal Processor) in the terminal. DSP) or Field Programmable Gate Array (Field Programmable Gate Array, FPGA).
- CPU central processing unit
- MPU Micro Processor Unit
- DSP Digital Signal Processor
- FPGA Field Programmable Gate Array
- the embodiment of the present invention also provides a device for drawing a movement track.
- the device 3 for drawing a movement track includes a touch receiving module 31, a touch processing module 32 and a track display module 33.
- the touch receiving module 31 is configured to receive touch events of the terminal to which it belongs or touch events sent from a terminal that is not its own.
- the touch processing module 32 is used to process touch events and send them to the track display module 33,
- the trajectory display module 33 is used to draw coordinate information of the touch point in real time, thereby displaying the movement trajectory.
- the touch receiving module 31, the touch processing module 32, and the track display module 33 are all activated by the Android installation package APK.
- the embodiment of the present invention also provides a device for drawing a moving track.
- the device 4 for drawing a moving track includes a memory 41, a processor 42 and a computer program stored in the memory 41 and running on the processor, When the processor 42 executes the computer program, any one of the methods for drawing the movement track in the foregoing embodiments is implemented.
- An embodiment of the present invention also provides a computer-readable storage medium, on which a computer-executable command is stored, and the computer-executable command is used to execute any method for drawing a movement track as in the foregoing embodiments.
- the terminal in the embodiment of the present invention uses its own local framework layer to receive the touch movement event for drawing the movement track, whenever a touch movement event is received, the movement track is drawn according to the coordinate information of the touch point included in the touch movement event , Thus realizing the instant drawing of the moving track, thereby greatly reducing the drawing time delay of the moving track and improving the user experience.
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)
- User Interface Of Digital Computer (AREA)
Abstract
一种移动轨迹的绘制方法、终端、装置及计算机可读存储介质,包括:终端利用自身的本地框架层接收用于绘制移动轨迹的触摸移动事件;其中,触摸移动事件包括触摸点的坐标信息(S101);每当接收到一个触摸移动事件,根据触摸点的坐标信息进行移动轨迹的绘制(S102)。
Description
相关申请的交叉引用
本申请基于申请号为201910724614.7、申请日为2019年08月07日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
本发明实施例涉及计算机技术领域,尤指一种移动轨迹的绘制方法、终端、装置及计算机可读存储介质。
在视频会议系统中,电子白板的利用可以有效提升会议多端用户的交流,提升视频会议参与者的体验。
在一些情形中,在进行移动轨迹绘制时,基于Linux的自由及开放源代码的android系统接收用于绘制移动轨迹的触摸移动事件,并根据触摸移动事件进行移动轨迹的绘制。
然而,由于android系统本身的移动轨迹绘制机制复杂,无法实时根据触摸移动事件进行移动轨迹的绘制,当终端进行移动轨迹的绘制时所基于的触摸移动事件可能是多个,因此移动轨迹的绘制会存在较大时延,从而降低用户体验。
发明内容
有鉴于此,本发明实施例提供了一种移动轨迹的绘制方法、终端、装置及计算机可读存储介质。
本发明实施例提供了一种移动轨迹的绘制方法,包括:终端利用自身的本地框架层接收用于绘制移动轨迹的触摸移动事件;其中,所述触摸移动事件包括触摸点的坐标信息;每当接收到一个触摸移动事件,所述终端根据所述触摸点的坐标信息进行移动轨迹的绘制。
本发明实施例还提供了一种终端,包括:接收模块,用于利用所述终端的本地框架层接收用于绘制移动轨迹的触摸移动事件;其中,所述触摸移动事件包括触摸点的坐标信息;处理模块,用于每当接收到一个触摸移动事件,根据所述触摸点的坐标信息进行移动轨迹的绘制。
本发明实施例还提供了一种移动轨迹的绘制装置,包括:处理器和存储器,其中,存储器中存储有以下可被处理器执行的命令:利用终端的本地框架层接收用于绘制移动轨迹的触摸移动事件;其中,所述触摸移动事件包括触摸点的坐标信息;每当接收到一个触摸 移动事件,根据所述触摸点的坐标信息进行移动轨迹的绘制。
本发明实施例还提供了一种计算机可读存储介质,存储有计算机可执行命令,其中,所述计算机可执行命令用于执行以下步骤:利用终端的本地框架层接收用于绘制移动轨迹的触摸移动事件;其中,所述触摸移动事件包括触摸点的坐标信息;每当接收到一个触摸移动事件,根据所述触摸点的坐标信息进行移动轨迹的绘制。
本发明实施例的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明实施例而了解。本发明实施例的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。
附图用来提供对本发明实施例技术方案的进一步理解,并且构成说明书的一部分,与本发明的实施例一起用于解释本发明实施例的技术方案,并不构成对本发明实施例技术方案的限制。
图1为本发明实施例提供的一种移动轨迹的绘制方法的流程示意图;
图2为本发明实施例提供的一种终端的结构示意图;
图3为本发明实施例提供的一种移动轨迹的绘制装置的结构示意图。
图4为本发明实施例提供的一种移动轨迹的绘制装置的结构示意图。
为使本发明实施例的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互任意组合。
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。
本发明实施例提供一种移动轨迹的绘制方法,如图1所示,包括:
步骤S101、终端利用自身的本地框架层接收用于绘制移动轨迹的触摸移动事件;其中,触摸移动事件包括触摸点的坐标信息。
在某些实例中,本发明实施例接收触摸移动事件通过JNI在本地框架层(native层)直接从触摸设备硬件进行获取。触摸移动事件是触摸事件的一种类型,触摸事件还包括:触摸按下事件和触摸释放事件。
步骤S102、每当接收到一个触摸移动事件,终端根据触摸点的坐标信息进行移动轨迹的绘制。
在某些实例中,本发明实施例提供的移动轨迹的绘制方法通过JNI在本地框架层(native层)实现。
在某些实例中,终端根据触摸点的坐标信息进行移动轨迹的绘制,包括:
终端在显示层(Overlay层)根据触摸点的坐标信息进行移动轨迹的绘制。
在某些实例中,在Overlay层进行移动轨迹的绘制而不是在OSD层进行移动轨迹的绘制可以提高绘制速度,因为在OSD层进行移动轨迹的绘制需要android系统本身利用界面显示功能surfaceflinger绘制,surfaceflinger会存在2桢左右的延时,而在Overlay层进行移动轨迹的绘制则是直接绘制,无需利用surfaceflinger,因此提高了绘制速度。
在某些实例中,终端在Overlay层根据触摸点的坐标信息进行移动轨迹的绘制,包括:
终端在Overlay层根据触摸点的坐标信息,并利用三阶贝塞尔曲线进行移动轨迹的绘制。
在某些实例中,不同于二阶贝塞尔曲线的是加上一个预测点,三阶贝塞尔曲线可以实时绘制到触摸点的坐标信息,从而使得轨迹绘制更加准确。
在某些实例中,当终端处于除自身外还包括其他终端的系统中,触摸移动事件来源于终端自身或者系统中的其他终端。
在某些实例中,当终端处于除自身外还包括其他终端的系统中,且触摸移动事件来源于系统中的其他终端时,还包括:
终端将触摸移动事件进行标记,以便终端确定这个触摸移动事件并不是自身产生的触摸移动事件。
在某些实例中,触摸移动事件来源于终端自身,且当终端处于除自身外还包括其他终端的系统中,终端利用自身的本地框架层接收用于绘制移动轨迹的触摸移动事件之后,还包括:
终端将触摸移动事件发送给系统中的其他终端。
在某些实例中,如果终端处于视频会议系统中,终端将触摸移动事件发送给系统中的其他终端,以使得其他终端利用自身的本地框架层接收用于绘制移动轨迹的触摸移动事件,每当接收到一个触摸移动事件,根据所述触摸点的坐标信息进行移动轨迹的绘制,从而能够实时地进行移动轨迹的绘制。
本发明实施例提供的移动轨迹的绘制方法,由于终端利用自身的本地框架层接收用于绘制移动轨迹的触摸移动事件,每当接收到一个触摸移动事件,终端根据触摸移动事件包括的触摸点的坐标信息进行移动轨迹的绘制,因此实现了移动轨迹的即时绘制,从而极大程度地缩短了移动轨迹的绘制时延,提高了用户体验。
本发明实施例还提供一种终端,如图2所示,该终端2包括:
接收模块21,用于利用所述终端的本地框架层接收用于绘制移动轨迹的触摸移动事件;其中,所述触摸移动事件包括触摸点的坐标信息。
处理模块22,用于每当接收到一个触摸移动事件,根据所述触摸点的坐标信息进行移动轨迹的绘制。
在某些实例中,处理模块22,具体用于在Overlay层根据触摸点的坐标信息进行移动轨迹绘制,并利用三阶贝塞尔曲线进行绘制。
在某些实例中,当所述终端处于除自身外还包括其他终端的系统中,所述触摸移动事件来源于所述终端自身或者所述系统中的其他终端。
在某些实例中,当所述触摸移动事件来源于所述终端自身,且当所述终端处于除自身外还包括其他终端的系统中,处理模块22还用于将所述触摸移动事件发送给所述系统中的其他终端。
本发明实施例提供的终端,由于利用自身的本地框架层接收用于绘制移动轨迹的触摸移动事件,每当接收到一个触摸移动事件,终端根据触摸移动事件包括的触摸点的坐标信息进行移动轨迹的绘制,因此实现了移动轨迹的即时绘制,从而极大程度地缩短了移动轨迹的绘制时延,提高了用户体验。
在实际应用中,所述接收模块21和处理模块22均位于终端中的中央处理器(Central Processing Unit,CPU)、微处理器(Micro Processor Unit,MPU)、数字信号处理器(Digital Signal Processor,DSP)或现场可编程门阵列(Field Programmable Gate Array,FPGA)等实现。
本发明实施例还提供一种移动轨迹的绘制装置,如图3所示,移动轨迹的绘制装置3包括:触摸接收模块31、触摸处理模块32和轨迹显示模块33。
触摸接收模块31,用于接收所属终端的触摸事件或者非所属终端发送过来的触摸事件。
触摸处理模块32,用于处理触摸事件并发送给轨迹显示模块33,
轨迹显示模块33,用于实时绘制触摸点的坐标信息,从而显示移动轨迹。
在某些实例中,触摸接收模块31、触摸处理模块32和轨迹显示模块33都是由Android安装包APK启动的。
本发明实施例还提供一种移动轨迹的绘制装置,如图4所示,移动轨迹的绘制装置4包括:存储器41,处理器42及存储在存储器41上并可在处理器运行的计算机程序,处理器42执行计算机程序时实现上述实施例中任意一种移动轨迹的绘制方法。
本发明实施例还提供一种计算机可读存储介质,存储介质上存储有计算机可执行命令, 计算机可执行命令用于执行如上述实施例中任意一种移动轨迹的绘制方法。
由于本发明实施例终端利用自身的本地框架层接收用于绘制移动轨迹的触摸移动事件,每当接收到一个触摸移动事件,根据所述触摸移动事件包括的触摸点的坐标信息进行移动轨迹的绘制,因此实现了移动轨迹的即时绘制,从而极大程度地缩短了移动轨迹的绘制时延,提高了用户体验。
虽然本发明实施例所揭露的实施方式如上,但所述的内容仅为便于理解本发明实施例而采用的实施方式,并非用以限定本发明实施例。任何本发明实施例所属领域内的技术人员,在不脱离本发明实施例所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本发明实施例的专利保护范围,仍须以所附的权利要求书所界定的范围为准。
Claims (10)
- 一种移动轨迹的绘制方法,包括:终端利用自身的本地框架层接收用于绘制移动轨迹的触摸移动事件;其中,所述触摸移动事件包括触摸点的坐标信息;每当接收到一个触摸移动事件,所述终端根据所述触摸点的坐标信息进行移动轨迹的绘制。
- 根据权利要求1所述的绘制方法,其中,所述终端根据触摸点的坐标信息进行移动轨迹的绘制,包括:所述终端在Overlay层根据所述触摸点的坐标信息进行所述移动轨迹的绘制。
- 根据权利要求2所述的绘制方法,中,所述终端在Overlay层根据触摸点的坐标信息进行移动轨迹的绘制,包括:所述终端在Overlay层根据所述触摸点的坐标信息,以三阶贝塞尔曲线进行所述移动轨迹的绘制。
- 根据权利要求1所述的绘制方法,其中,当所述终端处于除自身外还包括其他终端的系统中,所述触摸移动事件来源于所述终端自身或者所述系统中的其他终端。
- 根据权利要求1所述的绘制方法,当所述触摸移动事件来源于所述终端自身,且当所述终端处于除自身外还包括其他终端的系统中,所述终端利用自身的本地框架层接收用于绘制移动轨迹的触摸移动事件之后,还包括:所述终端将所述触摸移动事件发送给所述系统中的其他终端。
- 一种终端,包括:接收模块,用于利用所述终端的本地框架层接收用于绘制移动轨迹的触摸移动事件;其中,所述触摸移动事件包括触摸点的坐标信息;处理模块,用于每当接收到一个触摸移动事件,根据所述触摸点的坐标信息进行移动轨迹的绘制。
- 根据权利要求6所述的终端,其中,当所述终端处于除自身外还包括其他终端的系统中,所述触摸移动事件来源于所述终端自身或者所述系统中的其他终端。
- 根据权利要求6所述的终端,其中,所述处理模块具体用于在Overlay层根据触摸点的坐标信息进行所述移动轨迹的绘制。
- 一种移动轨迹的绘制装置,包括:处理器和存储器,其中,存储器中存储有以下可被处理器执行的命令:利用终端的本地框架层接收用于绘制移动轨迹的触摸移动事件;其中,所述触摸移动 事件包括触摸点的坐标信息;每当接收到一个触摸移动事件,根据所述触摸点的坐标信息进行移动轨迹的绘制。
- 一种计算机可读存储介质,存储有计算机可执行命令,其中,所述计算机可执行命令用于执行以下步骤:利用终端的本地框架层接收用于绘制移动轨迹的触摸移动事件;其中,所述触摸移动事件包括触摸点的坐标信息;每当接收到一个触摸移动事件,根据所述触摸点的坐标信息进行移动轨迹的绘制。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910724614.7A CN112346581A (zh) | 2019-08-07 | 2019-08-07 | 一种移动轨迹的绘制方法、装置及计算机可读存储介质 |
CN201910724614.7 | 2019-08-07 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021023110A1 true WO2021023110A1 (zh) | 2021-02-11 |
Family
ID=74366515
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/106228 WO2021023110A1 (zh) | 2019-08-07 | 2020-07-31 | 一种移动轨迹的绘制方法、终端、装置及计算机可读存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112346581A (zh) |
WO (1) | WO2021023110A1 (zh) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110279396A1 (en) * | 2000-01-31 | 2011-11-17 | Canon Kabushiki Kaisha | Method and apparatus for detecting and interpreting path of designated position |
CN105807966A (zh) * | 2014-12-30 | 2016-07-27 | 鸿合科技有限公司 | 一种触摸屏事件的获取方法及装置 |
CN106919316A (zh) * | 2017-02-21 | 2017-07-04 | 广州视源电子科技股份有限公司 | 用于电子白板的控制方法和控制装置 |
CN106933486A (zh) * | 2017-03-13 | 2017-07-07 | 广州视源电子科技股份有限公司 | 用于安卓系统的触控实现方法及装置 |
CN108009033A (zh) * | 2017-12-25 | 2018-05-08 | 北京奇虎科技有限公司 | 模拟触控方法、装置和移动终端 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120218203A1 (en) * | 2011-02-10 | 2012-08-30 | Kanki Noriyoshi | Touch drawing display apparatus and operation method thereof, image display apparatus allowing touch-input, and controller for the display apparatus |
CN103823596A (zh) * | 2014-02-19 | 2014-05-28 | 青岛海信电器股份有限公司 | 一种触摸事件扫描方法及装置 |
CN109101171B (zh) * | 2017-06-21 | 2020-12-11 | 北京易真学思教育科技有限公司 | 一种在触摸屏设备中生成滑动轨迹的方法 |
-
2019
- 2019-08-07 CN CN201910724614.7A patent/CN112346581A/zh active Pending
-
2020
- 2020-07-31 WO PCT/CN2020/106228 patent/WO2021023110A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110279396A1 (en) * | 2000-01-31 | 2011-11-17 | Canon Kabushiki Kaisha | Method and apparatus for detecting and interpreting path of designated position |
CN105807966A (zh) * | 2014-12-30 | 2016-07-27 | 鸿合科技有限公司 | 一种触摸屏事件的获取方法及装置 |
CN106919316A (zh) * | 2017-02-21 | 2017-07-04 | 广州视源电子科技股份有限公司 | 用于电子白板的控制方法和控制装置 |
CN106933486A (zh) * | 2017-03-13 | 2017-07-07 | 广州视源电子科技股份有限公司 | 用于安卓系统的触控实现方法及装置 |
CN108009033A (zh) * | 2017-12-25 | 2018-05-08 | 北京奇虎科技有限公司 | 模拟触控方法、装置和移动终端 |
Also Published As
Publication number | Publication date |
---|---|
CN112346581A (zh) | 2021-02-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021143182A1 (zh) | 游戏的处理方法、装置、电子设备及计算机可读存储介质 | |
CN111433743B (zh) | 一种app远程控制方法及相关设备 | |
WO2017215567A1 (zh) | 熄屏指纹解锁方法及终端、存储介质 | |
KR102287777B1 (ko) | 정보 푸싱 방법, 저장 매체, 단말기 디바이스, 및 서버 | |
WO2016197590A1 (zh) | 用于在终端设备上提供截屏服务的方法、装置、存储介质及设备 | |
CN107220019A (zh) | 一种基于动态vsync信号的渲染方法、移动终端及存储介质 | |
CN109032390A (zh) | 笔迹数据缓存方法、装置、设备和存储介质 | |
WO2018113366A1 (zh) | 笔迹同步的方法、装置及系统 | |
US9801146B2 (en) | Terminal and synchronization control method among terminals | |
CN103888840B (zh) | 一种视频移动终端实时拖动与缩放的方法及装置 | |
WO2023231693A1 (zh) | 监测投放内容的方法、装置、系统、设备及存储介质 | |
US20140361991A1 (en) | Method and electronic device for controlling mouse module | |
US20150121301A1 (en) | Information processing method and electronic device | |
US20200258195A1 (en) | Image Processing Method and Device | |
WO2015070812A1 (zh) | 一种内容排版的方法及移动终端 | |
CN113032080A (zh) | 页面实现方法、应用程序、电子设备及存储介质 | |
EP4135333A1 (en) | Image display method and apparatus, electronic device, and medium | |
CN113010135B (zh) | 一种数据处理方法、装置、显示终端和存储介质 | |
WO2018076753A1 (zh) | 一种显示的方法及装置 | |
WO2016201803A1 (zh) | 屏幕投影显示的控制方法、装置及移动终端 | |
US20230333803A1 (en) | Enhanced Screen Sharing Method and System, and Electronic Device | |
WO2023030519A1 (zh) | 投屏处理方法及相关设备 | |
WO2024037556A1 (zh) | 图像处理方法、装置、设备及存储介质 | |
CN108769815A (zh) | 视频处理方法及其装置 | |
WO2021023110A1 (zh) | 一种移动轨迹的绘制方法、终端、装置及计算机可读存储介质 |
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: 20850410 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: 20850410 Country of ref document: EP Kind code of ref document: A1 |