[go: up one dir, main page]

WO2018107608A1 - Annotation method and apparatus - Google Patents

Annotation method and apparatus Download PDF

Info

Publication number
WO2018107608A1
WO2018107608A1 PCT/CN2017/077150 CN2017077150W WO2018107608A1 WO 2018107608 A1 WO2018107608 A1 WO 2018107608A1 CN 2017077150 W CN2017077150 W CN 2017077150W WO 2018107608 A1 WO2018107608 A1 WO 2018107608A1
Authority
WO
WIPO (PCT)
Prior art keywords
annotation
page
preview
handwriting
user
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.)
Ceased
Application number
PCT/CN2017/077150
Other languages
French (fr)
Chinese (zh)
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 Shizhen Electronics Co Ltd
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Original Assignee
Guangzhou Shizhen Electronics Co Ltd
Guangzhou Shiyuan Electronics Thecnology 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 Shizhen Electronics Co Ltd, Guangzhou Shiyuan Electronics Thecnology Co Ltd filed Critical Guangzhou Shizhen Electronics Co Ltd
Publication of WO2018107608A1 publication Critical patent/WO2018107608A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/169Annotation, e.g. comment data or footnotes

Definitions

  • the present invention relates to the field of document annotation, and in particular to an annotation method and apparatus.
  • smart tablets have become more and more widely used in people's work and study, for example, using smart tablets for teaching demonstrations and conference presentations.
  • the most common demonstration when using a smart tablet for a teaching presentation or conference presentation is a document presentation, such as a PPT presentation.
  • an object of the present invention is to provide an annotation method and apparatus, which is simple in annotation operation, and can perform secondary editing on the annotation content to meet the user's use requirements.
  • the invention provides an annotation method comprising:
  • the currently recorded annotation handwriting is saved as a comment page file. And clear the annotation handwriting drawn on the edit view.
  • the switching operation is a page turning operation or an annotation page operation.
  • the method before the annotation operation on the global transparent edit view overlaid on the currently displayed page in the annotation state, the method further includes:
  • the method further includes:
  • the switching operation is a page turning operation
  • the method further includes:
  • the method when entering the annotation state, the method further includes:
  • a global floating visible toolbar is generated on the current display page; wherein the toolbar includes at least one of the following controls: a page turning control, a saving control, a preview control, and an annotation page control.
  • the invention also provides an annotation device comprising:
  • a listening unit configured to listen to an annotation operation of the user on the global transparent edit view over the currently displayed page in the annotation state
  • the switching unit is configured to save the currently recorded annotation handwriting as a comment page file when the user's switching operation is detected, and clear the annotation handwriting drawn on the edit view.
  • the switching operation is a page turning operation or an annotation page operation.
  • the method further comprises:
  • An annotation entry unit configured to take a screen shot of the currently displayed page when entering the annotation state, obtain a screenshot of the currently displayed page, and overwrite the global transparent editing view on the current display page;
  • An annotation preview page generating unit configured to generate an annotation preview page according to the annotation page file and the screenshot of the currently displayed page, and add the annotation preview page to a preview list of the currently displayed page.
  • the switching operation is a page turning operation
  • annotation device further comprises:
  • a jump unit configured to jump to a target page pointed by the page turning operation, perform a screen capture on the target page, and save a screenshot obtained by the screen capture;
  • a loading unit configured to load an annotation preview page in a preview list of the target page
  • An annotation handwriting drawing unit configured to read an annotation page file corresponding to the annotation preview page and detect an annotation handwriting recorded in the annotation page file when detecting that the user selects the annotation preview page located in the preview list Draw on the edit view.
  • the method further comprises:
  • a toolbar generating unit configured to generate a global floating visible toolbar on the current display page; wherein the toolbar includes at least one of the following: a page turning control, a saving control, a preview control, and an annotation page control.
  • the annotation method and device provided by the invention record the annotation handwriting during the user annotation process, save the current recorded annotation handwriting as the annotation page file, and clear the annotation handwriting drawn on the edit view when performing the switching operation.
  • the user flips the page or adds the comment page, the user does not need to perform the operation of entering the annotation or delete the current annotation handwriting, and the annotation can be directly performed, which is convenient for the user's operation; on the other hand, due to the annotation page file
  • the annotation handwriting is saved as data instead of the image format, so these annotations can be drawn again in the edit view and the user is allowed to draw the batch
  • the handwriting is edited twice to meet the user's needs and the user experience is good.
  • FIG. 1 is a schematic flow chart of an annotation method according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of an annotation performed on a current display page according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of an annotation device according to an embodiment of the present invention.
  • FIG. 4 is another schematic structural diagram of an annotation device according to an embodiment of the present invention.
  • FIG. 5 is another schematic structural diagram of an annotation device according to an embodiment of the present invention.
  • FIG. 6 is another schematic structural diagram of an annotation device according to an embodiment of the present invention.
  • an embodiment of the present invention provides an annotation method, which can be performed by an annotation device, and includes at least the following steps:
  • the button for entering the annotation may be clicked.
  • the annotation device detects the user's After clicking the operation, it switches from the edit state to the comment state, and overwrites the global transparent edit view on the current display page for the user to annotate.
  • the global transparent edit view may be a SurfaceView, which has a separate drawing surface, that is, does not share the same drawing surface with its host window. With a separate drawing surface, the SurfaceView's User Interface (UI) can be drawn in a separate thread. And because it does not occupy the main thread resources, SurfaceView can implement a complex and efficient UI on the one hand, and on the other hand, it will not cause the user input to get a timely response.
  • UI User Interface
  • the edit view may have different names or implementation methods, but only the implementation principle or function similar to the SurfaceView of the Android system is within the protection scope of the present invention, and will not be described herein. .
  • the document may be opened and displayed by related software provided on the smart tablet, or may be opened on a normal PC or a handwriting computer, and connected to the smart tablet through HDMI and VGA, and then displayed.
  • the smart tablet it can also be opened on a normal PC or a handwriting computer, and then transmitted to the smart tablet through a wireless screen for display, etc., and the present invention is not specifically limited.
  • the user can perform an annotation operation on the edit view, for example, writing or scribing on the edit view (see FIG. 2).
  • the underline 01) indicates what needs to be focused.
  • the annotation device controls on the one hand to display the annotation handwriting corresponding to the annotation operation, and on the other hand also records the annotation handwriting.
  • the annotation handwriting recorded here includes at least the following information: the coordinates of each pixel that constitutes the handwriting and the color value of each pixel.
  • the annotation device may save the annotation handwriting as an annotation page file (such as saving into an XML file), and associate the annotation page file with the current display page, so that when needed When displaying the annotation handwritings on the current display page again, only the saved annotation page file needs to be loaded, and the annotation handwriting recorded in the annotation page file is redrawn on the edit view, due to the annotation.
  • the annotation handwriting in the page file is saved in the form of pixels, thus allowing the user to edit the drawn handwriting and then secondary editing.
  • the switching operation may be a page turning operation or an annotation page operation, which will be separately described below.
  • the switching operation is a page turning operation
  • the annotation device When the user turns the page by clicking the page turning button, the annotation device saves the currently recorded annotation handwriting as the annotation page file through the background thread, simultaneously clears the annotation handwriting on the edit view, and then jumps to the target page.
  • the smart tablet when jumping to the target page, the smart tablet is still in the annotation state, that is, the target page is still covered with the global transparent edit view, so that the user can directly perform an annotation operation on the edit view.
  • the target page has a corresponding saved annotation page file before, the annotation page file may also be read, and the annotation handwriting in the annotation page file is redrawn on the edit view. And make a second edit.
  • the switching operation is to add an annotation page operation
  • the annotation device When the user adds a new comment page to the current display page by clicking the new annotation page or adding the annotation page, the annotation device saves the current recorded annotation handwriting as the annotation page file through the background thread, and clears the editing at the same time.
  • the annotation handwriting on the view, at this time, the smart tablet is still in the annotation state, that is, the current display page is still covered with the globally transparent edit view, so that the user can directly annotate on the edit view.
  • different annotation pages can be added to the same current display page, that is, the effect of multi-page annotation on one screen content is achieved.
  • the annotation method provided by the embodiment of the present invention records the annotation handwriting during the user annotation process, and saves the current recorded annotation handwriting as the annotation page file when the switching operation is performed, and clears the drawing in the editing view. Write the handwriting on the top.
  • the user flips the page or adds the comment page, the user does not need to perform the operation of entering the annotation or delete the current annotation handwriting, and the annotation can be directly performed, which is convenient for the user's operation; on the other hand, due to the annotation page file
  • the annotation handwriting is saved in the form of data instead of the image format, so the annotation handwriting can be drawn again in the edit view, and the user can perform secondary editing on the drawn annotation handwriting, which satisfies the user's use requirements and has a good user experience.
  • the currently displayed page is screened, a screenshot of the currently displayed page is obtained, and a globally transparent edit view is overwritten on the current display page.
  • step S103 further comprising:
  • S104 Generate an annotation preview page according to the annotation page file and the screenshot of the currently displayed page, and add the annotation preview page to a preview list of the currently displayed page.
  • annotation preview page can be generated by drawing an annotation stroke in the annotation page file directly on the screenshot.
  • the annotation handwriting in the annotation page file can be performed through the annotation preview page.
  • Preview select the desired annotation content, which is convenient for the user's choice, saving operation steps and time.
  • annotation device further allows the user to drag and adjust the position order of the annotation page file and delete the operation of an annotation page file in the preview list, and at the same time, the annotation device also provides the function of previewing the annotation for full-screen playback. User-friendly content review.
  • the method further includes:
  • the target page is first screened, and the screenshot obtained by the screenshot is saved for subsequent generation of the annotation preview page.
  • the default is to generate a new comment page, but if the target page has been previously annotated, the preview list of the target page includes an annotation preview.
  • the page allows the user to select the annotation page file that has been generated to generate the annotation.
  • the user can select the annotation content to be loaded by browsing the annotation preview page located in the preview list, and when the user selects an annotation preview page, the annotation device reads the corresponding to the annotation preview page. Annotating the page file and drawing the annotation handwriting recorded in the annotation page file on the edit view.
  • the user is allowed to load the already generated annotation page file, which is convenient for the user's use experience.
  • the method when entering the annotation state, the method further includes:
  • a global floating visible toolbar is generated on the current display page; wherein the toolbar includes at least one of the following controls: a page turning control, a saving control, a preview control, and an annotation page control.
  • the annotation device in order to facilitate the operation of the user, the annotation device generates a globally visible visible toolbar 02 on the current display page, wherein the toolbar includes at least one of the following controls: Page controls, save controls, preview controls, add annotation page controls.
  • the annotation device may determine that the user clicks on the control on the toolbar to trigger the corresponding event information. For example, when the user clicks the page turning control, the annotation device will trigger the PageUp/PageDown button message. That is to turn the page. And if the user clicks on the preview control, an overall preview of all the annotation preview pages can be made. If the user clicks the save control, the annotation device can save the annotation page file and the screenshot, wherein the annotation can be saved as a PDF format or a picture format, or can be saved as an ENB file format, and if saved in the ENB format, Use the corresponding software (Android side whiteboard, PC side EasiNote, etc.) to open for secondary editing. If the user clicks the Add Annotation Page control, the current recorded annotation handwriting is saved as a comment page file, and the annotation handwriting drawn on the edit view is cleared.
  • the user's annotation operation is facilitated by providing a globally visible toolbar, and the user experience is good.
  • the present invention also provides an annotation device 100, including:
  • the monitoring unit 10 is configured to listen to an annotation operation of the user on the global transparent edit view over the current display page in the annotation state;
  • a display recording unit 20 configured to display an annotation handwriting corresponding to the annotation operation, and simultaneously record the annotation handwriting;
  • the switching unit 30 is configured to save the currently recorded annotation handwriting as a comment page file when the user's switching operation is detected, and clear the annotation handwriting drawn on the editing view.
  • the annotation device 100 records the annotation handwriting during the user annotation process, and saves the current recorded annotation handwriting as the annotation page file when the switching operation is performed, and clears the annotation handwriting drawn on the edit view.
  • the user flips the page or adds the comment page, the user does not need to perform the operation of entering the annotation or delete the current annotation handwriting, and the annotation can be directly performed, which is convenient for the user's operation; on the other hand, due to the annotation page file
  • the annotation handwriting is saved in the form of data instead of the image format, so the annotation handwriting can be drawn again in the edit view, and the user can perform secondary editing on the drawn annotation handwriting, which satisfies the user's use requirements and has a good user experience.
  • the switching operation is a page turning operation or an annotation page operation.
  • the annotation device 100 further includes:
  • the annotation entry unit 40 is configured to: when entering the annotation state, perform a screen capture on the currently displayed page, obtain a screenshot of the current display page, and overwrite the global transparent editing view on the current display page;
  • the annotation preview page generating unit 50 is configured to generate an annotation preview page according to the annotation page file and the screenshot of the current display page, and add the annotation preview page to the preview list of the current display page.
  • the annotation preview page pair generated by the annotation preview page generating unit 50 can be The annotation handwriting in the annotation page file is previewed, and the desired annotation content is selected, thereby facilitating the user's selection and saving the operation steps and time.
  • the switching operation is a page turning operation
  • the annotation device 100 further includes:
  • the jump unit 60 is configured to jump to the target page pointed by the page turning operation, perform a screen capture on the target page, and save the screenshot obtained by the screen capture.
  • the loading unit 70 is configured to load an annotation preview page in a preview list of the target page.
  • An annotation handwriting drawing unit 80 configured to read an annotation page file corresponding to the annotation preview page and detect an annotation recorded in the annotation page file when detecting that the user selects the annotation preview page located in the preview list A handwriting is drawn on the edit view.
  • the default is to generate a new comment page, but if the target page has been previously annotated, that is, the preview list of the target page.
  • An annotation preview page is included, allowing the user to select the annotation page file that has been generated to generate the annotation.
  • the user can select the annotation content to be loaded by browsing the annotation preview page located in the preview list, and when the user selects an annotation preview page, the loading unit 70 reads the corresponding to the annotation preview page.
  • An annotation page file unit, the annotation handwriting drawing unit 80 draws an annotation handwriting recorded in the annotation page file on the edit view.
  • the user is allowed to load the already generated annotation page file, which is convenient for the user's use experience.
  • the annotation device 100 further includes:
  • the toolbar generating unit 90 is configured to generate a global floating visible toolbar on the current display page; wherein the toolbar includes at least one of the following: a page turning control, a saving control, a preview control, and an annotation page control.
  • the toolbar generating unit 90 in order to facilitate the operation of the user, the toolbar generating unit 90 generates a globally visible visible toolbar 02 on the current display page, wherein the toolbar includes at least one of the following Controls: page flip control, save control, preview control, add annotation page control.
  • the user's annotation operation is facilitated by providing a globally visible toolbar, and the user experience is good.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • User Interface Of Digital Computer (AREA)
  • Processing Or Creating Images (AREA)
  • Document Processing Apparatus (AREA)

Abstract

Disclosed is an annotation method, comprising: in an annotation state, monitoring an annotation operation of a user on a globally-transparent editing view covering a current display page; displaying a handwriting annotation corresponding to the annotation operation, and recording the handwriting annotation; when a switch operation of the user is detected, storing the handwriting annotation currently recorded as a annotation page file, and removing the handwriting annotation drawn on the editing view. Also provided is an annotation device. On the basis of the present invention, the annotation on a smart tablet computer is simple in operation; the annotation can be repeatedly edited, and the user experience is good.

Description

一种批注方法及装置Method and device for annotation 技术领域Technical field

本发明涉及文档批注领域,尤其涉及一种批注方法及装置。The present invention relates to the field of document annotation, and in particular to an annotation method and apparatus.

背景技术Background technique

现如今,智能平板已经越来越广泛应用于人们的工作和学习中,例如,利用智能平板进行教学演示和会议演示等。在利用智能平板进行教学演示或会议演示时,最常见的演示就是进行文档演示,例如PPT演示。Nowadays, smart tablets have become more and more widely used in people's work and study, for example, using smart tablets for teaching demonstrations and conference presentations. The most common demonstration when using a smart tablet for a teaching presentation or conference presentation is a document presentation, such as a PPT presentation.

在演示时,经常需要在文档上进行批注,以达到预定的演示效果。用户在智能平板上进行批注时,可直接在屏幕上书写批注内容,非常方便。但是现有的批注实现中,在切换批注(如在当前页上新建一个批注或对跳转到其他页面进行批注)时,需要先把当前的批注内容清除或保存,然后再进行批注,用户操作麻烦。而且由于批注内容是以图片的方式进行保存的,如此,对已经保存的批注内容,用户无法对批注内容里的笔迹进行二次编辑,用户体验不佳。When presenting, it is often necessary to annotate on the document to achieve a predetermined presentation. When the user makes an annotation on the smart tablet, it is very convenient to write the annotation content directly on the screen. However, in the existing annotation implementation, when switching annotations (such as creating a new annotation on the current page or annotating jumps to other pages), the current annotation content needs to be cleared or saved, and then annotated, user operation. trouble. Moreover, since the annotation content is saved in the form of an image, the user cannot perform secondary editing on the handwritten content in the annotation content, and the user experience is not good.

发明内容Summary of the invention

针对上述问题,本发明的目的在于提供一种批注方法及装置,批注操作简单,且可对批注内容进行二次编辑,满足了用户的使用要求。In view of the above problems, an object of the present invention is to provide an annotation method and apparatus, which is simple in annotation operation, and can perform secondary editing on the annotation content to meet the user's use requirements.

本发明提供了一种批注方法,包括:The invention provides an annotation method comprising:

在批注状态下,监听用户在覆盖于当前显示页面上的全局透明的编辑视图上的批注操作;In the annotation state, the annotation user is overwritten on the globally transparent edit view over the currently displayed page;

显示与所述批注操作对应的批注笔迹,并同时记录所述批注笔迹;Displaying an annotation handwriting corresponding to the annotation operation, and simultaneously recording the annotation handwriting;

当检测到用户的切换操作时,将当前记录的批注笔迹保存为批注页文件, 并清除绘制于所述编辑视图上的批注笔迹。When the user's switching operation is detected, the currently recorded annotation handwriting is saved as a comment page file. And clear the annotation handwriting drawn on the edit view.

优选地,所述切换操作为翻页操作或者添加批注页操作。Preferably, the switching operation is a page turning operation or an annotation page operation.

优选地,在所述在批注状态下,监听用户在覆盖于当前显示页面上的全局透明的编辑视图上的批注操作之前,还包括:Preferably, before the annotation operation on the global transparent edit view overlaid on the currently displayed page in the annotation state, the method further includes:

在进入批注状态时,对当前显示页面进行截屏,获得所述当前显示页面的截图,并在所述当前显示页面上覆盖全局透明的编辑视图;When entering the annotation state, taking a screenshot of the currently displayed page, obtaining a screenshot of the currently displayed page, and overwriting the global transparent editing view on the current display page;

则当检测到用户的切换操作时,将当前记录的批注笔迹保存为批注页文件,并清除绘制于所述编辑视图上批注笔迹之后,还包括:Then, when the user's switching operation is detected, the currently recorded annotation handwriting is saved as a comment page file, and after the annotation handwriting is drawn on the edit view, the method further includes:

根据所述批注页文件及所述当前显示页面的截图,生成批注预览页,并将所述批注预览页添加至所述当前显示页面的预览列表。And generating an annotation preview page according to the annotation page file and the screenshot of the currently displayed page, and adding the annotation preview page to the preview list of the currently displayed page.

优选地,所述切换操作为翻页操作;Preferably, the switching operation is a page turning operation;

则在所述根据所述批注页文件及所述当前显示页面的截图,生成批注预览页,并将所述批注预览页添加至所述当前显示页面的预览列表之后,还包括:After the annotation preview page is generated according to the annotation page file and the screenshot of the current display page, and the annotation preview page is added to the preview list of the current display page, the method further includes:

跳转至所述翻页操作指向的目标页面,对所述目标页面进行截屏,并保存截屏得到的截图;Jumping to the target page pointed to by the page turning operation, taking a screenshot of the target page, and saving the screenshot obtained by the screen capture;

在所述目标页面的预览列表中加载批注预览页;Loading an annotation preview page in a preview list of the target page;

当检测到用户选中位于所述预览列表中的批注预览页时,读取与所述批注预览页对应的批注页文件,并将所述批注页文件中记录的批注笔迹绘制在所述编辑视图上。When detecting that the user selects the annotation preview page located in the preview list, reading the annotation page file corresponding to the annotation preview page, and drawing the annotation handwriting recorded in the annotation page file on the edit view .

优选地,在进入批注状态时,还包括:Preferably, when entering the annotation state, the method further includes:

在当前显示页面上生成全局悬浮可见的工具栏;其中,所述工具栏包括以下至少一个控件:翻页控件、保存控件、预览控件、添加批注页控件。A global floating visible toolbar is generated on the current display page; wherein the toolbar includes at least one of the following controls: a page turning control, a saving control, a preview control, and an annotation page control.

本发明还提供了一种批注装置,包括:The invention also provides an annotation device comprising:

监听单元,用于在批注状态下,监听用户在覆盖于当前显示页面上的全局透明的编辑视图上的批注操作;a listening unit, configured to listen to an annotation operation of the user on the global transparent edit view over the currently displayed page in the annotation state;

显示记录单元,用于显示与所述批注操作对应的批注笔迹,并同时记录所述批注笔迹; Displaying a recording unit for displaying an annotation handwriting corresponding to the annotation operation, and simultaneously recording the annotation handwriting;

切换单元,用于当检测到用户的切换操作时,将当前记录的批注笔迹保存为批注页文件,并清除绘制于所述编辑视图上的批注笔迹。The switching unit is configured to save the currently recorded annotation handwriting as a comment page file when the user's switching operation is detected, and clear the annotation handwriting drawn on the edit view.

优选地,所述切换操作为翻页操作或者添加批注页操作。Preferably, the switching operation is a page turning operation or an annotation page operation.

优选地,还包括:Preferably, the method further comprises:

批注进入单元,用于在进入批注状态时,对当前显示页面进行截屏,获得所述当前显示页面的截图,并在所述当前显示页面上覆盖全局透明的编辑视图;An annotation entry unit, configured to take a screen shot of the currently displayed page when entering the annotation state, obtain a screenshot of the currently displayed page, and overwrite the global transparent editing view on the current display page;

批注预览页生成单元,用于根据所述批注页文件及所述当前显示页面的截图,生成批注预览页,并将所述批注预览页添加至所述当前显示页面的预览列表。An annotation preview page generating unit, configured to generate an annotation preview page according to the annotation page file and the screenshot of the currently displayed page, and add the annotation preview page to a preview list of the currently displayed page.

优选地,所述切换操作为翻页操作;Preferably, the switching operation is a page turning operation;

则所述批注装置还包括:Then the annotation device further comprises:

跳转单元,用于跳转至所述翻页操作指向的目标页面,对所述目标页面进行截屏,并保存截屏得到的截图;a jump unit, configured to jump to a target page pointed by the page turning operation, perform a screen capture on the target page, and save a screenshot obtained by the screen capture;

加载单元,用于在所述目标页面的预览列表中加载批注预览页;a loading unit, configured to load an annotation preview page in a preview list of the target page;

批注笔迹绘制单元,用于当检测到用户选中位于所述预览列表中的批注预览页时,读取与所述批注预览页对应的批注页文件,并将所述批注页文件中记录的批注笔迹绘制在所述编辑视图上。An annotation handwriting drawing unit, configured to read an annotation page file corresponding to the annotation preview page and detect an annotation handwriting recorded in the annotation page file when detecting that the user selects the annotation preview page located in the preview list Draw on the edit view.

优选地,还包括:Preferably, the method further comprises:

工具栏生成单元,用于在当前显示页面上生成全局悬浮可见的工具栏;其中,所述工具栏包括以下至少一个控件:翻页控件、保存控件、预览控件、添加批注页控件。a toolbar generating unit, configured to generate a global floating visible toolbar on the current display page; wherein the toolbar includes at least one of the following: a page turning control, a saving control, a preview control, and an annotation page control.

本发明提供的批注方法及装置,在用户批注过程中,记录批注笔迹,在执行切换操作时,将当前记录的批注笔迹保存为批注页文件,并清除绘制于所述编辑视图上批注笔迹。一方面,用户在翻页或者添加批注页的时候,不需要执行进入批注的操作或删除当前批注笔迹的操作就可以直接进行批注,方便了用户的操作;另一方面,由于批注页文件中的批注笔迹以数据形式保存而非图片格式保存,因而可再次在编辑视图绘制这些批注笔迹,并允许用户对绘制的批 注笔迹进行二次编辑,满足了用户的使用需求,用户体验佳。The annotation method and device provided by the invention record the annotation handwriting during the user annotation process, save the current recorded annotation handwriting as the annotation page file, and clear the annotation handwriting drawn on the edit view when performing the switching operation. On the one hand, when the user flips the page or adds the comment page, the user does not need to perform the operation of entering the annotation or delete the current annotation handwriting, and the annotation can be directly performed, which is convenient for the user's operation; on the other hand, due to the annotation page file The annotation handwriting is saved as data instead of the image format, so these annotations can be drawn again in the edit view and the user is allowed to draw the batch The handwriting is edited twice to meet the user's needs and the user experience is good.

附图说明DRAWINGS

为了更清楚地说明本发明的技术方案,下面将对实施方式中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the present invention, the drawings used in the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention, which are common in the art. For the skilled person, other drawings can be obtained from these drawings without any creative work.

图1是本发明实施例提供的批注方法的流程示意图。FIG. 1 is a schematic flow chart of an annotation method according to an embodiment of the present invention.

图2是本发明实施例提供的在当前显示页面上进行批注的示意图。FIG. 2 is a schematic diagram of an annotation performed on a current display page according to an embodiment of the present invention.

图3是本发明实施例提供的批注装置的结构示意图。FIG. 3 is a schematic structural diagram of an annotation device according to an embodiment of the present invention.

图4是本发明实施例提供的批注装置的另一种结构示意图。FIG. 4 is another schematic structural diagram of an annotation device according to an embodiment of the present invention.

图5是本发明实施例提供的批注装置的另一种结构示意图。FIG. 5 is another schematic structural diagram of an annotation device according to an embodiment of the present invention.

图6是本发明实施例提供的批注装置的另一种结构示意图。FIG. 6 is another schematic structural diagram of an annotation device according to an embodiment of the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.

请参阅图1,本发明实施例提供了一种批注方法,其可由批注装置来执行,并至少包括如下步骤:Referring to FIG. 1, an embodiment of the present invention provides an annotation method, which can be performed by an annotation device, and includes at least the following steps:

S101,在批注状态下,监听用户在覆盖于当前显示页面上的全局透明的编辑视图上的批注操作。S101. In the annotation state, listen to the annotation operation of the user on the global transparent edit view overlaid on the currently displayed page.

在本发明实施例中,当用户需要对打开的文档(如PPT文档、word文档等)的当前显示页面进行批注时,可点击进入批注的按钮,此时,所述批注装置在检测到用户的点击操作后,即从编辑状态切换进入批注状态,并在当前显示页面上覆盖全局透明的编辑视图,以供用户进行批注。 In the embodiment of the present invention, when the user needs to annotate the current display page of the opened document (such as a PPT document, a word document, etc.), the button for entering the annotation may be clicked. At this time, the annotation device detects the user's After clicking the operation, it switches from the edit state to the comment state, and overwrites the global transparent edit view on the current display page for the user to annotate.

在本发明实施例中,对于安卓系统,所述全局透明的编辑视图可为SurfaceView,其拥有独立的绘图表面,即不与其宿主窗口共享同一个绘图表面。由于拥有独立的绘图表面,因此SurfaceView的用户界面(User Interface,UI)就可以在一个独立的线程中进行绘制。又由于不会占用主线程资源,SurfaceView一方面可以实现复杂而高效的UI,另一方面又不会导致用户输入得不到及时响应。需要说明的是,对于不同系统,编辑视图可能有不同的名称或实现方法,但只有其实现原理或作用类似于安卓系统的SurfaceView,那么就在本发明的保护范围之内,在此不做赘述。In the embodiment of the present invention, for the Android system, the global transparent edit view may be a SurfaceView, which has a separate drawing surface, that is, does not share the same drawing surface with its host window. With a separate drawing surface, the SurfaceView's User Interface (UI) can be drawn in a separate thread. And because it does not occupy the main thread resources, SurfaceView can implement a complex and efficient UI on the one hand, and on the other hand, it will not cause the user input to get a timely response. It should be noted that, for different systems, the edit view may have different names or implementation methods, but only the implementation principle or function similar to the SurfaceView of the Android system is within the protection scope of the present invention, and will not be described herein. .

此外,需要说明的是,所述文档可以由智能平板上自带的相关软件打开并进行显示,也可以是在普通PC或笔迹本电脑上打开,并通过HDMI、VGA连接到智能平板后,显示在智能平板上,还可以是在普通PC或笔迹本电脑上打开,再通过无线传屏传输到所述智能平板上进行显示等等,本发明不做具体限定。In addition, it should be noted that the document may be opened and displayed by related software provided on the smart tablet, or may be opened on a normal PC or a handwriting computer, and connected to the smart tablet through HDMI and VGA, and then displayed. On the smart tablet, it can also be opened on a normal PC or a handwriting computer, and then transmitted to the smart tablet through a wireless screen for display, etc., and the present invention is not specifically limited.

S102,显示与所述批注操作对应的批注笔迹,并同时记录所述批注笔迹。S102. Display an annotation handwriting corresponding to the annotation operation, and simultaneously record the annotation handwriting.

在本发明实施例中,如图2所示,在生成所述编辑视图后,用户即可在所述编辑视图上进行批注操作,例如,在所述编辑视图上写字或划线(如图2中的划线01)标示出需要重点关注的内容。在用户进行批注操作的实时,所述批注装置一方面会控制显示与所述批注操作对应的批注笔迹,另一方面还同时记录所述批注笔迹。其中,这里所记录的批注笔迹至少包括以下信息:组成笔迹的每个像素点的坐标及每个像素点的颜色值。In the embodiment of the present invention, as shown in FIG. 2, after the edit view is generated, the user can perform an annotation operation on the edit view, for example, writing or scribing on the edit view (see FIG. 2). The underline 01) indicates what needs to be focused. In real time when the user performs the annotation operation, the annotation device controls on the one hand to display the annotation handwriting corresponding to the annotation operation, and on the other hand also records the annotation handwriting. Wherein, the annotation handwriting recorded here includes at least the following information: the coordinates of each pixel that constitutes the handwriting and the color value of each pixel.

S103,当检测到用户的切换操作时,将当前记录的批注笔迹保存为批注页文件,并清除绘制于所述编辑视图上的批注笔迹。S103. When the switching operation of the user is detected, the currently recorded annotation handwriting is saved as a comment page file, and the annotation handwriting drawn on the edit view is cleared.

在本发明实施例中,所述批注装置可将所述批注笔迹保存为批注页文件(如保存成XML文件),并将所述批注页文件与所述当前显示页面形成关联,如此,当需要再次在所述当前显示页面上显示这些批注笔迹时,只需要加载保存的所述批注页文件,并将所述批注页文件中记录的批注笔迹重新绘制在所述编辑视图上即可,由于批注页文件中的批注笔迹是以像素点的形式进行保存的,因此允许用户对绘制得到的批注笔迹进而二次编辑。 In the embodiment of the present invention, the annotation device may save the annotation handwriting as an annotation page file (such as saving into an XML file), and associate the annotation page file with the current display page, so that when needed When displaying the annotation handwritings on the current display page again, only the saved annotation page file needs to be loaded, and the annotation handwriting recorded in the annotation page file is redrawn on the edit view, due to the annotation. The annotation handwriting in the page file is saved in the form of pixels, thus allowing the user to edit the drawn handwriting and then secondary editing.

需要说明的是,在本发明实施例中,所述切换操作可为翻页操作或者添加批注页操作,以下分别进行说明。It should be noted that, in the embodiment of the present invention, the switching operation may be a page turning operation or an annotation page operation, which will be separately described below.

1、所述切换操作为翻页操作1. The switching operation is a page turning operation

当用户通过点击翻页按钮进行翻页时,所述批注装置通过后台线程将当前记录的批注笔迹保存为批注页文件,同时清空编辑视图上的批注笔迹,然后跳转至目标页面。其中,在跳转到目标页面时,智能平板仍然处于批注状态,也就是说,所述目标页面上仍然覆盖有所述全局透明的编辑视图,这样用户可以直接在所述编辑视图上进行批注操作。且进一步的,如果所述目标页面之前已经有对应的已经保存的批注页文件,也可以读取所述批注页文件,将所述批注页文件中的批注笔迹重新绘制在所述编辑视图上,并进行二次编辑。When the user turns the page by clicking the page turning button, the annotation device saves the currently recorded annotation handwriting as the annotation page file through the background thread, simultaneously clears the annotation handwriting on the edit view, and then jumps to the target page. Wherein, when jumping to the target page, the smart tablet is still in the annotation state, that is, the target page is still covered with the global transparent edit view, so that the user can directly perform an annotation operation on the edit view. . And further, if the target page has a corresponding saved annotation page file before, the annotation page file may also be read, and the annotation handwriting in the annotation page file is redrawn on the edit view. And make a second edit.

2、所述切换操作为添加批注页操作2, the switching operation is to add an annotation page operation

当用户通过点击新建批注页或添加批注页来在当前显示页面上增加新的批注页时,则同样的,所述批注装置通过后台线程将当前记录的批注笔迹保存为批注页文件,同时清空编辑视图上的批注笔迹,此时,智能平板仍然处于批注状态,也就是说,所述当前显示页面上仍然覆盖有所述全局透明的编辑视图,这样用户可以直接在所述编辑视图上进行批注。在本实施例中,可以实现对同一个当前显示页面增加不同的批注页,即达到了对一屏内容进行多页批注的效果。When the user adds a new comment page to the current display page by clicking the new annotation page or adding the annotation page, the annotation device saves the current recorded annotation handwriting as the annotation page file through the background thread, and clears the editing at the same time. The annotation handwriting on the view, at this time, the smart tablet is still in the annotation state, that is, the current display page is still covered with the globally transparent edit view, so that the user can directly annotate on the edit view. In this embodiment, different annotation pages can be added to the same current display page, that is, the effect of multi-page annotation on one screen content is achieved.

综上所述,本发明实施例提供的批注方法,在用户批注过程中,记录批注笔迹,在执行切换操作时,将当前记录的批注笔迹保存为批注页文件,并清除绘制于所述编辑视图上批注笔迹。一方面,用户在翻页或者添加批注页的时候,不需要执行进入批注的操作或删除当前批注笔迹的操作就可以直接进行批注,方便了用户的操作;另一方面,由于批注页文件中的批注笔迹以数据形式保存而非图片格式保存,因而可再次在编辑视图绘制这些批注笔迹,并允许用户对绘制的批注笔迹进行二次编辑,满足了用户的使用需求,用户体验佳。In summary, the annotation method provided by the embodiment of the present invention records the annotation handwriting during the user annotation process, and saves the current recorded annotation handwriting as the annotation page file when the switching operation is performed, and clears the drawing in the editing view. Write the handwriting on the top. On the one hand, when the user flips the page or adds the comment page, the user does not need to perform the operation of entering the annotation or delete the current annotation handwriting, and the annotation can be directly performed, which is convenient for the user's operation; on the other hand, due to the annotation page file The annotation handwriting is saved in the form of data instead of the image format, so the annotation handwriting can be drawn again in the edit view, and the user can perform secondary editing on the drawn annotation handwriting, which satisfies the user's use requirements and has a good user experience.

为了便于对本发明的理解,下面将对本发明的一些优选实施例做更进一步 的描述。In order to facilitate an understanding of the present invention, some preferred embodiments of the present invention will be further developed below. description of.

第一个优选实施例:First preferred embodiment:

优选地,在进入批注状态时,对当前显示页面进行截屏,获得所述当前显示页面的截图,并在所述当前显示页面上覆盖全局透明的编辑视图。Preferably, when entering the annotation state, the currently displayed page is screened, a screenshot of the currently displayed page is obtained, and a globally transparent edit view is overwritten on the current display page.

且在步骤S103之后,还包括:And after step S103, further comprising:

S104,根据所述批注页文件及所述当前显示页面的截图,生成批注预览页,并将所述批注预览页添加至所述当前显示页面的预览列表。S104. Generate an annotation preview page according to the annotation page file and the screenshot of the currently displayed page, and add the annotation preview page to a preview list of the currently displayed page.

在本优选实施例中,所述批注预览页可通过将所述批注页文件中的批注笔迹直接绘制在所述截图上生成。In the preferred embodiment, the annotation preview page can be generated by drawing an annotation stroke in the annotation page file directly on the screenshot.

在本优选实施例中,特别的,对于同一个显示页面具有多个批注页文件的情况,当用户想要加载某个批注页文件时,可通过批注预览页对批注页文件中的批注笔迹进行预览,选择所需的批注内容,从而方便了用户的选择,节省了操作步骤和时间。In the preferred embodiment, in particular, in the case that the same display page has multiple annotation page files, when the user wants to load a certain annotation page file, the annotation handwriting in the annotation page file can be performed through the annotation preview page. Preview, select the desired annotation content, which is convenient for the user's choice, saving operation steps and time.

此外,所述批注装置还允许用户在预览列表中进行拖动调整批注页文件的位置顺序、删除某个批注页文件的操作,同时,所述批注装置还提供将批注预览进行全屏播放的功能,方便用户进行内容回顾。In addition, the annotation device further allows the user to drag and adjust the position order of the annotation page file and delete the operation of an annotation page file in the preview list, and at the same time, the annotation device also provides the function of previewing the annotation for full-screen playback. User-friendly content review.

第二个优选实施例:A second preferred embodiment:

优选地,当所述切换操作为翻页操作时,在步骤S104之后,还包括:Preferably, when the switching operation is a page turning operation, after step S104, the method further includes:

S105,跳转至所述翻页操作指向的目标页面,对所述目标页面进行截屏,并保存截屏得到的截图。S105. Jump to the target page pointed to by the page turning operation, take a screenshot of the target page, and save the screenshot obtained by the screen capture.

在本优选实施例中,在跳转到一个目标页面后,首先对所述目标页面进行截屏,并保存截屏得到的截图,以用于后续生成批注预览页。In the preferred embodiment, after jumping to a target page, the target page is first screened, and the screenshot obtained by the screenshot is saved for subsequent generation of the annotation preview page.

S106,在所述目标页面的预览列表中加载批注预览页。S106. Load an annotation preview page in a preview list of the target page.

S107,当检测到用户选中位于所述预览列表中的批注预览页时,读取与所述批注预览页对应的批注页文件,并将所述批注页文件中记录的批注笔迹绘制在所述编辑视图上。 S107, when detecting that the user selects the annotation preview page located in the preview list, reading the annotation page file corresponding to the annotation preview page, and drawing the annotation handwriting recorded in the annotation page file in the editing On the view.

在本优选实施例中,在跳转到目标页面后,默认是生成一个新的批注页,但如果所述目标页面之前已经进行过批注了,即所述目标页面的预览列表中包含有批注预览页,则允许用户选择已经生成的批注页文件来生成批注。具体地,用户可通过浏览位于所述预览列表中的批注预览页,选择想要加载的批注内容,当用户选中某个批注预览页后,所述批注装置读取与所述批注预览页对应的批注页文件,并将所述批注页文件中记录的批注笔迹绘制在所述编辑视图上。In the preferred embodiment, after jumping to the target page, the default is to generate a new comment page, but if the target page has been previously annotated, the preview list of the target page includes an annotation preview. The page allows the user to select the annotation page file that has been generated to generate the annotation. Specifically, the user can select the annotation content to be loaded by browsing the annotation preview page located in the preview list, and when the user selects an annotation preview page, the annotation device reads the corresponding to the annotation preview page. Annotating the page file and drawing the annotation handwriting recorded in the annotation page file on the edit view.

本优选实施例中,允许用户对已经生成的批注页文件进行加载,方便了用户的使用体验。In the preferred embodiment, the user is allowed to load the already generated annotation page file, which is convenient for the user's use experience.

第三个优选实施例:Third preferred embodiment:

优选地,在进入批注状态时,还包括:Preferably, when entering the annotation state, the method further includes:

在当前显示页面上生成全局悬浮可见的工具栏;其中,所述工具栏包括以下至少一个控件:翻页控件、保存控件、预览控件、添加批注页控件。A global floating visible toolbar is generated on the current display page; wherein the toolbar includes at least one of the following controls: a page turning control, a saving control, a preview control, and an annotation page control.

如图2所示,在本优选实施例中,为了便于用户的操作,所述批注装置在当前显示页面上生成全局悬浮可见的工具栏02,其中,所述工具栏包括以下至少一个控件:翻页控件、保存控件、预览控件、添加批注页控件。As shown in FIG. 2, in the preferred embodiment, in order to facilitate the operation of the user, the annotation device generates a globally visible visible toolbar 02 on the current display page, wherein the toolbar includes at least one of the following controls: Page controls, save controls, preview controls, add annotation page controls.

具体进行批注操作时,所述批注装置可判断用户点击工具栏上的控件来触发相应的事件信息,例如,用户点击翻页控件时,所述批注装置将触发PageUp/PageDown按键消息,此时,即进行翻页。而如果用户点击预览控件时,可以进行所有批注预览页的整体预览。如果用户点击保存控件,则所述批注装置可以保存所述批注页文件及截图,其中,可以保存为PDF格式或图片格式等,也可以保存为ENB文件格式,若保存为ENB格式后,则可以使用相应的软件(Android端电子白板,PC端EasiNote等)打开进行二次编辑。如果用户点击添加批注页控件时,则将当前记录的批注笔迹保存为批注页文件,并清除绘制于所述编辑视图上的批注笔迹。When the annotation operation is specifically performed, the annotation device may determine that the user clicks on the control on the toolbar to trigger the corresponding event information. For example, when the user clicks the page turning control, the annotation device will trigger the PageUp/PageDown button message. That is to turn the page. And if the user clicks on the preview control, an overall preview of all the annotation preview pages can be made. If the user clicks the save control, the annotation device can save the annotation page file and the screenshot, wherein the annotation can be saved as a PDF format or a picture format, or can be saved as an ENB file format, and if saved in the ENB format, Use the corresponding software (Android side whiteboard, PC side EasiNote, etc.) to open for secondary editing. If the user clicks the Add Annotation Page control, the current recorded annotation handwriting is saved as a comment page file, and the annotation handwriting drawn on the edit view is cleared.

本优选实施例中,通过提供全局悬浮可见的工具栏,方便了用户的批注操作,用户体验佳。 In the preferred embodiment, the user's annotation operation is facilitated by providing a globally visible toolbar, and the user experience is good.

请参阅图3,本发明还提供了一种批注装置100,包括:Referring to FIG. 3, the present invention also provides an annotation device 100, including:

监听单元10,用于在批注状态下,监听用户在覆盖于当前显示页面上的全局透明的编辑视图上的批注操作;The monitoring unit 10 is configured to listen to an annotation operation of the user on the global transparent edit view over the current display page in the annotation state;

显示记录单元20,用于显示与所述批注操作对应的批注笔迹,并同时记录所述批注笔迹;a display recording unit 20, configured to display an annotation handwriting corresponding to the annotation operation, and simultaneously record the annotation handwriting;

切换单元30,用于当检测到用户的切换操作时,将当前记录的批注笔迹保存为批注页文件,并清除绘制于所述编辑视图上的批注笔迹。The switching unit 30 is configured to save the currently recorded annotation handwriting as a comment page file when the user's switching operation is detected, and clear the annotation handwriting drawn on the editing view.

本发明实施例提供的批注装置100,在用户批注过程中,记录批注笔迹,在执行切换操作时,将当前记录的批注笔迹保存为批注页文件,并清除绘制于所述编辑视图上批注笔迹。一方面,用户在翻页或者添加批注页的时候,不需要执行进入批注的操作或删除当前批注笔迹的操作就可以直接进行批注,方便了用户的操作;另一方面,由于批注页文件中的批注笔迹以数据形式保存而非图片格式保存,因而可再次在编辑视图绘制这些批注笔迹,并允许用户对绘制的批注笔迹进行二次编辑,满足了用户的使用需求,用户体验佳。The annotation device 100 provided by the embodiment of the present invention records the annotation handwriting during the user annotation process, and saves the current recorded annotation handwriting as the annotation page file when the switching operation is performed, and clears the annotation handwriting drawn on the edit view. On the one hand, when the user flips the page or adds the comment page, the user does not need to perform the operation of entering the annotation or delete the current annotation handwriting, and the annotation can be directly performed, which is convenient for the user's operation; on the other hand, due to the annotation page file The annotation handwriting is saved in the form of data instead of the image format, so the annotation handwriting can be drawn again in the edit view, and the user can perform secondary editing on the drawn annotation handwriting, which satisfies the user's use requirements and has a good user experience.

优选地,所述切换操作为翻页操作或者添加批注页操作。Preferably, the switching operation is a page turning operation or an annotation page operation.

优选地,请一并参阅图4,所述批注装置100还包括:Preferably, please refer to FIG. 4 together, the annotation device 100 further includes:

批注进入单元40,用于在进入批注状态时,对当前显示页面进行截屏,获得所述当前显示页面的截图,并在所述当前显示页面上覆盖全局透明的编辑视图;The annotation entry unit 40 is configured to: when entering the annotation state, perform a screen capture on the currently displayed page, obtain a screenshot of the current display page, and overwrite the global transparent editing view on the current display page;

批注预览页生成单元50,用于根据所述批注页文件及所述当前显示页面的截图,生成批注预览页,并将所述批注预览页添加至所述当前显示页面的预览列表。The annotation preview page generating unit 50 is configured to generate an annotation preview page according to the annotation page file and the screenshot of the current display page, and add the annotation preview page to the preview list of the current display page.

在本优选实施例中,特别的,对于同一个显示页面具有多个批注页文件的情况,当用户想要加载某个批注页文件时,可通过批注预览页生成单元50生成的批注预览页对批注页文件中的批注笔迹进行预览,选择所需的批注内容,从而方便了用户的选择,节省了操作步骤和时间。 In the preferred embodiment, in particular, in the case where the same display page has a plurality of comment page files, when the user wants to load a certain comment page file, the annotation preview page pair generated by the annotation preview page generating unit 50 can be The annotation handwriting in the annotation page file is previewed, and the desired annotation content is selected, thereby facilitating the user's selection and saving the operation steps and time.

优选地,请一并参阅图5,所述切换操作为翻页操作;Preferably, please refer to FIG. 5 together, the switching operation is a page turning operation;

则所述批注装置100还包括:The annotation device 100 further includes:

跳转单元60,用于跳转至所述翻页操作指向的目标页面,对所述目标页面进行截屏,并保存截屏得到的截图。The jump unit 60 is configured to jump to the target page pointed by the page turning operation, perform a screen capture on the target page, and save the screenshot obtained by the screen capture.

加载单元70,用于在所述目标页面的预览列表中加载批注预览页。The loading unit 70 is configured to load an annotation preview page in a preview list of the target page.

批注笔迹绘制单元80,用于当检测到用户选中位于所述预览列表中的批注预览页时,读取与所述批注预览页对应的批注页文件,并将所述批注页文件中记录的批注笔迹绘制在所述编辑视图上。An annotation handwriting drawing unit 80, configured to read an annotation page file corresponding to the annotation preview page and detect an annotation recorded in the annotation page file when detecting that the user selects the annotation preview page located in the preview list A handwriting is drawn on the edit view.

在本优选实施例中,通过所述跳转单元60跳转到目标页面后,默认是生成一个新的批注页,但如果所述目标页面之前已经进行过批注,即所述目标页面的预览列表中包含有批注预览页,则允许用户选择已经生成的批注页文件来生成批注。具体地,用户可通过浏览位于所述预览列表中的批注预览页,选择想要加载的批注内容,当用户选中某个批注预览页后,所述加载单元70读取与所述批注预览页对应的批注页文件,所述批注笔迹绘制单元80将所述批注页文件中记录的批注笔迹绘制在所述编辑视图上。In the preferred embodiment, after the jump unit 60 jumps to the target page, the default is to generate a new comment page, but if the target page has been previously annotated, that is, the preview list of the target page. An annotation preview page is included, allowing the user to select the annotation page file that has been generated to generate the annotation. Specifically, the user can select the annotation content to be loaded by browsing the annotation preview page located in the preview list, and when the user selects an annotation preview page, the loading unit 70 reads the corresponding to the annotation preview page. An annotation page file unit, the annotation handwriting drawing unit 80 draws an annotation handwriting recorded in the annotation page file on the edit view.

本优选实施例中,允许用户对已经生成的批注页文件进行加载,方便了用户的使用体验。In the preferred embodiment, the user is allowed to load the already generated annotation page file, which is convenient for the user's use experience.

优选地,请一并参阅图6,所述批注装置100还包括:Preferably, please refer to FIG. 6 together, the annotation device 100 further includes:

工具栏生成单元90,用于在当前显示页面上生成全局悬浮可见的工具栏;其中,所述工具栏包括以下至少一个控件:翻页控件、保存控件、预览控件、添加批注页控件。The toolbar generating unit 90 is configured to generate a global floating visible toolbar on the current display page; wherein the toolbar includes at least one of the following: a page turning control, a saving control, a preview control, and an annotation page control.

如图2所示,在本优选实施例中,为了便于用户的操作,所述工具栏生成单元90在当前显示页面上生成全局悬浮可见的工具栏02,其中,所述工具栏包括以下至少一个控件:翻页控件、保存控件、预览控件、添加批注页控件。As shown in FIG. 2, in the preferred embodiment, in order to facilitate the operation of the user, the toolbar generating unit 90 generates a globally visible visible toolbar 02 on the current display page, wherein the toolbar includes at least one of the following Controls: page flip control, save control, preview control, add annotation page control.

本优选实施例中,通过提供全局悬浮可见的工具栏,方便了用户的批注操作,用户体验佳。In the preferred embodiment, the user's annotation operation is facilitated by providing a globally visible toolbar, and the user experience is good.

以上所揭露的仅为本发明一种较佳实施例而已,当然不能以此来限定本发 明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。What has been disclosed above is only a preferred embodiment of the present invention, and of course, the present invention cannot be limited thereto. Those skilled in the art can understand that all or part of the process of implementing the above embodiments, and equivalent changes made according to the claims of the present invention, are still within the scope of the invention.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(RandomAccess Memory,RAM)等。 One of ordinary skill in the art can understand that all or part of the process of implementing the foregoing embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Claims (10)

一种批注方法,其特征在于,包括:An annotation method, characterized in that it comprises: 在批注状态下,监听用户在覆盖于当前显示页面上的全局透明的编辑视图上的批注操作;In the annotation state, the annotation user is overwritten on the globally transparent edit view over the currently displayed page; 显示与所述批注操作对应的批注笔迹,并同时记录所述批注笔迹;Displaying an annotation handwriting corresponding to the annotation operation, and simultaneously recording the annotation handwriting; 当检测到用户的切换操作时,将当前记录的所述批注笔迹保存为批注页文件,并清除绘制于所述编辑视图上的批注笔迹。When the user's switching operation is detected, the currently recorded annotation handwriting is saved as a comment page file, and the annotation handwriting drawn on the edit view is cleared. 根据权利要求1所述的批注方法,其特征在于,所述切换操作为翻页操作或者添加批注页操作。The annotation method according to claim 1, wherein the switching operation is a page turning operation or an annotation page operation. 根据权利要求1所述的批注方法,其特征在于,在所述在批注状态下,监听用户在覆盖于当前显示页面上的全局透明的编辑视图上的批注操作之前,还包括:The annotation method according to claim 1, wherein before the annotation operation on the globally transparent edit view overlaid on the currently displayed page in the annotation state, the method further comprises: 在进入批注状态时,对当前显示页面进行截屏,获得所述当前显示页面的截图,并在所述当前显示页面上覆盖全局透明的编辑视图;When entering the annotation state, taking a screenshot of the currently displayed page, obtaining a screenshot of the currently displayed page, and overwriting the global transparent editing view on the current display page; 则在当检测到用户的切换操作时,将当前记录的批注笔迹保存为批注页文件,并清除绘制于所述编辑视图上批注笔迹之后,还包括:Then, when the user's switching operation is detected, the currently recorded annotation handwriting is saved as a comment page file, and after the annotation handwriting is drawn on the edit view, the method further includes: 根据所述批注页文件及所述当前显示页面的截图,生成批注预览页,并将所述批注预览页添加至所述当前显示页面的预览列表中。And generating an annotation preview page according to the annotation page file and the screenshot of the currently displayed page, and adding the annotation preview page to the preview list of the currently displayed page. 根据权利要求3所述的批注方法,其特征在于,所述切换操作为翻页操作;The annotation method according to claim 3, wherein the switching operation is a page turning operation; 则在所述根据所述批注页文件及所述当前显示页面的截图,生成批注预览页,并将所述批注预览页添加至所述当前显示页面的预览列表之后,还包括:After the annotation preview page is generated according to the annotation page file and the screenshot of the current display page, and the annotation preview page is added to the preview list of the current display page, the method further includes: 跳转至所述翻页操作指向的目标页面,对所述目标页面进行截屏,并保存 截屏得到的截图;Jumping to the target page pointed to by the page turning operation, taking a screenshot of the target page, and saving Screenshot taken by the screen capture; 在所述目标页面的预览列表中加载批注预览页;Loading an annotation preview page in a preview list of the target page; 当检测到用户选中位于所述预览列表中的批注预览页时,读取与所述批注预览页对应的批注页文件,并将所述批注页文件中记录的批注笔迹绘制在所述编辑视图上。When detecting that the user selects the annotation preview page located in the preview list, reading the annotation page file corresponding to the annotation preview page, and drawing the annotation handwriting recorded in the annotation page file on the edit view . 根据权利要求1至4任意一项所述的批注方法,其特征在于,在进入批注状态时,还包括:The annotation method according to any one of claims 1 to 4, further comprising: when entering the annotation state, further comprising: 在当前显示页面上生成全局悬浮可见的工具栏;其中,所述工具栏包括以下至少一个控件:翻页控件、保存控件、预览控件、添加批注页控件。A global floating visible toolbar is generated on the current display page; wherein the toolbar includes at least one of the following controls: a page turning control, a saving control, a preview control, and an annotation page control. 一种批注装置,其特征在于,包括:An annotation device, comprising: 监听单元,用于在批注状态下,监听用户在覆盖于当前显示页面上的全局透明的编辑视图上的批注操作;a listening unit, configured to listen to an annotation operation of the user on the global transparent edit view over the currently displayed page in the annotation state; 显示记录单元,用于显示与所述批注操作对应的批注笔迹,并同时记录所述批注笔迹;Displaying a recording unit for displaying an annotation handwriting corresponding to the annotation operation, and simultaneously recording the annotation handwriting; 切换单元,用于当检测到用户的切换操作时,将当前记录的批注笔迹保存为批注页文件,并清除绘制于所述编辑视图上的批注笔迹。The switching unit is configured to save the currently recorded annotation handwriting as a comment page file when the user's switching operation is detected, and clear the annotation handwriting drawn on the edit view. 根据权利要求6所述的批注装置,其特征在于,所述切换操作为翻页操作或者添加批注页操作。The annotation device according to claim 6, wherein the switching operation is a page turning operation or an annotation page operation. 根据权利要求6所述的批注装置,其特征在于,还包括:The annotation device of claim 6 further comprising: 批注进入单元,用于在进入批注状态时,对当前显示页面进行截屏,获得所述当前显示页面的截图,并在所述当前显示页面上覆盖全局透明的编辑视图;An annotation entry unit, configured to take a screen shot of the currently displayed page when entering the annotation state, obtain a screenshot of the currently displayed page, and overwrite the global transparent editing view on the current display page; 批注预览页生成单元,用于根据所述批注页文件及所述当前显示页面的截图,生成批注预览页,并将所述批注预览页添加至所述当前显示页面的预览列 表。An annotation preview page generating unit, configured to generate an annotation preview page according to the annotation page file and a screenshot of the currently displayed page, and add the annotation preview page to a preview column of the current display page table. 根据权利要求8所述的批注装置,其特征在于,所述切换操作为翻页操作;The annotation device according to claim 8, wherein said switching operation is a page turning operation; 则所述批注装置还包括:Then the annotation device further comprises: 跳转单元,用于跳转至所述翻页操作指向的目标页面,对所述目标页面进行截屏,并保存截屏得到的截图;a jump unit, configured to jump to a target page pointed by the page turning operation, perform a screen capture on the target page, and save a screenshot obtained by the screen capture; 加载单元,用于在所述目标页面的预览列表中加载批注预览页;a loading unit, configured to load an annotation preview page in a preview list of the target page; 批注笔迹绘制单元,用于当检测到用户选中位于所述预览列表中的批注预览页时,读取与所述批注预览页对应的批注页文件,并将所述批注页文件中记录的批注笔迹绘制在所述编辑视图上。An annotation handwriting drawing unit, configured to read an annotation page file corresponding to the annotation preview page and detect an annotation handwriting recorded in the annotation page file when detecting that the user selects the annotation preview page located in the preview list Draw on the edit view. 根据权利要求6至9任意一项所述的批注装置,其特征在于,还包括:The annotation device according to any one of claims 6 to 9, further comprising: 工具栏生成单元,用于在当前显示页面上生成全局悬浮可见的工具栏;其中,所述工具栏包括以下至少一个控件:翻页控件、保存控件、预览控件、添加批注页控件。 a toolbar generating unit, configured to generate a global floating visible toolbar on the current display page; wherein the toolbar includes at least one of the following: a page turning control, a saving control, a preview control, and an annotation page control.
PCT/CN2017/077150 2016-12-15 2017-03-17 Annotation method and apparatus Ceased WO2018107608A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611160197.0 2016-12-15
CN201611160197.0A CN106776514B (en) 2016-12-15 2016-12-15 An annotation method and device

Publications (1)

Publication Number Publication Date
WO2018107608A1 true WO2018107608A1 (en) 2018-06-21

Family

ID=58887436

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/077150 Ceased WO2018107608A1 (en) 2016-12-15 2017-03-17 Annotation method and apparatus

Country Status (2)

Country Link
CN (2) CN111008520B (en)
WO (1) WO2018107608A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111027293A (en) * 2019-12-05 2020-04-17 合肥学院 A mobile office method, device and system
CN111428452A (en) * 2019-11-27 2020-07-17 杭州海康威视数字技术股份有限公司 Comment data storage method and device
CN112257392A (en) * 2020-10-30 2021-01-22 杭州数梦工场科技有限公司 Method, device and equipment for generating computer program operation document
CN112580312A (en) * 2019-09-11 2021-03-30 西安诺瓦星云科技股份有限公司 Screen-casting content annotation method, device and system and computer-readable storage medium
CN113377265A (en) * 2021-06-25 2021-09-10 数字广东网络建设有限公司 Annotating method, annotating device, mobile terminal and storage medium
CN113935284A (en) * 2020-07-14 2022-01-14 第四范式(北京)技术有限公司 Method and system for assisting in marking artificial text
CN116188628A (en) * 2022-12-02 2023-05-30 广东保伦电子股份有限公司 A method and server for free-drawing cross-page drawing and display

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107341137B (en) * 2017-05-22 2020-04-24 广州视源电子科技股份有限公司 Multi-panel-based annotation following method and system
CN107193794B (en) * 2017-06-28 2021-05-18 广州视源电子科技股份有限公司 Display content annotating method and device
CN107797971A (en) * 2017-10-11 2018-03-13 广州视源电子科技股份有限公司 Document annotation method and device and electronic equipment
CN108038094A (en) * 2017-10-17 2018-05-15 广州视源电子科技股份有限公司 Document annotation method and device and electronic equipment
CN107831980A (en) * 2017-10-23 2018-03-23 广州视源电子科技股份有限公司 Method and device for closing annotation mode, electronic equipment and storage medium
CN110035329B (en) * 2018-01-11 2022-08-30 腾讯科技(北京)有限公司 Image processing method, device and storage medium
CN108459836B (en) * 2018-01-19 2019-05-31 广州视源电子科技股份有限公司 Comment display method, device, equipment and storage medium
CN108958608B (en) * 2018-07-10 2022-07-15 广州视源电子科技股份有限公司 Interface element operation method and device of electronic whiteboard and interactive intelligent equipment
CN109614178A (en) * 2018-09-04 2019-04-12 广州视源电子科技股份有限公司 Comment display method, device, equipment and storage medium
CN111046638B (en) * 2018-10-12 2022-06-28 北京金山办公软件股份有限公司 Ink mark removing method and device, electronic equipment and storage medium
CN110119234B (en) 2019-04-08 2022-09-23 广州视源电子科技股份有限公司 An operating method, storage medium and related equipment for an intelligent interactive tablet
CN110087126A (en) * 2019-04-15 2019-08-02 广州视源电子科技股份有限公司 Screen transmission method and multi-screen interaction device and system
CN110196675B (en) * 2019-04-17 2022-07-15 华为技术有限公司 Method for adding annotations and electronic equipment
CN110737417B (en) * 2019-09-30 2024-01-23 深圳市格上视点科技有限公司 Demonstration equipment and display control method and device of marking line of demonstration equipment
CN112083847A (en) * 2020-09-09 2020-12-15 北京小米移动软件有限公司 A document display control method, device, mobile terminal and storage medium
CN112685997A (en) * 2020-12-31 2021-04-20 安徽鸿程光电有限公司 Display method, device and equipment of annotation information and computer readable storage medium
CN112799621A (en) * 2021-01-19 2021-05-14 深圳市皓丽智能科技有限公司 Comment display method and system
CN112966472A (en) * 2021-03-05 2021-06-15 广州文石信息科技有限公司 Global annotation method and device for electronic book
CN114692580A (en) * 2021-04-22 2022-07-01 广州创知科技有限公司 Annotating control method and interactive panel
CN113407098B (en) * 2021-07-30 2021-12-03 广州朗国电子科技股份有限公司 Whiteboard anti-flicker method and device based on android
CN113791856B (en) * 2021-09-02 2024-02-02 北京字节跳动网络技术有限公司 Method and device for long screen capture annotation
CN114707182A (en) * 2022-05-30 2022-07-05 天津联想协同科技有限公司 Online document annotation authority control method and device
CN115270739A (en) * 2022-07-27 2022-11-01 长沙朗源电子科技有限公司 A PPT accompanying page annotation method, device, equipment and storage medium
CN115661301A (en) * 2022-08-31 2023-01-31 华为技术有限公司 Method for adding annotations, electronic device, storage medium and program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102760170A (en) * 2012-06-17 2012-10-31 上海琥智数码科技有限公司 Electronic book note-taking method based on screenshot
CN103309568A (en) * 2012-03-14 2013-09-18 联想(北京)有限公司 Electronic document annotation method, electronic document annotation device and terminal device
CN104731443A (en) * 2013-12-23 2015-06-24 鸿合科技有限公司 Annotation implementation method and annotation implementation device
CN104794106A (en) * 2014-01-17 2015-07-22 北京大学 Annotating method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102419743A (en) * 2011-07-06 2012-04-18 北京汇冠新技术股份有限公司 Annotating method and system
CN104360788B (en) * 2014-10-20 2018-03-27 深圳市天时通科技有限公司 Transparent mask method and desktop write control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309568A (en) * 2012-03-14 2013-09-18 联想(北京)有限公司 Electronic document annotation method, electronic document annotation device and terminal device
CN102760170A (en) * 2012-06-17 2012-10-31 上海琥智数码科技有限公司 Electronic book note-taking method based on screenshot
CN104731443A (en) * 2013-12-23 2015-06-24 鸿合科技有限公司 Annotation implementation method and annotation implementation device
CN104794106A (en) * 2014-01-17 2015-07-22 北京大学 Annotating method and device

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112580312A (en) * 2019-09-11 2021-03-30 西安诺瓦星云科技股份有限公司 Screen-casting content annotation method, device and system and computer-readable storage medium
CN111428452A (en) * 2019-11-27 2020-07-17 杭州海康威视数字技术股份有限公司 Comment data storage method and device
CN111428452B (en) * 2019-11-27 2023-09-05 杭州海康威视数字技术股份有限公司 Annotation data storage method and device
CN111027293A (en) * 2019-12-05 2020-04-17 合肥学院 A mobile office method, device and system
CN111027293B (en) * 2019-12-05 2023-04-11 合肥学院 Mobile office method, device and system
CN113935284A (en) * 2020-07-14 2022-01-14 第四范式(北京)技术有限公司 Method and system for assisting in marking artificial text
CN112257392A (en) * 2020-10-30 2021-01-22 杭州数梦工场科技有限公司 Method, device and equipment for generating computer program operation document
CN112257392B (en) * 2020-10-30 2024-04-26 杭州数梦工场科技有限公司 Method, device and equipment for generating computer program operation document
CN113377265A (en) * 2021-06-25 2021-09-10 数字广东网络建设有限公司 Annotating method, annotating device, mobile terminal and storage medium
CN113377265B (en) * 2021-06-25 2024-05-28 数字广东网络建设有限公司 Annotating method and device, mobile terminal and storage medium
CN116188628A (en) * 2022-12-02 2023-05-30 广东保伦电子股份有限公司 A method and server for free-drawing cross-page drawing and display
CN116188628B (en) * 2022-12-02 2024-01-12 广东保伦电子股份有限公司 A free drawing cross-page drawing and display method and server

Also Published As

Publication number Publication date
CN106776514A (en) 2017-05-31
CN106776514B (en) 2020-08-07
CN111008520B (en) 2023-08-29
CN111008520A (en) 2020-04-14

Similar Documents

Publication Publication Date Title
WO2018107608A1 (en) Annotation method and apparatus
US11620047B2 (en) Method, apparatus, terminal device, and storage medium for operating interactive white board
JP4453738B2 (en) File transfer method, apparatus, and program
US9092121B2 (en) Copy and paste experience
US8949729B2 (en) Enhanced copy and paste between applications
US20130159822A1 (en) Web-based system for capturing and sharing instructional material for a software application
CN106681624B (en) Remark display method and device based on touch screen
US10423716B2 (en) Creating multimedia content for animation drawings by synchronizing animation drawings to audio and textual data
CN104462039B (en) A method and device for generating annotations
WO2017211072A1 (en) Slide playback control method and apparatus
US9304612B2 (en) Off-screen input capture for mobile device
JP2017162434A (en) Method, program and device for generating web-based copy of document
US9176607B2 (en) Input/output apparatus for displaying superposed images including a handwritten image
WO2021068412A1 (en) Interaction method and apparatus for intelligent interaction tablet, terminal device, and storage medium
CN115437736A (en) Method and device for taking notes
US20130127745A1 (en) Method for Multiple Touch Control Virtual Objects and System thereof
CN110262723B (en) A kind of office assistant method and assistant system
WO2023185701A1 (en) Display method and apparatus, electronic device, and readable storage medium
US9654523B2 (en) Information processing system, and non-transitory computer readable medium for displaying electronic stickey notes transmitted from a participant device to a board of a shared device
JP2008250700A (en) Information processing apparatus, window playback method, and program
JP3858310B2 (en) Source file editing device
CN116679848A (en) Method, device, equipment and readable storage medium for generating media content
CN115640783A (en) Method, device, equipment and storage medium for document content display
CN107885807A (en) File saving method and device, intelligent tablet and storage medium
KR102245042B1 (en) Terminal, method for contrlling thereof and recording medium on which a program for implemeting the method

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 25/10/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 17881344

Country of ref document: EP

Kind code of ref document: A1