WO2023005540A1 - 一种基于android白板防闪烁的方法及其装置 - Google Patents

一种基于android白板防闪烁的方法及其装置 Download PDF

Info

Publication number
WO2023005540A1
WO2023005540A1 PCT/CN2022/101363 CN2022101363W WO2023005540A1 WO 2023005540 A1 WO2023005540 A1 WO 2023005540A1 CN 2022101363 W CN2022101363 W CN 2022101363W WO 2023005540 A1 WO2023005540 A1 WO 2023005540A1
Authority
WO
WIPO (PCT)
Prior art keywords
canvas
floating window
display screen
area
unit
Prior art date
Application number
PCT/CN2022/101363
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 EP22848147.9A priority Critical patent/EP4357895A1/en
Publication of WO2023005540A1 publication Critical patent/WO2023005540A1/zh
Priority to US18/420,806 priority patent/US20240203378A1/en

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/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
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/22Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of characters or indicia using display control signals derived from coded signals representing the characters or indicia, e.g. with a character-code memory
    • G09G5/32Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of characters or indicia using display control signals derived from coded signals representing the characters or indicia, e.g. with a character-code memory with means for controlling the display position
    • 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
    • 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/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/04Changes in size, position or resolution of an image
    • G09G2340/0464Positioning
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/12Overlay of images, i.e. displayed pixel being the result of switching between the corresponding input pixels

Definitions

  • the embodiment of the present application relates to the field of image communication, and in particular to an android-based whiteboard anti-flicker method and device thereof.
  • the embodiment of the present application provides a method and device for anti-flicker based on an android whiteboard. Since the electronic whiteboard uses the target canvas made according to the outline of the floating window to draw, when the electronic whiteboard appears beyond other floating windows covering the whiteboard interface The writing track of the control is not displayed to avoid the jagged effect.
  • the first aspect of the embodiment of the present application provides a method for anti-flickering based on an android whiteboard, including:
  • the clipping includes overlay clipping and hidden clipping
  • the display screen is unlocked, and a drawing function is performed through the target canvas.
  • the acquisition of relevant data of the floating window includes:
  • Relevant data are determined according to the coordinate position and the outline of the floating window.
  • the method before making the target canvas by clipping the pre-cropped area on the painting canvas, the method further includes:
  • the method further includes:
  • Said determining the painting canvas includes:
  • the second aspect of the embodiment of the present application provides an android-based whiteboard anti-flicker device, including:
  • an acquisition unit configured to acquire relevant data of the floating window
  • a production unit configured to set a pre-cropping area on the painting canvas according to the relevant data, and then clip the pre-cropping area on the painting canvas to make a target canvas;
  • the unlocking drawing unit is used for unlocking the display screen and executing a drawing function through the target canvas.
  • the acquisition unit includes:
  • the determination and acquisition module is used to determine the coordinate position corresponding to the floating window, and obtain the floating window contour corresponding to the floating window;
  • a determining module configured to determine relevant data according to the coordinate position and the outline of the floating window.
  • a setting module configured to set a pre-cropped area on the drawing canvas according to the relevant data
  • a making module configured to make a target canvas by clipping the pre-cropped area on the drawing canvas.
  • the device also includes:
  • a judging unit configured to judge whether the pre-cropping area is consistent with the current cropping area
  • a reset unit configured to reset the drawing canvas when the judging unit determines that the pre-cropping area is inconsistent with the current cropping area.
  • the device also includes:
  • a calculation unit used for calculating the screen size of the display screen
  • the determining and locking unit is further configured to determine a drawing canvas according to the screen size.
  • the third aspect of the embodiment of the present application provides an android-based whiteboard anti-flicker device, including:
  • Processor memory, input and output devices and bus; the processor is connected to the memory, input and output devices and bus.
  • the processor performs the following operations:
  • the clipping includes overlay clipping and hidden clipping
  • the display screen is unlocked, and a drawing function is performed through the target canvas.
  • An embodiment of the present application provides a computer-readable storage medium, where a program is stored on the computer-readable storage medium, and the program is executed on a computer to execute the foregoing acceleration method.
  • Fig. 1 is the schematic flow chart of an embodiment of the method based on android whiteboard anti-flicker in the embodiment of the present application;
  • Fig. 2 is the schematic flow chart of another embodiment of the method based on android whiteboard anti-flicker in the embodiment of the present application;
  • Fig. 3 is a schematic structural diagram of an embodiment of an android whiteboard anti-flicker-based device in the embodiment of the present application
  • FIG. 4 is a schematic structural diagram of another embodiment of an android-based whiteboard anti-flicker device in the embodiment of the present application.
  • the embodiment of the present application provides a method and device for anti-flicker based on an android whiteboard. Since the electronic whiteboard uses the target canvas made according to the outline of the floating window to draw, when the electronic whiteboard appears beyond other floating windows covering the whiteboard interface The writing track of the control is not displayed to avoid the jagged effect.
  • an embodiment of the method based on android whiteboard anti-flicker in the embodiment of the present application includes:
  • the pair of floating windows are directly The corresponding position area on the drawing canvas is cropped, and the canvas formed after cropping is used as the target canvas.
  • the covering method is to cover the corresponding position area of the floating window on the painting canvas, so that the position area cannot be painted; you can also use the hidden method.
  • the method is used to crop, that is, to directly hide the writing track that crosses the floating window.
  • the painting canvas may be clipped using an overlay clipping method, or a hidden method, which is not specifically limited here.
  • the target canvas After the target canvas is determined, you can draw on the white target canvas. When using the target canvas to draw, you need to unlock the display screen so that the writing track can be displayed when drawing.
  • the electronic whiteboard Before using the electronic whiteboard to draw, first determine the painting canvas, and lock the display screen of the electronic whiteboard, which is used to display the canvas painting results; then obtain the relevant data of the floating window; further make the target canvas by cutting the painting canvas according to the relevant data; Unlock the display screen and perform painting functions through the target canvas. Since the electronic whiteboard uses the target canvas made according to the outline of the floating window to draw, the writing tracks of other floating window controls covering the whiteboard interface will not be displayed when the electronic whiteboard presents, avoiding the jagged effect.
  • FIG. 2 another embodiment of the method based on android whiteboard anti-flicker in the embodiment of the present application includes:
  • first calculate the screen size of the electronic whiteboard display screen specifically: first determine the upper left corner of the electronic whiteboard display screen Vertex coordinates, then determine the vertex coordinates of the upper right corner of the electronic whiteboard display screen, determine the length of the electronic whiteboard display screen according to the vertex coordinates of the upper left corner and the vertex coordinates of the upper right corner; further determine the vertex coordinates of the lower left corner of the electronic whiteboard display screen; The vertex coordinates and the vertex coordinates of the lower left corner determine the width of the display screen of the electronic whiteboard, and finally determine the screen size of the display screen according to the length and width of the display screen.
  • the length of the display screen of the electronic whiteboard can be determined according to the vertex coordinates of the upper left corner and the vertex of the upper right corner, and the length of the display screen of the electronic whiteboard can also be determined according to the vertex coordinates of the lower left corner and the lower right corner. Be specific.
  • the width of the electronic whiteboard display screen can be determined according to the vertex coordinates of the upper left corner and the vertex coordinates of the lower left corner, and the width of the display screen of the electronic whiteboard can also be determined according to the vertex coordinates of the upper right corner and the vertex coordinates of the lower right corner. Be specific.
  • the screen size of the display screen can be determined according to the length and width of the display screen, and the screen size of the display screen can also be calculated according to the line segment formed by connecting the upper left vertex with the lower right vertex and the upper right vertex, specifically No specific limitation is made here.
  • the display screen After determining the screen size of the display screen of the electronic whiteboard, set the size and position of the drawing canvas according to the screen size, so that the drawing canvas fits the display screen, and the drawing canvas uses a larger drawing space.
  • the display screen before the target canvas is determined, in order to prevent the system from actively refreshing the electronic drawing whiteboard, the display screen is locked, and the display screen is used to display canvas drawing results.
  • the coordinate position of the floating window and the contour of the floating window are combined to determine the relevant data of the floating window, which is used to form a corresponding floating window area to provide a data-dependent basis .
  • the corresponding clipping coordinate position and the corresponding clipping contour of the floating window on the drawing canvas are determined according to the relevant data;
  • the pre-clipping area is used to create a target canvas based on the drawing canvas to provide a basis for clipping data.
  • the pre-cropping area is consistent with the current cropping area.
  • the current canvas is used as the target canvas; when the pre-cropping area is inconsistent with the current cropping area, it means that the pre-cropping area has not been cropped, and the part of the canvas that does not need to be cropped may have been cropped.
  • resetting the drawing canvas may be resetting the entire drawing canvas, or may be resetting only the cropped area on the drawing canvas, which is not specifically limited here.
  • the painting canvas After the painting canvas is reset, it is a complete painting canvas. At this time, the pre-cropping area is clipped on the complete painting canvas, and the clipped painting canvas is used as the target canvas.
  • the result of clipping the pre-cropped area on the drawing canvas is to prevent the writing trace crossing the floating window from being displayed on the display screen when the electronic whiteboard is used for drawing.
  • Step 209 in this embodiment is similar to step 104 in the foregoing embodiments, and will not be repeated here.
  • an embodiment of the device based on android whiteboard anti-flicker in the embodiment of the present application includes:
  • Determine the locking unit 301 configured to determine the drawing canvas, and lock the display screen of the electronic whiteboard, and the display screen is used to display the drawing result of the canvas;
  • An acquisition unit 302 configured to acquire relevant data of the floating window
  • a production unit 303 configured to set a pre-cropping area on the painting canvas according to the relevant data, and then clip the pre-cropping area on the painting canvas to make a target canvas;
  • the unlock drawing unit 304 is used for unlocking the display screen and executing the drawing function through the target canvas.
  • the obtaining unit 302 in this embodiment may include a determining and obtaining module 3021 and a determining module 3022 .
  • the determination and acquisition module 3021 is used to determine the coordinate position corresponding to the floating window, and obtain the floating window contour corresponding to the floating window;
  • a determining module 3022 configured to determine relevant data according to the coordinate position and the outline of the floating window.
  • the making unit 303 may include a setting module 3031 and a making module 3032 .
  • a setting module 3031 configured to set a pre-cropping area on the drawing canvas according to the relevant data
  • the making module 3032 is used for making the target canvas by cutting the pre-cropped area on the painting canvas.
  • the device may also include:
  • a judging unit 305 configured to judge whether the pre-cropping area is consistent with the current cropping area
  • a reset unit 306, configured to reset the drawing canvas when the judging unit 305 determines that the pre-cropping area is inconsistent with the current cropping area
  • the unlock drawing unit 304 is further configured to unlock the display screen and execute the drawing function through the target canvas when the judging unit 305 determines that the pre-cropping area is consistent with the current cropping area.
  • the device also includes:
  • a calculation unit 307 configured to calculate the screen size of the display screen
  • the determination locking unit 301 is further configured to determine the drawing canvas according to the size of the screen.
  • the calculating unit 307 calculates the screen size of the display screen, and sends the screen size to the determining and locking unit 301, and the determining and locking unit 301 determines the drawing canvas according to the screen size, and locks the display screen of the electronic whiteboard.
  • the determination and acquisition module 3021 determines the coordinate position corresponding to the floating window, and obtains the floating window contour corresponding to the floating window; then the determination module 3022 determines relevant data according to the coordinate position and the floating window contour, and The related data is sent to the setting module 3031, and the setting module 3031 is set on the pre-cutting area on the canvas according to the related data; after determining the pre-cutting area, the judging unit 305 judges whether the pre-cutting area is consistent with the current cutting area; when judging When the unit 305 determines that the pre-cropping area is consistent with the current cropping area, the unlock drawing unit 304 unlocks the display screen, and executes the painting function through the target canvas; when the judging unit 305 determines that the pre-cropping area is inconsistent with the current cropping area, the reset unit 306 reset Painting canvas. After the drawing canvas is reset, the making module 3032 makes the target canvas by cutting the pre-cropped area on the drawing canvas; finally, the unlock
  • Another embodiment of the anti-flicker device based on the android whiteboard in the embodiment of the present application includes:
  • Processor 401 memory 402, input and output unit 403, bus 404;
  • the processor 401 is connected to the memory 402, the input and output unit 403 and the bus 404;
  • Processor 401 performs the following operations:
  • the clipping includes overlay clipping and hidden clipping
  • the disclosed system, device and method can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

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)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • User Interface Of Digital Computer (AREA)
  • Facsimiles In General (AREA)

Abstract

本申请公开了一种基于android白板防闪烁的方法及其装置,其中方法包括:确定绘画画布,并锁定电子白板的显示屏幕,所述显示屏幕用于显示画布绘画结果;获取悬浮窗的相关数据;通过根据所述相关数据裁剪所述绘画画布制作目标画布;解锁所述显示屏幕,并通过所述目标画布执行绘画功能。由于电子白板使用根据悬浮窗轮廓制作的目标画布进行绘画,使得当电子白板呈现越过覆盖在白板界面之上的其他悬浮窗控件的书写轨迹不进行显示,避免了出现锯齿效应。

Description

一种基于android白板防闪烁的方法及其装置 技术领域
本申请实施例涉及图像通信领域,特别涉及一种基于android白板防闪烁的方法及其装置。
背景技术
科技技术的发展,使得黑板过渡成了白板;现今电子白板已经被大量的运用在各种触摸书写的一体机中。在现有技术中,为了使得电子白板能到达更好的书写体验,通常是使用白板加速方案,让电子白板控制显存内容刷新的机制来提高书写性能,达到更好的流畅度。但是通过白板加速的机制直接操作显存内容,当在电子白板上的书写轨迹越过覆盖在白板界面之上的其他悬浮窗控件时,通过获取悬浮窗所在区域内的整个矩形背景,将该整个矩形以最小单位矩形进行贴图,导致电子白板呈现越过覆盖在白板界面之上的其他悬浮窗控件的书写轨迹时出现较明显的锯齿效应。
发明内容
本申请实施例提供了一种基于android白板防闪烁的方法及其装置,由于电子白板使用根据悬浮窗轮廓制作的目标画布进行绘画,使得当电子白板呈现越过覆盖在白板界面之上的其他悬浮窗控件的书写轨迹不进行显示,避免了出现锯齿效应。
本申请实施例第一方面提供了一种基于android白板防闪烁的方法,包括:
确定绘画画布,并锁定电子白板的显示屏幕,所述显示屏幕用于显示画布绘画结果;
获取悬浮窗的相关数据;
根据所述相关数据设置在所述绘画画布上的预裁剪区域;
通过在所述绘画画布上裁剪所述预裁剪区域制作目标画布,所述裁剪包括覆盖式裁剪和隐藏式裁剪;
解锁所述显示屏幕,并通过所述目标画布执行绘画功能。
可选的,所述获取悬浮窗的相关数据,包括:
确定悬浮窗对应的坐标位置,并获取所述悬浮窗对应的悬浮窗轮廓;
根据所述坐标位置和所述悬浮窗轮廓确定相关数据。
可选的,所述通过在所述绘画画布上裁剪所述预裁剪区域制作目标画布之前,所述方法还包括:
判断所述预裁剪区域与当前裁剪区域是否一致;
若否,则重置所述绘画画布。
可选的,所述确定绘画画布之前,所述方法还包括:
计算显示屏幕的屏幕大小;
所述确定绘画画布,包括:
根据所述屏幕大小确定绘画画布。
本申请实施例第二方面提供了一种基于android白板防闪烁的装置,包括:
确定锁定单元,用于确定绘画画布,并锁定电子白板的显示屏幕,所述显示屏幕用于显示画布绘画结果;
获取单元,用于获取悬浮窗的相关数据;
制作单元,用于根据所述相关数据设置在所述绘画画布上的预裁剪区域,进而在所述绘画画布上裁剪所述预裁剪区域制作目标画布;
解锁绘画单元,用于解锁所述显示屏幕,并通过所述目标画布执行绘画功能。
可选的,所述获取单元,包括:
确定获取模块,用于确定悬浮窗对应的坐标位置,并获取所述悬浮窗对应的悬浮窗轮廓;
确定模块,用于根据所述坐标位置和所述悬浮窗轮廓确定相关数据。
可选的,所述制作单元,包括:
设置模块,用于根据所述相关数据设置在所述绘画画布上的预裁剪区域;
制作模块,用于通过在所述绘画画布上裁剪所述预裁剪区域制作目标画布。
可选的,所述装置还包括:
判断单元,用于判断所述预裁剪区域与当前裁剪区域是否一致;
重置单元,用于当所述判断单元确定所述预裁剪区域与当前裁剪区域不一致时,重置所述绘画画布。
可选的,所述装置还包括:
计算单元,用于计算显示屏幕的屏幕大小;
所述确定锁定单元,还用于根据所述屏幕大小确定绘画画布。
本申请实施例第三方面提供了一种基于android白板防闪烁的装置,包括:
处理器、存储器、输入输出设备以及总线;所述处理器与所述存储器、输入输出设备以及总线相连。
所述处理器执行如下操作:
确定绘画画布,并锁定电子白板的显示屏幕,所述显示屏幕用于显示画布绘画结果;
获取悬浮窗的相关数据;
根据所述相关数据设置在所述绘画画布上的预裁剪区域;
通过在所述绘画画布上裁剪所述预裁剪区域制作目标画布,所述裁剪包括覆盖式裁剪和隐藏式裁剪;
解锁所述显示屏幕,并通过所述目标画布执行绘画功能。
本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上保存有程序,所述程序在计算机上执行是执行前述加速方法。
从以上技术中:在使用电子白板绘画之前,先确定绘画画布,并锁定电子白板的显示屏幕,所述显示屏幕用于显示画布绘画结果;再获取悬浮窗的相关数据;进一步的通过根据所述相关数据裁剪所述绘画画布制作目标画布;解锁所述显示屏幕,并通过所述目标画布执行绘画功能。由于电子白板使用根据悬浮窗轮廓制作的目标画布进行绘画,使得当电子白板呈现越过覆盖在白板界面之上的其他悬浮窗控件的书写轨迹不进行显示,避免了出 现锯齿效应。
附图说明
图1为本申请实施例中基于android白板防闪烁的方法一个实施例流程示意图;
图2为本申请实施例中基于android白板防闪烁的方法另一实施例流程示意图;
图3为本申请实施例中基于android白板防闪烁的装置一个实施例结构示意图;
图4为本申请实施例中基于android白板防闪烁的装置另一实施例结构示意图。
具体实施方式
本申请实施例提供了一种基于android白板防闪烁的方法及其装置,由于电子白板使用根据悬浮窗轮廓制作的目标画布进行绘画,使得当电子白板呈现越过覆盖在白板界面之上的其他悬浮窗控件的书写轨迹不进行显示,避免了出现锯齿效应。
请参阅图1,本申请实施例中基于android白板防闪烁的方法一个实施例包括:
101、确定绘画画布,并锁定电子白板的显示屏幕,显示屏幕用于显示画布绘画结果;
在本实施例中,由于是使用电子白板进行绘画,所以在使用电子白板进行绘画之前,需要确定用于绘画的绘画画布;且由于本实施例的目标画布还未确定,所以在目标画布确定之前,需要锁定显存控件,不让***主动刷新电子绘画白板,即***锁定电子白板的显示屏幕,该显示屏幕用于显示画布绘画结果。
102、获取悬浮窗的相关数据;
本实施例中,在电子白板上存在有悬浮窗的同时需要使用电子白板进行绘画的状态下,需要获取悬浮窗的相关数据,该相关数据用于确定对应的悬浮窗位置。当确定悬浮窗的位置之后,根据该悬浮窗的位置确定该悬浮窗在绘画画布上相对应的位置。
103、通过根据相关数据裁剪绘画画布制作目标画布;
在本实施例中,在根据该相关数据确定悬浮窗在绘画画布上相对应的位置之后,为了避免在书写轨迹越过该悬浮窗的时候出现锯齿效应,所以本实施例中直接将该对悬浮窗在绘画画布上对应的位置区域进行裁剪,裁剪后形成的画布作为目标画布。
在对绘画画布进行裁剪的时候可以采用覆盖式方式进行裁剪,其中覆盖式方式为,将悬浮窗在绘画画布上相对应的位置区域进行覆盖,使得该位置区域不能进行绘画;也可以使用隐藏式方式进行裁剪,即将越过该悬浮窗的书写轨迹直接进行隐藏。
在本实施例中,对绘画画布进行裁剪可以使用覆盖式裁剪方式进行画布裁剪,还可以使用隐藏式方式进行画布裁剪,具体此处不做具体限定。
104、解锁显示屏幕,并通过目标画布执行绘画功能。
当目标画布被确定之后,就可以在白目标画布上进行绘画了,在使用该目标画布进行绘画时,需要将显示屏幕进行解锁,使得在进行绘画的时候可以显示书写轨迹。
在使用电子白板绘画之前,先确定绘画画布,并锁定电子白板的显示屏幕,显示屏幕用于显示画布绘画结果;再获取悬浮窗的相关数据;进一步的通过根据相关数据裁剪绘画画布制作目标画布;解锁显示屏幕,并通过目标画布执行绘画功能。由于电子白板使用根据悬浮窗轮廓制作的目标画布进行绘画,使得当电子白板呈现越过覆盖在白板界面之上的 其他悬浮窗控件的书写轨迹不进行显示,避免了出现锯齿效应。
请参阅图2,本申请实施例中基于android白板防闪烁的方法另一实施例包括:
201、计算显示屏幕的屏幕大小;
为了使得绘画画布的绘画空间尽可能的大,且与显示屏幕相贴合,所以在确定绘画画布之前,先计算电子白板显示屏幕的屏幕大小,具体的:先确定该电子白板显示屏幕的左上角顶点坐标,再确定电子白板显示屏幕的右上角顶点坐标,根据该左上角顶点坐标和右上角顶点坐标确定电子白板显示屏幕的长度;进一步的确定电子白板显示屏幕的左下角顶点坐标;根据左上角顶点坐标和左下角顶点坐标确定电子白板显示屏幕的宽,最后根据该显示屏幕的长和宽确定该显示屏幕的屏幕大小。
在本实施例中,可以根据该左上角顶点坐标和右上角顶点坐标确定电子白板显示屏幕的长度,还可以根据左下角顶点坐标和右下角顶点坐标确定电子白板显示屏幕的长度,具体此处不做具体限定。
在本实施例中,可以根据左上角顶点坐标和左下角顶点坐标确定电子白板显示屏幕的宽,还可以根据根据右上角顶点坐标和右下角顶点坐标确定电子白板显示屏幕的宽,具体此处不做具体限定。
在本实施例中,可以根据该显示屏幕的长和宽确定该显示屏幕的屏幕大小,还可以根据左上角顶点与右下角顶点相连形成的线段和右上角顶点计算该显示屏幕的屏幕大小,具体此处不做具体限定。
202、根据屏幕大小确定绘画画布,并锁定电子白板的显示屏幕,显示屏幕用于显示画布绘画结果;
在确定电子白板显示屏幕的屏幕大小之后,根据该屏幕大小设置该绘画画布的大小与该绘画画布的位置,使得绘画画布与显示屏幕相贴合,且绘画画布使用绘画空间更大化。在本实施例中,确定目标画布之前,为了使得***不主动刷新电子绘画白板,则进行锁定该显示屏幕,该显示屏幕用于显示画布绘画结果。
203、确定悬浮窗对应的坐标位置,并获取悬浮窗对应的悬浮窗轮廓;
在本实施例中,在电子白板上存在有悬浮窗的同时需要使用电子白板进行绘画的状态下,需要获取悬浮窗对应的位置和该悬浮窗对应的悬浮窗轮廓,具体的:获取悬浮窗在显示屏幕上的所有集合点,选取该所有集合点的中心点做为该悬浮窗的坐标位置,选取该所有集合点的所有边缘点做为悬浮窗轮廓点,根据该悬浮窗的轮廓点确定该悬浮窗对应的悬浮窗轮廓。
204、根据坐标位置和悬浮窗轮廓确定相关数据;
在确定悬浮窗的坐标位置和悬浮窗轮廓之后,将该悬浮窗的坐标位置和悬浮窗轮廓结合确定为悬浮窗的相关数据,该相关数据用于可以形成相对应的悬浮窗区域提供数据依赖基础。
205、根据该相关数据设置在绘画画布上的预裁剪区域;
在本实施例中,当确定相关数据之后,就根据该相关数据确定悬浮窗在绘画画布上相对应的裁剪坐标位置,以及相对应的裁剪轮廓;进一步根据裁剪坐标位置和裁剪轮廓确定在绘画画布上的预裁剪区域。该预裁剪区域用于根据绘画画布制作目标画布提供裁剪数据基础。
206、判断预裁剪区域与当前裁剪区域是否一致;若否,执行步骤207;若是,执行步骤209;
为了使得裁剪效率的提高,则判断预裁剪区域与当前裁剪区域是否一致,当预裁剪区域与当前裁剪区域一致时,则表示该预裁剪区域已被裁剪,此时不需要再次裁剪画布,可直接将当前的画布作为目标画布;当预裁剪区域与当前裁剪区域不一致时,则表示该预裁剪区域未被裁剪,且画布不需要裁剪的部分可能存在已经被裁剪。
207、重置绘画画布;
当确定预裁剪区域未被裁剪,且画布不需要裁剪的部分可能存在已经被裁剪的状态下,为了确定绘画画布的完整性,则需要对该绘画画布进行重置,使得绘画画布所有的区域都补全。
在本实施例中,重置绘画画布可以为对整张绘画画布进行重置,也可以为仅仅对绘画画布上已经被裁剪的区域进行重置,具体此处不做具体限定。
208、通过在绘画画布上裁剪预裁剪区域制作目标画布;
绘画画布经过重置之后,则是一张完整的绘画画布,此时,在完整的绘画画布上进行对预裁剪区域进行裁剪,进行裁剪后的绘画画布作为目标画布。
在本实施例中,在绘画画布上裁剪预裁剪区域的结果是为了使得在使用电子白板进行绘画时,书写轨迹越过悬浮窗时,在显示屏幕上不显示越过悬浮窗得书写轨迹。
209、解锁显示屏幕,并通过目标画布执行绘画功能。
本实施例中的步骤209与前述实施例中步骤104类似,此处不再赘述。
请参阅图3,本申请实施例中基于android白板防闪烁的装置一个实施例包括:
确定锁定单元301,用于确定绘画画布,并锁定电子白板的显示屏幕,显示屏幕用于显示画布绘画结果;
获取单元302,用于获取悬浮窗的相关数据;
制作单元303,用于根据所述相关数据设置在所述绘画画布上的预裁剪区域,进而在所述绘画画布上裁剪所述预裁剪区域制作目标画布;
解锁绘画单元304,用于解锁显示屏幕,并通过目标画布执行绘画功能。
本实施例中获取单元302可以包括确定获取模块3021,确定模块3022。
确定获取模块3021,用于确定悬浮窗对应的坐标位置,并获取悬浮窗对应的悬浮窗轮廓;
确定模块3022,用于根据坐标位置和悬浮窗轮廓确定相关数据。
本实施例中制作单元303可以包括设置模块3031,制作模块3032。
设置模块3031,用于根据该相关数据设置在绘画画布上的预裁剪区域;
制作模块3032,用于通过在绘画画布上裁剪预裁剪区域制作目标画布。
本实施例中,该装置还可以包括:
判断单元305,用于判断预裁剪区域与当前裁剪区域是否一致;
重置单元306,用于当判断单元305确定预裁剪区域与当前裁剪区域不一致时,重置绘画画布;
解锁绘画单元304,还用于当判断单元305确定预裁剪区域与当前裁剪区域一致时,解锁显示屏幕,并通过目标画布执行绘画功能。
本实施例中,该装置还包括:
计算单元307,用于计算显示屏幕的屏幕大小;
确定锁定单元301,还用于根据屏幕大小确定绘画画布。
在本实施例中,计算单元307计算显示屏幕的屏幕大小,并将该屏幕大小发送至确定锁定单元301,确定锁定单元301根据屏幕大小确定绘画画布,并锁定电子白板的显示屏幕,显示屏幕用于显示画布绘画结果;在确定绘画画布之后,确定获取模块3021确定悬浮窗对应的坐标位置,并获取悬浮窗对应的悬浮窗轮廓;继而确定模块3022根据坐标位置和悬浮窗轮廓确定相关数据,并将该相关数据发送给设置模块3031,设置模块3031根据该相关数据设置在绘画画布上的预裁剪区域;在确定预裁剪区域之后,判断单元305判断预裁剪区域与当前裁剪区域是否一致;当判断单元305确定预裁剪区域与当前裁剪区域一致时,解锁绘画单元304解锁显示屏幕,并通过目标画布执行绘画功能;当判断单元305确定预裁剪区域与当前裁剪区域不一致时,重置单元306重置绘画画布。重置绘画画布之后,制作模块3032通过在绘画画布上裁剪预裁剪区域制作目标画布;最后使用解锁绘画单元304解锁显示屏幕,并通过目标画布执行绘画功能。
下面对本申请实施例中的基于android白板防闪烁的装置进行详细描述,请参阅图4,本申请实施例中基于android白板防闪烁的装置另一实施例包括:
处理器401、存储器402、输入输出单元403、总线404;
处理器401与存储器402、输入输出单元403以及总线404相连;
处理器401执行如下操作:
确定绘画画布,并锁定电子白板的显示屏幕,该显示屏幕用于显示画布绘画结果;
获取悬浮窗的相关数据;
根据所述相关数据设置在所述绘画画布上的预裁剪区域;
通过在所述绘画画布上裁剪所述预裁剪区域制作目标画布,所述裁剪包括覆盖式裁剪和隐藏式裁剪;
解锁显示屏幕,并通过目标画布执行绘画功能。
本实施例中,处理器401的功能与前述图1至图2所示实施例中的步骤,此处不再赘述。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的***,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的***,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,read-only memory)、随机存取存储器(RAM,random access memory)、磁碟或者光盘等各种可以存储程序代码的介质。

Claims (8)

  1. 一种基于android白板防闪烁的方法,其特征在于,包括:
    确定绘画画布,并锁定电子白板的显示屏幕,所述显示屏幕用于显示画布绘画
    结果;
    获取悬浮窗的相关数据;
    根据所述相关数据确定所述悬浮窗在所述绘画画布上相对应的位置区域,并将所述位置区域确定为预裁剪区域;
    通过在所述绘画画布上裁剪所述预裁剪区域制作目标画布,所述裁剪包括覆盖式裁剪和隐藏式裁剪;
    解锁所述显示屏幕,并通过所述目标画布执行绘画功能。
  2. 根据权利要求1所述的方法,其特征在于,所述获取悬浮窗的相关数据,包括:
    确定悬浮窗对应的坐标位置,并获取所述悬浮窗对应的悬浮窗轮廓;
    根据所述坐标位置和所述悬浮窗轮廓确定相关数据。
  3. 根据权利要求2所述的方法,其特征在于,所述通过在所述绘画画布上裁
    剪所述预裁剪区域制作目标画布之前,所述方法还包括:
    判断所述预裁剪区域与当前裁剪区域是否一致;
    若否,则重置所述绘画画布。
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述确定绘画画布之前,所述方法还包括:
    计算显示屏幕的屏幕大小;
    所述确定绘画画布,包括:
    根据所述屏幕大小确定绘画画布。
  5. 一种基于android白板防闪烁的装置,其特征在于,包括:
    确定锁定单元,用于确定绘画画布,并锁定电子白板的显示屏幕,所述显示屏幕用于显示画布绘画结果;
    获取单元,用于获取悬浮窗的相关数据;
    设置单元,用于根据所述相关数据确定所述悬浮窗在所述绘画画布上相对应的位置区域,并将所述位置区域确定为预裁剪区域;
    制作单元,用于通过在所述绘画画布上裁剪所述预裁剪区域制作目标画布,所述裁剪包括覆盖式裁剪和隐藏式裁剪;
    解锁绘画单元,用于解锁所述显示屏幕,并通过所述目标画布执行绘画功能。
  6. 根据权利要求5所述的装置,其特征在于,所述获取单元,包括:
    确定获取模块,用于确定悬浮窗对应的坐标位置,并获取所述悬浮窗对应的悬浮窗轮廓;
    确定模块,用于根据所述坐标位置和所述悬浮窗轮廓确定相关数据。
  7. 根据权利要求6所述的装置,其特征在于,所述装置还包括:
    判断单元,用于判断所述预裁剪区域与当前裁剪区域是否一致;
    重置单元,用于当所述判断单元确定所述预裁剪区域与当前裁剪区域不一致时,重置所述绘画画布。
  8. 根据权利要求5至7中任一项所述的装置,其特征在于,所述装置还包括:计算单 元,用于计算显示屏幕的屏幕大小;
    所述确定锁定单元,还用于根据所述屏幕大小确定绘画画布。
PCT/CN2022/101363 2021-07-30 2022-06-27 一种基于android白板防闪烁的方法及其装置 WO2023005540A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP22848147.9A EP4357895A1 (en) 2021-07-30 2022-06-27 Android whiteboard anti-flickering method and apparatus
US18/420,806 US20240203378A1 (en) 2021-07-30 2024-01-24 Anti-flicker method and apparatus for android whiteboard

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110867292.9A CN113407098B (zh) 2021-07-30 2021-07-30 一种基于android白板防闪烁的方法及其装置
CN202110867292.9 2021-07-30

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/420,806 Continuation-In-Part US20240203378A1 (en) 2021-07-30 2024-01-24 Anti-flicker method and apparatus for android whiteboard

Publications (1)

Publication Number Publication Date
WO2023005540A1 true WO2023005540A1 (zh) 2023-02-02

Family

ID=77688064

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/101363 WO2023005540A1 (zh) 2021-07-30 2022-06-27 一种基于android白板防闪烁的方法及其装置

Country Status (4)

Country Link
US (1) US20240203378A1 (zh)
EP (1) EP4357895A1 (zh)
CN (1) CN113407098B (zh)
WO (1) WO2023005540A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113407098B (zh) * 2021-07-30 2021-12-03 广州朗国电子科技股份有限公司 一种基于android白板防闪烁的方法及其装置
CN114020233B (zh) * 2022-01-06 2022-04-08 广州朗国电子科技股份有限公司 一种会议白板窗口模式书写适配方法、***、设备及介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140292749A1 (en) * 2010-06-01 2014-10-02 Vladimir Vaganov 3d digital painting
CN108008991A (zh) * 2017-10-30 2018-05-08 努比亚技术有限公司 一种图片处理方法、终端及计算机可读存储介质
CN110928459A (zh) * 2019-10-09 2020-03-27 广州视源电子科技股份有限公司 智能交互平板的书写操作方法、装置、设备和存储介质
CN113407098A (zh) * 2021-07-30 2021-09-17 广州朗国电子科技股份有限公司 一种基于android白板防闪烁的方法及其装置

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017044804A1 (en) * 2015-09-10 2017-03-16 Benavides Miguel Method and system for visualization of position data
CN105760073B (zh) * 2016-02-01 2018-11-06 锐达互动科技股份有限公司 一种在交互式电子白板软件中实现图形透视的方法
CN106201172B (zh) * 2016-06-24 2020-09-01 广州视睿电子科技有限公司 一种触屏终端的画布显示方法及装置
CN106776514B (zh) * 2016-12-15 2020-08-07 广州视源电子科技股份有限公司 一种批注方法及装置
US10284815B2 (en) * 2017-07-26 2019-05-07 Blue Jeans Network, Inc. System and methods for physical whiteboard collaboration in a video conference
CN109324745B (zh) * 2018-08-02 2021-01-22 广州视源电子科技股份有限公司 白板操作方法、装置、***、白板设备和介质
CN109671133A (zh) * 2018-12-12 2019-04-23 成都四方伟业软件股份有限公司 轨迹的生成方法、装置、电子设备及存储介质
CN110941382B (zh) * 2019-10-09 2021-09-24 广州视源电子科技股份有限公司 智能交互平板的显示操作方法、装置、设备和存储介质
CN111984151B (zh) * 2020-08-19 2024-04-12 北京盛世和安电子科技有限公司 一种提高处理效率的白板画布大小、位置漫游控制方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140292749A1 (en) * 2010-06-01 2014-10-02 Vladimir Vaganov 3d digital painting
CN108008991A (zh) * 2017-10-30 2018-05-08 努比亚技术有限公司 一种图片处理方法、终端及计算机可读存储介质
CN110928459A (zh) * 2019-10-09 2020-03-27 广州视源电子科技股份有限公司 智能交互平板的书写操作方法、装置、设备和存储介质
CN113407098A (zh) * 2021-07-30 2021-09-17 广州朗国电子科技股份有限公司 一种基于android白板防闪烁的方法及其装置

Also Published As

Publication number Publication date
EP4357895A1 (en) 2024-04-24
CN113407098B (zh) 2021-12-03
US20240203378A1 (en) 2024-06-20
CN113407098A (zh) 2021-09-17

Similar Documents

Publication Publication Date Title
WO2023005540A1 (zh) 一种基于android白板防闪烁的方法及其装置
US11842438B2 (en) Method and terminal device for determining occluded area of virtual object
CN109284059B (zh) 笔迹绘制方法、装置、交互智能平板和存储介质
US10074217B2 (en) Position identification method and system
US8131015B2 (en) Multiple camera control system
US20180204052A1 (en) A method and apparatus for human face image processing
EP2843625B1 (en) Method for synthesizing images and electronic device thereof
EP3496036B1 (en) Structural modeling using depth sensors
US9207858B2 (en) Method and apparatus for drawing and erasing calligraphic ink objects on a display surface
US10317777B2 (en) Automatic zooming method and apparatus
AU2016262789B2 (en) 3d modeling by tracing 2d image ui
US7937668B2 (en) Information processing apparatus and display method
US20140225894A1 (en) 3d-rendering method and device for logical window
WO2019105191A1 (zh) 多元素交互方法、装置、设备和存储介质
KR20230153488A (ko) 이미지 처리 방법, 장치, 기기, 및 저장 매체
KR20150039049A (ko) 템플릿 편집 프레임 크기에 따른 사용자 인터페이스 제공 방법 및 그 장치
WO2023029475A1 (zh) 模型透视方法、智能终端以及存储装置
CN113763233B (zh) 一种图像处理方法、服务器及拍照设备
JP2003187263A (ja) 投影制御処理装置およびコンピュータプログラム
US11481940B2 (en) Structural facial modifications in images
CN113610864A (zh) 图像处理方法、装置、电子设备及计算机可读存储介质
CN110827411A (zh) 自适应环境的增强现实模型显示方法、装置、设备及存储介质
CN116543004B (zh) 图像裁切方法、装置、终端设备及计算机可读存储介质
CN112583976B (zh) 图形码显示方法、设备及可读存储介质
CN114554097A (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: 22848147

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2022848147

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2022848147

Country of ref document: EP

Effective date: 20240116

NENP Non-entry into the national phase

Ref country code: DE