CN112685997A - Display method, device and equipment of annotation information and computer readable storage medium - Google Patents

Display method, device and equipment of annotation information and computer readable storage medium Download PDF

Info

Publication number
CN112685997A
CN112685997A CN202011635596.4A CN202011635596A CN112685997A CN 112685997 A CN112685997 A CN 112685997A CN 202011635596 A CN202011635596 A CN 202011635596A CN 112685997 A CN112685997 A CN 112685997A
Authority
CN
China
Prior art keywords
annotation
display page
display
page
canvas
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.)
Pending
Application number
CN202011635596.4A
Other languages
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.)
Anhui Hongcheng Opto Electronics Co Ltd
Original Assignee
Anhui Hongcheng Opto Electronics 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 Anhui Hongcheng Opto Electronics Co Ltd filed Critical Anhui Hongcheng Opto Electronics Co Ltd
Priority to CN202011635596.4A priority Critical patent/CN112685997A/en
Publication of CN112685997A publication Critical patent/CN112685997A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a display method, a device, equipment and a computer readable storage medium of comment information, wherein the method comprises the following steps: when an annotation triggering instruction for a first display page is detected, adding a painting brush and a canvas, and detecting a pen falling point of the painting brush on the canvas to determine as an annotation starting point; detecting and displaying an annotation track formed on the basis of the annotation starting point, and storing the annotation track based on the forming time when detecting that the painting brush starts; when a hiding instruction is received, hiding the canvas; receiving a first page switching instruction which is sent based on a first display page and used for indicating a switched display page, and switching the first display page to a second display page based on the first page switching instruction; when an annotation trigger instruction for the second display page is detected, the hidden canvas is displayed, and an annotation track is added to the canvas, so that the annotated information on the first display page can be quickly and conveniently displayed on the second display page, and the annotated information can be conveniently checked.

Description

Display method, device and equipment of annotation information and computer readable storage medium
Technical Field
The embodiment of the invention relates to the technical field of display terminals, in particular to a display method, a display device, display equipment and a computer-readable storage medium of comment information.
Background
The development of scientific technology promotes the development of various industries, and the scrawling annotation of the content displayed by the display terminal is a product developed according to the scientific technology. The graffiti annotation with the display content is widely applied to internal meetings and education training of enterprises, key points in the meeting and training process are explained through the graffiti annotation, and interaction between a speaker and audiences is achieved.
Inevitably, in the course of teaching the current display content, there is often a need to diverge to other display content, which needs to be displayed at this time. However, the displayed other display contents do not relate to the scribble annotation of the current display content, that is, the scribble annotation aiming at the current display contents is not displayed on the other display contents, so that the comparison and the viewing of the key points of the two display contents are not convenient. If the audience wants to compare and view the key points of the two items of content, the speaker needs to annotate the key points again. Therefore, the waiting time of the audience is increased, the operation of the speaker is inconvenient, and the conference or teaching efficiency is influenced.
Therefore, how to conveniently and quickly display the annotation doodling content is a technical problem to be solved urgently at present.
Disclosure of Invention
Based on the foregoing current situation, embodiments of the present invention mainly aim to provide a display method, device, and apparatus for annotation information, and a computer-readable storage medium, so as to implement convenient and fast display of annotation doodle content by saving an annotation track and performing an adding operation in an annotation mode.
In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solutions:
a display method of annotation information comprises the following steps:
when an annotation triggering instruction for a first display page is detected, adding a painting brush and a canvas for the first display page, detecting a pen falling point of the painting brush on the canvas, and determining the pen falling point as an annotation starting point;
detecting and displaying an annotation track formed by annotating the painting brush on the canvas on the basis of the annotation starting point, and storing the annotation track based on forming time when detecting that the painting brush starts to pen;
hiding the canvas when a hiding instruction is received;
receiving a first page switching instruction sent based on the first display page, wherein the first page switching instruction is used for indicating the display page after the first display page is switched;
switching the first display page to a second display page indicated by the first page switching instruction according to the first page switching instruction;
when an annotation triggering instruction for the second display page is detected, the hidden canvas is displayed on the second display page, the annotation track is added to the canvas based on the forming time, and the annotation information formed by the annotation track is displayed on the second display page.
Optionally, after the annotation trace is added to the canvas based on the forming time to display annotation information formed by the annotation trace on the second display page, the method further includes:
receiving a second page switching instruction sent based on the second display page, wherein the second page switching instruction is used for indicating the display page after the second display page is switched;
switching the second display page to a third display page indicated by the second page switching instruction according to the second page switching instruction;
when an annotation triggering instruction for the third display page is detected, adding each annotation track to the canvas according to the stored forming time sequence of each annotation track so as to display annotation information formed by the annotation tracks on the third display page.
Optionally, before receiving a second page switching instruction sent based on the second display page, the method further includes:
receiving a newly added annotation track for updating the annotation track displayed in the canvas, and storing the newly added annotation track and the annotation track together based on the forming time to obtain an updated annotation track;
when an annotation trigger instruction for the third display page is detected, adding each annotation track to the canvas according to the stored forming time sequence of each annotation track so as to display annotation information formed by the annotation tracks on the third display page, specifically:
when an annotation triggering instruction for the third display page is detected, adding each updated annotation track to the canvas according to the stored forming time sequence of each updated annotation track, so that annotation information formed by the updated annotation tracks is displayed on the third display page.
Optionally, the method further includes, after detecting and displaying an annotation track formed by annotating the brush on the canvas based on the annotation start point, and storing the annotation track based on a forming time when detecting that the brush starts writing, the method further includes:
receiving an editing instruction of the annotation track;
editing the annotation track according to the editing instruction to obtain an edited annotation track;
and updating the saved annotation track into the edited annotation track.
Optionally, when an annotation trigger instruction for the second display page is detected, the hidden canvas is displayed on the second display page, and the annotation track is added to the canvas based on the forming time, so that the annotation information formed by the annotation track is displayed behind the second display page, the method further includes:
receiving an emptying instruction of the annotation track;
and clearing the annotation track on the second display page according to the clearing instruction.
Optionally, the hiding instruction carries a hiding identifier;
the hiding the canvas upon receiving a hide instruction comprises:
and when the hiding instruction is received, hiding the canvas according to the hiding identification.
The embodiment of the present invention further provides a display device of annotation information, where the display device of annotation information includes:
the determining module is used for adding a painting brush and a canvas to a first display page when an annotation triggering instruction for the first display page is detected, detecting a pen falling point of the painting brush on the canvas, and determining the pen falling point as an annotation starting point;
the detection module is used for detecting and displaying an annotation track formed by annotating the painting brush on the canvas on the basis of the annotation starting point, and storing the annotation track based on the forming time when the painting brush is detected to start;
the hiding module is used for hiding the canvas when a hiding instruction is received;
the receiving module is used for receiving a first page switching instruction based on the first display page, and the first page switching instruction is used for indicating the display page of the page after the first display page is switched;
the switching module is used for switching the first display page into a second display page corresponding to the first page switching instruction according to the first page switching instruction;
and the display module is used for displaying the hidden canvas on the second display page when an annotation triggering instruction for the second display page is detected, and adding the annotation track to the canvas based on the forming time so as to display the annotation information formed by the annotation track on the second display page.
The embodiment of the present invention further provides a display device of annotation information, where the display device of annotation information includes a memory, a processor, and a computer program stored in the memory and running on the processor, and when the computer program is executed by the processor, the display device of annotation information implements the display method of annotation information as described above.
Optionally, the display device of the annotation information is a writing board, an intelligent interactive flat board, an electronic whiteboard, an intelligent blackboard or an intelligent television.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the display method of the annotation information is implemented.
[ PROBLEMS ] the present invention
According to the annotation information display method, when an annotation trigger instruction for a first display page is detected, a painting brush and a canvas are added to the first display page, and a detected pen falling point of the painting brush on the canvas is determined as an annotation starting point; detecting an annotation track formed by annotating the painting brush on the canvas on the basis of the annotation starting point and displaying the annotation track on a first display page; meanwhile, when the starting operation of the brush pen is detected, the annotation track formed by the brush pen on the canvas is stored according to the forming time. If a hiding instruction is received, hiding the canvas; receiving a first page switching instruction sent based on a first display page, wherein the first page switching instruction is used for indicating the display page after the first display page is switched; then, switching the first display page into a second display page indicated by the first page switching instruction according to the first page switching instruction; and if an annotation triggering instruction for the second display page is detected, displaying the hidden canvas on the second display page, and adding the stored annotation tracks to the canvas based on respective forming time so as to display annotation information formed by the annotation tracks on the second display page. Therefore, by hiding the canvas, the situation that after the display is switched to the second display page, the annotation content drawn in the first display page is cleared is avoided; the method and the device have the advantages that the storage operation and the adding operation of the annotation tracks are combined, so that the information to be annotated on the first display page is displayed on the second display page, the comparison and the checking of the key point content between the first display page and the second display page are facilitated, and the fast and convenient display of the annotation information is facilitated.
Other advantages of the embodiments of the present invention will be described in the detailed description, and those skilled in the art should understand the technical features and technical solutions that bring about the advantages of the embodiments of the present invention.
Drawings
Preferred embodiments of the present invention will be described below with reference to the accompanying drawings. In the figure:
FIG. 1 is a flowchart of an embodiment of a display method of annotation information according to an embodiment of the present invention;
fig. 2 is a flowchart of a display method of annotation information according to another embodiment of the present invention.
Detailed Description
It should be noted that step numbers (letter or number numbers) are used to refer to some specific method steps in the embodiments of the present invention, and are only used for the purpose of convenience and brevity of description, and the order of the method steps is not limited by letters or numbers in any way. It will be clear to a person skilled in the art that the order of the steps of the method in question, as determined by the technology itself, should not be unduly limited by the presence of step numbers.
Fig. 1 is a flowchart of an embodiment of a display method of annotation information according to an embodiment of the present invention, in which the display method of annotation information is applied to a display device, the display device is equipped with a display screen, and the display screen may be integrated in the display device or may be set to be in communication connection with the display device. And, the display screen of the display device supports writing and drawing, such as a writing board in a meeting or training where the display screen supports handwritten annotations. Specifically, the method comprises the following steps:
step S100, when an annotation triggering instruction for a first display page is detected, adding a painting brush and a canvas for the first display page, detecting a pen falling point of the painting brush on the canvas, and determining the pen falling point as an annotation starting point.
And S200, detecting and displaying an annotation track formed by annotating the brush on the canvas based on the annotation starting point, and storing the annotation track based on the forming time when detecting that the brush starts to pen.
And step S300, hiding the canvas when a hiding instruction is received.
Step S400, receiving a first page switching instruction sent based on the first display page, wherein the first page switching instruction is used for indicating the display page after the first display page is switched;
step S500, switching the first display page to a second display page indicated by the first page switching instruction according to the first page switching instruction;
step S600, when an annotation triggering instruction for the second display page is detected, the hidden canvas is displayed on the second display page, the annotation track is added to the canvas based on the forming time, and the annotation information formed by the annotation track is displayed on the second display page.
In the annotation information display method of the embodiment, when an annotation trigger instruction for a first display page is detected, a brush and a canvas are added to the first display page, and a detected pen falling point of the brush on the canvas is determined as an annotation starting point; detecting an annotation track formed by annotating the painting brush on the canvas on the basis of the annotation starting point and displaying the annotation track on a first display page; meanwhile, when the starting operation of the brush pen is detected, the annotation track formed by the brush pen on the canvas is stored according to the forming time. If a hiding instruction is received, hiding the canvas; receiving a first page switching instruction sent based on a first display page, wherein the first page switching instruction is used for indicating the display page after the first display page is switched; then, switching the first display page into a second display page indicated by the first page switching instruction according to the first page switching instruction; and if an annotation triggering instruction for the second display page is detected, displaying the hidden canvas on the second display page, and adding the stored annotation tracks to the canvas based on respective forming time so as to display annotation information formed by the annotation tracks on the second display page. Therefore, by hiding the canvas, the situation that after the display is switched to the second display page, the annotation content drawn in the first display page is cleared is avoided; the method and the device have the advantages that the storage operation and the adding operation of the annotation tracks are combined, so that the information to be annotated on the first display page is displayed on the second display page, the comparison and the checking of the key point content between the first display page and the second display page are facilitated, and the fast and convenient display of the annotation information is facilitated.
Specifically, an interface currently displayed on the display device is used as a first display page, and a virtual key used for triggering annotation operation is arranged in the first display page. And when the annotation requirement on the first display page is met, initiating an annotation triggering instruction through the virtual key. After receiving the annotation triggering instruction, the display device adds a painting brush and a canvas to the first display page; wherein, painting brush and canvas cooperation use to support to write and draw in order to realize the annotation on first display page, and the painting brush can realize the annotation with the writing drawing of finger, also can realize the annotation etc. with the writing drawing of electron writing pen. And then, detecting a pen falling point of the painting pen on the canvas, and determining the detected pen falling point as an annotation starting point for starting annotation on the content displayed on the first display page.
Further, annotation of the first display page is dependent upon the first display page being in an annotation mode that supports annotation, and the brush and canvas implementation. Therefore, when the display device detects an annotation trigger instruction triggered by the first display page, the first display page is switched to the annotation mode, and the canvas surface view and the brush Paint are added to the first display page, so that the annotation of the display content of the first display page is realized through the drawing operation of the brush on the canvas in the annotation mode. And the canvas is set to be transparent in advance through a parameter of Holder setFormat (pixelformat. transfer) so as to avoid the canvas from obstructing the displayed content in the first display page.
Furthermore, when the display device detects a pressure change of the display screen, it can be determined that the pen is in contact with the first display page. And detecting a specific position of the contact, wherein the specific position is a pen-down point, and determining the pen-down point as an annotation starting point. The specific position of the contact can be determined by setting a virtual coordinate system on a display screen of the display device in advance and detecting the coordinate position of the contact point on the virtual coordinate system.
In step S200, further, based on the annotation starting point, the brush is annotated on the canvas added to the first display page, the formed annotation track is detected, and the detected annotation track is displayed on the first display page. In the process of detecting the annotation track, if the pressure change of the display screen is detected to be larger than a certain value, it is determined that the brush pen is started to leave from the first display page. At the moment, the specific position of departure is detected through the virtual coordinate system, the coordinate point where the specific position is located is determined as the starting point, and the annotation track formed between the starting point and the falling point is stored according to the forming time for subsequent display.
Understandably, there may be editing requirements for erasing, withdrawing, modifying, etc. the annotation tracks formed and saved on the first display page. The editing requirement is triggered and implemented by programming an instruction, and specifically, after step S200, the method further includes:
step a1, receiving an editing instruction for the annotation track;
step a2, editing the annotation track according to the editing instruction to obtain an edited annotation track;
step a3, updating the saved annotation track to the edited annotation track.
Further, when an editing instruction for editing the annotation track is received, the editing type indicated by the editing instruction is determined, and then the annotation track is edited according to the editing instruction. Wherein the editing type at least comprises erasing editing, withdrawing editing, modifying editing and the like. If the editing type indicated by the editing instruction is erasing editing, erasing the annotation track, and adding a track with the same color as the canvas background on the annotation track to realize the covering of the annotation track by erasing; if the indicated editing type is withdrawing editing, withdrawing the annotation tracks, and withdrawing according to the formation sequence of the annotation tracks and the sequence from back to first; and if the indicated editing type is modification editing, modifying the annotation track. And after the annotation track is edited through the editing instruction, the edited annotation track is formed, and the edited annotation track is used for replacing and updating the saved annotation track, so that the edited annotation track is saved.
As for step S300, understandably, there is a need to switch the first display page to other page display in general when a meeting or training teaching is performed using the display device. At this time, the annotation mode of the first display page needs to be switched to the non-annotation mode, and the canvas is hidden, so that the first display page is switched to other display pages. In addition, in the annotation mode, the canvas SurfaceView has its own lifecycle onDestory, and a monitoring mechanism is provided for the canvas to ensure the normal operation of the lifecycle. If the canvas is directly hidden, the life cycle is terminated, resulting in the clearing of the content drawn on the canvas. Therefore, for the canvas surfaceView, in addition to hiding the canvas, the embodiment also provides a pause mechanism for the life cycle, and the pause is realized by removing the monitoring. Specifically, a virtual key for hiding is arranged on the first display page, and a hiding instruction is triggered by operating the virtual key. And when the display equipment receives the hiding instruction, removing the monitoring of the canvas and hiding the canvas. Therefore, the annotation mode of the first display page is switched to the non-annotation mode, and other display pages are switched to display in the non-annotation mode. Wherein, the hiding instruction carries the hiding identifier, and for step S300, the method specifically includes:
step S310, when the hiding instruction is received, hiding the canvas according to the hiding identification.
Furthermore, the hiding instruction carries a hiding identifier, after the hiding instruction is received, the hiding identifier is read out from the hiding instruction, and then the canvas is hidden according to the hiding identifier. And the canvas hiding mode can be variable assignment hiding, for example, if a hidden variable Visible is set, and a hidden identifier Gone is received, the canvas can be hidden by assigning the Visible as Gone. In addition, the canvas is monitored through a preset monitoring process, and a monitoring mark is set for the preset monitoring process to indicate. The hidden command carries a monitoring identifier in addition to the hidden identifier. When a hidden instruction is received, acquiring a monitoring identifier carried in the hidden instruction and used for indicating a monitoring process; and then calling a preset monitoring process indicated by the monitoring identifier according to the monitoring identifier, and setting the preset monitoring process to be in a closed state to remove the monitoring of the canvas.
For step S400, further, after the canvas is removed and hidden to switch the annotation mode of the first display page to the non-annotation mode, if the first page switching instruction is received in the non-annotation mode, the first display page is switched to the second display page. The page switching instruction carries a switching page identifier indicating a display page after the first display page is switched, and different display pages are preset to correspond to different switching page identifiers.
Further, for step S500, a first page switching instruction is initiated for different content, and the switched second display page corresponds to the switching page identifier carried by the received first page switching instruction, so that the first display page is switched to the second display page pointed by the first page switching instruction. If another application is opened in a double-click mode, the double-click forms a first page switching instruction, wherein the carried identifier of the other application is a switching page identifier, and the home page of the other application is a second display page indicated by the first page switching instruction. And if the next page button is clicked in the first display page, the clicking operation forms a first page switching instruction, wherein the carried next page identification is the switching page identification, and the next page is a second display page indicated by the first page switching instruction.
As for step S600, further, for the second display page, the displayed content thereof may be annotated, and other functions may also be operated. If the annotation requirement exists, triggering a virtual key for realizing annotation operation on the second display page to initiate an annotation triggering instruction. If the annotation does not exist and the operation needs of other functions are met, the other functions are directly triggered. For the annotation requirement, after detecting an annotation triggering instruction triggered by the virtual key, the display device switches the second display page into an annotation mode, displays the hidden canvas on the second display page in the annotation mode, and simultaneously adds the stored annotation tracks into the canvas according to respective forming time, so that the annotation information formed by the annotation tracks is displayed on the second display page. The annotation information formed by the annotation track is information formed by the shape of the saved annotation track. Therefore, the content of the second display page can be annotated on the basis of the displayed annotation information, so that the contrast annotation of the display content between the first display page and the second display page is realized, and the contrast viewing of the annotation information between different display pages is facilitated.
Similarly, the annotating of the second display page is also implemented according to the paintbrush and the canvas, so that in step S600, when the annotation trigger instruction for the second display page is detected, the hidden canvas is displayed on the second display page, and the annotation track is added to the canvas based on the forming time, including:
when an annotation triggering instruction for the second display page is detected, displaying the hidden canvas on the second display page, and monitoring the canvas;
and adding the annotation tracks to the canvas one by one according to the saved forming time sequence of the annotation tracks so as to display annotation information formed by the annotation tracks on the second display page.
Further, after an annotation triggering instruction is triggered through a virtual key in a second display page and the second display page is switched to an annotation mode, the hidden canvas is displayed on the second display page through converting the hidden identifier into an inactive state; meanwhile, the painting cloth is monitored by switching the preset monitoring process to be in an opening state, and the painting brush is added according to the second display page. And adding the saved annotation track to the canvas to display the annotation information formed by the annotation track on a second display page. And the life cycle of the current canvas is monitored by recovering the removed monitoring, and the remarking of the content displayed on the second display page is realized by the drawing operation of the brush on the canvas.
Understandably, the annotation tracks are formed according to the pen falling point and the pen starting point, one annotation track is formed by continuously operating the painting brush once on the painting canvas every time, and a plurality of annotation tracks are formed by operating the painting brush for a plurality of times. The forming time of each annotation track is different, and the annotation tracks are added one by one according to the respective forming time of each annotation track when added to the canvas. Each annotation track annotated on the first display page can be stored in a storage unit arranged in or externally connected to the display device, and can also be stored in a message queue. For the storage unit, each annotation track carries a respective forming time identifier; and adding the annotation tracks to the canvas one by one according to the forming time sequence represented by the respective forming time identifications, wherein the time is added before, and the time is added after. For the message queue, according to the forming time sequence embodied by the first-in first-out principle of the message queue, the first-in queue embodies that the forming time is first, the first-in queue is read and added to the canvas, the second-in queue embodies that the forming time is later, and the second-in queue is read and added to the canvas. After the annotation tracks stored in the storage unit or the message queue are added to the canvas, the annotation information formed by the annotation tracks is added to the second display page for display.
Understandably, along with the storage of the annotation tracks, the amount of the stored annotation tracks gradually increases, thereby affecting the storage of the annotation tracks formed subsequently. In this regard, the present embodiment is provided with an annotation clearing mechanism, and specifically, after step S600, the method further includes:
step b1, receiving an emptying instruction for the annotation track;
step b2, emptying the annotation track on the second display page according to the emptying instruction.
Further, when an emptying instruction for emptying the annotation track is received, the annotation track on the second display page is emptied according to the emptying instruction, so that the annotation track formed subsequently can be stored conveniently. In order to prevent the erroneous deletion, when the clear command is received, prompt information for confirming whether the deletion is confirmed is output, and when the delete confirmation command sent based on the prompt information is received, the annotation track on the second display page is cleared. And if the deletion confirmation instruction is not received, the annotation track on the second display page is not cleared.
Furthermore, after the annotation information of the first display page is displayed on the second display page, if the requirement for annotating the content displayed on the second display page according to the displayed annotation information exists, the newly annotated information and the originally annotated information on the first display page are stored together. Specifically, in step S600, adding the annotation track to the canvas based on the forming time, so as to display the annotation information formed by the annotation track on the second display page, further including:
receiving a newly added annotation track for updating the annotation track displayed in the canvas, and storing the newly added annotation track and the annotation track together;
and when the second display page is switched back to the first display page and the canvas is displayed on the first display page, the newly added annotation track and the annotation track are displayed on the canvas together.
Further, when an annotation operation performed on the canvas on the content displayed on the second display page through the brush pen is detected, a pen-down point, an annotation track and a pen-up point of the annotation are tracked. And each annotation track formed by the pen-down point and the pen-up point is used as a new annotation track for updating the annotation tracks displayed in the canvas, and is stored together with the annotation tracks. The newly added annotation track and the annotation track are stored together, and the newly added annotation track is added to the annotation track storage position for storage. And each newly added annotation track is generated, one new annotation track is stored, and the formed time mark is added to reflect the forming time of each newly added annotation track, so that the subsequent adding and deleting operations on other display pages are facilitated according to the forming time.
Furthermore, after the second display page is switched back to the initial first display page and the canvas is displayed on the first display page, the newly added annotation track and the annotation track are read one by one from the storage position of the annotation track and are added to the initial first display page according to the sequence of the respective formation time of the newly added annotation track and the annotation track, so that the annotation contents of the first display page and the second display page are displayed simultaneously, and the comparison and the check of the annotation contents of the first display page and the second display page are facilitated.
Further, another embodiment of the display method of the annotation information in the embodiment of the invention is provided.
Referring to fig. 2, another embodiment of the display method of annotation information is different from the embodiment of the display method of annotation information described above in that, after the annotation track is added to the canvas based on the forming time to display the annotation information formed by the annotation track on the second display page, the method further includes:
step S700, receiving a second page switching instruction sent based on the second display page, wherein the second page switching instruction is used for indicating the display page after the second display page is switched;
step S800, switching the second display page to a third display page indicated by the second page switching instruction according to the second page switching instruction;
step S900, when an annotation trigger instruction for the third display page is detected, adding each annotation track to the canvas according to the stored formation time sequence of each annotation track, so as to display annotation information formed by the annotation tracks on the third display page.
In the embodiment, when the second display page is switched to the third display page, the stored information originally annotated on the first display page is added to the third display page for display, so that the re-annotation is avoided. Meanwhile, the information annotated on the second display page is also added to the third display page, so that the display content of the third display page can be compared and viewed conveniently, and the flexible use of the display equipment is facilitated.
Specifically, in the process of displaying the second display page currently, if there is a need to switch the displayed second display page to the third display page, a second page switching instruction is triggered in the second display page, where the second page switching instruction is used to indicate the display page after the second display page is switched. The switched third display page may be another display page unrelated to the first display page, or may be the first display page. Correspondingly, the second page switching instruction carries different page indications; if the third display page which is irrelevant to the first display page is switched, the second page switching instruction carries the indication of the third display page, and if the third display page is switched to the first display page, the second page switching instruction carries the indication of the first display page. And for switching back to the first display page, the second page switching instruction can be realized by a virtual key arranged in the second display page and used for returning to the previous page, and can also be triggered by directly selecting the first display page after exiting the second display page.
In addition, if the second display page is in the annotation mode, the second page switching instruction is triggered after the second display page needs to be switched to the non-annotation mode. Namely, the canvas displayed on the second display page currently is monitored and removed, and the canvas is hidden, so that the non-annotation mode is switched to, and a second page switching instruction is triggered. And the display equipment receives the second page switching instruction and switches the second display page to the indicated third display page according to the second page switching instruction. And then, if an annotation triggering instruction for the third display page is detected, when the requirement for annotating on the third display page is represented, displaying the hidden canvas, restoring monitoring, realizing the monitoring of the life cycle of the currently displayed canvas, and displaying the canvas on the third display page for annotating the content displayed on the third page.
Further, the stored annotation tracks are added to the canvas one by one according to the sequence of the respective forming time, so that the information annotated on the first display page before is displayed on the third display page after the second display page is switched to the third display page. In consideration of annotating the content of the second display page during the display of the second display page, the type of annotation is stored together with the annotation made to the first display page. Thus, when adding the saved annotation tracks to the canvas, all approval tracks formed during the lifecycle will be added to the canvas. Specifically, before receiving a second page switching instruction sent based on a second display page, the method further includes:
step c1, receiving a newly added annotation track for updating the annotation track displayed in the canvas, and storing the newly added annotation track and the annotation track together based on the forming time to obtain an updated annotation track;
when an annotation trigger instruction for the third display page is detected, adding each annotation track to the canvas according to the stored forming time sequence of each annotation track so as to display annotation information formed by the annotation tracks on the third display page, specifically:
step c2, when an annotation trigger instruction for the third display page is detected, adding each updated annotation track to the canvas according to the saved forming time sequence of each updated annotation track, so as to display annotation information formed by the updated annotation tracks on the third display page.
Further, in the process of displaying the second display page, if the requirement for annotating the content of the second display page exists, an newly added annotation track which is displayed in the canvas and formed on the first display page is triggered, and the newly added annotation track is stored together with the original annotation track according to the forming time to obtain an updated annotation track. And then, after the second display page is switched to a third display page for display, if an annotation triggering instruction for the third display page is detected, adding each stored update annotation track into the canvas displayed on the third display page.
Specifically, in the adding process, if each saved annotation track includes an annotation for the display content of the second display page and an updated newly added annotation track is added to the canvas, it is described that in the process of displaying the second display page, other annotation tracks are added based on the annotation tracks, so that the newly added annotation tracks including the original annotation tracks are added to the canvas together according to the sequence of the respective forming time, and the newly added annotation information formed by the newly added annotation tracks and the original annotation tracks is displayed on the third display page, so that the annotation content of the first display page and the annotation content of the second display page are compared and viewed on the third display page. In addition, for the newly added annotation track added into the canvas, the newly added annotation track is withdrawn according to the stored time sequence, so that the newly added annotation in the second display page is deleted, and the content originally annotated in the first display page is reserved.
It should be noted that, in the case that the content of the second display page is not annotated during the display process of the second display page, only the content annotated on the first display page is added to the canvas. That is, if each saved annotation track does not include an annotation for the display content of the second display page, and an updated new annotation track is added to the canvas, it indicates that no annotation is added for the content of the second display page in the process of displaying the second display page, so that the original display content for the first display page is annotated, and the annotation track added to the canvas is added to the canvas again, so that annotation information formed by the annotation track is displayed on the third display page, and the original annotation information is viewed.
The embodiment of the present invention further provides a display device of annotation information, where the display device of annotation information includes:
the determining module is used for adding a painting brush and a canvas to a first display page when an annotation triggering instruction for the first display page is detected, detecting a pen falling point of the painting brush on the canvas, and determining the pen falling point as an annotation starting point;
the detection module is used for detecting and displaying an annotation track formed by annotating the painting brush on the canvas on the basis of the annotation starting point, and storing the annotation track based on the forming time when the painting brush is detected to start;
the hiding module is used for hiding the canvas when a hiding instruction is received;
the receiving module is used for receiving a first page switching instruction based on the first display page, and the first page switching instruction is used for indicating the display page of the page after the first display page is switched;
the switching module is used for switching the first display page into a second display page corresponding to the first page switching instruction according to the first page switching instruction;
and the display module is used for displaying the hidden canvas on the second display page when an annotation triggering instruction for the second display page is detected, and adding the annotation track to the canvas based on the forming time so as to display the annotation information formed by the annotation track on the second display page.
Further, the recovery module is further configured to receive a second page switching instruction sent based on the second display page, where the second page switching instruction is used to indicate a display page after the second display page is switched;
the switching module is further used for switching the second display page into a third display page indicated by the second page switching instruction according to the second page switching instruction;
the display device further includes:
and the adding module is used for adding each annotation track to the canvas according to the stored forming time sequence of each annotation track when an annotation triggering instruction for the third display page is detected, so that the annotation information formed by the annotation tracks is displayed on the third display page.
Further, the display device further includes:
the storage module is used for receiving a newly-added annotation track for updating the annotation track displayed in the canvas, and storing the newly-added annotation track and the annotation track together based on the forming time to obtain an updated annotation track;
the adding module is further configured to add each updated annotation track to the canvas according to the stored forming time sequence of each updated annotation track when an annotation triggering instruction for the third display page is detected, so that annotation information formed by the updated annotation tracks is displayed on the third display page.
Further, the display device further comprises an editing module, and the convenient module is used for:
receiving an editing instruction of the annotation track;
editing the annotation track according to the editing instruction to obtain an edited annotation track;
and updating the saved annotation track into the edited annotation track.
Further, the display device further comprises an emptying module, and the emptying module is used for:
receiving an emptying instruction of the annotation track;
and clearing the annotation track on the second display page according to the clearing instruction.
Further, the hiding instruction carries a hiding identifier, and the hiding module is configured to:
and when the hiding instruction is received, hiding the canvas according to the hiding identification.
The specific implementation manner of the display device of the annotation information in the embodiment of the present invention is basically the same as that of each embodiment of the display method of the annotation information, and is not repeated here.
The embodiment of the present invention further provides a display device of annotation information, where the display device of annotation information includes a memory, a processor, and a computer program stored in the memory and running on the processor, and when the computer program is executed by the processor, the display device of annotation information implements the display method of annotation information as described above.
The display device of the annotation information in the embodiment of the present invention may be a writing board, an intelligent interactive flat board, an electronic whiteboard, an intelligent blackboard, or an intelligent television, and the specific implementation manner of the display device of the annotation information is basically the same as that of each embodiment of the display method of the annotation information, and is not repeated herein.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the display method of the annotation information as described above is implemented.
The computer-readable storage medium provided in the embodiments of the present invention is a non-volatile storage medium and can be read for multiple times, where specific steps executed by a computer program stored in the computer-readable storage medium are the same as those in the embodiments corresponding to the display method of the annotation information, and are not repeated herein.
It will be appreciated by those skilled in the art that the above-described preferred embodiments may be freely combined, superimposed, without conflict.
It will be understood that the embodiments described above are illustrative only and not restrictive, and that various obvious or equivalent modifications and substitutions may be made in the details described herein by those skilled in the art without departing from the basic underlying principles of the embodiments of the present invention.

Claims (10)

1. A display method of annotation information is characterized by comprising the following steps:
when an annotation triggering instruction for a first display page is detected, adding a painting brush and a canvas for the first display page, detecting a pen falling point of the painting brush on the canvas, and determining the pen falling point as an annotation starting point;
detecting and displaying an annotation track formed by annotating the painting brush on the canvas on the basis of the annotation starting point, and storing the annotation track based on forming time when detecting that the painting brush starts to pen;
hiding the canvas when a hiding instruction is received;
receiving a first page switching instruction sent based on the first display page, wherein the first page switching instruction is used for indicating the display page after the first display page is switched;
switching the first display page to a second display page indicated by the first page switching instruction according to the first page switching instruction;
when an annotation triggering instruction for the second display page is detected, the hidden canvas is displayed on the second display page, the annotation track is added to the canvas based on the forming time, and the annotation information formed by the annotation track is displayed on the second display page.
2. The method for displaying the annotation information according to claim 1, wherein the adding the annotation trace to the canvas based on a forming time to display the annotation information formed by the annotation trace on the second display page, the method further comprises:
receiving a second page switching instruction sent based on the second display page, wherein the second page switching instruction is used for indicating the display page after the second display page is switched;
switching the second display page to a third display page indicated by the second page switching instruction according to the second page switching instruction;
when an annotation triggering instruction for the third display page is detected, adding each annotation track to the canvas according to the stored forming time sequence of each annotation track so as to display annotation information formed by the annotation tracks on the third display page.
3. The method for displaying annotation information according to claim 2, wherein before receiving a second page switching instruction sent based on the second display page, the method further comprises:
receiving a newly added annotation track for updating the annotation track displayed in the canvas, and storing the newly added annotation track and the annotation track together based on the forming time to obtain an updated annotation track;
when an annotation trigger instruction for the third display page is detected, adding each annotation track to the canvas according to the stored forming time sequence of each annotation track so as to display annotation information formed by the annotation tracks on the third display page, specifically:
when an annotation triggering instruction for the third display page is detected, adding each updated annotation track to the canvas according to the stored forming time sequence of each updated annotation track, so that annotation information formed by the updated annotation tracks is displayed on the third display page.
4. The method for displaying annotation information according to claim 1, wherein the detecting and displaying an annotation track formed by annotating the brush on the canvas based on the annotation start point, and when detecting that the brush is started, after storing the annotation track based on a forming time, the method further comprises:
receiving an editing instruction of the annotation track;
editing the annotation track according to the editing instruction to obtain an edited annotation track;
and updating the saved annotation track into the edited annotation track.
5. The method according to claim 1, wherein when an annotation trigger instruction is detected for the second display page, the hidden canvas is displayed on the second display page, and the annotation track is added to the canvas based on a forming time, so that the annotation information formed by the annotation track is displayed on the second display page, and the method further comprises:
receiving an emptying instruction of the annotation track;
and clearing the annotation track on the second display page according to the clearing instruction.
6. The method for displaying the annotation information according to any one of claims 1 to 5, wherein the hiding instruction carries a hiding identifier;
the hiding the canvas upon receiving a hide instruction comprises:
and when the hiding instruction is received, hiding the canvas according to the hiding identification.
7. A display device of comment information, characterized by comprising:
the determining module is used for adding a painting brush and a canvas to a first display page when an annotation triggering instruction for the first display page is detected, detecting a pen falling point of the painting brush on the canvas, and determining the pen falling point as an annotation starting point;
the detection module is used for detecting and displaying an annotation track formed by annotating the painting brush on the canvas on the basis of the annotation starting point, and storing the annotation track based on the forming time when the painting brush is detected to start;
the hiding module is used for hiding the canvas when a hiding instruction is received;
the receiving module is used for receiving a first page switching instruction based on the first display page, and the first page switching instruction is used for indicating the display page of the page after the first display page is switched;
the switching module is used for switching the first display page into a second display page corresponding to the first page switching instruction according to the first page switching instruction;
and the display module is used for displaying the hidden canvas on the second display page when an annotation triggering instruction for the second display page is detected, and adding the annotation track to the canvas based on the forming time so as to display the annotation information formed by the annotation track on the second display page.
8. A display device of annotation information, comprising a memory, a processor and a computer program stored on the memory and running on the processor, characterized in that the computer program, when executed by the processor, implements a display method of annotation information according to any one of claims 1 to 6.
9. The display device of the annotation information of claim 8, wherein the display device of the annotation information is a writing board, an intelligent interactive tablet, an electronic whiteboard, an intelligent blackboard or an intelligent television.
10. A computer-readable storage medium, on which a computer program is stored, the computer program, when being executed by a processor, implementing a display method of annotation information according to any one of claims 1 to 6.
CN202011635596.4A 2020-12-31 2020-12-31 Display method, device and equipment of annotation information and computer readable storage medium Pending CN112685997A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011635596.4A CN112685997A (en) 2020-12-31 2020-12-31 Display method, device and equipment of annotation information and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011635596.4A CN112685997A (en) 2020-12-31 2020-12-31 Display method, device and equipment of annotation information and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112685997A true CN112685997A (en) 2021-04-20

Family

ID=75456455

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011635596.4A Pending CN112685997A (en) 2020-12-31 2020-12-31 Display method, device and equipment of annotation information and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112685997A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114356205A (en) * 2022-01-04 2022-04-15 掌阅科技股份有限公司 Note processing method, electronic device and computer storage medium
CN116166242A (en) * 2023-03-22 2023-05-26 广州嘉为科技有限公司 Canvas-based measurement card implementation method, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106776514A (en) * 2016-12-15 2017-05-31 广州视源电子科技股份有限公司 Annotating method and device
CN108241480A (en) * 2018-01-24 2018-07-03 上海哇嗨网络科技有限公司 Show annotation method, display client and the throwing screen client of content
CN108304129A (en) * 2017-12-27 2018-07-20 杭州迈杰教育科技有限公司 Teaching electronics exhibition booth annotation method, equipment, storage medium and system
CN109359272A (en) * 2018-09-11 2019-02-19 宁波思骏科技有限公司 A kind of display methods, device and the equipment of electronics rough draft
WO2019080873A1 (en) * 2017-10-27 2019-05-02 腾讯科技(深圳)有限公司 Method for generating annotations and related apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106776514A (en) * 2016-12-15 2017-05-31 广州视源电子科技股份有限公司 Annotating method and device
WO2019080873A1 (en) * 2017-10-27 2019-05-02 腾讯科技(深圳)有限公司 Method for generating annotations and related apparatus
CN108304129A (en) * 2017-12-27 2018-07-20 杭州迈杰教育科技有限公司 Teaching electronics exhibition booth annotation method, equipment, storage medium and system
CN108241480A (en) * 2018-01-24 2018-07-03 上海哇嗨网络科技有限公司 Show annotation method, display client and the throwing screen client of content
CN109359272A (en) * 2018-09-11 2019-02-19 宁波思骏科技有限公司 A kind of display methods, device and the equipment of electronics rough draft

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114356205A (en) * 2022-01-04 2022-04-15 掌阅科技股份有限公司 Note processing method, electronic device and computer storage medium
CN116166242A (en) * 2023-03-22 2023-05-26 广州嘉为科技有限公司 Canvas-based measurement card implementation method, device and storage medium

Similar Documents

Publication Publication Date Title
EP2372516B1 (en) Methods, systems and computer program products for arranging a plurality of icons on a touch sensitive display
CN109407954B (en) Writing track erasing method and system
CN102221957B (en) Electronic equipment and operation control method thereof
US9158450B2 (en) Handwriting input device and handwriting input control program
CN101359275B (en) Handwriting input method for digital equipment, handwriting input device and mobile terminal
CN109062433A (en) Touch data processing method and device, intelligent equipment and storage medium
CN112685997A (en) Display method, device and equipment of annotation information and computer readable storage medium
US6559869B1 (en) Adaptive auto-scrolling merge for hand written input
KR100700141B1 (en) A Method for Recognizing Name Card in Mobile Phone
CN104461338A (en) Portable electronic device and method for controlling same
CN108304129A (en) Teaching electronics exhibition booth annotation method, equipment, storage medium and system
CN103631490A (en) Data processing device and method of performing data processing according to gesture operation
WO2016173307A1 (en) Message copying method and device, and smart terminal
JP3385965B2 (en) Input device and input method
CN110866378A (en) Method and system for annotating on display screen
JP2016085512A (en) Electronic equipment, method, and program
CN108958511B (en) Interactive display device, writing control method, mobile terminal and storage medium
JP6271125B2 (en) Electronic device, display method, and program
JP2013037037A (en) Computer device, electronic pen system, and program
CN114327140B (en) Screen touch method, device, system, equipment and storage medium
WO2014103357A1 (en) Electronic apparatus and input method
CN113625890A (en) Function switching method and device for touch control pen
JP2019023888A (en) Information processing apparatus, information processing program and information processing method
JP6408273B2 (en) Information processing apparatus, information processing program, and information processing method
JP2014127160A (en) Electronic apparatus, display method, and display program

Legal Events

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