WO2019154197A1 - Electronic book handwritten note display method, computing device and computer storage medium - Google Patents

Electronic book handwritten note display method, computing device and computer storage medium Download PDF

Info

Publication number
WO2019154197A1
WO2019154197A1 PCT/CN2019/073785 CN2019073785W WO2019154197A1 WO 2019154197 A1 WO2019154197 A1 WO 2019154197A1 CN 2019073785 W CN2019073785 W CN 2019073785W WO 2019154197 A1 WO2019154197 A1 WO 2019154197A1
Authority
WO
WIPO (PCT)
Prior art keywords
character
text
character text
book
specific
Prior art date
Application number
PCT/CN2019/073785
Other languages
French (fr)
Chinese (zh)
Inventor
陶红涛
Original Assignee
掌阅科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 掌阅科技股份有限公司 filed Critical 掌阅科技股份有限公司
Priority to US16/969,060 priority Critical patent/US11455460B2/en
Publication of WO2019154197A1 publication Critical patent/WO2019154197A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/02Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators
    • G06F15/025Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application
    • G06F15/0291Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application for reading, e.g. e-books
    • 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
    • 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/171Editing, e.g. inserting or deleting by use of digital ink
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/32Digital ink
    • G06V30/333Preprocessing; Feature extraction

Definitions

  • FIG. 2 is a schematic diagram showing a display interface of an e-book handwritten note after an e-book character occurrence format adjustment in the prior art
  • FIG. 5 is a schematic flowchart diagram of a method for displaying an e-book handwritten note according to another embodiment of the present disclosure
  • 6b is a schematic diagram showing a display interface of another line spacing rectangle and a character text circumscribed rectangle in another embodiment of the present disclosure
  • FIG. 9 is a schematic diagram of a character text splitting method in another embodiment of the present disclosure.
  • FIG. 10 is a schematic diagram showing a display interface of an e-book handwritten note after an e-book character occurrence format adjustment in another embodiment of the present disclosure
  • FIG. 11 is a schematic diagram showing a display interface of an e-book handwritten note after another e-book character occurrence format adjustment in another embodiment of the present disclosure
  • FIG. 3 is a flow chart showing a method for displaying an electronic book handwritten note according to an embodiment of the present disclosure.
  • handwritten notes include character text.
  • the method includes:
  • Step S301 Acquire a character text input by the user in a handwritten manner, record a specific character of the electronic book corresponding to the character text, and a relative position of the character text with respect to the specific character.
  • an e-book character corresponding to a longitudinal center line of the circumscribed rectangle of the character text is a specific character of the e-book corresponding to the character text, still as shown in FIG. 1 , the vertical center line of the character text circumscribed rectangle
  • the e-book character " ⁇ " is a specific character corresponding to the character text.
  • the manner of determining a specific character can be set by a person skilled in the art, which is not limited in this embodiment.
  • the relative position of the character text with respect to the specific character is recorded.
  • the specific method for recording the relative position of the character text with respect to the specific character is not limited in this embodiment. Taking FIG. 1 as an example, if it is determined that the specific character of the e-book corresponding to the character text "Jiangzhong Xiaozhou" is "Jiang", the relative position of the character text "Jiangzhong Xiaozhou” relative to the e-book character "Jiang” is recorded, for example.
  • the new position of the specific character corresponding to the formatted character text is determined. As shown in FIG. 4, after the electronic book character font is enlarged, the new position of the specific character "Jiang” corresponding to the character text "Jiangzhong Xiaozhou” is determined.
  • Step S303 Obtain a new display position of the character text according to the new position of the specific character and the relative position of the recorded character text with respect to the specific character.
  • the new display position of the character text can be accurately determined.
  • the new position of the specific character "Jiang” corresponding to the character text "Jiangzhong Xiaozhou” is determined to be (480, 960) in step S302 (the upper left vertex of the e-book terminal screen is taken as the origin, in the horizontal direction The right direction is the positive direction of the x-axis, and the vertical downward direction is the positive direction of the y-axis.
  • step S301 If the distance from the upper left vertex of the circumscribed rectangle of the character text recorded in step S301 is from the lower left vertex of the specific character "Jiang" is (-10, 20), it is determined that the new display position of the upper left vertex of the circumscribed rectangle of the formatted character text is (470, 980), thereby obtaining a new display position of the character text.
  • Step S304 Determine the display manner of the character text according to the new display position of the character text.
  • the display manner of the character text can be determined according to the new display position of the character text.
  • the display mode of the character text is a complete display mode, that is, as shown in FIG. The display interface shown in 4. Therefore, the disadvantage that the character text input by the user in the handwriting manner and the content of the e-book are not adapted after the format adjustment of the e-book character occurs in FIG. 2 is avoided.
  • the user's handwritten notes are displayed at a position matching the content of the e-book, thereby improving the adaptability of the displayed handwritten notes and the content of the e-book, thereby improving the user experience and improving the user retention. rate.
  • FIG. 5 is a schematic flow chart of a method for displaying an e-book handwritten note according to another embodiment of the present disclosure.
  • handwritten notes include character text.
  • the method includes:
  • Step S501 Acquire character text input by the user in a handwritten manner.
  • the user can input the character text by handwriting in the e-book terminal through a stylus or a finger or the like. After the user inputs the character text, the character text is obtained. Optionally, the character text is obtained and can be stored in a picture class format.
  • Step S502 determining whether the character text input by the user by handwriting is an interline note text, and if yes, executing step S503; otherwise, the method ends.
  • step S503 is further performed; otherwise, the character text input by the user by handwriting is determined to be the non-line note text, The method ends.
  • the matching threshold may be preset, if the circumscribed rectangle of the character text and the overlapping area of the rectangle of a certain line in the e-book.
  • the preset matching threshold may be set by a person skilled in the art according to actual business conditions. For example, when the preset matching threshold is 100%, the circumscribed rectangle J1 of the character text "Jiangzhong Xiaozhou" in Fig.
  • the e-book row spacing is matched by the circumscribed rectangle.
  • the ratio of the overlap area of J1 and J2 to the J1 area is 80%, and is also greater than 70%. It is determined that the circumscribed rectangle of the character text matches the circumscribed rectangle of the e-book line spacing. .
  • Step S503 Record a specific character of the electronic book corresponding to the character text, and a relative position of the character text with respect to the specific character.
  • the specific character of the e-book corresponding to the character text is determined. Specifically, it may be determined that the e-book character closest to the first character of the character text is a specific character of the e-book corresponding to the character text.
  • the first character of the character text input by the user by handwriting needs to be determined first.
  • the first five strokes of the character text "Jiangzhong Xiaozhou" are B1, B2, B3, B4, and B5, respectively, where B3 and B4 circumscribed rectangles intersect, and B1, B2 and B3, B4 are externally connected.
  • the rectangular distance is closer than the first preset distance, and the distances of the circumscribed rectangles of B1, B2, B3 and B4 are larger than the first preset distance, and the strokes B1, B2, B3 and B4 in Fig. 7 can be obtained.
  • a collection is a character, that is, the collection is the first character of the character text.
  • the circumscribed rectangle of the first character of the character text is further obtained, and when the circumscribed rectangle of the character in the electronic book intersects with the circumscribed rectangle of the first character of the character text, determining the character as a character The specific character of the e-book corresponding to the text; or, when the distance between the circumscribed rectangle of the character in the e-book and the circumscribed rectangle of the first character of the user note is less than a preset threshold, determining that the character is a specific character of the e-book corresponding to the character text .
  • the first character of the character text “Jiangzhong Xiaozhou” is “Jiang”
  • the distance between the circumscribed rectangle of the first character “Jiang” and the circumscribed rectangle of the e-book character “Jiang” is less than the preset threshold, then the e-book is determined.
  • the character “Jiang” is a specific character of the e-book corresponding to the character text "Jiangzhong Xiaozhou”.
  • the user can write multiple pieces of character text in the same line spacing in the e-book.
  • the user writes the character text "Jiangzhong Xiaozhou" and the character text "Good Time” in the same line spacing, so in this case, the character text in the same line spacing needs to be split.
  • the strokes written in the same line spacing may be collected into characters, for example, if the distance between the circumscribed rectangles of the adjacent plurality of strokes and the circumscribed rectangles of the adjacent plurality of strokes is smaller than the first preset If at least one of the distances is set, the plurality of strokes are grouped into one character.
  • the two adjacent characters are cut. Divide, so as to achieve the split of the character text.
  • a total of 8 characters of Z1-Z8 are obtained, and the distance between the characters Z4 and the character Z5 is larger, and greater than the second preset distance, the characters Z4 and characters are The Z5 is divided into two characters: the character text "Jiangzhong Xiaozhou" and the character text "Good Time”. And determine the specific characters of the e-book corresponding to the two character texts.
  • the specific character of the electronic book corresponding to the character text is recorded.
  • the corresponding character can be quickly and uniquely located through the index.
  • the index "first character of the first paragraph" in the "Three Kingdoms” e-book can quickly and accurately locate the first character “first” in the "Three Kingdoms” e-book. Therefore, in this step, the index of the specific character of the e-book corresponding to the character text in the e-book can be recorded. As shown in FIG.
  • the index "the fifth character in the third paragraph” of the specific character "Jiang” of the e-book corresponding to the character text "Jiangzhong Xiaozhou” can be recorded, and the e-book corresponding to the character text "good time” can be recorded.
  • the position of one or more vertices of the circumscribed rectangle of the character text may be recorded from a certain vertex of the circumscribed rectangle of the specific character, for example, as shown in FIG.
  • Step S504 After the format adjustment of the e-book character is detected, the new position of the specific character after the format adjustment is determined.
  • the format adjustment in this embodiment can only refer to the format adjustment that can cause the change of the position of the specific character, such as font scaling, character spacing adjustment, indentation adjustment, line spacing adjustment, and segment spacing adjustment. At least one of the format adjustments.
  • the new display position of the specific character corresponding to the formatted character text is determined.
  • the index of the specific character corresponding to the character text is recorded. Therefore, in this step, the new position of the specific character after the format adjustment can be quickly determined according to the index of the recorded specific character.
  • Step S505 obtaining a new display position of the character text according to the new position of the specific character and the relative position of the recorded character text with respect to the specific character.
  • the new display position of the character text can be accurately determined.
  • the new position of the lower left vertex of the circumscribed rectangle of the specific character "Jiang” corresponding to the character text "Jiangzhong Xiaozhou” is determined to be (480, 960) (in the case of the e-book terminal screen)
  • the upper left vertex is the origin
  • the horizontal right direction is the x-axis positive direction
  • the vertical downward direction is the positive direction of the y-axis.
  • Step S505 Determine the display manner of the character text according to the new display position of the character text.
  • the character text when the new display position corresponding to the character text corresponds to an area insufficient to completely display the character text, the character text is displayed in a folded manner; or, when the new display position of the character text corresponds to an area sufficient When the character text is completely displayed, the character text is displayed in a non-folding manner.
  • the new display position of the upper left vertex of the character rectangle "Jiangzhong Xiaozhou” is (470,980), and the new display position of the character text "Jiangzhong Xiaozhou” is the area indicated by D1, and the area is Sufficient to display the character text "Jiangzhong Xiaozhou", the character text is completely displayed in this area in a non-folding manner; and the new display position of the upper left vertex of the character rectangle "Good Time” circumscribed rectangle is (920,960),
  • the circumscribed rectangle of the circumscribed rectangle has a width of 300 and a height of 80.
  • the upper right vertex of the circumscribed rectangle of the character text "Good Time” should be (1220, 960).
  • the character text "Good Time” The area corresponding to the new display position is the area indicated by D2, and the area is not enough to display the character text "Good Time”, then the folding mark X is displayed at the upper right of the character "Autumn", and is displayed when the user clicks the folding mark X.
  • the character text "Good Times” is displayed in the interface.
  • the line spacing associated with the character text is not formatted, and the character text is displayed in a non-folding manner. As shown in FIG. 11, when the e-book line spacing is adjusted, the line spacing of the character text may not be adjusted, and the character text is completely displayed in the line spacing.
  • the character text in the process of displaying the character text in a non-folding manner, may be directly displayed without adjusting the character text, and the character text may be scaled to display the character text in an unfolded manner.
  • the character text input by the user by handwriting is obtained, and whether the character text is inter-line text is determined, and if so, the specific character of the e-book corresponding to the character text is recorded.
  • the relative position of the character text relative to the specific character is recorded; when the format adjustment of the e-book character is detected, the specific
  • the index value of the character quickly determines the new position of the specific character; according to the new position of the specific character and the relative position of the recorded character text with respect to the specific character, a new display position of the character text is obtained; according to the new display position of the character text , to determine how the character text is displayed.
  • the user's handwritten notes are displayed at a position matching the content of the e-book, thereby improving the adaptability of the displayed handwritten notes and the content of the e-book, thereby improving the user experience and improving the user retention.
  • an appropriate display manner can be selected according to the new display position of the e-book character, thereby further improving the display effect of the character text and improving the user experience.
  • a non-transitory computer readable storage medium storing at least one executable instruction executable in any of the above method embodiments Methods.
  • the executable instructions may specifically be used to cause the processor to perform the following operations:
  • the memory is configured to store at least one executable instruction, and the executable instruction causes the processor to perform the following operations:
  • executable instructions are specifically operable to cause the processor to:
  • the specific character of the e-book corresponding to the character text is recorded, and the relative position of the character text with respect to the specific character.
  • executable instructions are specifically operable to cause the processor to:
  • executable instructions are specifically operable to cause the processor to:
  • executable instructions are specifically operable to cause the processor to:
  • the new position of the specific character after the format adjustment is determined according to the index of the specific character of the electronic book corresponding to the recorded character text in the electronic book.
  • executable instructions are specifically operable to cause the processor to:
  • the character text is displayed in a non-folding manner.
  • executable instructions are specifically operable to cause the processor to:
  • the line spacing associated with the character text is not formatted and the character text is displayed in a non-folding manner.
  • executable instructions are specifically operable to cause the processor to:
  • the character text is scaled and the character text is displayed in a non-folding manner.
  • FIG. 12 is a schematic structural diagram of a computing device according to an embodiment of the present disclosure.
  • the specific embodiment of the present disclosure does not limit the specific implementation of the computing device.
  • the computing device can include a processor 1202, a communications interface 1204, a memory 1206, and a communications bus 1208.
  • the processor 1202, the communication interface 1204, and the memory 1206 complete communication with each other through the communication bus 1208.
  • the communication interface 1204 is configured to communicate with network elements of other devices such as clients or other servers.
  • the processor 1202 is configured to execute the program 1210. Specifically, the related steps in the foregoing method embodiments may be performed.
  • Program 1210 can be specifically configured to cause processor 1202 to perform the following operations:
  • the memory is configured to store at least one executable instruction, and the executable instruction causes the processor to perform the following operations:
  • program 1210 may be specifically configured to cause the processor 1202 to perform the following operations:
  • the specific character of the e-book corresponding to the character text is recorded, and the relative position of the character text with respect to the specific character.
  • program 1210 may be specifically configured to cause the processor 1202 to perform the following operations:
  • program 1210 may be specifically configured to cause the processor 1202 to perform the following operations:
  • program 1210 may be specifically configured to cause the processor 1202 to perform the following operations:
  • the new position of the specific character after the format adjustment is determined according to the index of the specific character of the electronic book corresponding to the recorded character text in the electronic book.
  • program 1210 may be specifically configured to cause the processor 1202 to perform the following operations:
  • the character text is displayed in a non-folding manner.
  • program 1210 may be specifically configured to cause the processor 1202 to perform the following operations:
  • the line spacing associated with the character text is not formatted and the character text is displayed in a non-folding manner.
  • program 1210 may be specifically configured to cause the processor 1202 to perform the following operations:
  • the character text is scaled and the character text is displayed in a non-folding manner.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computing Systems (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

An electronic book handwritten note display method, a computing device and a computer storage medium. The handwritten note includes a character text. The method comprises: acquiring a character text input by a user in a handwritten manner, and recording specific characters, corresponding to the character text, of an electronic book and the relative position of the character text relative to the specific characters (S301); after it is detected that characters of the electronic book are subjected to format adjustment, determining new positions of the specific characters after format adjustment (S302); obtaining a new display position of the character text according to the new positions of the specific characters and the recorded relative position of the character text relative to the specific characters (S303); and determining a display mode of the character text according to the new display position of the character text (S304).

Description

电子书手写笔记的显示方法、计算设备及计算机存储介质Display method of electronic book handwritten notes, computing device and computer storage medium
相关申请的交叉参考Cross-reference to related applications
本申请要求于2018年2月12日提交中国专利局、申请号为201810145893.7、名称为“电子书手写笔记的显示方法、计算设备及计算机存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application entitled "Display Method, Computing Device and Computer Storage Media for Handwritten Notes of E-books" submitted by the Chinese Patent Office on February 12, 2018, application number 201810145893.7, the entire contents of which are The citations are incorporated herein by reference.
技术领域Technical field
本公开涉及电子书技术领域,具体涉及一种电子书手写笔记的显示方法、计算设备及计算机存储介质。The present disclosure relates to the field of electronic book technologies, and in particular, to a method for displaying an electronic book handwritten note, a computing device, and a computer storage medium.
背景技术Background technique
随着科技及社会的不断发展,电子书以其节能环保、形式多变、价格低廉等特点受到众多用户的青睐。为进一步地提高电子书的普及度,提升用户使用电子书的体验,越来越多的电子书终端支持用户以手写方式在电子书中写入笔记,如可在电子书中某个词语下方的行间距中以手写方式写入针对该词语的字符文本(如注释、感想等)。With the continuous development of technology and society, e-books are favored by many users because of their energy-saving and environmental protection, various forms and low prices. In order to further improve the popularity of e-books and enhance the user experience of using e-books, more and more e-book terminals support users to write notes in e-books by handwriting, such as under a word in an e-book. In the line spacing, character text (such as comments, impressions, etc.) for the word is written by hand.
目前,支持用户手写笔记的电子书终端在显示用户手写笔记时,通常记录的是用户手写笔记在电子书终端屏幕中的位置,进而根据该位置显示用户手写笔记。At present, an e-book terminal that supports a user's handwritten notes usually records the location of the user's handwritten notes in the e-book terminal screen when displaying the user's handwritten notes, and then displays the user's handwritten notes according to the location.
然而,采用上述电子书手写笔记的显示方法,在电子书字符发生格式调整(如行间距调整)后,通常会导致显示的用户以手写方式输入的字符文本与电子书内容不适配的弊端。如图1所示,用户在电子书中“江渚上”下方的行间距中以手写方式写入针对“江渚上”的注释性字符文本“江中小洲”;当电子书字体放大(即电子书字符发生格式调整)后,呈现图2所示的显示界面,即由于现有技术中记录的是用户以手写方式写入的字符文本在电子书终端屏幕中的位置,所以图2中的字符文本“江中小洲”与图1中的字符文本“江中小洲”相对于屏幕中的位置及大小均未发生变化,从而使得字体放大后,字符文本“江中小洲”对应于电子书中的“几度夕”,即使得显示的用户以手写方式写入的字符文本与电子书内容不适配,进而降低用户体验及用户留存率。However, the display method of the above-mentioned e-book handwritten notes, after the format adjustment of the e-book characters occurs (such as line spacing adjustment), usually causes the disadvantage that the displayed user's character text input by handwriting is not adapted to the e-book content. As shown in Figure 1, the user writes the annotative character text "Jiangzhong Xiaozhou" for "Jiangshang" in the line spacing below the "Jiangxi" on the e-book; when the e-book font is enlarged (ie After the format adjustment of the e-book character occurs, the display interface shown in FIG. 2 is presented, that is, since the position recorded by the user in the handwriting manner in the screen of the e-book terminal is recorded in the prior art, the position in FIG. 2 is The character text "Jiangzhong Xiaozhou" and the character text "Jiangzhong Xiaozhou" in Figure 1 have not changed relative to the position and size in the screen, so that after the font is enlarged, the character text "Jiangzhong Xiaozhou" corresponds to the e-book. The "several days" means that the displayed character text written by the user in handwriting is not adapted to the content of the e-book, thereby reducing the user experience and the user retention rate.
发明内容Summary of the invention
鉴于上述问题,提出了本公开以便提供一种克服上述问题或者至少部分地解决上述问题的电子书手写笔记的显示方法、计算设备及计算机存储介质。In view of the above problems, the present disclosure has been made in order to provide a display method, a computing device, and a computer storage medium for an electronic book handwritten note that overcomes the above problems or at least partially solves the above problems.
根据本公开的一个方面,提供了一种电子书手写笔记的显示方法,手写笔记包含字符文本,该方法包括:According to an aspect of the present disclosure, a display method of an e-book handwritten note is provided. The handwritten note includes character text, and the method includes:
获取用户以手写方式输入的字符文本,记录字符文本所对应的电子书的特定字符,以及字符文本相对于特定字符的相对位置;Obtaining character text input by the user by handwriting, recording a specific character of the electronic book corresponding to the character text, and a relative position of the character text with respect to the specific character;
当监测到电子书字符发生格式调整后,确定经过格式调整后特定字符的新位置;After the format adjustment of the e-book character is detected, the new position of the specific character after the format adjustment is determined;
根据特定字符的新位置以及所记录的字符文本相对于特定字符的相对位置,得到字符文本的新的显示位置;Obtaining a new display position of the character text according to the new position of the specific character and the relative position of the recorded character text with respect to the specific character;
根据字符文本的新的显示位置,确定字符文本的显示方式。Determine how the character text is displayed based on the new display position of the character text.
根据本公开的另一个方面,提供了一种计算设备,计算设备用于对在,其中,计算设备包括:处理器、存储器、通信接口和通信总线,处理器、存储器和通信接口通过通信总线完成相互间的通信;According to another aspect of the present disclosure, there is provided a computing device for use in a computing device comprising: a processor, a memory, a communication interface, and a communication bus, the processor, the memory, and the communication interface being completed over a communication bus Communication with each other;
存储器用于存放至少一可执行指令,可执行指令使处理器执行以下操作:The memory is configured to store at least one executable instruction, and the executable instruction causes the processor to perform the following operations:
获取用户以手写方式输入的字符文本,记录字符文本所对应的电子书的特定字符,以及字符文本相对于特定字符的相对位置;Obtaining character text input by the user by handwriting, recording a specific character of the electronic book corresponding to the character text, and a relative position of the character text with respect to the specific character;
当监测到电子书字符发生格式调整后,确定经过格式调整后特定字符的新位置;After the format adjustment of the e-book character is detected, the new position of the specific character after the format adjustment is determined;
根据特定字符的新位置以及所记录的字符文本相对于特定字符的相对位置,得到字符文本的新的显示位置;Obtaining a new display position of the character text according to the new position of the specific character and the relative position of the recorded character text with respect to the specific character;
根据字符文本的新的显示位置,确定字符文本的显示方式。Determine how the character text is displayed based on the new display position of the character text.
根据本公开的又一个方面,提供了一种非易失性计算机可读存储介质,该非易失性计算机可读存储介质中存储有至少一可执行指令,用于对该可执行指令使处理器执行以下操作:According to still another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having stored therein at least one executable instruction for processing the executable instruction Do the following:
获取用户以手写方式输入的字符文本,记录字符文本所对应的电子书的特定字符,以及字符文本相对于特定字符的相对位置;Obtaining character text input by the user by handwriting, recording a specific character of the electronic book corresponding to the character text, and a relative position of the character text with respect to the specific character;
当监测到电子书字符发生格式调整后,确定经过格式调整后特定字符的新位置;After the format adjustment of the e-book character is detected, the new position of the specific character after the format adjustment is determined;
根据特定字符的新位置以及所记录的字符文本相对于特定字符的相对位置,得到字符文本的新的显示位置;Obtaining a new display position of the character text according to the new position of the specific character and the relative position of the recorded character text with respect to the specific character;
根据字符文本的新的显示位置,确定字符文本的显示方式。Determine how the character text is displayed based on the new display position of the character text.
根据本公开的再一方面,还提供了一种计算机程序产品,该计算机程序产品包括存储在上述非易失性计算机可读存储介质上的计算程序。According to still another aspect of the present disclosure, there is also provided a computer program product comprising a computing program stored on the non-transitory computer readable storage medium described above.
根据本公开提供的电子书手写笔记的显示方法、计算设备及计算机存储介质,通过获取用户以手写方式输入的字符文本,记录字符文本所对应的电子书的特定字符,以及字 符文本相对于特定字符的相对位置;当监测到电子书字符发生格式调整后,确定经过格式调整后特定字符的新位置;根据特定字符的新位置以及所记录的字符文本相对于特定字符的相对位置,得到字符文本的新的显示位置;根据字符文本的新的显示位置,确定字符文本的显示方式。采用本方案,可在电子书字符发生格式调整后,在与电子书内容相匹配的位置显示用户手写笔记,提高显示的手写笔记与电子书内容的适配度,从而提升用户体验,提高用户留存率。According to the display method, the computing device, and the computer storage medium of the electronic book handwritten note provided by the present disclosure, by acquiring the character text input by the user by handwriting, recording the specific character of the electronic book corresponding to the character text, and the character text relative to the specific character Relative position; when the format adjustment of the e-book character is detected, the new position of the specific character after the format adjustment is determined; according to the new position of the specific character and the relative position of the recorded character text with respect to the specific character, the character text is obtained. The new display position; determines how the character text is displayed based on the new display position of the character text. By adopting the scheme, after the format adjustment of the e-book character occurs, the user's handwritten notes are displayed at a position matching the content of the e-book, thereby improving the adaptability of the displayed handwritten notes and the content of the e-book, thereby improving the user experience and improving the user retention. rate.
上述说明仅是本公开技术方案的概述,为了能够更清楚了解本公开的技术手段,而可依照说明书的内容予以实施,并且为了让本公开的上述和其它目的、特征和优点能够更明显易懂,以下特举本公开的具体实施方式。The above description is only an overview of the technical solutions of the present disclosure, and the above-described and other objects, features and advantages of the present disclosure can be more clearly understood. Specific embodiments of the present disclosure are specifically described below.
附图说明DRAWINGS
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本公开的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those skilled in the art from a The drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting. Throughout the drawings, the same reference numerals are used to refer to the same parts. In the drawing:
图1示出了一种电子书字符发生格式调整前电子书手写笔记的显示界面示意图;1 is a schematic diagram showing a display interface of an e-book handwritten note before an e-book character occurrence format adjustment;
图2示出了一种现有技术中电子书字符发生格式调整后电子书手写笔记的显示界面示意图;2 is a schematic diagram showing a display interface of an e-book handwritten note after an e-book character occurrence format adjustment in the prior art;
图3示出了根据本公开一个实施例提供的电子书手写笔记的显示方法的流程示意图;FIG. 3 is a schematic flowchart diagram of a method for displaying an e-book handwritten note according to an embodiment of the present disclosure;
图4示出了本公开一个实施例中的一种电子书字符发生格式调整后电子书手写笔记的显示界面示意图;4 is a schematic diagram showing a display interface of an e-book handwritten note after an e-book character occurrence format adjustment in an embodiment of the present disclosure;
图5示出了根据本公开另一个实施例提供的电子书手写笔记的显示方法的流程示意图;FIG. 5 is a schematic flowchart diagram of a method for displaying an e-book handwritten note according to another embodiment of the present disclosure;
图6a示出了本公开另一个实施例中的一种行间距矩形与字符文本外接矩形的显示界面示意图;6a is a schematic diagram showing a display interface of a line spacing rectangle and a character text circumscribed rectangle in another embodiment of the present disclosure;
图6b示出了本公开另一个实施例中的另一种行间距矩形与字符文本外接矩形的显示界面示意图;6b is a schematic diagram showing a display interface of another line spacing rectangle and a character text circumscribed rectangle in another embodiment of the present disclosure;
图7示出了本公开另一个实施例中的一种首字符判断方法的示意图;FIG. 7 is a schematic diagram showing a first character judging method in another embodiment of the present disclosure;
图8示出了本公开另一个实施例中的一种电子书字符发生格式调整前电子书手写笔记的显示界面示意图;FIG. 8 is a schematic diagram showing a display interface of an e-book handwritten note before an e-book character occurrence format adjustment in another embodiment of the present disclosure; FIG.
图9示出了本公开另一个实施例中的一种字符文本拆分方法示意图;FIG. 9 is a schematic diagram of a character text splitting method in another embodiment of the present disclosure; FIG.
图10示出了本公开另一个实施例中的一种电子书字符发生格式调整后电子书手写 笔记的显示界面示意图;FIG. 10 is a schematic diagram showing a display interface of an e-book handwritten note after an e-book character occurrence format adjustment in another embodiment of the present disclosure; FIG.
图11示出了本公开另一个实施例中的另一种电子书字符发生格式调整后电子书手写笔记的显示界面示意图;11 is a schematic diagram showing a display interface of an e-book handwritten note after another e-book character occurrence format adjustment in another embodiment of the present disclosure;
图12示出了根据本公开一个实施例提供的一种计算设备的结构示意图。FIG. 12 is a schematic structural diagram of a computing device according to an embodiment of the present disclosure.
本公开的较佳实施方式Preferred embodiment of the present disclosure
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While the embodiments of the present invention have been shown in the drawings, the embodiments Rather, these embodiments are provided so that this disclosure will be more fully understood and the scope of the disclosure will be fully disclosed.
图3示出了根据本公开一个实施例提供的电子书手写笔记的显示方法的流程示意图。其中,手写笔记包括字符文本。如图3所示,该方法包括:FIG. 3 is a flow chart showing a method for displaying an electronic book handwritten note according to an embodiment of the present disclosure. Among them, handwritten notes include character text. As shown in FIG. 3, the method includes:
步骤S301:获取用户以手写方式输入的字符文本,记录字符文本所对应的电子书的特定字符,以及字符文本相对于特定字符的相对位置。Step S301: Acquire a character text input by the user in a handwritten manner, record a specific character of the electronic book corresponding to the character text, and a relative position of the character text with respect to the specific character.
当用户以手写方式在电子书中输入字符文本之后,获取该字符文本。并进一步地确定并记录该字符文本所对应的电子书的特定字符。例如,可确定距离该字符文本的首字符或尾字符最近的电子书字符为该字符文本所对应的电子书的特定字符,如图1所示,用户在电子书字符“白发渔樵江渚上,惯看秋月春风”下方以手写方式输入字符文本“江中小洲”,则可确定距离该字符文本首字符“江”最近的电子书字符“江”为该字符文本所对应的电子书的特定字符;也可确定该字符文本的外接矩形的纵向中心线所对应的电子书字符为该字符文本所对应的电子书的特定字符,仍以图1所示,字符文本外接矩形的纵向中心线对应于电子书字符“渚”,则可确定电子书字符“渚”为该字符文本所对应的特定字符。总之,特定字符的确定方式本领域技术人员可自行设置,本实施例对此不做限定。After the user inputs the character text in the e-book by handwriting, the character text is obtained. And further determining and recording the specific character of the e-book corresponding to the character text. For example, it can be determined that the e-book character closest to the first character or the last character of the character text is a specific character of the e-book corresponding to the character text, as shown in FIG. 1 , the user is in the e-book character “白发渔樵江渚On the top of the "authentic autumn moon", enter the character text "Jiangzhong Xiaozhou" by handwriting, then you can determine the e-book character "Jiang" closest to the character character "Jiang" from the character text as the e-book corresponding to the character text. a specific character; or an e-book character corresponding to a longitudinal center line of the circumscribed rectangle of the character text is a specific character of the e-book corresponding to the character text, still as shown in FIG. 1 , the vertical center line of the character text circumscribed rectangle Corresponding to the e-book character "渚", it can be determined that the e-book character "渚" is a specific character corresponding to the character text. In other words, the manner of determining a specific character can be set by a person skilled in the art, which is not limited in this embodiment.
进一步地,在确定并记录字符文本所对应的电子书的特定字符后,记录字符文本相对于特定字符的相对位置。其中,具体的记录字符文本相对于特定字符的相对位置的方法本实施例不做限定。以图1为例,若确定字符文本“江中小洲”所对应的电子书的特定字符为“江”,则记录字符文本“江中小洲”相对于电子书字符“江”的相对位置,例如,可确定字符文本“江中小洲”外接矩形的左上顶点相对于电子书字符“江”外接矩形左下顶点的位置,以此来记录字符文本相对于特定字符的相对位置。Further, after the specific character of the electronic book corresponding to the character text is determined and recorded, the relative position of the character text with respect to the specific character is recorded. The specific method for recording the relative position of the character text with respect to the specific character is not limited in this embodiment. Taking FIG. 1 as an example, if it is determined that the specific character of the e-book corresponding to the character text "Jiangzhong Xiaozhou" is "Jiang", the relative position of the character text "Jiangzhong Xiaozhou" relative to the e-book character "Jiang" is recorded, for example. The position of the character text "Jiangzhong Xiaozhou" circumscribed rectangle relative to the lower left vertex of the e-book character "Jiang" circumscribed rectangle can be determined to record the relative position of the character text with respect to a specific character.
步骤S302:当监测到电子书字符发生格式调整后,确定经过格式调整后特定字符的新位置。Step S302: After the format adjustment of the e-book character is detected, the new position of the specific character after the format adjustment is determined.
其中,本实施例中的格式调整包括以下格式调整中的至少一个:字体调整(如字体缩放,字符间距调整等)、段落调整(如缩进调整,行间距调整、段间距调整等)。The format adjustment in this embodiment includes at least one of the following format adjustments: font adjustment (such as font scaling, character spacing adjustment, etc.), paragraph adjustment (such as indent adjustment, line spacing adjustment, segment spacing adjustment, etc.).
当监测到电子书字符发生格式调整后,确定经过格式调整后字符文本所对应的特定字符的新位置。如图4所示,当监测到电子书字符字体放大后,确定字符文本“江中小洲”所对应的特定字符“江”的新位置。After the format adjustment of the e-book character is detected, the new position of the specific character corresponding to the formatted character text is determined. As shown in FIG. 4, after the electronic book character font is enlarged, the new position of the specific character "Jiang" corresponding to the character text "Jiangzhong Xiaozhou" is determined.
步骤S303:根据特定字符的新位置以及所记录的字符文本相对于特定字符的相对位置,得到字符文本的新的显示位置。Step S303: Obtain a new display position of the character text according to the new position of the specific character and the relative position of the recorded character text with respect to the specific character.
根据步骤S302中确定的特定字符的新位置以及步骤S301中记录的字符文本相对于特定字符的相对位置,可准确地确定出字符文本的新的显示位置。如图4所示,步骤S302中确定了字符文本“江中小洲”所对应的特定字符“江”的新位置为(480,960)(以电子书终端屏幕的左上顶点为原点,以水平向右方向为x轴正方向,竖直向下方向为y轴正方向),若步骤S301中记录的字符文本的外接矩形的左上顶点距离特定字符“江”的左下顶点的距离为(-10,20),则确定格式调整后字符文本的外接矩形的左上顶点的新的显示位置为(470,980),从而得到字符文本的新的显示位置。Based on the new position of the specific character determined in step S302 and the relative position of the character text recorded in step S301 with respect to the specific character, the new display position of the character text can be accurately determined. As shown in FIG. 4, the new position of the specific character "Jiang" corresponding to the character text "Jiangzhong Xiaozhou" is determined to be (480, 960) in step S302 (the upper left vertex of the e-book terminal screen is taken as the origin, in the horizontal direction The right direction is the positive direction of the x-axis, and the vertical downward direction is the positive direction of the y-axis. If the distance from the upper left vertex of the circumscribed rectangle of the character text recorded in step S301 is from the lower left vertex of the specific character "Jiang" is (-10, 20), it is determined that the new display position of the upper left vertex of the circumscribed rectangle of the formatted character text is (470, 980), thereby obtaining a new display position of the character text.
步骤S304:根据字符文本的新的显示位置,确定字符文本的显示方式。Step S304: Determine the display manner of the character text according to the new display position of the character text.
在步骤S303得到字符文本的新的显示位置后,为进一步地准确还原字符文本,可根据字符文本的新的显示位置,确定字符文本的显示方式。如图4所示,在确定字符文本的新的显示位置之后,由于该显示位置对应的区域中可完整地显示该字符文本,则确定该字符文本的显示方式为完整显示方式,即呈现如图4所示的显示界面。从而避免了出现图2中在电子书字符发生格式调整后显示的用户以手写方式输入的字符文本与电子书内容不适配的弊端。After the new display position of the character text is obtained in step S303, in order to further accurately restore the character text, the display manner of the character text can be determined according to the new display position of the character text. As shown in FIG. 4, after the new display position of the character text is determined, since the character text can be completely displayed in the area corresponding to the display position, it is determined that the display mode of the character text is a complete display mode, that is, as shown in FIG. The display interface shown in 4. Therefore, the disadvantage that the character text input by the user in the handwriting manner and the content of the e-book are not adapted after the format adjustment of the e-book character occurs in FIG. 2 is avoided.
根据本实施例提供的电子书手写笔记的显示方法,通过获取用户以手写方式输入的字符文本,记录字符文本所对应的电子书的特定字符,不同于现有技术中记录字符文本在电子书终端屏幕中的位置,本实施例中记录的是字符文本相对于特定字符的相对位置;当监测到电子书字符发生格式调整后,确定经过格式调整后特定字符的新位置;根据特定字符的新位置以及所记录的字符文本相对于特定字符的相对位置,得到字符文本的新的显示位置;根据字符文本的新的显示位置,确定字符文本的显示方式。采用本方案,可在电子书字符发生格式调整后,在与电子书内容相匹配的位置显示用户手写笔记,提高显示的手写笔记与电子书内容的适配度,从而提升用户体验,提高用户留存率。According to the display method of the e-book handwritten note provided by the embodiment, the specific character of the e-book corresponding to the character text is recorded by acquiring the character text input by the user by handwriting, which is different from the prior art recording character text in the e-book terminal. Position in the screen, in this embodiment, the relative position of the character text relative to the specific character is recorded; when the format adjustment of the e-book character is detected, the new position of the specific character after the format adjustment is determined; the new position according to the specific character And the relative position of the recorded character text with respect to the specific character, obtaining a new display position of the character text; determining the display manner of the character text according to the new display position of the character text. By adopting the scheme, after the format adjustment of the e-book character occurs, the user's handwritten notes are displayed at a position matching the content of the e-book, thereby improving the adaptability of the displayed handwritten notes and the content of the e-book, thereby improving the user experience and improving the user retention. rate.
图5示出了根据本公开另一个实施例提供的电子书手写笔记的显示方法的流程示意图。其中,手写笔记包括字符文本。如图5所示,该方法包括:FIG. 5 is a schematic flow chart of a method for displaying an e-book handwritten note according to another embodiment of the present disclosure. Among them, handwritten notes include character text. As shown in FIG. 5, the method includes:
步骤S501:获取用户以手写方式输入的字符文本。Step S501: Acquire character text input by the user in a handwritten manner.
在具体的实施过程中,用户可通过手写笔或手指等在电子书终端中以手写方式输入字符文本。待用户输入字符文本后,获取该字符文本。可选地,获取该字符文本后可以图片类格式进行存储。In a specific implementation process, the user can input the character text by handwriting in the e-book terminal through a stylus or a finger or the like. After the user inputs the character text, the character text is obtained. Optionally, the character text is obtained and can be stored in a picture class format.
步骤S502:判断用户以手写方式输入的字符文本是否为行间笔记文本,若是,则执行步骤S503;否则,本方法结束。Step S502: determining whether the character text input by the user by handwriting is an interline note text, and if yes, executing step S503; otherwise, the method ends.
在获取用户以手写方式输入的字符文本之后,进一步判断用户以手写方式输入的字符是否为行间笔记文本。After obtaining the character text input by the user by handwriting, it is further determined whether the character input by the user by handwriting is the interline note text.
具体地,在判断用户以手写方式输入的字符文本是否为行间笔记文本过程中,首先获取用户以手写方式输入的字符文本的外接矩形,若用户以手写方式输入的字符文本的外接矩形与电子书行间距外接矩形相匹配,则确定用户以手写方式输入的字符文本为行间笔记文本,则进一步执行步骤S503;否则,则确定用户以手写方式输入的字符文本为非行间笔记文本,则本方法结束。Specifically, in determining whether the character text input by the user by handwriting is an inter-line note text, first obtaining a circumscribed rectangle of the character text input by the user by handwriting, if the circumscribed rectangle and the electronic character of the character text input by the user by handwriting If the book rectangle is matched with the circumscribed rectangle, it is determined that the character text input by the user by handwriting is the interline note text, and then step S503 is further performed; otherwise, the character text input by the user by handwriting is determined to be the non-line note text, The method ends.
可选地,在判断字符文本的外接矩形与电子书行间距外接矩形是否相匹配的过程中,可预先设定匹配阈值,若字符文本的外接矩形与电子书中某一行间距矩形的重合区域面积与字符文本的外接矩形面积的比值大于或等于预设匹配阈值时,则确定字符文本的外接矩形与电子书行间距外接矩形相匹配。其中,本领域技术人员可根据实际的业务情况设定预设匹配阈值。例如,当预设匹配阈值为100%时,图6a中字符文本“江中小洲”的外接矩形J1完全处于行间距矩形J2中,J1与J2的重合部分面积与J1面积的比值等于100%,则确定该字符文本的外接矩形与电子书行间距外接矩形相匹配,而图6b中J1与J2的重合部分面积与J1面积的比值小于100%,则确定该字符文本的外接矩形与电子书行间距外接矩形不匹配;当预设匹配阈值为70%时,由于图6a中J1与J2的重合部分面积与J1面积的比值等于100%,即大于70%,则确定该字符文本的外接矩形与电子书行间距外接矩形相匹配,图6b中J1与J2的重合部分面积与J1面积的比值为80%,也大于70%,则确定该字符文本的外接矩形与电子书行间距外接矩形相匹配。Optionally, in the process of determining whether the circumscribed rectangle of the character text and the circumscribed rectangle of the e-book line are matched, the matching threshold may be preset, if the circumscribed rectangle of the character text and the overlapping area of the rectangle of a certain line in the e-book When the ratio of the area of the circumscribed rectangle of the character text is greater than or equal to the preset matching threshold, it is determined that the circumscribed rectangle of the character text matches the circumscribed rectangle of the e-book line spacing. The preset matching threshold may be set by a person skilled in the art according to actual business conditions. For example, when the preset matching threshold is 100%, the circumscribed rectangle J1 of the character text "Jiangzhong Xiaozhou" in Fig. 6a is completely in the line spacing rectangle J2, and the ratio of the area of the overlapping portion of J1 and J2 to the area of J1 is equal to 100%. Then determining that the circumscribed rectangle of the character text matches the circumscribed rectangle of the e-book line spacing, and the ratio of the area of the coincident portion of J1 and J2 to the J1 area in FIG. 6b is less than 100%, determining the circumscribed rectangle of the character text and the e-book row The pitch circumscribing rectangle does not match; when the preset matching threshold is 70%, since the ratio of the area of the coincident portion of J1 and J2 to the area of J1 in FIG. 6a is equal to 100%, that is, greater than 70%, the circumscribed rectangle of the character text is determined. The e-book row spacing is matched by the circumscribed rectangle. In Figure 6b, the ratio of the overlap area of J1 and J2 to the J1 area is 80%, and is also greater than 70%. It is determined that the circumscribed rectangle of the character text matches the circumscribed rectangle of the e-book line spacing. .
步骤S503:记录字符文本所对应的电子书的特定字符,以及字符文本相对于特定字符的相对位置。Step S503: Record a specific character of the electronic book corresponding to the character text, and a relative position of the character text with respect to the specific character.
首先,确定字符文本所对应的电子书的特定字符。具体地,可确定距离该字符文本的首字符最近的电子书字符为该字符文本所对应的电子书的特定字符。First, the specific character of the e-book corresponding to the character text is determined. Specifically, it may be determined that the e-book character closest to the first character of the character text is a specific character of the e-book corresponding to the character text.
在具体的实施过程中,由于字符文本为用户手写输入,所以,需先确定用户以手写输入的字符文本的首字符。可选地,在确定字符文本的首字符时,可判断字符文本前n 个笔画的外接矩形是否存在交集,若是,则将前n个笔画集合为一个字符;或,判断字符文本前n个笔画的外接矩形的距离是否小于第一预设距离,若是,则将前n个笔画集合为一个字符,其中,n为大于1的自然数。如图7所示,字符文本“江中小洲”的前5个笔画分别为B1、B2、B3、B4、以及B5,其中,B3与B4外接矩形存在交集,而且B1、B2与B3、B4外接矩形距离较近,小于第一预设距离,而B1、B2、B3及B4距离B5外接矩形距离较大,并大于第一预设距离,则可将图7中笔画B1、B2、B3以及B4集合为一个字符,即集合为该字符文本的首字符。在确定用户以手写输入的字符文本的首字符之后,进一步获取字符文本的首字符的外接矩形,当电子书中字符的外接矩形与字符文本的首字符的外接矩形相交时,确定该字符为字符文本所对应的电子书的特定字符;或,当电子书中字符的外接矩形与用户笔记首字符的外接矩形的距离小于预设阈值时,确定该字符为字符文本所对应的电子书的特定字符。如图1所示,字符文本“江中小洲”的首字符为“江”,而首字符“江”外接矩形与电子书字符“江”的外接矩形的距离小于预设阈值,则确定电子书字符“江”为字符文本“江中小洲”所对应的电子书的特定字符。In the specific implementation process, since the character text is the user's handwriting input, the first character of the character text input by the user by handwriting needs to be determined first. Optionally, when determining the first character of the character text, it may be determined whether there is an intersection of the circumscribed rectangles of the first n strokes of the character text, and if so, the first n strokes are collected into one character; or, the first n strokes of the character text are determined. Whether the distance of the circumscribed rectangle is smaller than the first preset distance, and if so, the first n strokes are grouped into one character, where n is a natural number greater than 1. As shown in Figure 7, the first five strokes of the character text "Jiangzhong Xiaozhou" are B1, B2, B3, B4, and B5, respectively, where B3 and B4 circumscribed rectangles intersect, and B1, B2 and B3, B4 are externally connected. The rectangular distance is closer than the first preset distance, and the distances of the circumscribed rectangles of B1, B2, B3 and B4 are larger than the first preset distance, and the strokes B1, B2, B3 and B4 in Fig. 7 can be obtained. A collection is a character, that is, the collection is the first character of the character text. After determining the first character of the character text input by the user by handwriting, the circumscribed rectangle of the first character of the character text is further obtained, and when the circumscribed rectangle of the character in the electronic book intersects with the circumscribed rectangle of the first character of the character text, determining the character as a character The specific character of the e-book corresponding to the text; or, when the distance between the circumscribed rectangle of the character in the e-book and the circumscribed rectangle of the first character of the user note is less than a preset threshold, determining that the character is a specific character of the e-book corresponding to the character text . As shown in Figure 1, the first character of the character text "Jiangzhong Xiaozhou" is "Jiang", and the distance between the circumscribed rectangle of the first character "Jiang" and the circumscribed rectangle of the e-book character "Jiang" is less than the preset threshold, then the e-book is determined. The character "Jiang" is a specific character of the e-book corresponding to the character text "Jiangzhong Xiaozhou".
可选地,由于在具体地实施过程中,用户可在电子书中的同一行间距中可写入多条字符文本。如图8所示,用户在同一行间距中写入字符文本“江中小洲”以及字符文本“美好时光”,所以,在此情况下,需对同一行间距中的字符文本进行拆分。具体地,可将同一行间距中写入的笔画集合为字符,例如,若满足相邻的多个笔画的外接矩形相交和相邻的多个笔画的外接矩形之间的距离小于第一预设距离中至少一个,则将该多个笔画集合为一个字符,若相邻的两个字符外接矩形之间的距离大于第二预设距离时,则在该相邻的两个字符之间进行切分,从而实现对字符文本的拆分。如图9所示,在对用户输入的笔画进行集合后得到Z1-Z8共8个字符,而字符Z4与字符Z5之间的距离较大,大于第二预设距离,则在字符Z4及字符Z5之间进行切分,得到字符文本“江中小洲”以及字符文本“美好时光”两条字符文本。并分别确定两条字符文本所对应的电子书的特定字符。Alternatively, since in a specific implementation process, the user can write multiple pieces of character text in the same line spacing in the e-book. As shown in Fig. 8, the user writes the character text "Jiangzhong Xiaozhou" and the character text "Good Time" in the same line spacing, so in this case, the character text in the same line spacing needs to be split. Specifically, the strokes written in the same line spacing may be collected into characters, for example, if the distance between the circumscribed rectangles of the adjacent plurality of strokes and the circumscribed rectangles of the adjacent plurality of strokes is smaller than the first preset If at least one of the distances is set, the plurality of strokes are grouped into one character. If the distance between the adjacent two characters of the circumscribed rectangle is greater than the second preset distance, the two adjacent characters are cut. Divide, so as to achieve the split of the character text. As shown in FIG. 9, after the strokes input by the user are collected, a total of 8 characters of Z1-Z8 are obtained, and the distance between the characters Z4 and the character Z5 is larger, and greater than the second preset distance, the characters Z4 and characters are The Z5 is divided into two characters: the character text "Jiangzhong Xiaozhou" and the character text "Good Time". And determine the specific characters of the e-book corresponding to the two character texts.
其次,在确定字符文本所对应的电子书的特定字符之后,记录字符文本所对应的电子书的特定字符,以及字符文本相对于特定字符的相对位置。可选地,由于电子书中的各个字符均有与其相对应的索引,通过该索引可快速且唯一地定位出相对应的字符。例如,通过《三国演义》电子书中索引“第一段第一个字符”可快速准确地定位出《三国演义》电子书中第一个字符“第”。所以,本步骤中可记录字符文本所对应的电子书的特定字符在电子书中的索引。如图8所示,可记录字符文本“江中小洲”所对应的电子书的特定字符“江”的索引“第三段中第五个字符”,字符文本“美好时光”所对应的电子书的特定字符“秋”的索引“第三段中第十一个字符”。进一步可选地,在记录字符文本相对于特 定字符的相对位置时,可记录字符文本的外接矩形的一个或多个顶点距离特定字符外接矩形的某个顶点的位置,例如,以图8为例,若确定字符文本“江中小洲”所对应的电子书的特定字符为“江”,则记录字符文本“江中小洲”外接矩形的左上顶点相对于电子书字符“江”外接矩形左下顶点的位置,以此来记录字符文本相对于特定字符的相对位置。Secondly, after determining the specific character of the electronic book corresponding to the character text, the specific character of the electronic book corresponding to the character text and the relative position of the character text with respect to the specific character are recorded. Optionally, since each character in the e-book has an index corresponding thereto, the corresponding character can be quickly and uniquely located through the index. For example, the index "first character of the first paragraph" in the "Three Kingdoms" e-book can quickly and accurately locate the first character "first" in the "Three Kingdoms" e-book. Therefore, in this step, the index of the specific character of the e-book corresponding to the character text in the e-book can be recorded. As shown in FIG. 8, the index "the fifth character in the third paragraph" of the specific character "Jiang" of the e-book corresponding to the character text "Jiangzhong Xiaozhou" can be recorded, and the e-book corresponding to the character text "good time" can be recorded. The specific character "autumn" index "the eleventh character in the third paragraph". Further, optionally, when recording the relative position of the character text with respect to the specific character, the position of one or more vertices of the circumscribed rectangle of the character text may be recorded from a certain vertex of the circumscribed rectangle of the specific character, for example, as shown in FIG. If it is determined that the specific character of the e-book corresponding to the character text "Jiangzhong Xiaozhou" is "Jiang", the upper left vertex of the circumscribed rectangle of the character text "Jiangzhong Xiaozhou" is recorded relative to the lower left vertex of the e-book character "Jiang" circumscribed rectangle The position to record the relative position of the character text relative to a particular character.
步骤S504:当监测到电子书字符发生格式调整后,确定经过格式调整后特定字符的新位置。Step S504: After the format adjustment of the e-book character is detected, the new position of the specific character after the format adjustment is determined.
其中,由于当电子书中字符发生字体类型转变(如从楷体转换为宋体)、颜色变化(如从黑色变为白色)、字体加粗、和加斜体等变化中的至少一个时不会引起电子书特定字符位置的变化,所以,本实施例中的格式调整可以仅仅指可引起所特定字符位置变化的格式调整,如字体缩放,字符间距调整、缩进调整,行间距调整、和段间距调整等格式调整中的至少一个。Among them, since the character in the e-book has a font type transition (such as conversion from a corpus callosum to a syllabary), a color change (such as a change from black to white), a bold font, and an italic change, it does not cause an electron. The change of the position of the specific character of the book, therefore, the format adjustment in this embodiment can only refer to the format adjustment that can cause the change of the position of the specific character, such as font scaling, character spacing adjustment, indentation adjustment, line spacing adjustment, and segment spacing adjustment. At least one of the format adjustments.
当监测到电子书字符发生格式调整后,确定经过格式调整后字符文本所对应的特定字符的新的显示位置。其中,由于步骤S503中记录有字符文本对应的特定字符的索引,所以,本步骤中可根据记录的特定字符的索引,快速地确定经过格式调整后特定字符的新位置。以图8及图10为例,当监测到电子书字符字体由图8转变为图10(即字体放大)后,确定字符文本“江中小洲”所对应的特定字符“江”的新位置,以及字符文本“美好时光”所对应的特定字符“秋”的新位置。After the format adjustment of the e-book character is detected, the new display position of the specific character corresponding to the formatted character text is determined. In the step S503, the index of the specific character corresponding to the character text is recorded. Therefore, in this step, the new position of the specific character after the format adjustment can be quickly determined according to the index of the recorded specific character. Taking FIG. 8 and FIG. 10 as an example, when it is detected that the e-book character font is changed from FIG. 8 to FIG. 10 (ie, the font is enlarged), the new position of the specific character “Jiang” corresponding to the character text “Jiangzhong Xiaozhou” is determined. And the new position of the specific character "autumn" corresponding to the character text "Good Times".
步骤S505:根据特定字符的新位置以及所记录的字符文本相对于特定字符的相对位置,得到字符文本的新的显示位置。Step S505: obtaining a new display position of the character text according to the new position of the specific character and the relative position of the recorded character text with respect to the specific character.
根据步骤S504中确定的特定字符的新位置以及步骤S503中记录的字符文本相对于特定字符的相对位置,可准确地确定出字符文本的新的显示位置。以图8及图10为例,步骤S504中确定了字符文本“江中小洲”所对应的特定字符“江”的外接矩形左下顶点的新位置为(480,960)(以电子书终端屏幕的左上顶点为原点,以水平向右方向为x轴正方向,竖直向下方向为y轴正方向),字符文本“美好时光”所对应的特定字符“秋”的外接矩形左下顶点的新位置为(920,960),若步骤S503中记录的字符文本“江中小洲”的外接矩形的左上顶点距离特定字符“江”的左下顶点的距离为(-10,20),字符文本“美好时光”的外接矩形的左上顶点距离特定字符“秋”的左下顶点的距离为(0,0),则确定格式调整后字符文本“江中小洲”的外接矩形的左上顶点的新的显示位置为(470,980),从而得到“江中小洲”的新的显示位置,以及字符文本“美好时光”的外接矩形的左上顶点的新的显示位置为(920,960),从而得到“美好时光”的新的显示位置。Based on the new position of the specific character determined in step S504 and the relative position of the character text recorded in step S503 with respect to the specific character, the new display position of the character text can be accurately determined. Taking FIG. 8 and FIG. 10 as an example, in step S504, the new position of the lower left vertex of the circumscribed rectangle of the specific character "Jiang" corresponding to the character text "Jiangzhong Xiaozhou" is determined to be (480, 960) (in the case of the e-book terminal screen) The upper left vertex is the origin, the horizontal right direction is the x-axis positive direction, and the vertical downward direction is the positive direction of the y-axis.) The new position of the lower left vertex of the circumscribed rectangle of the specific character "autumn" corresponding to the character text "good time" (920,960), if the distance from the upper left vertex of the circumscribed rectangle of the character text "Jiangzhong Xiaozhou" recorded in step S503 is from the lower left vertex of the specific character "Jiang" to (-10, 20), the character text "good times" The distance between the upper left vertex of the circumscribed rectangle and the lower left vertex of the specific character "autumn" is (0, 0), and the new display position of the upper left vertex of the circumscribed rectangle of the character text "Jiangzhong Xiaozhou" is determined to be ( 470,980), so that the new display position of "Jiangzhong Xiaozhou" and the new display position of the upper left vertex of the circumscribed rectangle of the character text "Good Time" are (920,960), thereby obtaining "good times" The new display location.
步骤S505:根据字符文本的新的显示位置,确定字符文本的显示方式。Step S505: Determine the display manner of the character text according to the new display position of the character text.
在一种可选的实施方式中,当字符文本的新的显示位置对应的区域不足以完整显示字符文本时,以折叠方式显示字符文本;或,当字符文本的新的显示位置对应的区域足以完整显示字符文本时,以非折叠方式显示字符文本。以图10为例,字符文本“江中小洲”外接矩形左上顶点的新的显示位置为(470,980),字符文本“江中小洲”新的显示位置为D1所示的区域,而该区域足以完整显示字符文本“江中小洲”,则在该区域以非折叠方式完整显示该字符文本;而字符文本“美好时光”外接矩形的左上顶点的新的显示位置为(920,960),其外接矩形外接矩形宽为300,高为80,则字符文本“美好时光”外接矩形的右上顶点应为(1220,960),然而,由于电子书终端屏幕宽为1080,则字符文本“美好时光”新的显示位置对应的区域为D2所示的区域,而该区域不足以显示字符文本“美好时光”,则在字符“秋”右上方显示折叠标识X,当用户点击该折叠标识X时在显示界面中完整显示字符文本“美好时光”。In an optional implementation manner, when the new display position corresponding to the character text corresponds to an area insufficient to completely display the character text, the character text is displayed in a folded manner; or, when the new display position of the character text corresponds to an area sufficient When the character text is completely displayed, the character text is displayed in a non-folding manner. Taking Figure 10 as an example, the new display position of the upper left vertex of the character rectangle "Jiangzhong Xiaozhou" is (470,980), and the new display position of the character text "Jiangzhong Xiaozhou" is the area indicated by D1, and the area is Sufficient to display the character text "Jiangzhong Xiaozhou", the character text is completely displayed in this area in a non-folding manner; and the new display position of the upper left vertex of the character rectangle "Good Time" circumscribed rectangle is (920,960), The circumscribed rectangle of the circumscribed rectangle has a width of 300 and a height of 80. The upper right vertex of the circumscribed rectangle of the character text "Good Time" should be (1220, 960). However, since the screen width of the e-book terminal is 1080, the character text "Good Time" The area corresponding to the new display position is the area indicated by D2, and the area is not enough to display the character text "Good Time", then the folding mark X is displayed at the upper right of the character "Autumn", and is displayed when the user clicks the folding mark X. The character text "Good Times" is displayed in the interface.
在另一种可选的实施方式中,可根据字符文本的新的显示位置,对字符文本所关联的行间距不进行格式调整,并以非折叠方式显示字符文本。如图11所示,当对电子书行间距进行调整时,可不对字符文本所在的行间距进行调整,并在该行间距中完整显示字符文本。In another optional implementation manner, according to the new display position of the character text, the line spacing associated with the character text is not formatted, and the character text is displayed in a non-folding manner. As shown in FIG. 11, when the e-book line spacing is adjusted, the line spacing of the character text may not be adjusted, and the character text is completely displayed in the line spacing.
可选地,对在对字符文本进行非折叠方式显示过程中,可不对字符文本做调整而直接显示该字符文本,也可对字符文本进行缩放后以非折叠方式显示字符文本。Optionally, in the process of displaying the character text in a non-folding manner, the character text may be directly displayed without adjusting the character text, and the character text may be scaled to display the character text in an unfolded manner.
根据本实施例提供的电子书手写笔记的显示方法,通过获取用户以手写方式输入的字符文本,并判断该字符文本是否为行间文本,若是,则记录字符文本所对应的电子书的特定字符,不同于现有技术中记录字符文本在电子书终端屏幕中的位置,本实施例中记录的是字符文本相对于特定字符的相对位置;当监测到电子书字符发生格式调整后,可根据特定字符的索引值快速地确定特定字符的新位置;根据特定字符的新位置以及所记录的字符文本相对于特定字符的相对位置,得到字符文本的新的显示位置;根据字符文本的新的显示位置,确定字符文本的显示方式。采用本方案,可在电子书字符发生格式调整后,在与电子书内容相匹配的位置显示用户手写笔记,提高显示的手写笔记与电子书内容的适配度,从而提升用户体验,提高用户留存率;并且,本实施例中可根据电子书字符的新的显示位置选择合适的显示方式,从而进一步地提高了字符文本的显示效果,提高用户体验。According to the display method of the e-book handwritten note provided by the embodiment, the character text input by the user by handwriting is obtained, and whether the character text is inter-line text is determined, and if so, the specific character of the e-book corresponding to the character text is recorded. Different from the position of the recorded character text in the screen of the e-book terminal in the prior art, in this embodiment, the relative position of the character text relative to the specific character is recorded; when the format adjustment of the e-book character is detected, the specific The index value of the character quickly determines the new position of the specific character; according to the new position of the specific character and the relative position of the recorded character text with respect to the specific character, a new display position of the character text is obtained; according to the new display position of the character text , to determine how the character text is displayed. By adopting the scheme, after the format adjustment of the e-book character occurs, the user's handwritten notes are displayed at a position matching the content of the e-book, thereby improving the adaptability of the displayed handwritten notes and the content of the e-book, thereby improving the user experience and improving the user retention. In addition, in this embodiment, an appropriate display manner can be selected according to the new display position of the e-book character, thereby further improving the display effect of the character text and improving the user experience.
根据本公开实施例提供了一种非易失性计算机可读存储介质,该非易失性计算机可读存储介质存储有至少一可执行指令,该计算机可执行指令可执行上述任意方法实施例中的方法。According to an embodiment of the present disclosure, there is provided a non-transitory computer readable storage medium storing at least one executable instruction executable in any of the above method embodiments Methods.
可执行指令具体可以用于使得处理器执行以下操作:The executable instructions may specifically be used to cause the processor to perform the following operations:
存储器用于存放至少一可执行指令,可执行指令使处理器执行以下操作:The memory is configured to store at least one executable instruction, and the executable instruction causes the processor to perform the following operations:
获取用户以手写方式输入的字符文本,记录字符文本所对应的电子书的特定字符,以及字符文本相对于特定字符的相对位置;Obtaining character text input by the user by handwriting, recording a specific character of the electronic book corresponding to the character text, and a relative position of the character text with respect to the specific character;
当监测到电子书字符发生格式调整后,确定经过格式调整后特定字符的新位置;After the format adjustment of the e-book character is detected, the new position of the specific character after the format adjustment is determined;
根据特定字符的新位置以及所记录的字符文本相对于特定字符的相对位置,得到字符文本的新的显示位置;Obtaining a new display position of the character text according to the new position of the specific character and the relative position of the recorded character text with respect to the specific character;
根据字符文本的新的显示位置,确定字符文本的显示方式。Determine how the character text is displayed based on the new display position of the character text.
在一种可选的实施方式中,可执行指令具体可以用于使得处理器执行以下操作:In an alternative embodiment, the executable instructions are specifically operable to cause the processor to:
获取用户以手写方式输入的字符文本;Obtain the character text input by the user by handwriting;
判断用户以手写方式输入的字符文本是否为行间笔记文本;Determining whether the character text input by the user by handwriting is an interline note text;
若是,记录字符文本所对应的电子书的特定字符,以及字符文本相对于特定字符的相对位置。If so, the specific character of the e-book corresponding to the character text is recorded, and the relative position of the character text with respect to the specific character.
在一种可选的实施方式中,可执行指令具体可以用于使得处理器执行以下操作:In an alternative embodiment, the executable instructions are specifically operable to cause the processor to:
获取用户以手写方式输入的字符文本的外接矩形;Obtain a circumscribing rectangle of the character text input by the user by hand;
若用户以手写方式输入的字符文本的外接矩形与电子书行间距外接矩形相匹配,则确定用户以手写方式输入的字符文本为行间笔记文本。If the circumscribed rectangle of the character text input by the user by handwriting matches the circumscribed rectangle of the e-book line spacing, it is determined that the character text input by the user by handwriting is the inter-line note text.
在一种可选的实施方式中,可执行指令具体可以用于使得处理器执行以下操作:In an alternative embodiment, the executable instructions are specifically operable to cause the processor to:
获取字符文本的首字符的外接矩形;Get the bounding rectangle of the first character of the character text;
当电子书中字符的外接矩形与字符文本的首字符的外接矩形相交时,确定字符为字符文本所对应的电子书的特定字符;或,当电子书中字符的外接矩形与用户笔记首字符的外接矩形的距离小于预设阈值时,确定字符为字符文本所对应的电子书的特定字符。When the circumscribed rectangle of the character in the e-book intersects with the circumscribed rectangle of the first character of the character text, determining that the character is a specific character of the e-book corresponding to the character text; or, when the circumscribed rectangle of the character in the e-book and the first character of the user note When the distance of the circumscribed rectangle is less than the preset threshold, it is determined that the character is a specific character of the e-book corresponding to the character text.
在一种可选的实施方式中,可执行指令具体可以用于使得处理器执行以下操作:In an alternative embodiment, the executable instructions are specifically operable to cause the processor to:
记录字符文本所对应的电子书的特定字符在电子书中的索引;Recording an index of a specific character of the e-book corresponding to the character text in the e-book;
则确定经过格式调整后特定字符的新位置进一步包括:Then determine the new location of the specific characters after the format adjustment further includes:
根据记录的字符文本所对应的电子书的特定字符在电子书中的索引,确定经过格式调整后特定字符的新位置。The new position of the specific character after the format adjustment is determined according to the index of the specific character of the electronic book corresponding to the recorded character text in the electronic book.
在一种可选的实施方式中,可执行指令具体可以用于使得处理器执行以下操作:In an alternative embodiment, the executable instructions are specifically operable to cause the processor to:
当字符文本的新的显示位置对应的区域不足以完整显示字符文本时,以折叠方式显示字符文本;Displaying character text in a folded manner when the area corresponding to the new display position of the character text is insufficient to completely display the character text;
或,当字符文本的新的显示位置对应的区域足以完整显示字符文本时,以非折叠方式显示字符文本。Or, when the new display position of the character text corresponds to an area sufficient to completely display the character text, the character text is displayed in a non-folding manner.
在一种可选的实施方式中,可执行指令具体可以用于使得处理器执行以下操作:In an alternative embodiment, the executable instructions are specifically operable to cause the processor to:
对字符文本所关联的行间距不进行格式调整,并以非折叠方式显示字符文本。The line spacing associated with the character text is not formatted and the character text is displayed in a non-folding manner.
在一种可选的实施方式中,可执行指令具体可以用于使得处理器执行以下操作:In an alternative embodiment, the executable instructions are specifically operable to cause the processor to:
对字符文本进行缩放后以非折叠方式显示字符文本。The character text is scaled and the character text is displayed in a non-folding manner.
图12示出了根据本公开一个实施例提供的一种计算设备的结构示意图,本公开具体实施例并不对计算设备的具体实现做限定。FIG. 12 is a schematic structural diagram of a computing device according to an embodiment of the present disclosure. The specific embodiment of the present disclosure does not limit the specific implementation of the computing device.
如图12所示,该计算设备可以包括:处理器(processor)1202、通信接口(Communications Interface)1204、存储器(memory)1206、以及通信总线1208。As shown in FIG. 12, the computing device can include a processor 1202, a communications interface 1204, a memory 1206, and a communications bus 1208.
其中:处理器1202、通信接口1204、以及存储器1206通过通信总线1208完成相互间的通信。通信接口1204,用于与其它设备比如客户端或其它服务器等的网元通信。处理器1202,用于执行程序1210,具体可以执行上述方法实施例中的相关步骤。The processor 1202, the communication interface 1204, and the memory 1206 complete communication with each other through the communication bus 1208. The communication interface 1204 is configured to communicate with network elements of other devices such as clients or other servers. The processor 1202 is configured to execute the program 1210. Specifically, the related steps in the foregoing method embodiments may be performed.
程序1210具体可以用于使得处理器1202执行以下操作:Program 1210 can be specifically configured to cause processor 1202 to perform the following operations:
存储器用于存放至少一可执行指令,可执行指令使处理器执行以下操作:The memory is configured to store at least one executable instruction, and the executable instruction causes the processor to perform the following operations:
获取用户以手写方式输入的字符文本,记录字符文本所对应的电子书的特定字符,以及字符文本相对于特定字符的相对位置;Obtaining character text input by the user by handwriting, recording a specific character of the electronic book corresponding to the character text, and a relative position of the character text with respect to the specific character;
当监测到电子书字符发生格式调整后,确定经过格式调整后特定字符的新位置;After the format adjustment of the e-book character is detected, the new position of the specific character after the format adjustment is determined;
根据特定字符的新位置以及所记录的字符文本相对于特定字符的相对位置,得到字符文本的新的显示位置;Obtaining a new display position of the character text according to the new position of the specific character and the relative position of the recorded character text with respect to the specific character;
根据字符文本的新的显示位置,确定字符文本的显示方式。Determine how the character text is displayed based on the new display position of the character text.
在一种可选的实施方式中,程序1210具体可以用于使得处理器1202执行以下操作:In an alternative embodiment, the program 1210 may be specifically configured to cause the processor 1202 to perform the following operations:
获取用户以手写方式输入的字符文本;Obtain the character text input by the user by handwriting;
判断用户以手写方式输入的字符文本是否为行间笔记文本;Determining whether the character text input by the user by handwriting is an interline note text;
若是,记录字符文本所对应的电子书的特定字符,以及字符文本相对于特定字符的相对位置。If so, the specific character of the e-book corresponding to the character text is recorded, and the relative position of the character text with respect to the specific character.
在一种可选的实施方式中,程序1210具体可以用于使得处理器1202执行以下操作:In an alternative embodiment, the program 1210 may be specifically configured to cause the processor 1202 to perform the following operations:
获取用户以手写方式输入的字符文本的外接矩形;Obtain a circumscribing rectangle of the character text input by the user by hand;
若用户以手写方式输入的字符文本的外接矩形与电子书行间距外接矩形相匹配,则确定用户以手写方式输入的字符文本为行间笔记文本。If the circumscribed rectangle of the character text input by the user by handwriting matches the circumscribed rectangle of the e-book line spacing, it is determined that the character text input by the user by handwriting is the inter-line note text.
在一种可选的实施方式中,程序1210具体可以用于使得处理器1202执行以下操作:In an alternative embodiment, the program 1210 may be specifically configured to cause the processor 1202 to perform the following operations:
获取字符文本的首字符的外接矩形;Get the bounding rectangle of the first character of the character text;
当电子书中字符的外接矩形与字符文本的首字符的外接矩形相交时,确定字符为字 符文本所对应的电子书的特定字符;或,当电子书中字符的外接矩形与用户笔记首字符的外接矩形的距离小于预设阈值时,确定字符为字符文本所对应的电子书的特定字符。When the circumscribed rectangle of the character in the e-book intersects with the circumscribed rectangle of the first character of the character text, determining that the character is a specific character of the e-book corresponding to the character text; or, when the circumscribed rectangle of the character in the e-book and the first character of the user note When the distance of the circumscribed rectangle is less than the preset threshold, it is determined that the character is a specific character of the e-book corresponding to the character text.
在一种可选的实施方式中,程序1210具体可以用于使得处理器1202执行以下操作:In an alternative embodiment, the program 1210 may be specifically configured to cause the processor 1202 to perform the following operations:
记录字符文本所对应的电子书的特定字符在电子书中的索引;Recording an index of a specific character of the e-book corresponding to the character text in the e-book;
则确定经过格式调整后特定字符的新位置进一步包括:Then determine the new location of the specific characters after the format adjustment further includes:
根据记录的字符文本所对应的电子书的特定字符在电子书中的索引,确定经过格式调整后特定字符的新位置。The new position of the specific character after the format adjustment is determined according to the index of the specific character of the electronic book corresponding to the recorded character text in the electronic book.
在一种可选的实施方式中,程序1210具体可以用于使得处理器1202执行以下操作:In an alternative embodiment, the program 1210 may be specifically configured to cause the processor 1202 to perform the following operations:
当字符文本的新的显示位置对应的区域不足以完整显示字符文本时,以折叠方式显示字符文本;Displaying character text in a folded manner when the area corresponding to the new display position of the character text is insufficient to completely display the character text;
或,当字符文本的新的显示位置对应的区域足以完整显示字符文本时,以非折叠方式显示字符文本。Or, when the new display position of the character text corresponds to an area sufficient to completely display the character text, the character text is displayed in a non-folding manner.
在一种可选的实施方式中,程序1210具体可以用于使得处理器1202执行以下操作:In an alternative embodiment, the program 1210 may be specifically configured to cause the processor 1202 to perform the following operations:
对字符文本所关联的行间距不进行格式调整,并以非折叠方式显示字符文本。The line spacing associated with the character text is not formatted and the character text is displayed in a non-folding manner.
在一种可选的实施方式中,程序1210具体可以用于使得处理器1202执行以下操作:In an alternative embodiment, the program 1210 may be specifically configured to cause the processor 1202 to perform the following operations:
对字符文本进行缩放后以非折叠方式显示字符文本。The character text is scaled and the character text is displayed in a non-folding manner.
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本公开也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本公开的内容,并且上面对特定语言所做的描述是为了披露本公开的最佳实施方式。The algorithms and displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general purpose systems can also be used with the teaching based on the teachings herein. The structure required to construct such a system is apparent from the above description. Moreover, the present disclosure is not directed to any particular programming language. It is to be understood that the subject matter of the present disclosure, which is described herein, may be described in a particular language.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本公开的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that the embodiments of the present disclosure may be practiced without these specific details. In some instances, well-known methods, structures, and techniques are not shown in detail so as not to obscure the understanding of the description.
类似地,应当理解,为了精简本公开并帮助理解各个公开方面中的一个或多个,在上面对本公开的示例性实施例的描述中,本公开的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本公开要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,公开方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本公开的单独实施例。In the description of the exemplary embodiments of the present disclosure, the various features of the present disclosure are sometimes grouped together into a single embodiment, Figure, or a description of it. However, the method disclosed is not to be interpreted as reflecting the intention that the claimed invention requires more features than those recited in the claims. Rather, as disclosed in the following claims, the disclosed aspects are less than all features of the single embodiments disclosed herein. Therefore, the claims following the specific embodiments are hereby explicitly incorporated into the specific embodiments, and each of the claims as a separate embodiment of the present disclosure.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art will appreciate that the modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components. In addition to such features or processes, or at least some of the elements are mutually exclusive, any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods or devices so disclosed All processes or units are combined. Each feature disclosed in this specification (including the accompanying claims, the abstract and the drawings) may be replaced by alternative features that provide the same, equivalent or similar purpose.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本公开的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features that are included in other embodiments and not in other features, combinations of features of different embodiments are intended to be within the scope of the present disclosure. Different embodiments are formed and formed. For example, in the following claims, any one of the claimed embodiments can be used in any combination.
应该注意的是上述实施例对本公开进行说明而不是对本公开进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本公开可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-described embodiments are illustrative of the present disclosure and are not intended to limit the scope of the disclosure, and those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as a limitation. The word "comprising" does not exclude the presence of the elements or steps that are not recited in the claims. The word "a" or "an" The present disclosure can be implemented by means of hardware comprising several distinct elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means can be embodied by the same hardware item. The use of the words first, second, and third does not indicate any order. These words can be interpreted as names.

Claims (18)

  1. 一种电子书手写笔记的显示方法,所述手写笔记包含字符文本,所述方法包括:A method for displaying an electronic book handwritten note, the handwritten note containing character text, the method comprising:
    获取用户以手写方式输入的字符文本,记录所述字符文本所对应的电子书的特定字符,以及所述字符文本相对于所述特定字符的相对位置;Obtaining a character text input by the user in a handwritten manner, recording a specific character of the electronic book corresponding to the character text, and a relative position of the character text with respect to the specific character;
    当监测到电子书字符发生格式调整后,确定经过格式调整后所述特定字符的新位置;After the format adjustment of the e-book character is detected, the new position of the specific character after the format adjustment is determined;
    根据所述特定字符的新位置以及所记录的所述字符文本相对于所述特定字符的相对位置,得到所述字符文本的新的显示位置;Obtaining a new display position of the character text according to a new position of the specific character and a recorded relative position of the character text with respect to the specific character;
    根据所述字符文本的新的显示位置,确定所述字符文本的显示方式。A manner of displaying the character text is determined according to a new display position of the character text.
  2. 根据权利要求1所述的方法,其中,所述获取用户以手写方式输入的字符文本,记录所述字符文本所对应的电子书的特定字符,以及所述字符文本相对于所述特定字符的相对位置进一步包括:The method according to claim 1, wherein said acquiring character text input by a user in a handwritten manner, recording a specific character of an electronic book corresponding to said character text, and a relative of said character text with respect to said specific character The location further includes:
    获取用户以手写方式输入的字符文本;Obtain the character text input by the user by handwriting;
    判断用户以手写方式输入的字符文本是否为行间笔记文本;Determining whether the character text input by the user by handwriting is an interline note text;
    若是,记录所述字符文本所对应的电子书的特定字符,以及所述字符文本相对于所述特定字符的相对位置。If so, a specific character of the electronic book corresponding to the character text is recorded, and a relative position of the character text with respect to the specific character.
  3. 根据权利要求2所述的方法,其中,所述判断用户以手写方式输入的字符文本是否为行间笔记文本进一步包括:The method according to claim 2, wherein said determining whether the character text input by the user by handwriting is an interline note text further comprises:
    获取用户以手写方式输入的字符文本的外接矩形;Obtain a circumscribing rectangle of the character text input by the user by hand;
    若用户以手写方式输入的字符文本的外接矩形与电子书行间距外接矩形相匹配,则确定用户以手写方式输入的字符文本为行间笔记文本。If the circumscribed rectangle of the character text input by the user by handwriting matches the circumscribed rectangle of the e-book line spacing, it is determined that the character text input by the user by handwriting is the inter-line note text.
  4. 根据权利要求1-3中任一项所述的方法,其中,在所述记录所述字符文本所对应的电子书的特定字符之前,所述方法还包括:The method according to any one of claims 1 to 3, wherein before the recording of the specific character of the electronic book corresponding to the character text, the method further comprises:
    获取所述字符文本的首字符的外接矩形;Obtaining a circumscribed rectangle of the first character of the character text;
    当电子书中字符的外接矩形与所述字符文本的首字符的外接矩形相交时,确定所述字符为所述字符文本所对应的电子书的特定字符;或,当电子书中字符的外接矩形与所述用户笔记首字符的外接矩形的距离小于预设阈值时,确定所述字符为所述字符文本所对应的电子书的特定字符。When the circumscribed rectangle of the character in the e-book intersects with the circumscribed rectangle of the first character of the character text, determining that the character is a specific character of the e-book corresponding to the character text; or, when the circumscribed rectangle of the character in the e-book When the distance from the circumscribed rectangle of the first character of the user note is less than a preset threshold, the character is determined to be a specific character of the e-book corresponding to the character text.
  5. 根据权利要求1-4中任一项所述的方法,其中,所述记录所述字符文本所对应的电子书的特定字符进一步包括:The method according to any one of claims 1 to 4, wherein the recording of the specific character of the electronic book corresponding to the character text further comprises:
    记录所述字符文本所对应的电子书的特定字符在电子书中的索引;Recording an index of a specific character of the e-book corresponding to the character text in the e-book;
    则所述确定经过格式调整后所述特定字符的新位置进一步包括:Then, determining the new location of the specific character after the format adjustment further includes:
    根据记录的所述字符文本所对应的电子书的特定字符在电子书中的索引,确定经过格式调整后所述特定字符的新位置。The new position of the specific character after the format adjustment is determined according to the index of the specific character of the electronic book corresponding to the recorded character text in the electronic book.
  6. 根据权利要求1-5中任一项所述的方法,其中,所述根据所述字符文本的新的显示位置,确定所述字符文本的显示方式进一步包括:The method according to any one of claims 1 to 5, wherein the determining the display manner of the character text according to the new display position of the character text further comprises:
    当所述字符文本的新的显示位置对应的区域不足以完整显示所述字符文本时,以折叠方式显示所述字符文本;When the area corresponding to the new display position of the character text is insufficient to completely display the character text, displaying the character text in a folded manner;
    或,当所述字符文本的新的显示位置对应的区域足以完整显示所述字符文本时,以非折叠方式显示所述字符文本。Or, when the area corresponding to the new display position of the character text is sufficient to completely display the character text, the character text is displayed in a non-folding manner.
  7. 根据权利要求1-5中任一项所述的方法,其中,所述根据所述字符文本的新的显示位置,确定所述字符文本的显示方式进一步包括:The method according to any one of claims 1 to 5, wherein the determining the display manner of the character text according to the new display position of the character text further comprises:
    对所述字符文本所关联的行间距不进行格式调整,并以非折叠方式显示所述字符文本。The line spacing associated with the character text is not formatted, and the character text is displayed in a non-folding manner.
  8. 根据权利要求6或7所述的方法,其中,所述以非折叠方式显示所述字符文本进一步包括:The method according to claim 6 or 7, wherein said displaying said character text in a non-folding manner further comprises:
    对所述字符文本进行缩放后以非折叠方式显示所述字符文本。The character text is scaled and displayed in a non-folded manner.
  9. 一种计算设备,所述计算设备包括:处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;A computing device, comprising: a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface complete communication with each other through the communication bus;
    所述存储器用于存放至少一可执行指令,所述可执行指令使所述处理器执行以下操作:The memory is for storing at least one executable instruction that causes the processor to perform the following operations:
    获取用户以手写方式输入的字符文本,记录所述字符文本所对应的电子书的特定字符,以及所述字符文本相对于所述特定字符的相对位置;Obtaining a character text input by the user in a handwritten manner, recording a specific character of the electronic book corresponding to the character text, and a relative position of the character text with respect to the specific character;
    当监测到电子书字符发生格式调整后,确定经过格式调整后所述特定字符的新位置;After the format adjustment of the e-book character is detected, the new position of the specific character after the format adjustment is determined;
    根据所述特定字符的新位置以及所记录的所述字符文本相对于所述特定字符的相对位置,得到所述字符文本的新的显示位置;Obtaining a new display position of the character text according to a new position of the specific character and a recorded relative position of the character text with respect to the specific character;
    根据所述字符文本的新的显示位置,确定所述字符文本的显示方式。A manner of displaying the character text is determined according to a new display position of the character text.
  10. 根据权利要求9所述的计算设备,其中,所述可执行指令使所述处理器执行以下操作:The computing device of claim 9, wherein the executable instructions cause the processor to:
    获取用户以手写方式输入的字符文本;Obtain the character text input by the user by handwriting;
    判断用户以手写方式输入的字符文本是否为行间笔记文本;Determining whether the character text input by the user by handwriting is an interline note text;
    若是,记录所述字符文本所对应的电子书的特定字符,以及所述字符文本相对于所述特定字符的相对位置。If so, a specific character of the electronic book corresponding to the character text is recorded, and a relative position of the character text with respect to the specific character.
  11. 根据权利要求10所述的计算设备,其中,所述可执行指令使所述处理器执行以下操作:The computing device of claim 10 wherein the executable instructions cause the processor to:
    获取用户以手写方式输入的字符文本的外接矩形;Obtain a circumscribing rectangle of the character text input by the user by hand;
    若用户以手写方式输入的字符文本的外接矩形与电子书行间距外接矩形相匹配,则确定用户以手写方式输入的字符文本为行间笔记文本。If the circumscribed rectangle of the character text input by the user by handwriting matches the circumscribed rectangle of the e-book line spacing, it is determined that the character text input by the user by handwriting is the inter-line note text.
  12. 根据权利要求9-11中任一项所述的计算设备,其中,所述可执行指令使所述处理器执行以下操作:The computing device of any of claims 9-11, wherein the executable instructions cause the processor to:
    获取所述字符文本的首字符的外接矩形;Obtaining a circumscribed rectangle of the first character of the character text;
    当电子书中字符的外接矩形与所述字符文本的首字符的外接矩形相交时,确定所述字符为所述字符文本所对应的电子书的特定字符;或,当电子书中字符的外接矩形与所述用户笔记首字符的外接矩形的距离小于预设阈值时,确定所述字符为所述字符文本所对应的电子书的特定字符。When the circumscribed rectangle of the character in the e-book intersects with the circumscribed rectangle of the first character of the character text, determining that the character is a specific character of the e-book corresponding to the character text; or, when the circumscribed rectangle of the character in the e-book When the distance from the circumscribed rectangle of the first character of the user note is less than a preset threshold, the character is determined to be a specific character of the e-book corresponding to the character text.
  13. 根据权利要求9-12中任一项所述的计算设备,其中,所述可执行指令使所述处理器执行以下操作:The computing device of any of claims 9-12, wherein the executable instructions cause the processor to:
    记录所述字符文本所对应的电子书的特定字符在电子书中的索引;Recording an index of a specific character of the e-book corresponding to the character text in the e-book;
    则所述确定经过格式调整后所述特定字符的新位置进一步包括:Then, determining the new location of the specific character after the format adjustment further includes:
    根据记录的所述字符文本所对应的电子书的特定字符在电子书中的索引,确定经过格式调整后所述特定字符的新位置。The new position of the specific character after the format adjustment is determined according to the index of the specific character of the electronic book corresponding to the recorded character text in the electronic book.
  14. 根据权利要求9-13中任一项所述的计算设备,其中,所述可执行指令使所述处理器执行以下操作:The computing device of any of claims 9-13, wherein the executable instructions cause the processor to:
    当所述字符文本的新的显示位置对应的区域不足以完整显示所述字符文本时,以折叠方式显示所述字符文本;When the area corresponding to the new display position of the character text is insufficient to completely display the character text, displaying the character text in a folded manner;
    或,当所述字符文本的新的显示位置对应的区域足以完整显示所述字符文本时,以非折叠方式显示所述字符文本。Or, when the area corresponding to the new display position of the character text is sufficient to completely display the character text, the character text is displayed in a non-folding manner.
  15. 根据权利要求9-13中任一项所述的计算设备,其中,所述可执行指令使所述处理器执行以下操作:The computing device of any of claims 9-13, wherein the executable instructions cause the processor to:
    对所述字符文本所关联的行间距不进行格式调整,并以非折叠方式显示所述字符文本。The line spacing associated with the character text is not formatted, and the character text is displayed in a non-folding manner.
  16. 根据权利要求14或15所述的计算设备,其中,所述可执行指令使所述处理器执行以下操作:A computing device according to claim 14 or 15, wherein said executable instructions cause said processor to:
    对所述字符文本进行缩放后以非折叠方式显示所述字符文本。The character text is scaled and displayed in a non-folded manner.
  17. 一种非易失性计算机可读存储介质,所述非易失性计算机可读存储介质中存储有至少一可执行指令,所述可执行指令用于使该计算机执行前述任一权利要求1-8所述的电子书手写笔记的显示方法。A non-transitory computer readable storage medium having stored therein at least one executable instruction for causing the computer to perform any of the preceding claims 8 shows a method for displaying an electronic book handwritten note.
  18. 一种计算机程序产品,该计算机程序产品包括存储在非易失性计算机可读存储介质上的计算程序,该计算机程序包括程序指令,当该程序指令被计算机执行时,使该计算机执行前述任一权利要求1-8所述的电子书手写笔记的显示方法。A computer program product comprising a computing program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when executed by a computer, causing the computer to perform any of the foregoing A method of displaying an electronic book handwritten note according to any of claims 1-8.
PCT/CN2019/073785 2018-02-12 2019-01-29 Electronic book handwritten note display method, computing device and computer storage medium WO2019154197A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/969,060 US11455460B2 (en) 2018-02-12 2019-01-29 Method for displaying handwritten note in electronic book, electronic device and computer storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810145893.7A CN108255386B (en) 2018-02-12 2018-02-12 The display methods of the hand-written notes of e-book calculates equipment and computer storage medium
CN201810145893.7 2018-02-12

Publications (1)

Publication Number Publication Date
WO2019154197A1 true WO2019154197A1 (en) 2019-08-15

Family

ID=62744223

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/073785 WO2019154197A1 (en) 2018-02-12 2019-01-29 Electronic book handwritten note display method, computing device and computer storage medium

Country Status (3)

Country Link
US (1) US11455460B2 (en)
CN (1) CN108255386B (en)
WO (1) WO2019154197A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115859907A (en) * 2023-02-20 2023-03-28 深圳市英唐数码科技有限公司 Reading annotation zooming display method, system and readable storage medium

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108255386B (en) * 2018-02-12 2019-07-05 掌阅科技股份有限公司 The display methods of the hand-written notes of e-book calculates equipment and computer storage medium
CN111401001B (en) * 2020-03-13 2023-05-26 浙江学海教育科技有限公司 TextView linear scaling method, textView linear scaling device, textView linear scaling equipment and TextView linear scaling medium
CN111338558B (en) * 2020-03-24 2021-01-19 掌阅科技股份有限公司 Method and device for displaying handwritten notes of electronic book and computer storage medium
CN111539188B (en) * 2020-04-23 2023-09-01 掌阅科技股份有限公司 Note generation method, computing device, and computer storage medium
CN114003319B (en) * 2020-07-28 2024-04-23 华为技术有限公司 Method for off-screen display and electronic equipment
CN112183019B (en) * 2020-09-28 2021-10-22 掌阅科技股份有限公司 Display method, computing equipment and computer storage medium of electronic book handwritten notes
JP2022057931A (en) * 2020-09-30 2022-04-11 株式会社リコー Display device, display method, and program
CN113655934A (en) * 2021-08-30 2021-11-16 咪咕数字传媒有限公司 Electronic file display method and device, computing equipment and computer storage medium
CN113821146B (en) * 2021-11-22 2022-02-18 广州文石信息科技有限公司 Global annotation method and device, terminal device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838110A (en) * 2005-03-25 2006-09-27 富士施乐株式会社 Document editing method, document editing device
CN103092822A (en) * 2011-11-07 2013-05-08 汉王科技股份有限公司 Method and device for adding annotations in electronic document
CN104854545A (en) * 2012-12-27 2015-08-19 株式会社东芝 Electronic apparatus and input method
CN105446647A (en) * 2015-12-25 2016-03-30 智慧方舟科技有限公司 E-ink book and reading note implementation method and device thereof
CN108255386A (en) * 2018-02-12 2018-07-06 掌阅科技股份有限公司 Display methods, computing device and the computer storage media of the hand-written notes of e-book

Family Cites Families (43)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3755315B2 (en) * 1998-11-27 2006-03-15 富士ゼロックス株式会社 Document processing method and apparatus
US7028267B1 (en) * 1999-12-07 2006-04-11 Microsoft Corporation Method and apparatus for capturing and rendering text annotations for non-modifiable electronic content
US9424240B2 (en) * 1999-12-07 2016-08-23 Microsoft Technology Licensing, Llc Annotations for electronic content
US7259753B2 (en) * 2000-06-21 2007-08-21 Microsoft Corporation Classifying, anchoring, and transforming ink
US7747943B2 (en) * 2001-09-07 2010-06-29 Microsoft Corporation Robust anchoring of annotations to content
US7218783B2 (en) * 2003-06-13 2007-05-15 Microsoft Corporation Digital ink annotation process and system for recognizing, anchoring and reflowing digital ink annotations
US7308643B1 (en) * 2003-07-03 2007-12-11 Google Inc. Anchor tag indexing in a web crawler system
US7707039B2 (en) * 2004-02-15 2010-04-27 Exbiblio B.V. Automatic modification of web pages
US7812860B2 (en) * 2004-04-01 2010-10-12 Exbiblio B.V. Handheld device for capturing text from both a document printed on paper and a document displayed on a dynamic display device
US9275052B2 (en) * 2005-01-19 2016-03-01 Amazon Technologies, Inc. Providing annotations of a digital work
US8181103B2 (en) * 2005-12-29 2012-05-15 Microsoft Corporation Annotation detection and anchoring on ink notes
EP2067102A2 (en) * 2006-09-15 2009-06-10 Exbiblio B.V. Capture and display of annotations in paper and electronic documents
US8374992B2 (en) * 2007-05-29 2013-02-12 Livescribe, Inc. Organization of user generated content captured by a smart pen computing system
US20120102418A1 (en) * 2008-12-31 2012-04-26 Microsoft Corporation Sharing Rich Interactive Narratives on a Hosting Platform
WO2011094855A1 (en) * 2010-02-05 2011-08-11 Smart Technologies Ulc Interactive input system displaying an e-book graphic object and method of manipulating a e-book graphic object
US9026932B1 (en) * 2010-04-16 2015-05-05 Amazon Technologies, Inc. Edge navigation user interface
US20120001923A1 (en) * 2010-07-03 2012-01-05 Sara Weinzimmer Sound-enhanced ebook with sound events triggered by reader progress
US10061756B2 (en) * 2010-09-23 2018-08-28 Carnegie Mellon University Media annotation visualization tools and techniques, and an aggregate-behavior visualization system utilizing such tools and techniques
US9846688B1 (en) * 2010-12-28 2017-12-19 Amazon Technologies, Inc. Book version mapping
US8782513B2 (en) * 2011-01-24 2014-07-15 Apple Inc. Device, method, and graphical user interface for navigating through an electronic document
US9251130B1 (en) * 2011-03-31 2016-02-02 Amazon Technologies, Inc. Tagging annotations of electronic books
US10672399B2 (en) * 2011-06-03 2020-06-02 Apple Inc. Switching between text data and audio data based on a mapping
US9256588B1 (en) * 2011-09-28 2016-02-09 Amazon Technologies, Inc. Transferring content to a substantially similar location in a virtual notebook using a stylus enabled device
US8977952B2 (en) * 2011-11-07 2015-03-10 Thomson Reuters Global Resources Electronic book version and annotation maintenance
JP5418576B2 (en) * 2011-11-28 2014-02-19 コニカミノルタ株式会社 Information browsing apparatus and display control program
US9792038B2 (en) * 2012-08-17 2017-10-17 Microsoft Technology Licensing, Llc Feedback via an input device and scribble recognition
US20140115436A1 (en) * 2012-10-22 2014-04-24 Apple Inc. Annotation migration
US20140164900A1 (en) * 2012-12-11 2014-06-12 Microsoft Corporation Appending content with annotation
US9436665B2 (en) * 2013-02-28 2016-09-06 Thomson Reuters Global Resources Synchronizing annotations between printed documents and electronic documents
US20140289593A1 (en) * 2013-02-28 2014-09-25 Basker S. Krishnan Apparatus & Method for Reviewing a Written Work Using an Electronic Display
US9727535B2 (en) * 2013-06-11 2017-08-08 Microsoft Technology Licensing, Llc Authoring presentations with ink
US9619451B2 (en) * 2013-06-28 2017-04-11 Rakuten Kobo Inc. System and method for transferring annotated versions of E-books
US20150073923A1 (en) * 2013-09-11 2015-03-12 Usman Hafeez System and method for providing interactive ebook content annotations and advertisements
US9430141B1 (en) * 2014-07-01 2016-08-30 Amazon Technologies, Inc. Adaptive annotations
US10509853B2 (en) * 2014-09-05 2019-12-17 Microsoft Technology Licensing, Llc Creating an annotation pane for a document by augmenting the document
CN111857332A (en) * 2015-02-12 2020-10-30 北京三星通信技术研究有限公司 Method and device for acquiring note information
JP5886487B1 (en) * 2015-03-31 2016-03-16 株式会社ワコム Ink file output method and output device
US9996514B2 (en) * 2015-10-31 2018-06-12 Airwatch Llc Decoupling and relocating bookmarks and annotations from files
CN105511792A (en) * 2015-12-08 2016-04-20 刘炳林 In-position hand input method and system for form
US20170235449A1 (en) * 2016-02-12 2017-08-17 David Harris Walters Personalized Multimedia Autographing System
CN106293462B (en) * 2016-08-04 2019-11-26 广州视睿电子科技有限公司 A kind of character displaying method and device
US10417310B2 (en) * 2017-06-09 2019-09-17 Microsoft Technology Licensing, Llc Content inker
CN107562331A (en) * 2017-08-21 2018-01-09 广州视源电子科技股份有限公司 A kind of display methods of handwriting, device, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838110A (en) * 2005-03-25 2006-09-27 富士施乐株式会社 Document editing method, document editing device
CN103092822A (en) * 2011-11-07 2013-05-08 汉王科技股份有限公司 Method and device for adding annotations in electronic document
CN104854545A (en) * 2012-12-27 2015-08-19 株式会社东芝 Electronic apparatus and input method
CN105446647A (en) * 2015-12-25 2016-03-30 智慧方舟科技有限公司 E-ink book and reading note implementation method and device thereof
CN108255386A (en) * 2018-02-12 2018-07-06 掌阅科技股份有限公司 Display methods, computing device and the computer storage media of the hand-written notes of e-book

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115859907A (en) * 2023-02-20 2023-03-28 深圳市英唐数码科技有限公司 Reading annotation zooming display method, system and readable storage medium

Also Published As

Publication number Publication date
US20210141999A1 (en) 2021-05-13
US11455460B2 (en) 2022-09-27
CN108255386A (en) 2018-07-06
CN108255386B (en) 2019-07-05

Similar Documents

Publication Publication Date Title
WO2019154197A1 (en) Electronic book handwritten note display method, computing device and computer storage medium
US11048865B2 (en) Processing and displaying handwritten note based on format change of content in electronic book
US8600164B2 (en) Method and tool for recognizing a hand-drawn table
JP6713141B1 (en) Layout analysis method, reading aid, circuit and medium
US8855413B2 (en) Image reflow at word boundaries
US8209600B1 (en) Method and apparatus for generating layout-preserved text
KR20180048774A (en) System and method of digital note taking
US8682642B2 (en) Translation display apparatus
WO2013109463A1 (en) Low resolution placeholder content for document navigation
US20120233566A1 (en) Task-based address bar and tabs scaling
WO2022161293A1 (en) Image processing method and apparatus, and electronic device and storage medium
CN110692060A (en) Electronic text pen system and method
KR20160064925A (en) Handwriting input apparatus and control method thereof
US7366978B1 (en) Method and system for creating a grid-like coordinate system for addressing data contained in an irregular computer-generated table
CN109190615A (en) Nearly word form identification decision method, apparatus, computer equipment and storage medium
WO2023093694A1 (en) Image processing method and apparatus, and device and storage medium
CN116311300A (en) Table generation method, apparatus, electronic device and storage medium
TWI291669B (en) Method of learning to write Chinese characters
JP2013182512A (en) Handwritten character processing device and program
WO2022063191A1 (en) Electronic-book handwritten note display method, computing device, and computer storage medium
CN112181231A (en) Blackboard writing input method, system and device
CN113535017B (en) Method and device for processing and synchronously displaying drawing files and storage medium
US11233920B1 (en) Transforming document elements for modified document layouts
WO2019091042A1 (en) Character reformatting method, terminal and storage medium
CN118036554A (en) Method, apparatus, computer device and medium for adaptively changing content size

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19750805

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19750805

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 19750805

Country of ref document: EP

Kind code of ref document: A1

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

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

122 Ep: pct application non-entry in european phase

Ref document number: 19750805

Country of ref document: EP

Kind code of ref document: A1