CN107203498A - A kind of method, system and its user terminal and server for creating e-book - Google Patents
A kind of method, system and its user terminal and server for creating e-book Download PDFInfo
- Publication number
- CN107203498A CN107203498A CN201610158255.XA CN201610158255A CN107203498A CN 107203498 A CN107203498 A CN 107203498A CN 201610158255 A CN201610158255 A CN 201610158255A CN 107203498 A CN107203498 A CN 107203498A
- Authority
- CN
- China
- Prior art keywords
- book
- information
- user
- user data
- generation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/117—Tagging; Marking up; Designating a block; Setting of attributes
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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/0483—Interaction with page-structured environments, e.g. book metaphor
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04804—Transparency, e.g. transparent or translucent windows
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本发明是关于一种创建电子书的方法、系统及其用户终端和服务器,属于数据处理技术领域。该方法包括:关联存储用户数据和相应的电子书籍信息;生成包括所述用户数据和关联的所述电子书籍信息的电子书。本发明能够自动收集、整理用户在阅读应用软件中积累的用户数据,并生成便于用户查找和阅读该用户数据的电子书。
The invention relates to a method and system for creating electronic books, a user terminal and a server thereof, and belongs to the technical field of data processing. The method includes: associating and storing user data and corresponding electronic book information; generating an electronic book including the user data and the associated electronic book information. The invention can automatically collect and arrange the user data accumulated by the user in the reading application software, and generate an electronic book which is convenient for the user to search and read the user data.
Description
技术领域technical field
本发明涉及数据处理技术,尤其涉及一种创建电子书的方法、系统及其用户终端和服务器。The present invention relates to data processing technology, in particular to a method and system for creating electronic books and its user terminal and server.
背景技术Background technique
在电子出版物越来越普及的今天,用户在一个阅读应用软件中逐渐积累了大量用户数据,例如:笔记、划线和评论等。现有技术中可以将每项内容单独导出成TXT文本或者逐条记录/导出到外部软件,但是并不能对其进行整理和排版,导致用户查找和阅读的困难。Today, as electronic publications become more and more popular, users gradually accumulate a large amount of user data in a reading application software, such as notes, underlines, and comments. In the prior art, each item of content can be exported into TXT text or recorded/exported to external software one by one, but it cannot be sorted and typeset, which makes it difficult for users to find and read.
因此,需要一种新的创建电子书的方法、系统及其用户终端和服务器。Therefore, there is a need for a new method and system for creating e-books, as well as user terminals and servers thereof.
在所述背景技术部分公开的上述信息仅用于加强对本发明的背景的理解,因此它可以包括不构成对本领域普通技术人员已知的现有技术的信息。The above information disclosed in this Background section is only for enhancement of understanding of the background of the invention and therefore it may contain information that does not form the prior art that is already known in the art to a person of ordinary skill in the art.
发明内容Contents of the invention
本发明提供一种创建电子书的方法、系统及其用户终端和服务器,能够提高用户阅读和查找用户在电子书籍中所作批注的效率。The invention provides a method and system for creating an electronic book, as well as a user terminal and a server thereof, which can improve the efficiency of users reading and finding annotations made by the user in the electronic book.
本发明的其他特性和优点将通过下面的详细描述变得显然,或部分地通过本发明的实践而习得。Other features and advantages of the invention will become apparent from the following detailed description, or in part, be learned by practice of the invention.
根据本发明的一方面,提供一种创建电子书的方法,包括:关联存储用户数据和相应的电子书籍信息;生成包括所述用户数据和关联的所述电子书籍信息的电子书。According to one aspect of the present invention, there is provided a method for creating an electronic book, including: associating and storing user data and corresponding electronic book information; generating an electronic book including the user data and the associated electronic book information.
根据本发明的一实施方式,其中所述关联存储用户数据和相应的电子书籍信息包括:获取用户在所述电子书籍中所选择的文本段的信息;接收用户针对所述文本段输入的笔记内容和/或划线,根据所述文本段的信息和所述笔记内容和/或划线生成对应所述文本段的笔记信息和/或划线信息;保存所述笔记信息和/或划线信息。According to an embodiment of the present invention, the associative storage of user data and corresponding electronic book information includes: obtaining information on the text segment selected by the user in the electronic book; receiving the note content input by the user for the text segment and/or underline, generate note information and/or underline information corresponding to the text segment according to the information of the text segment and the note content and/or underline; save the note information and/or underline information .
根据本发明的一实施方式,还包括:获取相应的电子书籍的用户评论内容,根据所述用户评论内容生成对应所述电子书籍的书评信息;将所述书评信息添加到所述电子书中。According to an embodiment of the present invention, the method further includes: obtaining user comment content of the corresponding electronic book, generating book review information corresponding to the electronic book according to the user comment content; adding the book review information to the electronic book.
根据本发明的一实施方式,其中所述生成包括所述用户数据和关联的所述电子书籍信息的电子书是按照预定策略生成的,其中所述预定策略包括根据电子书籍的类别和/或所述用户数据的生成时间生成所述电子书。According to an embodiment of the present invention, the generating of the e-book including the user data and the associated e-book information is generated according to a predetermined strategy, wherein the predetermined strategy includes The e-book is generated at the generation time of the user data.
根据本发明的一实施方式,其中所述生成包括所述用户数据和关联的所述电子书籍信息的电子书包括:根据所述笔记信息和/或划线信息获取待生成电子书的一级目录;根据所述书评信息获取该待生成电子书的一级目录;根据目录信息获取该待生成电子书的对应的章节。According to an embodiment of the present invention, wherein the generating the electronic book including the user data and the associated electronic book information includes: obtaining the first-level catalog of the electronic book to be generated according to the note information and/or underline information ; Obtain the first-level catalog of the electronic book to be generated according to the book review information; obtain the corresponding chapters of the electronic book to be generated according to the directory information.
根据本发明的再一个方面,提供一种创建电子书的系统,包括:存储模块,用于关联存储用户数据和相应的电子书籍信息;电子书生成模块,用于生成包括所述用户数据和关联的所述电子书籍信息的电子书。According to another aspect of the present invention, there is provided a system for creating e-books, including: a storage module for associating and storing user data and corresponding e-book information; an e-book generation module for generating e-books including the user data and associated The eBook of the eBook information.
根据本发明的一实施方式,其中所述存储模块包括:获取单元,用于获取用户在所述电子书籍中所选择的文本段的信息;信息生成单元,用于接收用户针对所述文本段输入的笔记内容和/或划线,根据所述文本段的信息和所述笔记内容和/或划线生成对应所述文本段的笔记信息和/或划线信息;保存单元,用于保存所述笔记信息和/或划线信息。According to an embodiment of the present invention, the storage module includes: an acquisition unit, configured to acquire information on the text segment selected by the user in the electronic book; an information generation unit, configured to receive user input for the text segment Note content and/or underline, generate note information and/or underline information corresponding to the text segment according to the information of the text segment and the note content and/or underline information; a storage unit is used to save the Note information and/or underline information.
根据本发明的一实施方式,其中所述存储模块还包括:书评获取单元,用于获取相应的电子书籍的用户评论内容,根据所述用户评论内容生成对应所述电子书籍的书评信息;书评保存单元,用于保存所述书评信息。According to an embodiment of the present invention, the storage module further includes: a book review obtaining unit, configured to obtain user review content of a corresponding electronic book, and generate book review information corresponding to the electronic book according to the user review content; book review storage The unit is used to save the book review information.
根据本发明的一实施方式,其中所述电子书生成模块包括:第一目录生成单元,用于根据所述笔记信息和/或划线信息获取待生成电子书的一级目录;第二目录生成单元,用于根据所述书评信息获取该待生成电子书的一级目录;章节生成单元,用于根据所述目录信息获取该待生成电子书的对应的章节。According to an embodiment of the present invention, wherein the e-book generating module includes: a first catalog generating unit, configured to obtain a first-level catalog of an e-book to be generated according to the note information and/or underline information; A unit, configured to obtain the first-level catalog of the electronic book to be generated according to the book review information; a chapter generation unit, configured to obtain corresponding chapters of the electronic book to be generated according to the directory information.
根据本发明的另一个方面,还提供一种用户终端,包括:显示器,用于显示电子书籍信息;输入装置,用于接收用户数据;通信装置,用于向服务器发送关联存储所述用户数据和相应的电子书籍信息的请求和生成包括所述用户数据和关联的所述电子书籍信息的电子书的请求。According to another aspect of the present invention, there is also provided a user terminal, including: a display, used to display electronic book information; an input device, used to receive user data; a communication device, used to send the associated stored user data and A corresponding request for electronic book information and a request for generating an electronic book including the user data and the associated electronic book information.
根据本发明的另一个方面,还提供一种服务器,包括:通信模块,用于接收用户终端发送的存储请求和生成电子书的请求;存储模块,用于关联存储用户数据和相应的电子书籍信息;电子书生成模块,用于根据所述用户数据和所述电子书籍信息,生成包括所述用户数据和关联的所述电子书籍信息的预定格式的电子书。According to another aspect of the present invention, there is also provided a server, including: a communication module, configured to receive a storage request sent by a user terminal and a request to generate an e-book; a storage module, configured to associate and store user data and corresponding e-book information an e-book generation module, configured to generate an e-book in a predetermined format including the user data and the associated e-book information according to the user data and the e-book information.
本发明通过将用户在阅读应用软件中逐渐积累的大量用户数据例如笔记、划线、书评等进行自动收集、整理、排版和组装生成电子书,能够帮助用户节省大量时间,提高阅读和知识储备的效率。The present invention generates e-books by automatically collecting, arranging, typesetting and assembling a large amount of user data gradually accumulated by users in reading application software, such as notes, underlines, book reviews, etc., which can help users save a lot of time and improve the efficiency of reading and knowledge storage. efficiency.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本发明。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.
图1示意性示出根据本发明示例实施方式的创建电子书的方法的流程图;FIG. 1 schematically shows a flow chart of a method for creating an e-book according to an exemplary embodiment of the present invention;
图2示意性示出根据本发明示例实施方式的创建电子书的方法的流程图;FIG. 2 schematically shows a flow chart of a method for creating an e-book according to an exemplary embodiment of the present invention;
图3示意性示出根据本发明示例实施方式的创建电子书的方法的流程图;FIG. 3 schematically shows a flowchart of a method for creating an e-book according to an exemplary embodiment of the present invention;
图4示意性示出根据本发明示例实施方式的创建电子书的系统的框图;4 schematically shows a block diagram of a system for creating an e-book according to an exemplary embodiment of the present invention;
图5示意性示出根据本发明示例实施方式的创建电子书的系统的框图。Fig. 5 schematically shows a block diagram of a system for creating an e-book according to an example embodiment of the present invention.
具体实施方式detailed description
现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本发明将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。附图仅为本发明的示意性图解,并非一定是按比例绘制。图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and fully convey the concept of example embodiments to those skilled in the art. The drawings are merely schematic illustrations of the invention and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus repeated descriptions thereof will be omitted.
此外,所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。在下面的描述中,提供许多具体细节从而给出对本发明的实施方式的充分理解。然而,本领域技术人员将意识到,可以实践本发明的技术方案而省略所述特定细节中的一个或更多,或者可以采用其它的方法、组元、系统、步骤等。在其它情况下,不详细示出或描述公知结构、方法、系统、实现、材料或者操作以避免喧宾夺主而使得本发明的各方面变得模糊。Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of embodiments of the invention. However, those skilled in the art will appreciate that one or more of the specific details may be omitted to practice the technical solutions of the present invention, or other methods, components, systems, steps, etc. may be adopted. In other instances, well-known structures, methods, systems, implementations, materials, or operations are not shown or described in detail to avoid obscuring aspects of the invention.
附图中所示的一些方框图是功能实体,不一定必须与物理或逻辑上独立的实体相对应。可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器系统和/或微控制器系统中实现这些功能实体。Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor systems and/or microcontroller systems.
以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的系统和方法的例子。The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of systems and methods consistent with aspects of the invention as recited in the appended claims.
图1示意性示出根据本发明示例实施方式的创建电子书的方法的流程图。Fig. 1 schematically shows a flowchart of a method for creating an e-book according to an exemplary embodiment of the present invention.
如图1所示,在步骤S110,关联存储用户数据和相应的电子书籍信息。As shown in FIG. 1, in step S110, user data and corresponding electronic book information are associated and stored.
现有技术中已经出现形式多样的电子书籍,这些电子书籍包含了对应实体纸质书籍的文本内容,可以在各种用户终端上进行显示以供读者阅读。如同阅读纸质书籍,用户在阅读电子书籍时,有可能希望在某些文本段落上标注个人的理解、感悟等内容或者突出标记重点内容。Various forms of electronic books have appeared in the prior art, and these electronic books contain text content corresponding to physical paper books, which can be displayed on various user terminals for readers to read. Just like reading paper books, when reading e-books, users may wish to mark their personal understanding, perception, etc. or highlight key content on some text paragraphs.
该用户终端具体可以是手机、平板电脑、PC机、电子书阅读器等设备。其中,用户终端中又可以安装有客户端模块,实现电子书籍的阅读以及本发明实施例中的其他功能。Specifically, the user terminal may be a device such as a mobile phone, a tablet computer, a PC, or an e-book reader. Wherein, a client module may be installed in the user terminal to realize reading of electronic books and other functions in the embodiments of the present invention.
在示例性实施例中,所述用户数据可例如为:笔记、划线、书评或利用手写笔(stylus)输入的手写轨迹等。该用户终端可以在屏幕上显示使用界面,藉以让用户通过使用界面存取或操作储存在用户终端中的电子书籍,例如供阅读或浏览显示在使用界面上的电子书籍的电子页面。In an exemplary embodiment, the user data may be, for example, notes, underlines, book reviews, or handwriting traces input with a stylus. The user terminal can display a user interface on the screen, so that the user can access or operate the electronic book stored in the user terminal through the user interface, such as reading or browsing the electronic pages of the electronic book displayed on the user interface.
在示例性实施例中,所述电子书籍信息可以包括当前显示的电子书籍的原文内容的部分和所述用户数据所对应的原文内容的页数或段落数。所述电子书籍信息还可以包括所述电子书籍的书名、作者、出版商、国际标准书号、出版地、出版日期或用户自订标签等。In an exemplary embodiment, the electronic book information may include part of the original content of the currently displayed electronic book and the number of pages or paragraphs of the original content corresponding to the user data. The electronic book information may also include the title, author, publisher, ISBN, place of publication, publication date or user-defined tags of the electronic book.
在示例性实施例中,所述用户数据可被记录在独立于电子书籍的电子页面的笔记数据层。笔记数据层可为具有透明背景或半透明背景的虚拟图层,以避免堆迭在电子书的电子页面上而遮蔽电子页面的内容。由于笔记数据层独立于电子书的电子页面且堆迭于电子页面之上,而非直接将用户数据记录在电子书的电子页面,故使用者通过使用界面在笔记数据层上增删或修改用户数据时,不会造成电子书籍原始内容的变动。笔记数据层则因其独立于电子书的电子页面而储存。In an exemplary embodiment, the user data may be recorded in a note data layer separate from the electronic pages of the electronic book. The note data layer can be a virtual layer with a transparent background or a translucent background, so as to avoid being stacked on the electronic page of the electronic book and covering the content of the electronic page. Since the note data layer is independent of the electronic page of the e-book and is stacked on the electronic page, instead of directly recording user data on the electronic page of the e-book, the user can add, delete or modify user data on the note data layer through the user interface , it will not cause changes to the original content of the e-book. The note data layer is stored independently of the electronic pages of the electronic book.
在示例性实施例中,所述电子书籍来自电子书籍全文数据库。用户从所述电子书籍全文数据库中获得电子书籍并显示所述电子书籍的电子文本。该电子书籍全文数据库保存有具备版权的所有电子版书籍的全本数据。这里,获得电子书籍的方式可以是实时地在线浏览后台的电子书籍全文数据库中的相关电子书籍,也可以是将电子书籍全文数据库中的相关电子书籍下载到用户终端本地进行浏览。In an exemplary embodiment, the electronic book is from an electronic book full-text database. The user obtains the electronic book from the electronic book full-text database and displays the electronic text of the electronic book. The full-text database of electronic books saves the full-text data of all electronic books with copyright. Here, the way to obtain the e-books can be to browse the related e-books in the background e-book full-text database online in real time, or download the related e-books in the e-book full-text database to the user terminal for local browsing.
在示例性实施例中,所述用户数据和相应的电子书籍信息可以关联保存在所述用户终端,当所述用户终端中存储的内容较多时,可以将所述用户数据和相应的电子书籍信息关联保存在服务器端。In an exemplary embodiment, the user data and corresponding electronic book information may be associated and stored in the user terminal, and when the user terminal stores a large amount of content, the user data and corresponding electronic book information may be Associations are saved on the server side.
在实际应用场景中,用户打开用户终端上的客户端(例如,某一个具体的阅读应用软件),当用户开始在客户端写笔记/划线/写书评时,将用户输入的用户数据通过客户端向服务器发起存储请求,服务器将所述用户数据和相应的电子书籍信息关联存储到数据库中。In an actual application scenario, the user opens the client terminal on the user terminal (for example, a specific reading application software), and when the user starts to write notes/underlines/write book reviews on the client terminal, the user data entered by the user is passed through the client The terminal initiates a storage request to the server, and the server associates and stores the user data and corresponding electronic book information in the database.
在步骤S120,生成包括所述用户数据和关联的所述电子书籍信息的电子书。In step S120, an electronic book including the user data and the associated electronic book information is generated.
在示例性实施例中,其中所述生成包括所述用户数据和关联的所述电子书籍信息的电子书是按照预定策略生成的,其中所述预定策略包括根据电子书籍的类别和/或所述用户数据的生成时间生成所述电子书。In an exemplary embodiment, wherein the generating of the e-book including the user data and the associated e-book information is generated in accordance with a predetermined policy, wherein the predetermined policy includes according to the category of the e-book and/or the The e-book is generated at the generation time of the user data.
例如,可以按照电子书籍的书名将同一书名下来自不同用户或同一用户的关联存储的用户数据和相应的电子书籍信息生成到同一本电子书中,或者,也可以按照用户数据的生成时间将某一预设时间段内的关联存储的用户数据和相应的电子书籍信息生成到同一本电子书中,此时可以不区分这些用户数据是否是针对同一书名批注的。For example, according to the title of the e-book, user data and corresponding e-book information stored under the same title from different users or the same user can be generated into the same e-book, or it can also be generated according to the generation time of the user data The associated stored user data and corresponding e-book information within a certain preset period of time are generated into the same e-book, and at this time, it is not necessary to distinguish whether these user data are annotated for the same book title.
在示例性实施例中,首先自动检测用户关联存储的用户数据和相应的电子书籍信息是否达到可以创建电子书的预设阈值,如果未达到所述预设阈值,则暂时不执行创建所述电子书的步骤;如果达到所述预设阈值,向客户端发送创建电子书的提示信息,客户端显示所述提示信息,用于提示用户目前是否要生成电子书;若用户选择不创建,则暂时不执行创建所述电子书的步骤;若用户点击创建电子书,则所述客户端向服务器发起创建电子书请求,服务器读取所有关联存储的用户数据和相应的电子书籍信息创建成电子书。其中,所述预设阈值可以是用户自定义选择的或者系统自动设定的一个量值,本发明对此不作限定。In an exemplary embodiment, firstly, it is automatically detected whether the user data and the corresponding electronic book information stored in association with the user reach a preset threshold for creating an electronic book, and if the preset threshold is not reached, the creation of the electronic book will not be executed temporarily. Steps of e-book; if the preset threshold is reached, a prompt message to create an e-book is sent to the client, and the client displays the prompt message to prompt the user whether to generate an e-book at present; if the user chooses not to create an e-book, temporarily The step of creating the e-book is not executed; if the user clicks to create an e-book, the client sends a request to the server to create an e-book, and the server reads all associated stored user data and corresponding e-book information to create an e-book. Wherein, the preset threshold may be a value selected by the user or automatically set by the system, which is not limited in the present invention.
在示例性实施例中,服务器将用户名+“的笔记”文字以适合的字号居中生成封面,该封面可以是图片格式。In an exemplary embodiment, the server generates a cover by centering the user name + "notes" in a suitable font size, and the cover can be in a picture format.
本发明实施方式提供的一种创建电子书的方法,能够实现自动收集、整理用户笔记、划线、书评信息并创建成电子书,将能够帮助用户节省大量时间,提高阅读和知识储备的效率。A method for creating an e-book provided by the embodiment of the present invention can automatically collect and organize user notes, underlines, and book review information and create an e-book, which can help users save a lot of time and improve the efficiency of reading and knowledge storage.
图2示意性示出根据本发明示例实施方式的创建电子书的方法的流程图。Fig. 2 schematically shows a flowchart of a method for creating an e-book according to an exemplary embodiment of the present invention.
如图2所示,在步骤S210,获取用户在所述电子书籍中所选择的文本段的信息。As shown in FIG. 2 , in step S210 , the information of the text segment selected by the user in the electronic book is obtained.
在示例性实施例中,所述文本段的信息可以包括所述文本段所属电子书籍以及在该电子书籍中的位置信息。所述文本段的信息用户可以通过相关的输入工具,如电脑上的键盘、鼠标、触摸屏等,从显示的电子书籍文本中选择相关文本段,该相关文本段是用户希望标注笔记(例如,添加心得体会或更正发现的内容中的错误等)、划线的文本段。In an exemplary embodiment, the information of the text segment may include the electronic book to which the text segment belongs and the location information in the electronic book. The information user of described text segment can select relevant text segment from the displayed electronic book text by relevant input tools, such as keyboard, mouse, touch screen etc. experience or correction of errors found in the content, etc.), the lined text paragraph.
在示例性实施例中,客户端检测用户添加用户数据请求。例如,当用户通过鼠标的点选、双击或在触屏上滑动选中的电子书籍内容时,可确定用户想要添加用户数据。例如,当用户遇到了自己非常喜欢的或者是一些非常重要的、关键的内容时;或者当用户对阅读的内容有自己的想法和理解时;或者当电子书籍中内容存在错误时,用户可以对该内容添加用户数据例如笔记或批注或者对原文进行修改。In an exemplary embodiment, the client detects a user add user data request. For example, when the user clicks, double-clicks, or slides the selected e-book content on the touch screen, it can be determined that the user wants to add user data. For example, when the user encounters something he likes very much or some very important and key content; or when the user has his own ideas and understanding of the content he read; or when there is an error in the content of the e-book, the user can correct it The content adds user data such as notes or annotations or modifies the original text.
在示例性实施例中,客户端接收用户对添加图标的点击。当确定用户想要添加用户数据时,用户点击添加图标来添加用户数据。例如,可在用户选择电子书籍内容之后,显示电子书籍内容的屏幕会自动显示添加用户数据的图标(即添加图标),用户可通过点击该图标来对选中的内容添加用户数据。In an exemplary embodiment, the client receives a user click on an add icon. When it is determined that the user wants to add user data, the user clicks an add icon to add user data. For example, after the user selects the content of the e-book, the screen displaying the content of the e-book will automatically display an icon for adding user data (that is, an add icon), and the user can click the icon to add user data to the selected content.
例如,也可在显示电子书籍内容的屏幕上一直显示表示添加用户数据的图标,因此在用户想要添加用户数据时通过点击该图标即可实现添加用户数据。换句话说,也可通过用户点击添加用户数据的图标的行为来判断用户想要添加用户数据。For example, an icon representing adding user data may be always displayed on the screen displaying the content of the electronic book, so when the user wants to add user data, the user data can be added by clicking the icon. In other words, it may also be determined that the user wants to add user data through the behavior of the user clicking the icon for adding user data.
应该理解,以上只是举出显示添加用户数据的图标的示例,本发明不限于此。It should be understood that the above is just an example of displaying an icon for adding user data, and the present invention is not limited thereto.
判断用户选择用户数据的种类。例如,可在用户触屏点击添加图标之后,在触屏的下方自动显示要添加的用户数据的类型,例如,要添加的用户数据的类型包括:高亮、划线、笔记、批注和覆盖等。应该理解,这里只是举出添加用户数据的类型的示例,本发明不限于此。Determine the type of user data selected by the user. For example, after the user touches the screen and clicks the add icon, the type of user data to be added is automatically displayed at the bottom of the touch screen. For example, the type of user data to be added includes: highlighting, underlining, notes, annotations and overlays, etc. . It should be understood that this is just an example of the type of user data added, and the present invention is not limited thereto.
以高亮形式添加用户数据。当确定用户选择高亮模式的用户数据类型时(即,用户单击高亮图标),则将选中的文字附上一个默认的底色,使其高亮显示。用户还可以通过双击高亮图标,对高亮模式进行自定义,例如选择自己所喜爱的底色,对底色进行自定义。对高亮模式进行自定义的步骤包括:双击高亮图标,显示颜色框图,用户可以根据自己的喜爱,选择各种各样的颜色。然后选中的电子书籍内容就会被标注上用户所选的底色,以区别于其他的文字。Add user data in highlighted form. When it is determined that the user selects the user data type of the highlight mode (that is, the user clicks the highlight icon), a default background color is added to the selected text to make it highlight. Users can also customize the highlight mode by double-clicking the highlight icon, such as selecting their favorite background color and customizing the background color. The steps for customizing the highlight mode include: double-click the highlight icon to display the color frame diagram, and users can choose various colors according to their preferences. Then the selected e-book content will be marked with the background color selected by the user to distinguish it from other text.
以划线形式添加用户数据。当用户想对选择的内容进行划线标注时,则可单击划线图标。因此,将会对选择的内容以划线的形式添加用户数据。其中,划线的类型可包括直线、波浪线、间断线、双下划线和框图等。例如,当以框图的形式对电子书籍内容添加用户数据时,将以框图包围选择的内容。Add user data as a dash. When the user wants to mark the selected content with a line, he can click the line icon. Therefore, user data will be added in the form of a line to the selected content. Wherein, the type of underline may include straight line, wavy line, interrupted line, double underline and block diagram. For example, when adding user data to electronic book content in the form of a frame, the selected content will be surrounded by a frame.
用户可以通过双击划线图标,来对划线的格式进行自定义。对划线的格式进行自定义的步骤可包括:根据双击划线图标的行为,显示划线的格式的菜单,选择划线的格式。The user can customize the format of the dashed line by double-clicking the dashed line icon. The step of customizing the format of the dashed line may include: displaying a menu of the format of the dashed line according to the behavior of double-clicking the dashed line icon, and selecting the format of the dashed line.
以批注形式添加笔记。当用户想以文字批注的形式添加笔记时,用户可单击批注图标,则在电子书中选中的内容下方会自动空出一行,提供给用户进行笔记的添加。同时也可以通过双击批注图标,来对添加的文字的格式进行自定义,包括字体大小和格式等。Add notes as annotations. When the user wants to add notes in the form of text annotations, the user can click the annotation icon, and a line will be automatically vacated under the selected content in the e-book for the user to add notes. At the same time, you can also customize the format of the added text by double-clicking the comment icon, including font size and format.
以删除或覆盖形式添加用户数据。当用户发现原文中的一些错误,要对其进行纠正时,可以使用覆盖这一笔记类型。用户可通过单击覆盖图标来实现。在覆盖图标被点击之后,屏幕上会显示子菜单,用户可选择以文本进行覆盖或以线条进行覆盖。Add user data in delete or overwrite form. When users find some errors in the original text and want to correct them, they can use the overwrite note type. Users can do so by clicking the overlay icon. After the overlay icon is clicked, a submenu is displayed on the screen, and the user can choose to overlay with text or overlay with lines.
例如,当用户选择文本时,则可在电子书选中内容的上方出现文字编辑区,用户可以在其中添加正确的信息。当用户选择线条时,则以线条格式覆盖。同样,用户可以双击文本图标,对文本的格式进行自定义,例如选择用于覆盖原文内容的字体和格式等。For example, when the user selects text, a text editing area may appear above the selected content in the e-book, where the user can add correct information. When the user selects a line, it is overlaid in the line format. Similarly, the user can double-click the text icon to customize the format of the text, such as selecting a font and format for overwriting the original content.
在步骤S220,接收用户针对所述文本段输入的笔记内容和/或划线,根据所述文本段的信息和所述笔记内容和/或划线生成对应所述文本段的笔记信息和/或划线信息。In step S220, receive the note content and/or underline input by the user for the text segment, and generate note information and/or corresponding to the text segment according to the information of the text segment and the note content and/or underline Underline information.
在示例性实施例中,其中所述笔记信息可以包括笔记内容、所述文本段的信息,所述划线信息可以包括所述文本段的信息、划线的作者信息。In an exemplary embodiment, the note information may include note content and information about the text segment, and the underline information may include information about the text segment and underline author information.
在示例性实施例中,其中所述笔记信息还可以包括笔记内容的作者信息、该笔记内容的编辑时间、更新时间、标题、归属书籍等标识信息。所述划线信息还可以线的样式、线的粗细、线的颜色等信息。In an exemplary embodiment, the note information may further include identification information such as author information of the note content, editing time of the note content, update time, title, and attributable book. The line marking information may also include information such as line style, line thickness, and line color.
在示例性实施例中,当用户输入的笔记为手写输入的字符时,对所述手写输入的字符进行手写识别,将识别后的结果作为笔记内容。In an exemplary embodiment, when the note input by the user is a handwritten input character, handwriting recognition is performed on the handwritten input character, and the recognized result is used as the content of the note.
在步骤S230,保存所述笔记信息和/或划线信息。In step S230, save the note information and/or underline information.
建立所述笔记内容和/或划线与对应电子书籍中的文本段之间的关联关系。将该笔记信息和/或划线信息生成一独立于该电子书籍的XML格式的文件发送至服务器。An association between the content of the note and/or the underline and the text segment in the corresponding electronic book is established. Generate the note information and/or underline information into a file in XML format independent of the electronic book and send it to the server.
在步骤S240,获取相应的电子书籍的用户评论内容,根据所述用户评论内容生成对应所述电子书籍的书评信息。In step S240, user comment content of the corresponding electronic book is acquired, and book review information corresponding to the electronic book is generated according to the user comment content.
在步骤S250,保存所述书评信息。In step S250, the book review information is saved.
在步骤S260,生成包括笔记信息和/或划线信息和/或书评信息的电子书。In step S260, an electronic book including note information and/or underline information and/or book review information is generated.
图3示意性示出根据本发明示例实施方式的创建电子书的方法的流程图。Fig. 3 schematically shows a flowchart of a method for creating an e-book according to an exemplary embodiment of the present invention.
如图3所示,在步骤S310,保存所述笔记信息和/或划线信息和/或书评信息。As shown in FIG. 3, in step S310, the note information and/or underline information and/or book review information are saved.
在步骤S320,根据所述笔记信息和/或划线信息获取待生成电子书的一级目录。In step S320, the primary directory of the e-book to be generated is obtained according to the note information and/or underline information.
在步骤S330,根据所述书评信息获取该待生成电子书的一级目录。In step S330, the primary directory of the to-be-generated e-book is obtained according to the book review information.
在步骤S340,根据目录信息获取该待生成电子书的对应的章节。In step S340, the corresponding chapters of the to-be-generated e-book are acquired according to the catalog information.
在示例性实施例中,服务器按照以上整理出来的目录信息生成对应的章节,章节的内容这样处理:In an exemplary embodiment, the server generates corresponding chapters according to the directory information sorted out above, and the contents of the chapters are processed as follows:
若为笔记,则为以下格式:If it is a note, it is in the following format:
原文引用:XXXXX(此处为引用的原文内容)Original quote: XXXXX (here is the original content of the quote)
笔记:YYYYY(此处为笔记内容)Note: YYYYY (Here is the content of the note)
若为划线,则为以下格式:If it is a dash, it is in the following format:
原文引用:XXXXX(此处为引用的原文内容)Original quote: XXXXX (here is the original content of the quote)
书评单独一个一级目录,内容格式为:There is a separate first-level directory for book reviews, and the content format is:
书评列表:List of book reviews:
书评1:ZZZZZ(此处为书评内容);Book review 1: ZZZZZ (here is the content of the book review);
书评2:ZZZZZ(此处为书评内容)。Book Review 2: ZZZZZ (here is the content of the book review).
上述章节内容及其格式只是一个示例,其还可以按照用户的不同需求配置不同的章节内容及相应的格式。The above chapter contents and their formats are just examples, and different chapter contents and corresponding formats can also be configured according to different needs of users.
在示例性实施例中,所述笔记对应的原文内容的获取包括:根据笔记中预定的标记符号,获取所述标记符号标记的原文内容;根据笔记中的字符,获取所述字符对应区域内的原文内容;或者,当所述笔记包含预定的标记符号时,获取所述标记符号标记的原文内容;当所述笔记不包含预定的标记符号,仅包含字符时,获取所述字符对应区域内的原文内容;或者,当所述笔记包含字符时,获取所述字符对应区域内的原文内容;当所述笔记不包含字符,仅包含预定的标记符号时,获取所述标记符号标记的原文内容。In an exemplary embodiment, the acquisition of the original text content corresponding to the note includes: according to the predetermined mark symbol in the note, obtaining the original text content marked by the mark symbol; according to the character in the note, obtaining the text in the area corresponding to the character Original text content; or, when the note contains a predetermined mark symbol, obtain the original text content marked by the mark symbol; when the note does not contain a predetermined mark symbol and only contains characters, obtain the text in the area corresponding to the character Original text content; or, when the note contains characters, obtain the original text content in the area corresponding to the characters; when the note does not contain characters but only contains predetermined mark symbols, obtain the original text content marked by the mark symbols.
在当前页面上记录用户输入的笔记之前,所述方法还包括:创建包括用户名和笔记表的笔记数据库;其中,所述笔记表包括:笔记所有者、笔记内容、原文内容。将所述笔记和所述笔记对应的原文内容相关联,并保存所述笔记和所述原文内容,即将所述笔记和所述笔记对应的原文内容,对应存储到所述笔记数据库的笔记表中的一个笔记条目下的“笔记”和“原文内容”中。Before recording the note input by the user on the current page, the method further includes: creating a note database including a user name and a note table; wherein, the note table includes: note owner, note content, and original text content. Associating the note with the original text content corresponding to the note, and storing the note and the original text content, that is, storing the note and the original text content corresponding to the note in the note table of the note database In "Notes" and "Original Content" under a note entry of .
具体的,由于用户输入的笔记一般包括标记符号和字符,所以笔记对应的原文内容的获取,可以以下三种方式进行:第一种,根据笔记中预定的标记符号,获取该标记符号标记的原文内容;根据笔记中的字符,获取该字符对应区域内的原文内容。本方式是假设标记符号和字符为同等级别,分别进行原文提取处理。第二种,当笔记包含预定的标记符号时,获取该标记符号标记的原文内容;当笔记不包含预定的标记符号,仅包含字符时,获取该字符对应区域内的原文内容。本方式是假设标记符号级别高于字符,即当笔记中同时包含标记符号和字符时,仅按标记符号提取原文。第三种,当笔记包含字符时,获取该字符对应区域内的原文内容;当笔记不包含字符,仅包含预定的标记符号时,获取该标记符号标记的原文内容。本方式是假设字符级别高于标记符号,即当笔记中同时包含标记符号和字符时,仅按字符提取原文。Specifically, since the notes input by the user generally include symbols and characters, the original content corresponding to the notes can be acquired in the following three ways: first, according to the predetermined symbols in the notes, obtain the original text marked by the symbols Content: According to the character in the note, get the original text content in the area corresponding to the character. In this method, it is assumed that the mark symbols and characters are at the same level, and the original text extraction processing is performed separately. Second, when the note contains a predetermined mark symbol, obtain the original text content marked by the mark symbol; when the note does not contain the predetermined mark symbol but only contains characters, obtain the original text content in the area corresponding to the character. In this method, it is assumed that the level of mark symbols is higher than that of characters, that is, when notes contain both mark symbols and characters, the original text is only extracted according to mark symbols. The third method is to obtain the original text content in the area corresponding to the character when the note contains characters; to obtain the original text content marked by the mark symbol when the note does not contain characters but only contains predetermined marks. This method assumes that the level of characters is higher than that of marks, that is, when a note contains both marks and characters, the original text is only extracted by characters.
在示例性实施例中,所述笔记表包含:笔记所有者、笔记索引号、原文属性、原文内容、笔记内容等属性。In an exemplary embodiment, the note table includes: note owner, note index number, original text attribute, original text content, note content and other attributes.
本实施例的一个笔记表示例为:An example of a notebook in this embodiment is:
note_table(INDEX,BOOKNUM,BOOKNAME,BOOKPAGE,BEGINLINE,BEGINPOS,ENDLINE,ENDPOS,CONTEXT,NOTE,OWNER,ISOPEN)。note_table(INDEX, BOOKNUM, BOOKNAME, BOOKPAGE, BEGINLINE, BEGINPOS, ENDLINE, ENDPOS, CONTEXT, NOTE, OWNER, ISOPEN).
具体的,笔记表的各属性如下:笔记索引号(INDEX):标识同一书目下的笔记序号,按照创建时间从小到大依次排序。文档索引号(BOOKNUM):标识用户阅读的文档在电子书籍中存储的索引号。每个文档索引号应在同一电子书中唯一。此文档索引号作为查询笔记的重要依据。在数据库中增加此字段可防止出现文档重名的情况。文档名(BOOKNAME):用户阅读的文档名。文档页码(BOOKPAGE):笔记所在的文档页码。一个文档页码可能对应0至多条笔记。被选择文本段开始行(BEGINLINE):被选择文本段的起始行号。被选择文本段开始位置(BEGINPOS):被选择文本段的在起始行中由第N个字符开始,这个开始位置由BEGINPOS表示。被选择文本段结束行(ENDLINE):被选择文本段的结束行号。被选择文本段结束位置(ENDPOS):被选择文本段的在结束行中在第N个字符位置结束,这个结束位置由ENDPOS表示。Specifically, the attributes of the note table are as follows: note index number (INDEX): identifies the serial number of the note under the same bibliography, and is sorted in ascending order of creation time. Document index number (BOOKNUM): identifies the index number stored in the electronic book for the document read by the user. Each document index number should be unique within the same eBook. This document index number is an important basis for querying notes. Adding this field in the database prevents the occurrence of duplicate document names. Document name (BOOKNAME): the name of the document read by the user. Document page number (BOOKPAGE): the page number of the document where the note is located. A document page number may correspond to 0 or more notes. The beginning line of the selected text segment (BEGINLINE): the starting line number of the selected text segment. Selected text segment start position (BEGINPOS): The selected text segment starts from the Nth character in the start line, and this start position is represented by BEGINPOS. The end line of the selected text segment (ENDLINE): the end line number of the selected text segment. The end position of the selected text segment (ENDPOS): the selected text segment ends at the Nth character position in the end line, and this end position is represented by ENDPOS.
由以上被选择文本段开始行(BEGINLINE)、被选择文本段开始位置(BEGINPOS)、被选择文本段结束行(ENDLINE)和被选择文本段结束位置(ENDPOS)四个属性可以确定被选择文本段的内容范围。The selected text segment can be determined by the above four attributes of the selected text segment start line (BEGINLINE), selected text segment start position (BEGINPOS), selected text segment end line (ENDLINE) and selected text segment end position (ENDPOS) content range.
被选择文本段内容(CONTEXT):即上述的原文内容。笔记内容(NOTE)。笔记所有者(OWNER):笔记表通过此属性与用户名建立关联。The content of the selected text segment (CONTEXT): that is, the content of the above-mentioned original text. Note content (NOTE). Note owner (OWNER): The note table is associated with the user name through this attribute.
在示例性实施例中,创建的电子书为基于Epub(electronic publication,一种自由的开放的电子书标准)的电子书,该电子书的内容以HTML(HyperText Mark-upLanguage,超文本标记语言)文件格式进行展示,该电子书的文件名为Epub文件名、该电子书的章节文件名为HTML文件名。在其他实施方式中,该电子书并不限定为Epub格式的电子书,还可为其他格式的电子书,例如还可以为版式文件(图片)。In an exemplary embodiment, the e-book created is an e-book based on Epub (electronic publication, a free and open e-book standard), and the content of the e-book is written in HTML (HyperText Mark-upLanguage, hypertext markup language) The file format of the e-book is displayed, the file name of the e-book is the Epub file name, and the chapter file name of the e-book is the HTML file name. In other implementation manners, the e-book is not limited to an e-book in Epub format, but may also be an e-book in other formats, such as a layout file (picture).
其中HTML文件格式相对于版式排版而言,对文档包含的文字、数字、表格和图形图像进行特定的版排方式处理,保存后的内容是原始的编辑元素,用户通过阅读软件能查看到编辑后的排版风格,并且可以在不同的缩放比率间自适应版面大小显示。在小屏幕的电子书阅读器上则最好的表现是放大后能够对初始版面自动重排,根据屏幕宽度调整段落的换行以适应单页的视野范围。版式排版相对于流式排版最大的区别则是其版面是固定的,阅读过程中始终以原始编辑版式显示,缩放后不会自动根据页宽进行重新排版。如利用扫描得到的初始图片稿件制成的PDF文件,还有一些就是固定版式制作的PDF图文与纯文本文件。Among them, the HTML file format is relative to the layout typesetting, and the text, numbers, tables and graphics images contained in the document are processed in a specific typesetting manner. The saved content is the original editing element, and the user can view the edited content through the reading software. Layout style, and can be displayed in an adaptive layout size between different zoom ratios. On e-book readers with small screens, the best performance is that the initial layout can be automatically rearranged after zooming in, and the line breaks of paragraphs can be adjusted according to the screen width to fit within the field of view of a single page. The biggest difference between layout typesetting and flow typesetting is that its layout is fixed, and it is always displayed in the original edited layout during the reading process, and will not be automatically retypeset according to the page width after zooming. For example, PDF files made from scanned initial image manuscripts, and some are PDF graphic and plain text files made in a fixed format.
在示例性实施例中,所述电子书目录栏可以根据所述用户数据添加的时间顺序进行排列;章节栏将所述用户数据按照原电子书籍的章节进行归类排列,用户可以根据原电子书籍的章节选择自己所要查阅的用户数据;所述电子书也可以按照所述用户数据的类型进行排列。In an exemplary embodiment, the e-book catalog column can be arranged according to the chronological order in which the user data is added; the chapter column sorts the user data according to the chapters of the original e-book, and the user can sort the user data according to the original e-book Select the user data to be consulted in the chapters; the e-books can also be arranged according to the type of the user data.
在示例性实施例中,服务器更新流式文档的目录链接地址,即将每个目录项链接指向刚生成的对应的章节;服务器将所有内容生成Epub文件和PDF文件;客户端下载或者浏览新生成的电子书。In an exemplary embodiment, the server updates the directory link address of the streaming document, that is, each directory item link points to the corresponding chapter just generated; the server generates Epub files and PDF files for all content; the client downloads or browses the newly generated e-book.
本发明实施方式提供的一种创建电子书的方法,能够对散落在各本电子出版物中的笔记、划线、书评等进行自动收集、整理和排版,以流式文档(epud)或者版本文档(PDF)电子书的形式进行展现。A method for creating an e-book provided by the embodiment of the present invention can automatically collect, organize and typeset the notes, underlines, book reviews, etc. (PDF) e-book format.
图4示意性示出根据本发明示例实施方式的创建电子书的系统的框图。Fig. 4 schematically shows a block diagram of a system for creating an e-book according to an example embodiment of the present invention.
如图4所示,该系统包括:存储模块410,用于关联存储用户数据和相应的电子书籍信息;电子书生成模块420,用于生成包括所述用户数据和关联的所述电子书籍信息的电子书。As shown in FIG. 4 , the system includes: a storage module 410 for associating and storing user data and corresponding electronic book information; an electronic book generation module 420 for generating a file including the user data and the associated electronic book information e-book.
本发明实施例中的模块对应上述方法实施例中的内容,在此不再详述。The modules in the embodiments of the present invention correspond to the content in the above method embodiments, and will not be described in detail here.
图5示意性示出根据本发明示例实施方式的创建电子书的系统的框图。Fig. 5 schematically shows a block diagram of a system for creating an e-book according to an example embodiment of the present invention.
如图5所示,该系统包括:存储模块510,用于关联存储用户数据和相应的电子书籍信息;电子书生成模块520,用于生成包括所述用户数据和关联的所述电子书籍信息的电子书。As shown in Figure 5, the system includes: a storage module 510 for associating and storing user data and corresponding e-book information; an e-book generating module 520 for generating an e-book including the user data and associated e-book information e-book.
其中所述存储模块510包括:获取单元511,用于获取用户在所述电子书籍中所选择的文本段的信息;信息生成单元512,用于接收用户针对所述文本段输入的笔记内容和/或划线,根据所述文本段的信息和所述笔记内容和/或划线生成对应所述文本段的笔记信息和/或划线信息;保存单元513,用于保存所述笔记信息和/或划线信息。其中,所述信息生成单元512分别与所述获取单元511和所述保存单元513连接。Wherein the storage module 510 includes: an acquisition unit 511, configured to acquire the information of the text segment selected by the user in the electronic book; an information generation unit 512, configured to receive the note content and/or inputted by the user for the text segment Or underline, generate note information and/or underline information corresponding to the text segment according to the information of the text segment and the note content and/or underline; the storage unit 513 is used to save the note information and/or underline information or underline information. Wherein, the information generation unit 512 is connected to the acquisition unit 511 and the storage unit 513 respectively.
所述存储模块510还包括:书评获取单元514,用于获取相应的电子书籍的用户评论内容,根据所述用户评论内容生成对应所述电子书籍的书评信息;书评保存单元515,用于将所述书评信息添加到所述电子书中。其中,所述书评保存单元515和所述书评获取单元514连接。The storage module 510 also includes: a book review acquisition unit 514, configured to obtain the user comment content of the corresponding electronic book, and generate book review information corresponding to the electronic book according to the user comment content; a book review storage unit 515, used to save the Book review information is added to the e-book. Wherein, the book review storage unit 515 is connected to the book review acquisition unit 514 .
其中所述电子书生成模块520包括:第一目录生成单元521,用于根据所述笔记信息和/或划线信息获取待生成电子书的一级目录;第二目录生成单元522,用于根据所述书评信息获取该待生成电子书的一级目录;章节生成单元523,用于根据所述目录信息获取该待生成电子书的对应的章节。其中,所述第一目录生成单元521和所述第二目录生成单元522分别连接所述章节生成单元523。Wherein the e-book generation module 520 includes: a first catalog generation unit 521, which is used to obtain the first-level catalog of the electronic book to be generated according to the note information and/or underline information; a second catalog generation unit 522, which is used to The book review information obtains the first-level catalog of the electronic book to be generated; the chapter generating unit 523 is configured to obtain the corresponding chapters of the electronic book to be generated according to the catalog information. Wherein, the first catalog generating unit 521 and the second catalog generating unit 522 are respectively connected to the chapter generating unit 523 .
本发明实施例中的其它内容参考上述实施例中的内容,在此不再赘述。For other content in the embodiments of the present invention, refer to the content in the foregoing embodiments, and details are not repeated here.
本发明实施方式还公开了一种用户终端,包括:显示器,用于显示电子书籍信息;输入装置,用于接收用户数据;通信装置,用于向服务器发送关联存储所述用户数据和相应的电子书籍信息的请求和生成包括所述用户数据和关联的所述电子书籍信息的电子书的请求。The embodiment of the present invention also discloses a user terminal, including: a display, used to display electronic book information; an input device, used to receive user data; a communication device, used to send the associated storage of the user data and the corresponding electronic A request for book information and a request for generating an electronic book including said user data and associated said electronic book information.
在示例性实施例中,所述用户终端可为电子书阅读器、平板计算机或其他智能型电子装置,其中包括通信装置、处理器、储存装置、显示器及输入装置。其中,通信装置、储存装置、显示器及输入装置分别连接于处理器以接受处理器的控制。In an exemplary embodiment, the user terminal may be an e-book reader, a tablet computer or other intelligent electronic devices, including a communication device, a processor, a storage device, a display and an input device. Wherein, the communication device, the storage device, the display and the input device are respectively connected to the processor to accept the control of the processor.
通讯装置可为具有短程通讯功能的近场通讯(NFC)模块、无线射频识别(RFID)模块或蓝芽(Bluetooth)模块等短程通讯模块芯片。由于近场通讯技术具有设定简单、易于连结的特性,本例中即以近场通讯模块芯片为例。处理器则可为用户终端当中的主要运算核心,例如为中央处理器(CPU)、嵌入式控制器(EC)或数字讯号处理器(DSP),或是被设计为专用于处理电子书的笔记共享作业的专用集成芯片(ASIC)或现场可编程逻辑门芯片(FPGA)。The communication device can be a short-range communication module chip such as a near field communication (NFC) module, a radio frequency identification (RFID) module, or a Bluetooth module with a short-range communication function. Since the near field communication technology has the characteristics of simple setting and easy connection, the near field communication module chip is used as an example in this example. The processor can be the main computing core in the user terminal, such as a central processing unit (CPU), an embedded controller (EC) or a digital signal processor (DSP), or it is designed to process e-book notes Application-specific integrated chips (ASICs) or field-programmable logic gate chips (FPGAs) that share jobs.
储存装置用以储存电子书籍以及用户所编辑、或来自其他电子装置的用户数据。储存装置具体可为例如为快闪存储器、可编程只读存储器等非挥发性存储器(NVM)芯片。显示器提供使用界面以显示电子书籍的电子页面及相关的用户数据,而输入装置则用以供使用者操作,以产生控制使用界面上的电子书和/或用户数据。显示器及输入装置可整合为具有触控面板的触控式屏幕。The storage device is used for storing electronic books and user data edited by the user or from other electronic devices. Specifically, the storage device may be, for example, a non-volatile memory (NVM) chip such as a flash memory or a programmable read-only memory. The display provides a user interface to display the electronic pages of the electronic book and related user data, and the input device is used for the user to operate to generate and control the electronic book and/or user data on the user interface. The display and input device can be integrated into a touch screen with a touch panel.
在示例性实施例中,每一本电子书籍除了具有多个电子页面以记载文字、图片或图表等内容之外,还包括用以识别所述电子书籍的书本信息,例如书名、作者、出版商、国际标准书号(ISBN)、出版地、出版日期,甚至包括使用者自订标签等。所述的书本信息连同电子书的电子页面一并储存在储存装置当中。当处理器从储存装置读取电子书籍并传送到显示器的使用界面显示时,会根据显示器上使用界面的显示设定信息而调整电子页面的显示模式以适应显示设定信息。所述的显示设定信息包括使用界面的长、宽比例以及分辨率。举例来说,处理器可能根据使用界面的长、宽比例而调整每一电子页面中的行数或列数,或每一行/列所能包含的最大字数,以便将电子页面的内容完整而平均地显示在使用界面上。故而,相同的电子书籍在具有不同显示设定信息的用户终端的使用界面上所呈现的排版方式可能略有不同。In an exemplary embodiment, in addition to having a plurality of electronic pages to record content such as text, pictures or diagrams, each electronic book also includes book information for identifying the electronic book, such as title, author, publication, etc. Trader, International Standard Book Number (ISBN), Place of Publication, Date of Publication, and even user-defined labels. The book information is stored together with the electronic pages of the electronic book in the storage device. When the processor reads the electronic book from the storage device and transmits it to the user interface of the display, it adjusts the display mode of the electronic page according to the display setting information of the user interface on the display to adapt to the display setting information. The display setting information includes the length, width ratio and resolution of the user interface. For example, the processor may adjust the number of rows or columns in each electronic page, or the maximum number of words that each row/column can contain according to the ratio of the length and width of the user interface, so that the content of the electronic page can be completely and evenly displayed on the user interface. Therefore, the typesetting manners of the same electronic book on the user interface of the user terminal with different display setting information may be slightly different.
本发明实施方式还公开了一种服务器,包括:通信模块,用于接收用户终端发送的存储请求和生成电子书的请求;存储模块,用于关联存储用户数据和相应的电子书籍信息;电子书生成模块,用于根据所述用户数据和所述电子书籍信息,生成包括所述用户数据和关联的所述电子书籍信息的预定格式的电子书。The embodiment of the present invention also discloses a server, including: a communication module, used to receive a storage request sent by a user terminal and a request to generate an e-book; a storage module, used to associate and store user data and corresponding e-book information; A generating module, configured to generate an electronic book in a predetermined format including the user data and the associated electronic book information according to the user data and the electronic book information.
在示例性实施例中,所述用户终端主要是产生笔记、划线以及书评,所述服务器主要处理笔记、划线以及书评的存储和生成电子书,生成的电子书可以为流式文档(epud)或者版本文档(PDF)。In an exemplary embodiment, the user terminal mainly generates notes, underlines, and book reviews, and the server mainly handles storage of notes, underlines, and book reviews, and generates an e-book, and the generated e-book can be a streaming document (epud ) or release documentation (PDF).
本发明公开的一种创建电子书的方法、系统及其用户终端和服务器,能够帮助用户收集和整理散落在各本电子书籍中间的笔记、划线和书评;帮助用户把用户数据生成电子书,方便用户使用;自动创建目录和索引,方便用户查阅和分享。The invention discloses a method and system for creating e-books and its user terminal and server, which can help users collect and organize notes, underlines, and book reviews scattered among various e-books; help users generate e-books from user data, It is convenient for users to use; automatically create directories and indexes, which are convenient for users to consult and share.
本发明实施例中其它内容参考上述发明实施例中的内容,在此不再赘述。For other content in the embodiments of the present invention, refer to the content in the foregoing embodiments of the invention, and details are not repeated here.
图1、2和3示出根据本发明示例实施方式的创建电子书的方法的流程图。该方法可例如利用如图4或5所示的创建电子书的系统实现,但本发明不限于此。需要注意的是,图1、2和3仅是根据本发明示例实施方式的方法所包括的处理的示意性说明,而不是限制目的。易于理解,图1、2和3所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块/进程/线程中同步或异步执行的。1, 2 and 3 illustrate flowcharts of a method of creating an e-book according to an exemplary embodiment of the present invention. The method can be implemented, for example, by using the system for creating an e-book as shown in FIG. 4 or 5, but the present invention is not limited thereto. It should be noted that FIGS. 1 , 2 and 3 are only schematic illustrations of processes included in the method according to example embodiments of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in Figures 1, 2 and 3 do not imply or limit the chronological order of these processes. In addition, it is also easy to understand that these processes may be executed synchronously or asynchronously in multiple modules/processes/threads, for example.
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本发明实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、移动终端、或者网络设备等)执行根据本发明实施方式的方法。Through the description of the above implementations, those skilled in the art can easily understand that the example implementations described here can be implemented by software, or by combining software with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, and the software product can be stored in a non-volatile storage medium (which can be a CD-ROM, U disk, mobile hard disk, etc.) or on a network , including several instructions to make a computing device (which may be a personal computer, server, mobile terminal, or network device, etc.) execute the method according to the embodiment of the present invention.
本发明公开的创建电子书的方法、系统及其终端和服务器,减少了复核与打包环节的空档期,从而将时间更高效的利用起来,减少人工操作,提高了效率,缩短了订单出库时间。此外,通过将不同类型的订单进行不同打包台的分类,减少了库房操作的复杂度。同时,本发明还能够在订单所处周转箱还在传送带上时,如订单状态变更为取消,电子扫描器所扫描到的容器将在最近的一场出口被弹出,流向到问题订单处理区,这样复核员可以在指定区域即问题订单处理区专一处理问题订单,减少同时处理多种类型订单造成的失误。The method and system for creating e-books and its terminal and server disclosed in the present invention reduce the gap period in the review and packaging links, thereby making more efficient use of time, reducing manual operations, improving efficiency, and shortening the delivery time of orders time. In addition, by sorting different types of orders into different packing stations, the complexity of warehouse operations is reduced. At the same time, when the turnover box where the order is located is still on the conveyor belt, if the order status changes to cancel, the container scanned by the electronic scanner will be ejected at the nearest exit and flow to the problem order processing area. In this way, the reviewer can focus on processing problem orders in the designated area, that is, the problem order processing area, and reduce errors caused by processing multiple types of orders at the same time.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本发明未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。Other embodiments of the invention will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present invention, these modifications, uses or adaptations follow the general principles of the present invention and include common knowledge or conventional technical means in the technical field not disclosed in the present invention . The specification and examples are to be considered exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
以上具体地示出和描述了本发明的示例性实施方式。应可理解的是,本发明不限于这里描述的详细结构、设置方式或实现方法;相反,本发明意图涵盖包含在所附权利要求的精神和范围内的各种修改和等效设置。Exemplary embodiments of the present invention have been specifically shown and described above. It should be understood that the invention is not limited to the detailed structures, arrangements or methods of implementation described herein; on the contrary, the invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610158255.XA CN107203498A (en) | 2016-03-18 | 2016-03-18 | A kind of method, system and its user terminal and server for creating e-book |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610158255.XA CN107203498A (en) | 2016-03-18 | 2016-03-18 | A kind of method, system and its user terminal and server for creating e-book |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN107203498A true CN107203498A (en) | 2017-09-26 |
Family
ID=59904541
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610158255.XA Pending CN107203498A (en) | 2016-03-18 | 2016-03-18 | A kind of method, system and its user terminal and server for creating e-book |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107203498A (en) |
Cited By (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107967249A (en) * | 2017-12-25 | 2018-04-27 | 重庆宝力优特科技有限公司 | A kind of word storage method and device |
| CN109308152A (en) * | 2018-08-31 | 2019-02-05 | 网易(杭州)网络有限公司 | E-book co-reading method and device, storage medium and computing device |
| CN109977873A (en) * | 2019-03-27 | 2019-07-05 | 掌阅科技股份有限公司 | Notes generation method, electronic equipment and storage medium based on handwriting |
| CN110083319A (en) * | 2019-03-25 | 2019-08-02 | 维沃移动通信有限公司 | Take down notes display methods, device, terminal and storage medium |
| CN110287310A (en) * | 2019-06-28 | 2019-09-27 | 掌阅科技股份有限公司 | The method for customizing e-book is generated based on user's mark and calculates equipment |
| CN111539188A (en) * | 2020-04-23 | 2020-08-14 | 掌阅科技股份有限公司 | Note generation method, computing device and computer storage medium |
| CN112000257A (en) * | 2019-05-27 | 2020-11-27 | 珠海金山办公软件有限公司 | Method and device for exporting key contents of document |
| CN112307716A (en) * | 2019-07-25 | 2021-02-02 | 珠海金山办公软件有限公司 | Document content export method, export device, electronic equipment and storage medium |
| CN113741763A (en) * | 2021-07-22 | 2021-12-03 | 咪咕数字传媒有限公司 | Electronic book display method and device and electronic equipment |
| CN114625829A (en) * | 2018-11-09 | 2022-06-14 | 医渡云(北京)技术有限公司 | Text information extraction method, device, medium and electronic device |
| CN115859907A (en) * | 2023-02-20 | 2023-03-28 | 深圳市英唐数码科技有限公司 | Reading annotation zooming display method, system and readable storage medium |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040201633A1 (en) * | 2001-09-13 | 2004-10-14 | International Business Machines Corporation | Handheld electronic book reader with annotation and usage tracking capabilities |
| CN101297292A (en) * | 2005-10-27 | 2008-10-29 | 皇家飞利浦电子股份有限公司 | Method and system for adding content to or retrieving content from an electronic diary |
| CN101859293A (en) * | 2010-03-05 | 2010-10-13 | 鸿富锦精密工业(深圳)有限公司 | E-reader and its storage method for edited documents |
| CN101882384A (en) * | 2010-06-29 | 2010-11-10 | 汉王科技股份有限公司 | Method for note management on electronic book and electronic book equipment |
| CN103995802A (en) * | 2014-04-25 | 2014-08-20 | 三星半导体(中国)研究开发有限公司 | Method and equipment for managing electronic book notes |
| CN104104576A (en) * | 2013-04-03 | 2014-10-15 | 中国移动通信集团广东有限公司 | Method, system and terminal for sharing reading notes |
| CN104254846A (en) * | 2012-04-25 | 2014-12-31 | 国际商业机器公司 | Content-based navigation for electronic devices |
| CN104408029A (en) * | 2014-10-30 | 2015-03-11 | 华中科技大学 | Electronic book construction method |
-
2016
- 2016-03-18 CN CN201610158255.XA patent/CN107203498A/en active Pending
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040201633A1 (en) * | 2001-09-13 | 2004-10-14 | International Business Machines Corporation | Handheld electronic book reader with annotation and usage tracking capabilities |
| CN101297292A (en) * | 2005-10-27 | 2008-10-29 | 皇家飞利浦电子股份有限公司 | Method and system for adding content to or retrieving content from an electronic diary |
| CN101859293A (en) * | 2010-03-05 | 2010-10-13 | 鸿富锦精密工业(深圳)有限公司 | E-reader and its storage method for edited documents |
| CN101882384A (en) * | 2010-06-29 | 2010-11-10 | 汉王科技股份有限公司 | Method for note management on electronic book and electronic book equipment |
| CN104254846A (en) * | 2012-04-25 | 2014-12-31 | 国际商业机器公司 | Content-based navigation for electronic devices |
| CN104104576A (en) * | 2013-04-03 | 2014-10-15 | 中国移动通信集团广东有限公司 | Method, system and terminal for sharing reading notes |
| CN103995802A (en) * | 2014-04-25 | 2014-08-20 | 三星半导体(中国)研究开发有限公司 | Method and equipment for managing electronic book notes |
| CN104408029A (en) * | 2014-10-30 | 2015-03-11 | 华中科技大学 | Electronic book construction method |
Cited By (16)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107967249A (en) * | 2017-12-25 | 2018-04-27 | 重庆宝力优特科技有限公司 | A kind of word storage method and device |
| CN109308152A (en) * | 2018-08-31 | 2019-02-05 | 网易(杭州)网络有限公司 | E-book co-reading method and device, storage medium and computing device |
| CN109308152B (en) * | 2018-08-31 | 2024-03-26 | 网易(杭州)网络有限公司 | E-book co-reading method and device, storage medium and computing equipment |
| CN114625829A (en) * | 2018-11-09 | 2022-06-14 | 医渡云(北京)技术有限公司 | Text information extraction method, device, medium and electronic device |
| CN110083319A (en) * | 2019-03-25 | 2019-08-02 | 维沃移动通信有限公司 | Take down notes display methods, device, terminal and storage medium |
| CN109977873B (en) * | 2019-03-27 | 2022-07-08 | 掌阅科技股份有限公司 | Handwriting-based note generation method, electronic equipment and storage medium |
| CN109977873A (en) * | 2019-03-27 | 2019-07-05 | 掌阅科技股份有限公司 | Notes generation method, electronic equipment and storage medium based on handwriting |
| CN112000257A (en) * | 2019-05-27 | 2020-11-27 | 珠海金山办公软件有限公司 | Method and device for exporting key contents of document |
| CN110287310A (en) * | 2019-06-28 | 2019-09-27 | 掌阅科技股份有限公司 | The method for customizing e-book is generated based on user's mark and calculates equipment |
| CN112307716A (en) * | 2019-07-25 | 2021-02-02 | 珠海金山办公软件有限公司 | Document content export method, export device, electronic equipment and storage medium |
| CN112307716B (en) * | 2019-07-25 | 2024-08-27 | 珠海金山办公软件有限公司 | Document content export method, export device, electronic device and storage medium |
| CN111539188A (en) * | 2020-04-23 | 2020-08-14 | 掌阅科技股份有限公司 | Note generation method, computing device and computer storage medium |
| CN111539188B (en) * | 2020-04-23 | 2023-09-01 | 掌阅科技股份有限公司 | Note generation method, computing device, and computer storage medium |
| CN113741763A (en) * | 2021-07-22 | 2021-12-03 | 咪咕数字传媒有限公司 | Electronic book display method and device and electronic equipment |
| CN115859907B (en) * | 2023-02-20 | 2023-06-16 | 深圳市英唐数码科技有限公司 | Reading annotation zoom display method, system and readable storage medium |
| CN115859907A (en) * | 2023-02-20 | 2023-03-28 | 深圳市英唐数码科技有限公司 | Reading annotation zooming display method, system and readable storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107203498A (en) | A kind of method, system and its user terminal and server for creating e-book | |
| US11989244B2 (en) | Shared user driven clipping of multiple web pages | |
| US7752534B2 (en) | Method and apparatus for customizing the display of multidimensional data | |
| US8706685B1 (en) | Organizing collaborative annotations | |
| CN101542486B (en) | Sorting diagram | |
| US20110072036A1 (en) | Page-based content storage system | |
| US20160054898A1 (en) | Application of Multiple Content Items and Functionality to an Electronic Content Item | |
| US20130212463A1 (en) | Smart document processing with associated online data and action streams | |
| AU2015101061A4 (en) | Method and System for Processing or Notating a Document or Design | |
| CN111742312A (en) | Slide Marking and Filtering | |
| US8671123B2 (en) | Contextual icon-oriented search tool | |
| KR20110017694A (en) | Online document editing system and method | |
| US20140282139A1 (en) | System for mobile content management | |
| US20150254213A1 (en) | System and Method for Distilling Articles and Associating Images | |
| JP2013211040A (en) | Information processing apparatus and file management method | |
| CN101631398A (en) | Mobile terminal electronic-book management system and mobile terminal electronic-book management method | |
| US20140282140A1 (en) | Method for mobile content management | |
| CN104063367A (en) | Annotation search apparatus, method and program | |
| JP2014157401A (en) | System, method and program for generating electronic magazine | |
| US12299791B2 (en) | Systems and methods for automatically generating designs | |
| US20150347376A1 (en) | Server-based platform for text proofreading | |
| US12260029B2 (en) | Universal highlighter for contextual notetaking | |
| CN119622009A (en) | A method and device for folding and classifying album image labels | |
| AU2015201669A1 (en) | Document Processing and Notating Method and System | |
| Guide | Microsoft Office 2003 Editions |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170926 |