CN108804002B - Text annotation method and device for interactive intelligent equipment - Google Patents

Text annotation method and device for interactive intelligent equipment Download PDF

Info

Publication number
CN108804002B
CN108804002B CN201810379079.1A CN201810379079A CN108804002B CN 108804002 B CN108804002 B CN 108804002B CN 201810379079 A CN201810379079 A CN 201810379079A CN 108804002 B CN108804002 B CN 108804002B
Authority
CN
China
Prior art keywords
annotation
text
input box
moved
displaying
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810379079.1A
Other languages
Chinese (zh)
Other versions
CN108804002A (en
Inventor
张强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201810379079.1A priority Critical patent/CN108804002B/en
Publication of CN108804002A publication Critical patent/CN108804002A/en
Application granted granted Critical
Publication of CN108804002B publication Critical patent/CN108804002B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a text annotation method and a text annotation device for interactive intelligent equipment. Wherein, the method comprises the following steps: receiving an annotation adding instruction of an object in the text; moving the text to be moved downwards, wherein the text to be moved is a text adjacent to the object; displaying an input box between the text to be moved and the object, wherein the input box is used for displaying the annotation content of the object; displaying the annotation content of the object in the input box. The invention solves the technical problem that the text added with the annotation and the annotation content are inconvenient to check in the prior art.

Description

Text annotation method and device for interactive intelligent equipment
Technical Field
The invention relates to the field of interactive intelligent equipment, in particular to a text annotation method and a text annotation device of interactive intelligent equipment.
Background
Currently, the way of adding annotations to characters is to add a bubble outside the text, or hyperlink the annotation characters (such as words) directly outside the text display area, and although the way can also enable the user to view the annotations, the comparison and the viewing by the user are inconvenient.
Aiming at the problem that the text added with the annotation and the annotation content are inconvenient to look up in contrast in the prior art, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides a text annotation method and device of interactive intelligent equipment, which at least solve the technical problems that in the prior art, annotation is far away from a text and is inconvenient to view.
According to an aspect of an embodiment of the present invention, there is provided a text annotation method for an interactive intelligent device, including: receiving an annotation adding instruction of an object in the text; moving the text to be moved downwards, wherein the text to be moved is a text adjacent to the object; displaying an input box between the text to be moved and the object, wherein the input box is used for displaying the annotation content of the object; displaying the annotation content of the object in the input box.
According to another aspect of the embodiments of the present invention, there is also provided a text annotation method for an interactive intelligent device, including: detecting a comment adding instruction of an object in the text; determining a text to be moved according to the object, and controlling the text to be moved to move downwards, wherein the text to be moved is a text adjacent to the object; acquiring position information between a text to be moved and an object, and displaying an input box at a position corresponding to the position information; receiving the annotation content of the object and displaying the annotation content of the object within the input box.
According to another aspect of the embodiments of the present invention, there is also provided a text annotation device for an interactive intelligent device, including: the receiving module is used for receiving an annotation adding instruction of an object in the text; the moving module is used for moving the text to be moved downwards, wherein the text to be moved is a text adjacent to the object; the mobile terminal comprises a first display module, a second display module and a display module, wherein the first display module is used for displaying an input box between the text to be moved and an object, and the input box is used for displaying annotation content of the object; and the second display module is used for displaying the annotation content of the object in the input box.
According to another aspect of the embodiments of the present invention, there is also provided a text annotation device for an interactive intelligent device, including: the detection module is used for detecting an annotation adding instruction of an object in the text; the first control module is used for determining a text to be moved according to the object and controlling the text to be moved to move downwards, wherein the text to be moved is a text adjacent to the object; the acquisition module is used for acquiring position information between the text to be moved and the object and displaying an input frame at a position corresponding to the position information; and the second control module is used for receiving the annotation content of the object and displaying the annotation content in the input box.
According to another aspect of the embodiments of the present invention, there is also provided a storage medium, where the storage medium includes a stored program, and when the program runs, the device on which the storage medium is located is controlled to execute the text annotation method of the interactive intelligent device.
According to another aspect of the embodiments of the present invention, there is also provided a processor, where the processor is configured to execute a program, where the program executes the text annotation method of the interactive intelligent device.
In the embodiment of the invention, an annotation adding instruction of an object in a text is received, the text to be moved moves, an input box is displayed between the text to be moved and the object, and annotation content of the object is displayed in the input box. According to the scheme, the annotation of the object in the text is added to the position adjacent to the object, so that the annotation of the object is close to the object, a user can more conveniently identify the text corresponding to the annotation, and the technical problem that the text added with the annotation and the annotation content are inconvenient to compare and view in the prior art is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow diagram of a method for text annotation of an interactive smart device according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an interface for displaying a menu according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of adding annotations to an object according to an embodiment of the invention;
FIG. 4 is a schematic diagram of an interface for annotating a displayed state in accordance with an embodiment of the present invention;
FIG. 5 is a schematic illustration of an interface for annotating a hidden state according to an embodiment of the present invention;
FIG. 6 is a flow diagram of a method for text annotation by an interactive smart device in accordance with an embodiment of the present invention;
FIG. 7 is a block diagram of a custom text control according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of data flow during runtime of a render data component, according to an embodiment of the present invention;
FIG. 9 is a diagram of a custom text control according to an embodiment of the present invention;
FIG. 10 is a schematic diagram of a text annotation device of an interactive smart device in accordance with an embodiment of the present invention; and
FIG. 11 is a schematic diagram of a text annotation device for an interactive smart device in accordance with an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
In accordance with an embodiment of the present invention, there is provided an embodiment of a text annotation method for an interactive smart device, it should be noted that the steps illustrated in the flowchart of the accompanying drawings may be performed in a computer system such as a set of computer-executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
FIG. 1 is a flow chart of a text annotation method of an interactive smart device according to an embodiment of the present invention.
The text annotation method of the interactive intelligent device provided by this embodiment may be executed by a writing display device, where the writing display device may be implemented in a software and/or hardware manner, and the writing display device may be formed by two or more physical entities, or may be formed by one physical entity. The writing display device can be a computer, a mobile phone, a tablet, a projector or an interactive smart tablet and the like. In an embodiment, an interactive smart tablet is described as an example of a writing display device, where the interactive smart tablet may be an integrated device that controls content displayed on a display tablet and implements human-computer interaction operations through a touch technology, and integrates one or more functions of a projector, an electronic whiteboard, a curtain, a sound, a television, a video conference terminal, and the like.
In an embodiment, the interactive smart tablet establishes a data connection with at least one external device. Among these, external devices include, but are not limited to: mobile phones, notebook computers, USB flash disks, tablet computers, desktop computers, and the like.
The embodiment of the communication mode of the data connection between the external device and the interactive intelligent tablet is not limited, and the communication mode can be a USB connection mode, an internet mode, a local area network mode, a Bluetooth mode, a Wi-Fi mode or a ZigBee mode and the like.
Further, the interactive smart tablet has a touch screen, and the touch screen may be a touch screen capable of implementing a single touch function, for example: capacitive touch screen, electromagnetic touch screen, can also be the touch-sensitive screen that can realize capacitive sensing, electromagnetic induction and infrared induction simultaneously. When a user touches the touch screen of the interactive intelligent panel through a finger, the capacitance parameter of the touch position changes, and the touch frame determines the touch position of the finger on the touch screen according to the change of the capacitance; or when the finger contacts the touch frame, the infrared receiving end is blocked to receive the infrared signal, and the touch frame determines the touch position of the finger according to the blocked infrared signal; or when the user releases the touch screen by using the electromagnetic pen, the position of the electromagnetic pen contacted with the touch screen is subjected to electromagnetic induction, so that the change of magnetic flux is generated, and the position of the electromagnetic pen contacted with the touch screen is determined by the electromagnetic screen of the touch frame according to the change of the magnetic flux.
Optionally, whiteboard application software (e.g., EN5) is installed in the interactive smart tablet, and the whiteboard application software may be installed in the interactive smart tablet in advance, or may be writing application software that is downloaded from a third-party device or a server and installed for use when the interactive smart tablet is started.
As shown in fig. 1, the method comprises the steps of:
in step S11, a comment adding instruction for the object in the text is received.
Specifically, the object is a word or a plurality of continuous characters in a text, and the annotation adding instruction of the object may be triggered by a corresponding operation, for example: the annotation addition control can be triggered after the object is selected.
In an alternative embodiment, the user may add the annotation control by clicking the annotation adding control, and may trigger the annotation adding control by a preset shortcut key. The annotation adding control may be displayed in a main menu of the application, or may be displayed in a submenu triggered by other operations, as shown in fig. 2, the annotation adding control is "annotation" in the menu, and after the current interface is triggered to display the menu, "annotation" in the menu may be clicked to send an annotation adding instruction to the terminal device, that is, the terminal device receives the annotation adding instruction.
In step S13, the text to be moved is moved down, where the text to be moved is a text adjacent to the object.
Specifically, the text adjacent to the object may be a text adjacent to the object below, that is, a next line of text of the object; the text adjacent to the right side of the object, i.e. the text after the last character of the object.
In step S13, the text to be moved is moved downward so that a position for placing the input box exists between the text to be moved and the object.
Step S15, an input box is displayed between the text to be moved and the object, wherein the input box is used for displaying the annotation content of the object.
Specifically, the input box is used for a user to input the annotation content of the object and display the annotation content of the object.
In an alternative embodiment, fig. 3 is a schematic diagram of adding comments to an object according to an embodiment of the present invention, and in the embodiment, as shown in fig. 3, the content to be moved is the next row of the "outline", i.e., "carry about monk … …", and the content "carry about monk … …" is moved down, and an input box is inserted between the "outline" and "carry about monk … …".
The object itself may also be displayed in the generated input box to prompt the user, and the input box is used to input the annotation content of the object, for example, "[ u ] is displayed in the input box in fig. 3: andan input box for inputting the annotation content of an "profile", which prompts the user.
In step S17, the comment content of the object is displayed in the input box.
In the above step S17, a character may be input to the input box by the user, or a character may be pasted. In an alternative embodiment, a cursor is displayed in the input box, the characters input by the user appear at the position of the cursor display, and the cursor moves one or more characters backwards every time one or more characters are displayed, so that the characters input by the user can be displayed in sequence, and the display result can be as shown in fig. 4.
As can be seen from the above, the above-described embodiment of the present application receives a comment adding instruction of an object in a text, moves the text to be moved, displays an input box between the text to be moved and the object, and displays the comment content of the object in the input box. According to the scheme, the annotation of the object in the text is added to the position adjacent to the object, so that the annotation of the object is close to the object, a user can more conveniently identify the text corresponding to the annotation, and the technical problem that the text added with the annotation and the annotation content are inconvenient to compare and view in the prior art is solved.
Optionally, according to the above embodiment of the present application, the text to be moved is a next line of text of the object.
Specifically, the next line of text of the object may be used to refer to, in the original text to which the object belongs, the next line of text of the line where the last character in the object is located, when the text to be moved moves down, the size of the down-shift may be determined according to the line spacing in the text, and the text to be moved may move by the distance of one line each time the text to be moved moves down, so that the input box between the text to be moved and the object allows at least one line of characters to be input.
Optionally, according to the foregoing embodiment of the present application, displaying annotation content of an object in an input box includes:
and step S151, when the input box is filled with the annotation content, the text to be moved continues to move downwards, and the height of the input box is increased.
Specifically, the annotation content fills the input box for representing that the number of characters currently displayed by the input box has reached the upper limit of the number of characters allowed to be displayed by the input box, the number of characters allowed to be displayed by the input box can be related to the size of the font size of the characters, the larger the size of the font size of the characters is, the smaller the number of characters allowed to be displayed by the input box is, and the smaller the size of the font size of the characters is, the larger the number of characters allowed to be displayed by the input box is.
If the user needs to continue inputting characters when the input box is full of the annotation content, another line needs to be displayed again, at the moment, the text to be moved continues to move downwards, and the height of the input box is increased, so that the input box can display a plurality of lines of characters.
In step S153, the received comment content is continuously displayed in the input frame after the line height is increased.
In step S17, when the text to be moved is moved for the first time, it may be moved down by only one line, and therefore the input box allows only one line of characters to be input, in this case, if the annotation content is large, it is difficult to display in one line of the input box, and therefore it is necessary to increase the line height of the input box so that the input box can place a plurality of lines of characters while the content to be moved continues to be moved down, and optionally, the content to be moved may be moved down by one line again.
In an alternative embodiment, more comments are made to the "profile", and when the input character fills the input box corresponding to the "profile", the content to be moved is moved down, the input box is increased in height, and the input box increased in height allows at least two lines of comments to be displayed. If it is still difficult to display all the annotation content with an input box that allows two lines of characters to be displayed, the content to be moved continues to move down until the user stops continuing to input to the input box.
Therefore, the input box provided by the embodiment of the application can adaptively adjust the line height according to the annotation content, and the text to be moved can adaptively move downwards according to the line height of the input box, so that no matter how many characters are included in the annotation content, a better display effect can be achieved, and the purpose of not limiting the annotation content is achieved.
Optionally, according to the foregoing embodiment of the present application, before receiving a comment adding instruction of an object in a text, the method further includes:
step S19, receiving a menu triggering instruction, where the menu triggering instruction is used to trigger displaying a menu.
Specifically, the menu trigger instruction may be associated with a predetermined operation, and when the user performs the predetermined operation, that is, when the menu trigger instruction is issued, the current display interface displays the menu.
In an alternative embodiment, the predetermined operation associated with the menu triggering instruction may be a right click of a mouse after the user selects the object. For example, fig. 2 is a schematic diagram of an optional annotation added to the object according to an embodiment of the present application, and in conjunction with fig. 2, the user selects three characters, "u", and clicks a right mouse button, that is, a menu trigger instruction is sent to the processor, that is, the processor receives the menu trigger instruction, where the processor may be a processor of the terminal device displaying the content in fig. 2.
Step S21, displaying a menu, wherein the menu includes at least an annotation adding control for adding annotation to the object.
The menu may be a menu having a plurality of function controls. In an alternative embodiment, and still referring to fig. 2, the user may trigger the display of a menu by clicking on an "exchange profile," which includes the following controls: "copy," "annotate," and "de-emphasize point," where "annotation" is an annotation addition control used to add annotations to an object.
Optionally, according to the foregoing embodiment of the present application, after receiving an instruction to add a comment to an object in a text, the method further includes: predetermined indicia of the object are displayed.
Specifically, the predetermined mark of the object is used to identify the object so that the user can recognize the text with the annotation, and the predetermined mark of the object may be any one or more of the following items: adding shading to the object, adding underlining to the object, circling the object, changing the font of the object, changing the color of the object, etc.
In an alternative embodiment, as shown in fig. 4, after the annotation is added to "center" and "main sinking and floating", the "center" and "main sinking and floating" are underlined, and the underlined is the predetermined mark.
Optionally, according to the above embodiment of the present application, the annotation of the object at least includes the following two annotation states: a display state and a hidden state opposite to the display state, the annotation being displayed in the input box of the object when the annotation state is the display state, the method further comprising:
in step S23, a comment switching instruction is received, where the comment switching instruction is used to switch a comment state.
Specifically, the comment switching instruction may be an instruction issued by a user to a predetermined area in the current display interface, and the predetermined area may be an area where the object is located.
In an alternative embodiment, taking the comment switching instruction as the area where the single-click object is located as an example, when the user single-clicks the object itself, the object receives the comment switching instruction.
In step S25, the annotation of the object in the text is displayed or hidden in the annotation state opposite to the current annotation state.
The hidden state may be that the annotation of the object is hidden, and when the annotation state is in the hidden state, the annotation of the object is not displayed on the display interface of the current object.
In this embodiment, in order to satisfy various requirements of the user for the comment, the comment states of the display state and the hidden state are provided, and the following description is made separately.
In an alternative embodiment, fig. 4 is a schematic diagram of an annotation in a display state according to an embodiment of the present invention, and in conjunction with fig. 4, the third line of the first word includes two annotations, which are "outline" and "main sinking and floating", respectively, and in this example, the annotation states of the two annotations are both in a display state.
In an alternative embodiment, FIG. 5 is a schematic diagram of an annotation in a hidden state according to an embodiment of the invention. As can be seen from comparison with fig. 4, the annotation state of "flow profile" in fig. 5 is switched to the hidden state, and the annotation state of "whose main profile is floating" is still the displayed state.
The switching of the comment state of the object will be described with reference to fig. 4 and 5. The "profile" and "whose main movement is sinking and floating" annotation in fig. 4 are both display states, and if the user wishes to hide the "profile" annotation, the "profile" annotation may be hidden by clicking the position where the "profile" is located, so that the display state shown in fig. 5 is obtained.
In another alternative embodiment, still referring to fig. 4 and 5, the annotation status of "profile" in fig. 5 is a hidden status, and if the user wishes to display the "profile" annotation, the annotation status of "profile" may be switched by clicking the location where "profile" is located, so that the "profile" annotation is displayed, as in the display status of fig. 4.
It is to be noted that the above embodiments of the present application provide two display forms of annotations for a user, so that the user can display or hide the annotations according to needs, thereby enabling the text to be suitable for a plurality of different display scenarios and for users with different needs.
Example 2
In accordance with an embodiment of the present invention, there is provided an embodiment of a text annotation method for an interactive smart device, it should be noted that the steps illustrated in the flowchart of the accompanying drawings may be performed in a computer system such as a set of computer-executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
Fig. 6 is a flowchart of a text annotation method of an interactive intelligent device according to an embodiment of the present invention, and an execution subject of the method is the same as that in embodiment 1, is also executed by an interactive intelligent tablet, and is also run on predetermined whiteboard application software, as shown in fig. 6, the method includes the following steps:
in step S61, a comment adding instruction of an object in the text is detected.
In the above steps, the annotation adding instruction of the object may be triggered by a corresponding operation, for example: the annotation addition control can be triggered after the object is selected.
And step S63, determining the text to be moved according to the object, and controlling the text to be moved to move downwards, wherein the text to be moved is the text adjacent to the object.
Specifically, the text adjacent to the object may be a text adjacent to the lower part of the object, that is, a next line of text of the object; or the text adjacent to the right side of the object, i.e. the text after the last character of the object.
Step S65, acquiring location information between the text to be moved and the object, and displaying an input box at a location corresponding to the location information.
Specifically, the input box is used for a user to input a comment of the object and for displaying the comment of the object. After the text to be moved is moved down, the distance from the object is a certain distance, and the distance is used for placing the input box.
In step S67, the annotation content of the object is received and displayed in the input box.
As can be seen from the above, in the above embodiment of the present application, a comment adding instruction of an object in a text is detected, the text to be moved is determined according to the object, the text to be moved is controlled to move, position information between the text to be moved and the object is acquired, an input box is displayed at a position corresponding to the position information, a comment content of the object is received, and the comment content is displayed in the input box. According to the scheme, the annotation of the object in the text is added to the position adjacent to the object, so that the annotation of the object is close to the object, a user can more conveniently identify the text corresponding to the annotation, and the technical problem that the text added with the annotation and the annotation content are inconvenient to compare and view in the prior art is solved.
Optionally, according to the above embodiment of the present application, the text to be moved is a next line of text of the object.
Specifically, the next line of text of the object may be used to refer to, in the original text to which the object belongs, the next line of text of the line where the last character in the object is located, when the text to be moved moves down, the size of the down-shift may be determined according to the line spacing in the text, and the text to be moved may move by the distance of one line each time the text to be moved moves down, so that the input box between the text to be moved and the object allows at least one line of characters to be input.
Optionally, according to the above embodiment of the present application, determining a text to be moved according to an object, and controlling the text to be moved to move downward includes:
and step S631, generating a custom text control based on the annotation adding instruction.
Specifically, after receiving the comment adding instruction, a user-defined text control can be generated from the aspects of text input, text display, text format setting, text selection effect, text cursor display and the like, so that each process of text rendering can be completely controlled in the comment adding process, and the text can be presented with more excellent performance.
Fig. 7 is a block diagram of a custom text control according to an embodiment of the present invention, which is described below in conjunction with fig. 7, wherein,
text editor (TextEditor): the packaging system is a unified entrance aiming at the outside and is responsible for packaging each component inside.
Text area (TextArea): and processing events such as clicking and moving of the mouse, controlling the display position of a cursor when the mouse clicks, and controlling the selection effect when the mouse is pressed and slid.
A render data component (TextView); for processing the rendering of text, each part (herein called Layer) of the presentation of all text controls is encapsulated inside it, including the presentation of text, the presentation of a cursor, and the presentation of a selected effect. Here, the selected effect layer (selectorlayer), the cursor layer (CaretLayer), and the text layer (TextLayer) are juxtaposed presentation layers.
Besides the interactive components, the custom text control also has a complete set of document management components which are responsible for managing text paragraphs, text attributes and the like in the document, and because the operations of inserting, deleting and searching paragraphs can be frequently performed, the paragraphs can be managed by using a data structure of a red-black tree, the operation time of the data structure under the worst condition is O (log n), the data structure is a data structure with extremely high efficiency, and the fluency when a large amount of texts are edited and rendered can be ensured.
Meanwhile, the scheme also comprises a set of complete rendering data components which are responsible for packaging real-time data of rendered texts, such as the position of each word, the height of each line and the like. With the rendering data, a cursor which is in line with the expectation can be drawn, and the selection effect which is in line with the expectation can be achieved. The data flow may be as shown in fig. 8: that is, the user edits the characters to cause the document data to change, the rendering module renders the changed part according to the latest document data, then generates new rendering data, and draws a new cursor and a selection effect according to the new rendering data.
Step S633, the position parameters of the characters in the object are obtained through the custom text control, and a line break is inserted into the line tail of the line where the last character is located in the object, wherein the line break is used for enabling the text to be moved to move downwards.
Specifically, the position parameters of the characters in the object may be coordinate values and area sizes of each character in the object relative to the custom text control, in an optional embodiment, fig. 9 is a schematic diagram of a custom text control according to an embodiment of the present invention, and as shown in fig. 9, "today is a good weather" is a selected object, a dotted border around the selected object is the custom text control, the coordinates of the characters in the object relative to the address of the custom text control may be represented by a Rect data set (i.e., the position parameters), and Rect may be defined as follows:
x-x coordinate of the upper left corner of the character relative to the text control
y-coordinate of the upper left corner of the character relative to the text control
width of region
height of region
When a user selects an object and sends an annotation adding instruction to the object, a custom text control of the object is generated, the custom text control of the object can acquire a Rect set of each character in the object relative to the custom text control, then acquire a line of the last character in the object, and insert a line feed character at the end of the line of the last character, so that the text to be moved is moved downwards, and a paragraph is added for placing an annotation editing control (namely an input box).
Optionally, according to the above embodiment of the present application, acquiring a position between the text to be moved and the object, and displaying the input box in the position includes:
in step S651, the display position of the input box is determined based on the position data.
Still in the above embodiment, according to the retrieved set, the rect data of the last character is found, and the bottom coordinate of the rect is the position where the annotation editing control should be placed, and specifically, the position where the annotation editor should be placed is y + height of the last character.
In step S653, an input frame is generated at the display position of the input frame.
Optionally, according to the foregoing embodiment of the present application, generating an input box at a display position of the input box includes: and the annotation editing control container is generated at the display position of the input box, wherein the annotation editing container is used for placing one or more annotation editing controls.
In an alternative embodiment, the user may set annotations for multiple objects in the same text line, thus requiring multiple annotation editing controls at the display position of one input box. Therefore, as shown in the above steps, a container of the annotation editing control can be placed at the display position of each input box, and the container can place a plurality of annotation editing controls, and if all the annotations in the container are removed, the container is also removed. When the height of the container changes, the height of the corresponding occupied paragraph is correspondingly adjusted, namely the height of the input frame.
Optionally, according to the above embodiment of the present application, the method further includes:
and step S69, packaging the custom text control and the annotation adding control, and generating a text editing control associated with the preset position of the domain.
Specifically, the text editor may be obtained by encapsulating the annotation container and the custom text control, where the predetermined position may be a position of the object itself, and in an optional embodiment, the encapsulation method is as follows:
1. wrapping a text editor with a container;
2. covering a transparent layer for placing an annotation container on the text editor, wherein the transparent layer and the text editor are in one-to-one correspondence in size and position;
3. acquiring related position information (namely Rect parameters) through a custom text control;
4. an annotation container is placed at the relevant location, where a change in the size of the annotation container also changes the row height of the placeholder text row accordingly.
Through the steps, the text editor associated with the preset position can be obtained, and when the user clicks the preset position of the text editor, the annotation is hidden and displayed.
Step S71, detecting a switching instruction of a predetermined position, where the annotation switching instruction is used to switch an annotation state, and the annotation state includes: a display state and a hidden state opposite to the display state.
The switching instruction may be an instruction sent by a user to a predetermined area in the current display interface, and the predetermined area may be an area where the object is located.
The hidden state may be that the annotation of the object is hidden, and when the annotation state is in the hidden state, the annotation of the object is not displayed on the display interface of the current object.
In an alternative embodiment, the switching instruction corresponds to a predetermined operation, taking the operation corresponding to the switching instruction as clicking an object with a mouse as an example, when a user clicks the object with the mouse, the processor of the terminal device detects the switching instruction.
In step S73, when a switching instruction is detected, the annotation state of the object in the text is switched.
In the above step S73, the annotation state of the object in the text is switched, that is, the current annotation state of the object is switched to the annotation state opposite to the current annotation state. Specifically, when the current annotation state of the object is a display state, if a switching instruction is detected, the annotation state of the object is adjusted to a hidden state; when the current annotation state of the object is a hidden state, if a switching instruction is detected, the annotation state of the object is adjusted to a display state.
Example 3
According to an embodiment of the present invention, an embodiment of a text annotation device of an interactive intelligent device is provided, and fig. 10 is a schematic diagram of the text annotation device of the interactive intelligent device according to the embodiment of the present invention, as shown in fig. 10, the text annotation device includes:
the receiving module 100 is configured to receive a comment adding instruction of an object in a text.
The moving module 102 is configured to move the text to be moved downward, where the text to be moved is a text adjacent to the object.
The first display module 104 is configured to display an input box between the text to be moved and the object, where the input box is used to display the annotation content of the object.
And a second display module 106, configured to display the annotation content of the object in the input box.
Optionally, according to the above embodiment of the present application, the text to be moved is a next line of text of the object.
Optionally, according to the above embodiment of the present application, the second display module includes:
and the adding sub-module is used for continuously moving down the text to be moved when the input box is filled with the annotation content, and the input box is increased in line height.
And the display sub-module is used for displaying the continuously received annotation content in the input box after the line height is increased.
Optionally, according to the above embodiment of the present application, the apparatus further includes:
the first receiving module is used for receiving a menu triggering instruction before receiving an annotation adding instruction of an object in a text, wherein the menu triggering instruction is used for triggering a display menu.
And the third display module is used for displaying a menu, wherein the menu at least comprises an annotation adding control used for adding annotation to the object.
Optionally, according to the above embodiment of the present application, the method further includes:
and the fourth display module is used for displaying the preset mark of the object after receiving the annotation adding instruction of the object in the text.
Optionally, according to the above embodiment of the present application, the annotation of the object includes the following two annotation states: a display state and a hidden state opposite to the display state, and when the annotation state is the display state, the annotation is displayed in the input frame of the object, the method further comprising:
and the second receiving module is used for receiving an annotation switching instruction, wherein the annotation switching instruction is used for switching the annotation state.
And the fifth display module is used for displaying or hiding the annotation of the object in the text according to a second annotation state opposite to the first annotation state.
Example 4
According to an embodiment of the present invention, an embodiment of a text annotation device of an interactive intelligent device is provided, and fig. 11 is a schematic diagram of the text annotation device of the interactive intelligent device according to the embodiment of the present invention, as shown in fig. 11, the text annotation device includes:
and the detection module 110 is configured to detect a comment adding instruction of an object in the text.
The first control module 112 is configured to determine a text to be moved according to the object, and control the text to be moved to move down, where the text to be moved is a text adjacent to the object.
And the obtaining module 114 is configured to obtain position information between the text to be moved and the object, and display an input box at a position corresponding to the position information.
And a second control module 116 for receiving the annotation content of the object and displaying the annotation content in the input box.
Optionally, according to the above embodiment of the present application, the text to be moved is a next line of text of the object.
Optionally, according to the above embodiment of the present application, the first control module includes:
and the first generation submodule is used for generating a custom text control based on the annotation adding instruction.
And the inserting sub-module is used for acquiring the position parameters of the characters in the object through the custom text control, and inserting a line break character at the tail of the line where the last character is located in the object, wherein the line break character is used for moving the text to be moved downwards.
Optionally, according to the foregoing embodiment of the present application, the obtaining module includes:
and the determining submodule is used for determining the display position of the input box according to the position parameter.
And the second generation submodule is used for generating the input box at the display position of the input box.
Optionally, according to the foregoing embodiment of the present application, the second generation submodule includes:
the generating unit is used for generating an annotation editing control container at the display position of the input box, wherein the annotation editing container is used for placing one or more annotation editing controls.
Optionally, according to the above embodiment of the present application, the method further includes:
and the packaging module is used for packaging the custom text control and the annotation editing control to generate a text editing control associated with the preset position.
The instruction detection module is used for detecting an annotation switching instruction of a preset position, wherein the annotation switching instruction is used for switching an annotation state, and the annotation state comprises: a display state and a hidden state opposite to the display state.
And the switching module is used for switching the annotation state of the object in the text when the annotation switching instruction is detected.
According to an embodiment of the present invention, there is provided a storage medium, where the storage medium includes a stored program, where the program, when running, controls a device in which the storage medium is located to execute the text annotation method of the interactive intelligent device described in embodiment 1 or the text annotation method of the interactive intelligent device described in embodiment 2.
According to an embodiment of the present invention, there is provided a processor, configured to execute a program, where the program executes a text annotation method of an interactive intelligent device described in embodiment 1 or a text annotation method of an interactive intelligent device described in embodiment 2 when the program is executed.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (8)

1. A text annotation method of an interactive intelligent device is characterized by comprising the following steps:
receiving an annotation adding instruction of an object in the text;
moving down the text to be moved, wherein the text to be moved is the next line of text of the object;
displaying an input box between the text to be moved and the object, wherein the input box is used for displaying the annotation content of the object, and the object itself is displayed in the input box;
displaying annotation content of the object in the input box;
displaying annotation content for the object in the input box, comprising:
when the annotation content is filled in the input box, the text to be moved continues to move downwards, and the height of the input box is increased;
continuing to display the received annotation content in the input box after the line height is increased, and before receiving an annotation adding instruction of the object in the text, the method further comprises: receiving a menu triggering instruction, wherein the menu triggering instruction is used for triggering a display menu; displaying the menu, wherein the menu at least comprises an annotation adding control for adding an annotation to the object, and after receiving an annotation adding instruction of the object in the text, the method further comprises: displaying a predetermined mark of the object, the annotation of the object comprising two annotation states: a display state and a hidden state opposite to the display state, the annotation being displayed on an input box of the object when the annotation state is the display state, the method further comprising: receiving an annotation switching instruction, wherein the annotation switching instruction is used for switching annotation states; displaying or hiding annotations of objects in the text in an annotation state opposite to the current annotation state.
2. A text annotation method of an interactive intelligent device is characterized by comprising the following steps:
detecting a comment adding instruction of an object in the text;
determining a text to be moved according to the object, and controlling the text to be moved to move downwards, wherein the text to be moved is a next line of text of the object;
acquiring position information between the text to be moved and the object, and displaying an input box at a position corresponding to the position information, wherein the object is displayed in the input box;
receiving annotation content of the object and displaying the annotation content in the input box;
displaying the annotation content within the input box, comprising:
when the annotation content is filled in the input box, the text to be moved continues to move downwards, and the height of the input box is increased;
continuously displaying the received annotation content in the input box after the line height is increased, determining a text to be moved according to the object, and controlling the text to be moved to move downwards, wherein the method comprises the following steps: generating a custom text control based on the annotation adding instruction; acquiring position parameters of characters in the object through the custom text control, and inserting a line break at the tail of a line where the last character is located in the object, wherein the line break is used for moving the text to be moved downwards, and after detecting an annotation adding instruction of the object in the text, the method further comprises the following steps: displaying a predetermined mark of the object, the method further comprising: packaging the custom text control and the annotation editing control to generate a text editing control associated with a preset position; detecting an annotation switching instruction of the preset position, wherein the annotation switching instruction is used for switching an annotation state, and the annotation state comprises: a display state and a hidden state opposite to the display state; and when the annotation switching instruction is detected, switching the annotation state of the object in the text.
3. The method of claim 2, wherein obtaining a position between the text to be moved and the object and displaying an input box at the position comprises:
determining the display position of the input box according to the position parameter;
and generating the input frame at the display position of the input frame.
4. The method of claim 2, wherein generating the input box at a display position of the input box comprises: and generating an annotation editing control container at the display position of the input box, wherein the annotation editing control container is used for placing one or more annotation editing controls.
5. A text annotation apparatus for an interactive smart device, comprising:
the receiving module is used for receiving an annotation adding instruction of an object in the text;
the moving module is used for moving the text to be moved downwards, wherein the text to be moved is the next line of text of the object;
the first display module is used for displaying an input box between the text to be moved and the object, wherein the input box is used for displaying the annotation content of the object, and the object is displayed in the input box;
a second display module for displaying the annotation content of the object in the input box;
the second display module includes:
the adding sub-module is used for continuously moving the text to be moved downwards when the input box is filled with the annotation content, and the input box is increased in line height;
a display sub-module for continuing to display the received annotation content in the input box after the line height is increased, the apparatus further comprising: the device comprises a first receiving module, a third displaying module and a display module, wherein the first receiving module is used for receiving a menu triggering instruction before receiving an annotation adding instruction of an object in a text, the menu triggering instruction is used for triggering and displaying a menu, the third displaying module is used for displaying the menu, the menu at least comprises an annotation adding control used for adding annotation to the object, and the device further comprises: the fourth display module is used for displaying the preset mark of the object after receiving the annotation adding instruction of the object in the text, and the annotation of the object comprises the following two annotation states: a display state and a hidden state opposite to the display state, the comment being displayed in the input box of the object when the comment state is the display state, the apparatus further comprising: the second receiving module is used for receiving an annotation switching instruction, wherein the annotation switching instruction is used for switching annotation states; and the fifth display module is used for displaying or hiding the annotation of the object in the text according to a second annotation state opposite to the first annotation state.
6. A text annotation apparatus for an interactive smart device, comprising:
the detection module is used for detecting an annotation adding instruction of an object in the text;
the first control module is used for determining a text to be moved according to the object and controlling the text to be moved to move downwards, wherein the text to be moved is the next line of text of the object;
the acquisition module is used for acquiring the position information between the text to be moved and the object, and displaying an input box at a position corresponding to the position information, wherein the input box displays the object;
the second control module is used for receiving the annotation content of the object and displaying the annotation content in the input box;
the second control module includes:
the adding sub-module is used for continuously moving the text to be moved downwards when the input box is filled with the annotation content, and the input box is increased in line height;
a display sub-module for continuing to display the received comment content in the input frame after the line height is increased, the first control module including: the device comprises a first generation submodule and an insertion submodule, wherein the first generation submodule is used for generating a custom text control based on an annotation adding instruction, the insertion submodule is used for acquiring position parameters of characters in an object through the custom text control, and a line break character is inserted at the tail of a line where the last character in the object is located, the line break character is used for enabling a text to be moved to move downwards, and the device further comprises: a fifth display module, configured to display a predetermined mark of an object in a text after detecting an annotation adding instruction of the object, the apparatus further includes: the encapsulation module is used for encapsulating the custom text control and the annotation editing control to generate a text editing control associated with a preset position; the instruction detection module is used for detecting an annotation switching instruction of a preset position, wherein the annotation switching instruction is used for switching an annotation state, and the annotation state comprises: a display state and a hidden state opposite to the display state; and the switching module is used for switching the annotation state of the object in the text when the annotation switching instruction is detected.
7. A storage medium, characterized in that the storage medium comprises a stored program, wherein when the program runs, the device on which the storage medium is located is controlled to execute the text annotation method of the interactive intelligent device according to claim 1 or the text annotation method of the interactive intelligent device according to any one of claims 2 to 4.
8. A processor, characterized in that the processor is configured to run a program, wherein the program is configured to execute the text annotation method of the interactive intelligent device of claim 1 or the text annotation method of the interactive intelligent device of any one of claims 2 to 4 when running.
CN201810379079.1A 2018-04-25 2018-04-25 Text annotation method and device for interactive intelligent equipment Active CN108804002B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810379079.1A CN108804002B (en) 2018-04-25 2018-04-25 Text annotation method and device for interactive intelligent equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810379079.1A CN108804002B (en) 2018-04-25 2018-04-25 Text annotation method and device for interactive intelligent equipment

Publications (2)

Publication Number Publication Date
CN108804002A CN108804002A (en) 2018-11-13
CN108804002B true CN108804002B (en) 2022-03-08

Family

ID=64092995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810379079.1A Active CN108804002B (en) 2018-04-25 2018-04-25 Text annotation method and device for interactive intelligent equipment

Country Status (1)

Country Link
CN (1) CN108804002B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110688036B (en) * 2019-08-28 2021-05-14 云知声智能科技股份有限公司 Method for displaying position change of web interface defect associated content
CN110806825A (en) * 2019-09-18 2020-02-18 云知声智能科技股份有限公司 Medical record quality inspection method and device
CN112307717A (en) * 2019-10-16 2021-02-02 北京字节跳动网络技术有限公司 Text labeling information display method and device, electronic equipment and medium
CN112685995A (en) * 2019-10-18 2021-04-20 北京国双科技有限公司 Text underlining processing method and device
CN111062194A (en) * 2019-12-18 2020-04-24 腾讯科技(深圳)有限公司 Document processing method and device, computer equipment and readable storage medium
CN113591432A (en) * 2020-04-30 2021-11-02 华为技术有限公司 Labeling method and electronic equipment
CN112363666A (en) * 2020-11-05 2021-02-12 厦门厦华科技有限公司 Window adjusting method and device for electronic whiteboard
CN112748842A (en) * 2020-12-31 2021-05-04 维沃移动通信有限公司 Text selection method and device
CN112906359A (en) * 2021-02-01 2021-06-04 北京知道未来信息技术有限公司 Superimposed information processing method based on man-machine interaction and related device
CN113672322B (en) * 2021-07-29 2024-05-24 浙江太美医疗科技股份有限公司 Method and device for providing interpretation information

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102346731A (en) * 2010-08-02 2012-02-08 联想(北京)有限公司 File processing method and file processing device
CN102591846A (en) * 2010-10-21 2012-07-18 夏普株式会社 Document generating apparatus and document generating method
CN103365649A (en) * 2012-04-03 2013-10-23 三菱电机株式会社 Program establishment supporting device and program establishment supporting method
WO2014002812A1 (en) * 2012-06-29 2014-01-03 日本電信電話株式会社 Terminal device, annotation method, computer system, and computer program
CN105144148A (en) * 2012-12-11 2015-12-09 微软技术许可有限责任公司 Appending content with annotation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102346731A (en) * 2010-08-02 2012-02-08 联想(北京)有限公司 File processing method and file processing device
CN102591846A (en) * 2010-10-21 2012-07-18 夏普株式会社 Document generating apparatus and document generating method
CN103365649A (en) * 2012-04-03 2013-10-23 三菱电机株式会社 Program establishment supporting device and program establishment supporting method
WO2014002812A1 (en) * 2012-06-29 2014-01-03 日本電信電話株式会社 Terminal device, annotation method, computer system, and computer program
CN105144148A (en) * 2012-12-11 2015-12-09 微软技术许可有限责任公司 Appending content with annotation

Also Published As

Publication number Publication date
CN108804002A (en) 2018-11-13

Similar Documents

Publication Publication Date Title
CN108804002B (en) Text annotation method and device for interactive intelligent equipment
US10915225B2 (en) User terminal apparatus and method of controlling the same
CN110928468B (en) Page display method, device, equipment and storage medium of intelligent interactive tablet
US11112946B2 (en) Interface information display method and apparatus
CN102763065B (en) For navigating through multiple device, method and graphical user interface of checking region
JP6010691B2 (en) Mobile terminal desktop system, interface interaction method, apparatus, program, and recording medium
KR101911088B1 (en) Haptic feedback assisted text manipulation
CN103403659B (en) Device, method, and graphical user interface for navigating a list of identifiers
CN108958608B (en) Interface element operation method and device of electronic whiteboard and interactive intelligent equipment
US11604580B2 (en) Configuration of application execution spaces and sub-spaces for sharing data on a mobile touch screen device
CN111580714A (en) Page editing method, device, equipment and storage medium of intelligent interactive tablet
CN103425485A (en) Interface edition and operation system and method for ordinary users
CN111443863A (en) Page control method and device, storage medium and terminal
JP2013504793A (en) Zooming graphical user interface
CN110928475B (en) Page interaction method, device, equipment and storage medium of intelligent interaction panel
US9690479B2 (en) Method and apparatus for controlling application using key inputs or combination thereof
CN106325687B (en) Method and terminal for calling program
CN107479818B (en) Information interaction method and mobile terminal
CN110941382B (en) Display operation method, device, equipment and storage medium of intelligent interactive panel
CN114217726A (en) Operation method and device of intelligent interactive panel, terminal equipment and storage medium
CN107368511A (en) A kind of information displaying method and device
CN111338538A (en) Page operation method, device, equipment and storage medium of intelligent interactive tablet
CN108762657B (en) Operation method and device of intelligent interaction panel and intelligent interaction panel
KR20150021722A (en) Method, apparatus and recovering medium for screen display by executing scroll
WO2022242542A1 (en) Application icon management method and electronic device

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
GR01 Patent grant
GR01 Patent grant