[go: up one dir, main page]

CN107422974B - Handwriting display method and system, storage medium and device based on dual systems - Google Patents

Handwriting display method and system, storage medium and device based on dual systems Download PDF

Info

Publication number
CN107422974B
CN107422974B CN201710601639.9A CN201710601639A CN107422974B CN 107422974 B CN107422974 B CN 107422974B CN 201710601639 A CN201710601639 A CN 201710601639A CN 107422974 B CN107422974 B CN 107422974B
Authority
CN
China
Prior art keywords
handwriting
display
layer
writing
dual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710601639.9A
Other languages
Chinese (zh)
Other versions
CN107422974A (en
Inventor
向淘
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shizhen Information Technology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shizhen Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shizhen Information Technology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201710601639.9A priority Critical patent/CN107422974B/en
Priority to PCT/CN2017/103425 priority patent/WO2019015095A1/en
Publication of CN107422974A publication Critical patent/CN107422974A/en
Application granted granted Critical
Publication of CN107422974B publication Critical patent/CN107422974B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Position Input By Displaying (AREA)

Abstract

本发明涉及一种基于双系统的笔迹书写显示方法和系统、存储介质及设备,方法包括以下步骤:在检测到触摸事件之后,分别在第一系统的透明书写层以及第二系统的书写软件的书写界面上执行笔迹绘制操作;从显示缓存区域读取所述第一系统的当前显示图像,并将所述当前显示图像绘制在预先建立的原始图像层上,将所述透明书写层上的笔迹和所述原始图像层上的当前显示图像进行颜色融合叠加,将颜色融合叠加后的内容更新到第一系统的显示缓冲区中,作为第一系统的显示画面;在第一系统对所述显示画面进行显示,并在第二系统对所述书写界面上的笔迹进行同步显示。

Figure 201710601639

The invention relates to a dual-system-based handwriting display method and system, a storage medium and a device. The method includes the following steps: after detecting a touch event, a transparent writing layer of the first system and a writing software of the second system Execute the handwriting drawing operation on the writing interface; read the current display image of the first system from the display buffer area, draw the current display image on the pre-established original image layer, and draw the handwriting on the transparent writing layer Perform color fusion and superposition with the current display image on the original image layer, and update the content after the color fusion and superposition to the display buffer area of the first system as the display screen of the first system; The screen is displayed, and the handwriting on the writing interface is displayed synchronously in the second system.

Figure 201710601639

Description

基于双系统的笔迹书写显示方法和系统、存储介质及设备Handwriting display method and system, storage medium and device based on dual systems

技术领域technical field

本发明涉及触摸屏技术领域,特别是涉及一种基于双系统的笔迹书写显示方法和系统、存储介质及设备。The present invention relates to the technical field of touch screens, in particular to a dual-system-based handwriting display method and system, storage medium and device.

背景技术Background technique

双系统显示设备是指包括两套完整的操作系统的电子设备。举例来说,双系统显示设备的操作系统可以由主安卓系统加其他安卓系统,或者由主安卓系统加Windows系统构成,一般将主安卓系统称为第一系统,另一系统称为第二系统。A dual-system display device refers to an electronic device that includes two complete sets of operating systems. For example, the operating system of the dual-system display device may be composed of a main Android system plus other Android systems, or a main Android system plus a Windows system. Generally, the main Android system is called the first system, and the other system is called the second system. .

目前,在双系统显示设备中,在对第二系统的信号进行显示时,第二系统的显示信号需要通过HDMI(High Definition Multimedia Interface,高清晰度多媒体接口)线物理连接至第一系统做显示输出,第一系统接收到第二系统的信号后进行HDMI解码并显示,第二系统一帧的画面需要经过HMDI编码、传输、HDMI解码之后才能呈现给用户。At present, in a dual-system display device, when displaying the signal of the second system, the display signal of the second system needs to be physically connected to the first system for display through an HDMI (High Definition Multimedia Interface) cable. Output: After the first system receives the signal from the second system, HDMI decodes and displays it, and a frame of the second system needs to undergo HMDI encoding, transmission, and HDMI decoding before it can be presented to the user.

为了减少传输时延,有一种方式是在第一系统创建透明书写层,并在第一系统和第二系统同时书写。然而,在这种方案中,第一系统的笔迹容易将第一系统透明书写层上的非书写应用的窗口和按钮划破,如图1所示。In order to reduce the transmission delay, one way is to create a transparent writing layer in the first system, and write simultaneously in the first system and the second system. However, in this solution, the handwriting of the first system easily scratches the windows and buttons of non-writing applications on the transparent writing layer of the first system, as shown in FIG. 1 .

综上所述,传统的基于双系统的书写方式书写效果较差。To sum up, the traditional dual-system-based writing method has poor writing effect.

发明内容SUMMARY OF THE INVENTION

基于此,有必要针对传统的基于双系统的书写方式书写效果较差的问题,提供一种基于双系统的笔迹书写显示方法和系统、存储介质及设备。Based on this, it is necessary to provide a dual-system-based handwriting display method and system, a storage medium, and a device for the problem of poor writing effect in the traditional dual-system-based writing method.

一种基于双系统的笔迹书写显示方法,包括以下步骤:A dual-system-based handwriting display method, comprising the following steps:

在检测到触摸事件之后,分别在第一系统的透明书写层以及第二系统的书写软件的书写界面上执行笔迹绘制操作;After the touch event is detected, the handwriting drawing operation is performed on the transparent writing layer of the first system and the writing interface of the writing software of the second system respectively;

从显示缓存区域读取所述第一系统的当前显示图像,并将所述当前显示图像绘制在预先建立的原始图像层上,将所述透明书写层上的笔迹和所述原始图像层上的当前显示图像进行颜色融合叠加,将颜色融合叠加后的内容更新到第一系统的显示缓冲区中,作为第一系统的显示画面;The current display image of the first system is read from the display buffer area, and the current display image is drawn on the pre-established original image layer, and the handwriting on the transparent writing layer and the original image layer are drawn. The currently displayed image is subjected to color fusion and superposition, and the content after the color fusion and superposition is updated to the display buffer of the first system as a display screen of the first system;

在第一系统对所述显示画面进行显示,并在第二系统对所述书写界面上的笔迹进行同步显示。The display screen is displayed in the first system, and the handwriting on the writing interface is synchronously displayed in the second system.

一种基于双系统的笔迹书写显示系统,包括:A dual-system-based handwriting display system, comprising:

第一绘制模块,用于在检测到触摸事件之后,分别在第一系统的透明书写层以及第二系统的书写软件的书写界面上执行笔迹绘制操作;a first drawing module, configured to perform handwriting drawing operations on the transparent writing layer of the first system and the writing interface of the writing software of the second system respectively after detecting the touch event;

第二绘制模块,用于从显示缓存区域读取所述第一系统的当前显示图像,并将所述当前显示图像绘制在预先建立的原始图像层上,将所述透明书写层上的笔迹和所述原始图像层上的当前显示图像进行颜色融合叠加,将颜色融合叠加后的内容更新到第一系统的显示缓冲区中,作为第一系统的显示画面;The second drawing module is configured to read the current display image of the first system from the display buffer area, draw the current display image on the pre-established original image layer, and draw the handwriting on the transparent writing layer and the The current display image on the original image layer is subjected to color fusion and superposition, and the content after the color fusion and superposition is updated to the display buffer area of the first system as a display screen of the first system;

显示模块,用于在第一系统对所述显示画面进行显示,并在第二系统对所述书写界面上的笔迹进行同步显示。The display module is used for displaying the display screen in the first system, and synchronously displaying the handwriting on the writing interface in the second system.

一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现基于双系统的笔迹书写显示方法。A computer-readable storage medium on which a computer program is stored, when the program is executed by a processor, implements a dual-system-based handwriting display method.

一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现基于双系统的笔迹书写显示方法。A computer device includes a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor implements a dual-system-based handwriting display method when executing the program.

上述基于双系统的笔迹书写显示方法和系统、存储介质及设备,通过在第一系统建立透明书写层和原始图像层,将笔迹绘制在透明书写层上,同时将透明书写层上的当前显示图像绘制在原始图像层上,再将透明书写层上的笔迹和原始图像层上的当前显示图像进行颜色融合叠加后作为第一系统的显示画面,最后在两个系统进行同步显示,从而避免了笔迹划破显示图像中的窗口和按钮,提高了显示效果。The above-mentioned dual-system-based handwriting display method and system, storage medium and device, by establishing a transparent writing layer and an original image layer in the first system, the handwriting is drawn on the transparent writing layer, and the currently displayed image on the transparent writing layer is simultaneously displayed. It is drawn on the original image layer, and then the handwriting on the transparent writing layer and the currently displayed image on the original image layer are fused and superimposed as the display screen of the first system, and finally displayed in the two systems synchronously, thus avoiding the handwriting. Scratched windows and buttons in the display image to improve the display.

附图说明Description of drawings

图1为一个实施例的笔迹划破非书写应用的窗口和按钮的示意图;1 is a schematic diagram of a window and a button of a handwriting scratching non-writing application according to one embodiment;

图2为一个实施例的基于双系统的笔迹书写显示方法流程图;2 is a flowchart of a dual-system-based handwriting display method according to an embodiment;

图3为一个实施例的第一系统显示内容的示意图;FIG. 3 is a schematic diagram of display content of a first system according to an embodiment;

图4为一个实施例的第二系统显示内容的示意图;FIG. 4 is a schematic diagram of display content of a second system according to an embodiment;

图5为一个实施例的第一系统显示内容和第二系统显示内容叠加后的最终显示内容的示意图;FIG. 5 is a schematic diagram of the final display content after the display content of the first system and the display content of the second system are superimposed according to an embodiment;

图6为一个实施例的第二系统的笔迹绘制结果的示意图;6 is a schematic diagram of a handwriting drawing result of the second system according to one embodiment;

图7为一个实施例的透明层书写层的笔迹绘制结果的示意图;7 is a schematic diagram of a handwriting drawing result of a transparent layer writing layer according to an embodiment;

图8为一个实施例的第一层与第二层进行颜色融合叠加组成第一系统的显示内容的示意图;8 is a schematic diagram of a first layer and a second layer performing color fusion and superposition to form the display content of the first system according to an embodiment;

图9为一个实施例的第一系统与第二系统叠加显示后的显示内容的示意图;9 is a schematic diagram of display content after the first system and the second system are superimposed and displayed according to an embodiment;

图10为一个实施例的一个实施例的基于双系统的笔迹书写显示系统的结构示意图。FIG. 10 is a schematic structural diagram of a dual-system-based handwriting display system according to an embodiment.

具体实施方式Detailed ways

下面结合附图对本发明的技术方案进行说明。The technical solutions of the present invention will be described below with reference to the accompanying drawings.

在此先说明一下基于双系统的笔迹绘制原理。为了减少传输时延,有一种方式是在第一系统创建透明书写层,并在第一系统和第二系统同时书写。在这种方案中,在第二系统的书写软件启动时,通过第二系统向第一系统发送启动指令,根据启动指令在第一系统启动透明书写层;根据检测的触摸事件在透明书写层上执行笔迹绘制操作,得到第一笔迹,并将第一笔迹显示在透明书写层上;根据触摸事件在书写软件的书写界面上执行笔迹绘制操作,得到第二笔迹,并将第二笔迹显示在第二系统的书写层上;在检测到所述触摸事件结束之后,若书写软件上的笔迹绘制操作完成,擦除所述第一笔迹。First, the principle of handwriting drawing based on the dual system will be explained. In order to reduce the transmission delay, one way is to create a transparent writing layer in the first system, and write simultaneously in the first system and the second system. In this solution, when the writing software of the second system is started, a start instruction is sent to the first system through the second system, and the transparent writing layer is started in the first system according to the start instruction; according to the detected touch event, on the transparent writing layer Execute the handwriting drawing operation to obtain the first handwriting, and display the first handwriting on the transparent writing layer; perform the handwriting drawing operation on the writing interface of the writing software according to the touch event, obtain the second handwriting, and display the second handwriting on the first handwriting. On the writing layer of the second system; after detecting the end of the touch event, if the handwriting drawing operation on the writing software is completed, the first handwriting is erased.

在一个实施例中,第一系统可以是安卓系统、IOS系统或Windows系统等操作系统,第二系统也可以是上述系统之一。在一个典型的实施例中,第一系统和第二系统可均为安卓系统。第二系统的书写软件即为安装在第二系统中的书写软件。当通过第二系统的书写软件进行笔迹绘制时,笔迹显示过程需要经过HMDI编码、传输和HDMI解码之后才能显示出来。为了加快笔迹显示,在第二系统的书写软件启动时,可以通过第二系统向第一系统发送启动指令,在第一系统启动一层透明书写层。由于第二系统的书写软件启动在先,透明书写层启动在后,因此,透明书写层将覆盖在第二系统的书写软件之上。并且,由于第一系统启动的是透明书写层,也就是其背景是透明的,那么对用户来讲,是无法感知到第一系统透明书写层的存在,也感知不到这个启动过程。In one embodiment, the first system may be an operating system such as an Android system, an IOS system, or a Windows system, and the second system may also be one of the foregoing systems. In a typical embodiment, the first system and the second system may both be Android systems. The writing software of the second system is the writing software installed in the second system. When handwriting is drawn by the writing software of the second system, the handwriting display process needs to go through HMDI encoding, transmission and HDMI decoding before it can be displayed. In order to speed up the display of handwriting, when the writing software of the second system is started, a start-up instruction can be sent to the first system through the second system, and a transparent writing layer is started in the first system. Since the writing software of the second system is activated first and the transparent writing layer is activated later, the transparent writing layer will cover the writing software of the second system. Moreover, since the first system starts the transparent writing layer, that is, its background is transparent, the user cannot perceive the existence of the transparent writing layer of the first system, nor the starting process.

上述方案存在一个问题,即第一系统的笔迹容易将第一系统透明书写层上的非书写应用的窗口和按钮划破,如图1所示,图中的白色细线为笔迹,可以看出数字“00”中的第一个“0”和“05”与笔迹线条相交的部分都有不完整的地方。为了解决上述问题,本发明提供一种基于双系统的笔迹书写显示方法,如图2所示,可包括以下步骤:The above solution has a problem, that is, the handwriting of the first system is easy to scratch the windows and buttons of non-writing applications on the transparent writing layer of the first system, as shown in Figure 1, the white thin line in the figure is handwriting, it can be seen that The first "0" and "05" in the number "00" and the part where the handwriting line intersects are both incomplete. In order to solve the above problems, the present invention provides a dual-system-based handwriting display method, as shown in FIG. 2 , which may include the following steps:

S1,在检测到触摸事件之后,分别在第一系统的透明书写层以及第二系统的书写软件的书写界面上执行笔迹绘制操作;S1, after detecting the touch event, perform handwriting drawing operations on the transparent writing layer of the first system and the writing interface of the writing software of the second system respectively;

在一个实施例中,在第一系统的透明书写层上可能存在一个或多个图标,例如,计时器图标,显示层次画面如图3所示。在另一个实施例中,第二系统的书写软件的书写界面如图4所示,包括一个书写区域,书写界面上还可以设置有若干个图标,用于执行相关的非书写操作,图标实现的功能包括但不限于与菜单、工具栏和/或调色盘的交互操作、撤销笔迹绘制操作、取消撤销操作、截图操作中的一者或多者。与上述两个实施例对应的第一系统显示内容和第二系统显示内容叠加后的最终显示内容如图5所示。In one embodiment, there may be one or more icons on the transparent writing layer of the first system, for example, a timer icon, and the display layer screen is shown in FIG. 3 . In another embodiment, the writing interface of the writing software of the second system is shown in FIG. 4 , including a writing area, and several icons may be set on the writing interface for performing related non-writing operations. Functions include, but are not limited to, one or more of interactive operations with menus, toolbars, and/or palettes, undo handwriting operations, cancel undo operations, and screenshot operations. The final display content after superimposing the display content of the first system and the display content of the second system corresponding to the above two embodiments is shown in FIG. 5 .

在本步骤中,可以检测系统发出的触摸事件启动指令,若检测到,则判定发生触摸事件。以安卓系统为例,当检测到系统发出的ACTION_DOWN指令时,可判定发生触摸事件,然后分别在第一系统和第二系统中执行笔迹绘制操作。In this step, a touch event initiation instruction issued by the system may be detected, and if detected, it is determined that a touch event occurs. Taking the Android system as an example, when the ACTION_DOWN instruction issued by the system is detected, it can be determined that a touch event occurs, and then the handwriting drawing operation is performed in the first system and the second system respectively.

S2,从显示缓存区域读取所述第一系统的当前显示图像,并将所述当前显示图像绘制在预先建立的原始图像层上,将所述透明书写层上的笔迹和所述原始图像层上的当前显示图像进行颜色融合叠加,将颜色融合叠加后的内容更新到第一系统的显示缓冲区中,作为第一系统的显示画面;S2, read the current display image of the first system from the display buffer area, draw the current display image on the pre-established original image layer, and combine the handwriting on the transparent writing layer with the original image layer Perform color fusion and superposition on the currently displayed image on the screen, and update the content after the color fusion and superposition to the display buffer area of the first system as the display screen of the first system;

在第一系统中绘制书写笔迹时,为了避免划破其他应用的按钮和窗口,可在第一系统采用分层绘制的方法:其中,第一层为原始图像层,用于绘制其他应用的按钮和窗口在显示缓存区中的当前显示图像,该当前显示图像中可包括第一系统透明书写层上的图标和窗口的图像。第二层为透明书写层,用于绘制笔迹。在一个实施例中,当第二系统的书写软件启动时,可通过第二系统向第一系统发送软件启动命令;可响应该软件启动命令启动第一系统的书写软件;通过第一系统的书写软件在第一系统新建原始图像层和透明书写层。When drawing handwriting in the first system, in order to avoid scratching buttons and windows of other applications, a layered drawing method can be adopted in the first system: the first layer is the original image layer, which is used to draw buttons of other applications and the current display image of the window in the display buffer area, the current display image may include the icon on the transparent writing layer of the first system and the image of the window. The second layer is a transparent writing layer for drawing handwriting. In one embodiment, when the writing software of the second system is started, a software start command may be sent to the first system through the second system; the writing software of the first system may be started in response to the software start command; The software creates an original image layer and a transparent writing layer in the first system.

每次绘制时,首先读取显示缓存区中的当前显示图像作为第一层,将当前绘制的笔迹作为第二层;将第一层的当前显示图像与第二层的笔迹进行颜色融合叠加后得到的内容更新到第一系统的显示缓冲区中,共同作为第一系统的显示内容。Each time you draw, first read the currently displayed image in the display buffer area as the first layer, and use the currently drawn handwriting as the second layer; after the current display image of the first layer and the handwriting of the second layer are color fused and superimposed. The obtained content is updated to the display buffer area of the first system, and is collectively used as the display content of the first system.

S3,将所述透明书写层上的笔迹和所述当前显示图像显示在所述透明书写层上,并将所述书写界面上的笔迹显示在所述书写界面上。S3: Display the handwriting on the transparent writing layer and the currently displayed image on the transparent writing layer, and display the handwriting on the writing interface on the writing interface.

在一个实施例中,显示缓存区的大小即为系统显示分辨率大小,可显示设备的显示器刷新率,并根据显示器刷新率,直接从显示缓存区中读取显示画面,并在第一系统对该显示画面进行显示。In one embodiment, the size of the display buffer area is the display resolution size of the system, the display refresh rate of the display device can be displayed, and according to the display refresh rate, the display image is directly read from the display buffer area, and the first system This display screen is displayed.

进一步地,在一个实施例中,在显示之前,可通过第二系统向第一系统发送笔迹颜色设置指令,该笔迹颜色设置指令中可携带第二系统笔迹的当前显示颜色,第一系统可根据该笔迹颜色设置指令透明书写层上的笔迹颜色。进一步地,第一系统还可以根据所述当前显示颜色对所述透明书写层上的笔迹进行渲染;将渲染后的笔迹与所述原始图像层上的当前显示图像进行颜色融合叠加后作为所述透明书写层上的显示内容。设置笔迹颜色的过程也可以在启动第二系统书写软件的时候执行,即,在检测到第二系统书写软件启动时,通过第二系统向第一系统发送笔迹颜色设置指令。通过这种方式,可以使第一系统和第二系统保持笔迹颜色同步。Further, in one embodiment, before displaying, a handwriting color setting instruction can be sent to the first system through the second system, and the handwriting color setting instruction can carry the current display color of the handwriting of the second system. The handwriting color setting dictates the handwriting color on the transparent writing layer. Further, the first system can also render the handwriting on the transparent writing layer according to the current display color; the rendered handwriting and the currently displayed image on the original image layer are subjected to color fusion and superposition as the Display content on transparent writing layer. The process of setting the handwriting color can also be performed when the writing software of the second system is started, that is, when it is detected that the writing software of the second system is started, a handwriting color setting instruction is sent to the first system through the second system. In this way, the first system and the second system can keep handwriting color synchronized.

进一步地,在另一个实施例中,在显示之前,还可通过第二系统向第一系统发送笔迹线条设置指令,该笔迹线条设置指令中可携带第二系统笔迹的当前显示线条类型,包括但不限于线条粗细、线条线型(实线或虚线)、线条端点(无端点、线条起始端有端点或线条末端有端点,和/或端点类型等)中的一者或多者。进一步地,第一系统可以根据所述当前显示线条类型设置所述透明书写层上的笔迹的线条类型;将设置后的笔迹与所述原始图像层上的当前显示图像进行颜色融合叠加后作为所述透明书写层上的显示内容。设置笔迹线条的过程也可以在启动第二系统书写软件的时候执行,即,在检测到第二系统书写软件启动时,通过第二系统向第一系统发送笔迹线条设置指令。通过这种方式,可以使第一系统和第二系统保持笔迹线条类型同步。Further, in another embodiment, before displaying, a handwriting line setting instruction can also be sent to the first system through the second system, and the handwriting line setting instruction can carry the currently displayed line type of the handwriting of the second system, including but Not limited to one or more of line thickness, line style (solid or dashed), line endpoints (no endpoints, endpoints at the beginning of the line or endpoints at the end of the line, and/or endpoint type, etc.). Further, the first system can set the line type of the handwriting on the transparent writing layer according to the currently displayed line type; the set handwriting and the currently displayed image on the original image layer are subjected to color fusion and superposition as the Describe the display content on the transparent writing layer. The process of setting the handwriting lines can also be performed when the writing software of the second system is started, that is, when it is detected that the writing software of the second system is started, a handwriting line setting instruction is sent to the first system through the second system. In this way, the first system and the second system can be kept in sync with the stroke type.

为了便于理解,参考图6至图9。图6为第二系统书写界面上的笔迹示意图。第二系统可在检测到书写软件启动指令后,向第一系统发送启动命令,启动第一系统的透明书写层。当第二系统开始绘制后,第一系统在透明书写层上进行同步绘制,如图7所示。同时,第一系统可从显示缓存区域读取所述透明书写层上的当前显示图像,并绘制在原始图像层上,第一层与第二层进行颜色融合叠加组成第一系统的显示内容,如图8所示。最终第一系统的显示内容(图8)与第二系统的显示内容(图6)叠加显示后的结果如图9所示。可以看出,通过采用在第一系统分层绘制的方式,第一系统的笔迹处于图标和窗口的显示内容下层,不会出现划破图标和窗口的情况。For ease of understanding, reference is made to FIGS. 6 to 9 . FIG. 6 is a schematic diagram of handwriting on the writing interface of the second system. After detecting the writing software start-up instruction, the second system can send a start-up command to the first system to start the transparent writing layer of the first system. After the second system starts to draw, the first system performs synchronous drawing on the transparent writing layer, as shown in FIG. 7 . At the same time, the first system can read the currently displayed image on the transparent writing layer from the display buffer area, and draw it on the original image layer, and the first layer and the second layer are fused and superimposed to form the display content of the first system, As shown in Figure 8. Finally, the result after the display content of the first system ( FIG. 8 ) and the display content of the second system ( FIG. 6 ) are superimposed and displayed is shown in FIG. 9 . It can be seen that by adopting the method of layered drawing in the first system, the handwriting of the first system is at the lower layer of the display content of the icon and the window, and the icon and the window will not be scratched.

在进一步的实施例中,还可以在第二系统结束笔迹绘制时,通过第二系统向第一系统发送笔迹绘制终止命令;响应所述笔迹绘制终止命令停止第一系统的笔迹绘制操作,并清除所述透明书写层上的笔迹。在实际应用中,可以通过检测触摸事件结束指令来判断触摸事件是否结束。当检测到所述触摸事件结束指令时,则可判定触摸事件结束,然后向第一系统发送笔迹绘制终止命令;否则,判定触摸事件未结束。以安卓系统为例,可检测ACTION_UP事件,若检测到,则可判定触摸事件结束,否则,判定触摸事件未结束。In a further embodiment, when the second system finishes handwriting drawing, a handwriting drawing termination command can be sent to the first system through the second system; the handwriting drawing operation of the first system is stopped in response to the handwriting drawing termination command, and the handwriting on the transparent writing layer. In practical applications, it can be determined whether the touch event ends by detecting the touch event end instruction. When the touch event ending instruction is detected, it can be determined that the touch event has ended, and then a handwriting drawing termination command is sent to the first system; otherwise, it is determined that the touch event has not ended. Taking the Android system as an example, the ACTION_UP event can be detected, and if detected, it can be determined that the touch event has ended, otherwise, it can be determined that the touch event has not ended.

在进一步的实施例中,在第二系统退出白板书写软件时,可通过第二系统向第一系统发送退出命令;响应所述退出命令关闭第一系统的原始图像层。In a further embodiment, when the second system exits the whiteboard writing software, an exit command may be sent to the first system through the second system; the original image layer of the first system is closed in response to the exit command.

上述基于双系统的笔迹书写显示方法,通过在第一系统建立透明书写层和原始图像层,将笔迹绘制在透明书写层上,同时将透明书写层上的当前显示图像绘制在原始图像层上,最后将透明书写层上的笔迹和所述当前显示图像显示在所述透明书写层上,并将书写界面上的笔迹显示在书写界面上,从而避免了笔迹划破显示图像中的窗口和按钮,提高了显示效果。In the above-mentioned dual-system-based handwriting display method, by establishing a transparent writing layer and an original image layer in the first system, the handwriting is drawn on the transparent writing layer, and the currently displayed image on the transparent writing layer is drawn on the original image layer at the same time, Finally, the handwriting on the transparent writing layer and the currently displayed image are displayed on the transparent writing layer, and the handwriting on the writing interface is displayed on the writing interface, thereby preventing the handwriting from scratching the windows and buttons in the displayed image, Improved display.

如图10所示,本发明还提供一种基于双系统的笔迹书写显示系统,可包括:As shown in Figure 10, the present invention also provides a dual-system-based handwriting display system, which may include:

第一绘制模块10,用于在检测到触摸事件之后,分别在第一系统的透明书写层以及第二系统的书写软件的书写界面上执行笔迹绘制操作;The first drawing module 10 is configured to perform handwriting drawing operations on the transparent writing layer of the first system and the writing interface of the writing software of the second system respectively after the touch event is detected;

在一个实施例中,第一系统的透明书写层除了侧边按钮之外的区域都是透明的,在第一系统的透明书写层上可能还存在一个或多个图标,例如,计时器图标,显示层次画面如图3所示。在另一个实施例中,第二系统的书写软件的书写界面如图4所示,包括一个书写区域,书写界面上还可以设置有若干个图标,用于执行相关的非书写操作,图标实现的功能包括但不限于与菜单、工具栏和/或调色盘的交互操作、撤销笔迹绘制操作、取消撤销操作、截图操作中的一者或多者。与上述两个实施例对应的第一系统显示内容和第二系统显示内容叠加后的最终显示内容如图5所示。In one embodiment, the transparent writing layer of the first system is transparent except for the side buttons, and there may be one or more icons on the transparent writing layer of the first system, for example, a timer icon, The display hierarchy screen is shown in Figure 3. In another embodiment, the writing interface of the writing software of the second system is shown in FIG. 4 , including a writing area, and several icons may be set on the writing interface for performing related non-writing operations. Functions include, but are not limited to, one or more of interactive operations with menus, toolbars, and/or palettes, undo handwriting operations, cancel undo operations, and screenshot operations. The final display content after superimposing the display content of the first system and the display content of the second system corresponding to the above two embodiments is shown in FIG. 5 .

在本模块中,可以检测系统发出的触摸事件启动指令,若检测到,则判定发生触摸事件。以安卓系统为例,当检测到系统发出的ACTION_DOWN指令时,可判定发生触摸事件,然后分别在第一系统和第二系统中执行笔迹绘制操作。In this module, the touch event start command issued by the system can be detected, and if detected, it is determined that a touch event occurs. Taking the Android system as an example, when the ACTION_DOWN instruction issued by the system is detected, it can be determined that a touch event occurs, and then the handwriting drawing operation is performed in the first system and the second system respectively.

第二绘制模块20,用于从显示缓存区域读取所述第一系统的当前显示图像,并将所述当前显示图像绘制在预先建立的原始图像层上,将所述透明书写层上的笔迹和所述原始图像层上的当前显示图像进行颜色融合叠加,将颜色融合叠加后的内容更新到第一系统的显示缓冲区中,作为第一系统的显示画面;The second drawing module 20 is configured to read the current display image of the first system from the display buffer area, draw the current display image on the pre-established original image layer, and draw the handwriting on the transparent writing layer Perform color fusion and superposition with the current display image on the original image layer, and update the content after the color fusion and superposition to the display buffer area of the first system, as the display screen of the first system;

在第一系统中绘制书写笔迹时,为了避免划破其他应用的按钮和窗口,可在第一系统采用分层绘制的方法:其中,第一层为原始图像层,用于绘制其他应用的按钮和窗口在显示缓存区中的当前显示图像,该当前显示图像中可包括第一系统透明书写层上的图标和窗口的图像。第二层为透明书写层,用于绘制笔迹。在一个实施例中,当第二系统的书写软件启动时,可通过第二系统向第一系统发送软件启动命令;可响应该软件启动命令启动第一系统的书写软件;通过第一系统的书写软件在第一系统新建原始图像层和透明书写层。When drawing handwriting in the first system, in order to avoid scratching buttons and windows of other applications, a layered drawing method can be adopted in the first system: the first layer is the original image layer, which is used to draw buttons of other applications and the current display image of the window in the display buffer area, the current display image may include the icon on the transparent writing layer of the first system and the image of the window. The second layer is a transparent writing layer for drawing handwriting. In one embodiment, when the writing software of the second system is started, a software start command may be sent to the first system through the second system; the writing software of the first system may be started in response to the software start command; The software creates an original image layer and a transparent writing layer in the first system.

每次绘制时,首先读取显示缓存区中的当前显示图像作为第一层,将当前绘制的笔迹作为第二层;将第一层的当前显示图像与第二层的笔迹进行颜色融合叠加后得到的内容更新到第一系统的显示缓冲区中,共同作为第一系统的显示内容。Each time you draw, first read the currently displayed image in the display buffer area as the first layer, and use the currently drawn handwriting as the second layer; after the current display image of the first layer and the handwriting of the second layer are color fused and superimposed. The obtained content is updated to the display buffer area of the first system, and is collectively used as the display content of the first system.

显示模块30,用于将所述透明书写层上的笔迹和所述当前显示图像显示在所述透明书写层上,并将所述书写界面上的笔迹显示在所述书写界面上。The display module 30 is configured to display the handwriting on the transparent writing layer and the currently displayed image on the transparent writing layer, and display the handwriting on the writing interface on the writing interface.

在一个实施例中,显示缓存区的大小即为系统显示分辨率大小,可显示设备的显示器刷新率,并根据显示器刷新率,直接从显示缓存区中读取显示画面,并在第一系统对该显示画面进行显示。In one embodiment, the size of the display buffer area is the display resolution size of the system, the display refresh rate of the display device can be displayed, and according to the display refresh rate, the display image is directly read from the display buffer area, and the first system This display screen is displayed.

进一步地,在一个实施例中,在显示之前,可通过第二系统向第一系统发送笔迹颜色设置指令,该笔迹颜色设置指令中可携带第二系统笔迹的当前显示颜色,第一系统可根据该笔迹颜色设置指令透明书写层上的笔迹颜色。进一步地,第一系统还可以根据所述当前显示颜色对所述透明书写层上的笔迹进行渲染;将渲染后的笔迹与所述原始图像层上的当前显示图像进行颜色融合叠加后作为所述透明书写层上的显示内容。设置笔迹颜色的过程也可以在启动第二系统书写软件的时候执行,即,在检测到第二系统书写软件启动时,通过第二系统向第一系统发送笔迹颜色设置指令。通过这种方式,可以使第一系统和第二系统保持笔迹颜色同步。Further, in one embodiment, before displaying, a handwriting color setting instruction can be sent to the first system through the second system, and the handwriting color setting instruction can carry the current display color of the handwriting of the second system. The handwriting color setting dictates the handwriting color on the transparent writing layer. Further, the first system can also render the handwriting on the transparent writing layer according to the current display color; the rendered handwriting and the currently displayed image on the original image layer are subjected to color fusion and superposition as the Display content on transparent writing layer. The process of setting the handwriting color can also be performed when the writing software of the second system is started, that is, when it is detected that the writing software of the second system is started, a handwriting color setting instruction is sent to the first system through the second system. In this way, the first system and the second system can keep handwriting color synchronized.

进一步地,在另一个实施例中,在显示之前,还可通过第二系统向第一系统发送笔迹线条设置指令,该笔迹线条设置指令中可携带第二系统笔迹的当前显示线条类型,包括但不限于线条粗细、线条线型(实线或虚线)、线条端点(无端点、线条起始端有端点或线条末端有端点,和/或端点类型等)中的一者或多者。进一步地,第一系统可以根据所述当前显示线条类型设置所述透明书写层上的笔迹的线条类型;将设置后的笔迹与所述原始图像层上的当前显示图像进行颜色融合叠加后作为所述透明书写层上的显示内容。设置笔迹线条的过程也可以在启动第二系统书写软件的时候执行,即,在检测到第二系统书写软件启动时,通过第二系统向第一系统发送笔迹线条设置指令。通过这种方式,可以使第一系统和第二系统保持笔迹线条类型同步。Further, in another embodiment, before displaying, a handwriting line setting instruction can also be sent to the first system through the second system, and the handwriting line setting instruction can carry the currently displayed line type of the handwriting of the second system, including but Not limited to one or more of line thickness, line style (solid or dashed), line endpoints (no endpoints, endpoints at the beginning of the line or endpoints at the end of the line, and/or endpoint type, etc.). Further, the first system can set the line type of the handwriting on the transparent writing layer according to the currently displayed line type; the set handwriting and the currently displayed image on the original image layer are subjected to color fusion and superposition as the Describe the display content on the transparent writing layer. The process of setting the handwriting lines can also be performed when the writing software of the second system is started, that is, when it is detected that the writing software of the second system is started, a handwriting line setting instruction is sent to the first system through the second system. In this way, the first system and the second system can be kept in sync with the stroke type.

为了便于理解,参考图6至图9。图6为第二系统书写界面上的笔迹示意图。第二系统可在检测到书写软件启动指令后,向第一系统发送启动命令,启动第一系统的透明书写层。当第二系统开始绘制后,第一系统在透明书写层上进行同步绘制,如图7所示。同时,第一系统可从显示缓存区域读取所述透明书写层上的当前显示图像,并绘制在原始图像层上,第一层与第二层进行颜色融合叠加组成第一系统的显示内容,如图8所示。最终第一系统的显示内容(图8)与第二系统的显示内容(图6)叠加显示后的结果如图9所示。可以看出,通过采用在第一系统分层绘制的方式,第一系统的笔迹处于图标和窗口的显示内容下层,不会出现划破图标和窗口的情况。For ease of understanding, reference is made to FIGS. 6 to 9 . FIG. 6 is a schematic diagram of handwriting on the writing interface of the second system. After detecting the writing software start-up instruction, the second system can send a start-up command to the first system to start the transparent writing layer of the first system. After the second system starts to draw, the first system performs synchronous drawing on the transparent writing layer, as shown in FIG. 7 . At the same time, the first system can read the currently displayed image on the transparent writing layer from the display buffer area, and draw it on the original image layer, and the first layer and the second layer are fused and superimposed to form the display content of the first system, As shown in Figure 8. Finally, the result after the display content of the first system ( FIG. 8 ) and the display content of the second system ( FIG. 6 ) are superimposed and displayed is shown in FIG. 9 . It can be seen that by adopting the method of layered drawing in the first system, the handwriting of the first system is at the lower layer of the display content of the icon and the window, and the icon and the window will not be scratched.

在进一步的实施例中,还可以在第二系统结束笔迹绘制时,通过第二系统向第一系统发送笔迹绘制终止命令;响应所述笔迹绘制终止命令停止第一系统的笔迹绘制操作,并清除所述透明书写层上的笔迹。在实际应用中,可以通过检测触摸事件结束指令来判断触摸事件是否结束。当检测到所述触摸事件结束指令时,则可判定触摸事件结束,然后向第一系统发送笔迹绘制终止命令;否则,判定触摸事件未结束。以安卓系统为例,可检测ACTION_UP事件,若检测到,则可判定触摸事件结束,否则,判定触摸事件未结束。In a further embodiment, when the second system finishes handwriting drawing, a handwriting drawing termination command can be sent to the first system through the second system; the handwriting drawing operation of the first system is stopped in response to the handwriting drawing termination command, and the handwriting on the transparent writing layer. In practical applications, it can be determined whether the touch event ends by detecting the touch event end instruction. When the touch event ending instruction is detected, it can be determined that the touch event has ended, and then a handwriting drawing termination command is sent to the first system; otherwise, it is determined that the touch event has not ended. Taking the Android system as an example, the ACTION_UP event can be detected, and if detected, it can be determined that the touch event has ended, otherwise, it can be determined that the touch event has not ended.

在进一步的实施例中,在第二系统退出白板书写软件时,可通过第二系统向第一系统发送退出命令;响应所述退出命令关闭第一系统的原始图像层。In a further embodiment, when the second system exits the whiteboard writing software, an exit command may be sent to the first system through the second system; the original image layer of the first system is closed in response to the exit command.

上述基于双系统的笔迹书写显示系统,通过在第一系统建立透明书写层和原始图像层,将笔迹绘制在透明书写层上,同时将透明书写层上的当前显示图像绘制在原始图像层上,最后将透明书写层上的笔迹和所述当前显示图像显示在所述透明书写层上,并将书写界面上的笔迹显示在书写界面上,从而避免了笔迹划破显示图像中的窗口和按钮,提高了显示效果。In the above-mentioned dual-system-based handwriting display system, by establishing a transparent writing layer and an original image layer in the first system, the handwriting is drawn on the transparent writing layer, and the currently displayed image on the transparent writing layer is drawn on the original image layer at the same time, Finally, the handwriting on the transparent writing layer and the currently displayed image are displayed on the transparent writing layer, and the handwriting on the writing interface is displayed on the writing interface, thereby preventing the handwriting from scratching the windows and buttons in the displayed image, Improved display.

本发明的基于双系统的笔迹书写显示系统与本发明的基于双系统的笔迹书写显示方法一一对应,在上述基于双系统的笔迹书写显示方法的实施例阐述的技术特征及其有益效果均适用于基于双系统的笔迹书写显示系统的实施例中,特此声明。The dual-system-based handwriting display system of the present invention corresponds to the dual-system-based handwriting display method of the present invention, and the technical features and beneficial effects described in the embodiments of the dual-system-based handwriting display method are all applicable In the embodiment of the dual system based handwriting display system, it is hereby stated.

进一步地,本发明还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述任意实施例中的基于双系统的笔迹书写显示方法。Further, the present invention also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the dual-system-based handwriting display method in any of the foregoing embodiments.

上述计算机可读存储介质所执行的方法的实施例与上述基于双系统的笔迹书写显示方法的其他实施例相同,此处不再赘述。The embodiments of the method executed by the computer-readable storage medium are the same as the other embodiments of the above-mentioned dual-system-based handwriting display method, which will not be repeated here.

进一步地,本发明还提供一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述任意实施例中的基于双系统的笔迹书写显示方法。Further, the present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and running on the processor, the processor implementing the program based on any of the above embodiments when the processor executes the program. A dual-system handwriting display method.

上述计算机设备的处理器所执行的方法的实施例与上述基于双系统的笔迹书写显示方法的其他实施例相同,此处不再赘述。The embodiments of the method executed by the processor of the computer device are the same as the other embodiments of the above-mentioned dual-system-based handwriting display method, which will not be repeated here.

在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,“计算机可读介质”可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。The logic and/or steps represented in flowcharts or otherwise described herein, for example, may be considered an ordered listing of executable instructions for implementing the logical functions, may be embodied in any computer-readable medium, For use with, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other system that can fetch instructions from and execute instructions from an instruction execution system, apparatus, or apparatus) or equipment. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport the program for use by or in connection with an instruction execution system, apparatus, or apparatus.

计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。More specific examples (non-exhaustive list) of computer readable media include the following: electrical connections with one or more wiring (electronic devices), portable computer disk cartridges (magnetic devices), random access memory (RAM), Read Only Memory (ROM), Erasable Editable Read Only Memory (EPROM or Flash Memory), Fiber Optic Devices, and Portable Compact Disc Read Only Memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program may be printed, as the paper or other medium may be optically scanned, for example, followed by editing, interpretation, or other suitable medium as necessary process to obtain the program electronically and then store it in computer memory.

应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of the present invention may be implemented in hardware, software, firmware or a combination thereof. In the above-described embodiments, various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or a combination of the following techniques known in the art: Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, Programmable Gate Arrays (PGA), Field Programmable Gate Arrays (FPGA), etc.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, description with reference to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples", etc., mean specific features described in connection with the embodiment or example , structure, material or feature is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-described embodiments can be combined arbitrarily. For the sake of brevity, all possible combinations of the technical features in the above-described embodiments are not described. However, as long as there is no contradiction between the combinations of these technical features, All should be regarded as the scope described in this specification.

以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present invention, and the descriptions thereof are specific and detailed, but should not be construed as a limitation on the scope of the invention patent. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can also be made, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention should be subject to the appended claims.

Claims (10)

1.一种基于双系统的笔迹书写显示方法,其特征在于,包括以下步骤:1. a handwriting display method based on dual systems, is characterized in that, comprises the following steps: 在检测到第一系统或第二系统的触摸事件之后,分别在第一系统的透明书写层以及第二系统的书写软件的书写界面上执行笔迹绘制操作;After detecting the touch event of the first system or the second system, the handwriting drawing operation is performed on the transparent writing layer of the first system and the writing interface of the writing software of the second system respectively; 从显示缓存区域读取所述第一系统的当前显示图像,并将所述当前显示图像绘制在预先建立的原始图像层上,将所述透明书写层上的笔迹和所述原始图像层上的当前显示图像进行颜色融合叠加,将颜色融合叠加后的内容更新到第一系统的显示缓冲区中,作为第一系统的显示画面;The current display image of the first system is read from the display buffer area, and the current display image is drawn on the pre-established original image layer, and the handwriting on the transparent writing layer and the original image layer are drawn. The currently displayed image is subjected to color fusion and superposition, and the content after the color fusion and superposition is updated to the display buffer of the first system as a display screen of the first system; 在第一系统对所述显示画面进行显示,并在第二系统对所述书写界面上的笔迹进行同步显示。The display screen is displayed in the first system, and the handwriting on the writing interface is synchronously displayed in the second system. 2.根据权利要求1所述的基于双系统的笔迹书写显示方法,其特征在于,在第一系统对所述显示画面进行显示的步骤包括:2. The method for displaying handwriting based on dual systems according to claim 1, wherein the step of displaying the display screen in the first system comprises: 获取显示设备的显示器刷新率;Get the display refresh rate of the display device; 根据所述显示器刷新率从显示缓存区中读取所述显示画面;Reading the display image from the display buffer area according to the display refresh rate; 在第一系统对所述显示画面进行显示。The display screen is displayed in the first system. 3.根据权利要求1所述的基于双系统的笔迹书写显示方法,其特征在于,还包括以下步骤:3. handwriting display method based on dual system according to claim 1, is characterized in that, also comprises the following steps: 在第二系统结束笔迹绘制时,通过第二系统向第一系统发送笔迹绘制终止命令;When the second system ends the handwriting drawing, sending a handwriting drawing termination command to the first system through the second system; 响应所述笔迹绘制终止命令停止第一系统的笔迹绘制操作,并清除所述透明书写层上的笔迹。Stop the handwriting drawing operation of the first system in response to the handwriting drawing termination command, and clear the handwriting on the transparent writing layer. 4.根据权利要求1所述的基于双系统的笔迹书写显示方法,其特征在于,还包括以下步骤:4. handwriting display method based on dual system according to claim 1, is characterized in that, also comprises the following steps: 在第二系统退出白板书写软件时,通过第二系统向第一系统发送退出命令;When the second system exits the whiteboard writing software, sending an exit command to the first system through the second system; 响应所述退出命令关闭第一系统的原始图像层。The original image layer of the first system is closed in response to the exit command. 5.根据权利要求1所述的基于双系统的笔迹书写显示方法,其特征在于,还包括以下步骤:5. The handwriting display method based on dual system according to claim 1, is characterized in that, also comprises the following steps: 在第二系统的书写软件启动时,通过第二系统向第一系统发送软件启动命令;When the writing software of the second system is started, send a software start command to the first system through the second system; 响应所述软件启动命令启动第一系统的书写软件;Start the writing software of the first system in response to the software start command; 通过第一系统的书写软件在第一系统新建原始图像层和透明书写层。The original image layer and the transparent writing layer are newly created in the first system through the writing software of the first system. 6.根据权利要求1至5任意一项所述的基于双系统的笔迹书写显示方法,其特征在于,将所述透明书写层上的笔迹和所述原始图像层上的当前显示图像进行颜色融合叠加的步骤包括:6. The dual-system-based handwriting display method according to any one of claims 1 to 5, wherein color fusion is performed on the handwriting on the transparent writing layer and the currently displayed image on the original image layer The steps of stacking include: 通过第二系统向第一系统发送笔迹颜色设置指令,所述笔迹颜色设置指令中携带所述书写界面上笔迹的当前显示颜色;Send a handwriting color setting instruction to the first system through the second system, where the handwriting color setting instruction carries the current display color of the handwriting on the writing interface; 根据所述当前显示颜色对所述透明书写层上的笔迹进行渲染;rendering the handwriting on the transparent writing layer according to the current display color; 将渲染后的笔迹与所述原始图像层上的当前显示图像进行颜色融合叠加。Perform color fusion and superposition on the rendered handwriting and the currently displayed image on the original image layer. 7.根据权利要求6所述的基于双系统的笔迹书写显示方法,其特征在于,将所述透明书写层上的笔迹和所述原始图像层上的当前显示图像进行颜色融合叠加的步骤还包括:7 . The method for displaying handwriting based on dual systems according to claim 6 , wherein the step of performing color fusion and superimposition on the handwriting on the transparent writing layer and the currently displayed image on the original image layer further comprises: 8 . : 通过第二系统向第一系统发送笔迹线条设置指令,所述笔迹线条设置指令中携带所述书写界面上笔迹的当前显示线条类型;Send a handwriting line setting instruction to the first system through the second system, where the handwriting line setting instruction carries the currently displayed line type of the handwriting on the writing interface; 根据所述当前显示线条类型设置所述透明书写层上的笔迹的线条类型;Setting the line type of the handwriting on the transparent writing layer according to the currently displayed line type; 将设置后的笔迹与所述原始图像层上的当前显示图像进行颜色融合叠加。Perform color fusion and superposition on the set handwriting and the currently displayed image on the original image layer. 8.一种基于双系统的笔迹书写显示系统,其特征在于,包括:8. A handwriting display system based on dual systems, characterized in that, comprising: 第一绘制模块,用于在检测到第一系统或第二系统的触摸事件之后,分别在第一系统的透明书写层以及第二系统的书写软件的书写界面上执行笔迹绘制操作;a first drawing module, configured to perform handwriting drawing operations on the transparent writing layer of the first system and the writing interface of the writing software of the second system respectively after detecting the touch event of the first system or the second system; 第二绘制模块,用于从显示缓存区域读取所述第一系统的当前显示图像,并将所述当前显示图像绘制在预先建立的原始图像层上,将所述透明书写层上的笔迹和所述原始图像层上的当前显示图像进行颜色融合叠加,将颜色融合叠加后的内容更新到第一系统的显示缓冲区中,作为第一系统的显示画面;The second drawing module is configured to read the current display image of the first system from the display buffer area, draw the current display image on the pre-established original image layer, and draw the handwriting on the transparent writing layer and the The current display image on the original image layer is subjected to color fusion and superposition, and the content after the color fusion and superposition is updated to the display buffer area of the first system as a display screen of the first system; 显示模块,用于在第一系统对所述显示画面进行显示,并在第二系统对所述书写界面上的笔迹进行同步显示。The display module is used for displaying the display screen in the first system, and synchronously displaying the handwriting on the writing interface in the second system. 9.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现权利要求1至7任意一项所述的基于双系统的笔迹书写显示方法。9 . A computer-readable storage medium on which a computer program is stored, wherein when the program is executed by a processor, the dual-system-based handwriting display method according to any one of claims 1 to 7 is implemented. 10 . 10.一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现权利要求1至7任意一项所述的基于双系统的笔迹书写显示方法。10. A computer device comprising a memory, a processor and a computer program stored on the memory and running on the processor, wherein the processor implements any one of claims 1 to 7 when executing the program The dual-system-based handwriting display method.
CN201710601639.9A 2017-07-21 2017-07-21 Handwriting display method and system, storage medium and device based on dual systems Active CN107422974B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710601639.9A CN107422974B (en) 2017-07-21 2017-07-21 Handwriting display method and system, storage medium and device based on dual systems
PCT/CN2017/103425 WO2019015095A1 (en) 2017-07-21 2017-09-26 Dual-system based handwriting writing and display method and system, and storage medium and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710601639.9A CN107422974B (en) 2017-07-21 2017-07-21 Handwriting display method and system, storage medium and device based on dual systems

Publications (2)

Publication Number Publication Date
CN107422974A CN107422974A (en) 2017-12-01
CN107422974B true CN107422974B (en) 2020-01-07

Family

ID=60430952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710601639.9A Active CN107422974B (en) 2017-07-21 2017-07-21 Handwriting display method and system, storage medium and device based on dual systems

Country Status (2)

Country Link
CN (1) CN107422974B (en)
WO (1) WO2019015095A1 (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109542382B (en) * 2017-12-26 2020-07-28 掌阅科技股份有限公司 Display method of handwriting input content, electronic equipment and computer storage medium
CN110297585A (en) * 2018-03-22 2019-10-01 阿里巴巴集团控股有限公司 Electronic white board realization method, device, equipment and storage medium
CN108509142B (en) * 2018-04-08 2020-10-27 广州视源电子科技股份有限公司 Writing software interaction method and device, terminal equipment and storage medium
CN110609653B (en) 2018-06-15 2020-10-13 广州视源电子科技股份有限公司 Dual-system equipment, writing method and device thereof and interactive intelligent tablet
CN109144382B (en) * 2018-07-10 2021-05-04 广州视源电子科技股份有限公司 Handwriting display method and device based on dual systems, terminal equipment and storage medium
CN109542008B (en) * 2018-10-26 2022-08-09 珠海中电数码科技有限公司 Multi-screen display control method and system for intelligent full-screen blackboard
CN111352517A (en) * 2019-02-13 2020-06-30 鸿合科技股份有限公司 Writing touch information display method and device and electronic equipment
CN112256146B (en) * 2020-09-09 2024-05-03 广州视源电子科技股份有限公司 Method, device and equipment for testing writing of whiteboard and storage medium
CN114816135B (en) * 2021-09-16 2023-11-03 华为技术有限公司 Cross-device drawing system
CN114237481A (en) * 2021-12-20 2022-03-25 锐捷网络股份有限公司 Handwriting display processing method, system, device, equipment and storage medium
CN114510159B (en) * 2021-12-30 2025-04-15 锐捷网络股份有限公司 Writing trajectory display method, device and storage medium
CN114356141A (en) * 2021-12-31 2022-04-15 厦门厦华科技有限公司 Window writing effect acceleration method
CN115079869B (en) * 2022-08-16 2022-12-09 长沙朗源电子科技有限公司 Rendering method and device of electronic whiteboard
CN115407887B (en) * 2022-08-26 2025-09-19 长沙朗源电子科技有限公司 Processing method and device for preventing handwriting paths from overlapping
CN115933956A (en) * 2022-12-02 2023-04-07 北京鸿合爱学教育科技有限公司 Accelerated writing method, device, electronic device, and computer-readable storage medium
CN119828911A (en) * 2023-10-12 2025-04-15 海信视像科技股份有限公司 Display equipment and dual-system control method
CN119916962B (en) * 2024-12-30 2025-09-12 广州文石信息科技有限公司 Ink screen handwriting display method, device, electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101667058A (en) * 2008-09-03 2010-03-10 联想(北京)有限公司 Interactive method for switching focuses among multiple systems
CN102937848A (en) * 2012-12-04 2013-02-20 上海合合信息科技发展有限公司 Method for editing handwritings and electronic equipment
CN106406731A (en) * 2016-09-06 2017-02-15 东莞优闪电子科技有限公司 Original handwriting writing same-screen display method and system
CN106775060A (en) * 2016-11-23 2017-05-31 广州视源电子科技股份有限公司 Method and device for remotely and synchronously writing and displaying

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2878499B2 (en) * 1991-10-15 1999-04-05 株式会社日立製作所 Multi-window display method and window system
TW201122994A (en) * 2009-12-31 2011-07-01 Acer Inc Multiple screens electric apparatus and image display method thereof
US9449575B2 (en) * 2012-09-10 2016-09-20 Samsung Electronics Co., Ltd. Screen output control method and system, and mobile terminal supporting the same
CN104461749B (en) * 2014-12-30 2018-05-25 宇龙计算机通信科技(深圳)有限公司 A kind of application program synchronous method, sychronisation and the terminal of multisystem terminal
CN106354517B (en) * 2016-09-27 2019-07-26 维沃移动通信有限公司 Method for editing lock screen wallpaper and mobile terminal
CN106201323B (en) * 2016-09-30 2019-03-19 深圳市创凯智能股份有限公司 Writing method and device based on touch screen

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101667058A (en) * 2008-09-03 2010-03-10 联想(北京)有限公司 Interactive method for switching focuses among multiple systems
CN102937848A (en) * 2012-12-04 2013-02-20 上海合合信息科技发展有限公司 Method for editing handwritings and electronic equipment
CN106406731A (en) * 2016-09-06 2017-02-15 东莞优闪电子科技有限公司 Original handwriting writing same-screen display method and system
CN106775060A (en) * 2016-11-23 2017-05-31 广州视源电子科技股份有限公司 Method and device for remotely and synchronously writing and displaying

Also Published As

Publication number Publication date
CN107422974A (en) 2017-12-01
WO2019015095A1 (en) 2019-01-24

Similar Documents

Publication Publication Date Title
CN107422974B (en) Handwriting display method and system, storage medium and device based on dual systems
CN107450831B (en) Handwriting display processing method and system, storage medium and device based on dual systems
CN107450832B (en) Handwriting display method and system, storage medium and device based on dual systems
CN107450833B (en) Handwriting setting method and system, storage medium and device based on dual systems
CN109144382B (en) Handwriting display method and device based on dual systems, terminal equipment and storage medium
CN107729094B (en) User interface rendering method and device
CN108509237A (en) Operation method and device of intelligent interaction panel and intelligent interaction panel
CN103455292B (en) Business datum display processing method and device, subscriber equipment
CN110597444B (en) Handwriting display method and device, terminal device and storage medium
WO2020048026A1 (en) Annotation display method, device and apparatus, and storage medium
CN104020973B (en) Method for information display and device
US9529463B1 (en) Method and device for reducing latency for rendering and displaying stylus strokes
US20130283198A1 (en) Display controlling apparatus
US9899004B2 (en) Method and device for generating graphical user interface (GUI) for displaying
US10564829B2 (en) Optimizing window resize actions for remoted applications
JP6157758B2 (en) Information processing apparatus, moving image reproducing method, and moving image reproducing program
CN103400565B (en) A kind of interface piecemeal method for refreshing based on GDI
CN111510646A (en) Video display method, display device, computer equipment and medium of splicing screen
CN110688190A (en) Control method and device for intelligent interactive tablet
WO2023231268A1 (en) Quick annotation method and apparatus, and interactive tablet and storage medium
TWI485616B (en) Method for recording trajectory and electronic apparatus
CN108319391B (en) A method, device and terminal device for realizing while writing and erasing
CN115933956A (en) Accelerated writing method, device, electronic device, and computer-readable storage medium
CN117193910A (en) Frame animation processing method and device, electronic equipment and storage medium
CN114510159A (en) Writing track display method, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant