CN104166689A - Presentation method and device for electronic book - Google Patents

Presentation method and device for electronic book Download PDF

Info

Publication number
CN104166689A
CN104166689A CN201410363919.7A CN201410363919A CN104166689A CN 104166689 A CN104166689 A CN 104166689A CN 201410363919 A CN201410363919 A CN 201410363919A CN 104166689 A CN104166689 A CN 104166689A
Authority
CN
China
Prior art keywords
electronic book
type
target electronic
music
content
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.)
Granted
Application number
CN201410363919.7A
Other languages
Chinese (zh)
Other versions
CN104166689B (en
Inventor
陈志军
臧虎
王琳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410363919.7A priority Critical patent/CN104166689B/en
Publication of CN104166689A publication Critical patent/CN104166689A/en
Application granted granted Critical
Publication of CN104166689B publication Critical patent/CN104166689B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • G06F16/438Presentation of query results
    • G06F16/4387Presentation of query results by the use of playlists
    • G06F16/4393Multimedia presentations, e.g. slide shows, multimedia albums
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • G06F16/435Filtering based on additional data, e.g. user or group profiles

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a presentation method and device for an electronic book. The method includes the steps of firstly, obtaining the content type of the target electronic book on an intelligent terminal; secondly, determining the music type matched with the content type of the target electronic book according to the pre-established mapping relation between the content type and the music type; thirdly, playing the music of the type matched with the content type of the target electronic book when the content of the target electronic book is displayed on the intelligent terminal. Thus, the music matched with the content of the target electronic book can be automatically played when the target electronic book is read, the effect of automatically playing the background music matched with the plots of the target electronic book while the target electronic book is read is achieved, and user experience is improved.

Description

Electronic book presenting method and device
Technical Field
The present disclosure relates to the field of electronic book technologies, and in particular, to a method and an apparatus for presenting an electronic book.
Background
With the popularization of smart terminals (e.g., smart phones, tablet computers, e-book readers, etc.) and the remarkable improvement of display effects, more and more users adopt smart terminals to read e-books. However, in the related art, when a user reads an electronic book using an intelligent terminal, the content of the electronic book is generally displayed only through a display screen, which causes a boring and tedious process of reading the electronic book and poor user experience.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method and an apparatus for presenting a target electronic book.
In order to solve the technical problem, the embodiment of the present disclosure discloses the following technical solutions:
according to a first aspect of the embodiments of the present disclosure, there is provided a method for presenting an electronic book, including:
acquiring the content type of a target electronic book, wherein the content type of the target electronic book comprises the subject type of the target electronic book or the style type of each chapter contained in the target electronic book;
determining the music type matched with the content type of the target electronic book as a target music type according to the mapping relation between the content type and the music type established in advance;
and when the content of the target electronic book is displayed, playing the music corresponding to the target music type.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the obtaining a content type of the target electronic book includes:
performing semantic analysis on the content of each section of the target electronic book to obtain the style type of each section; or receiving style types of the chapters of the target electronic book, which are manually input by a user.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, after the obtaining the content type of the target electronic book, the method further includes:
and storing the style types of all the chapters of the obtained target electronic book in a server.
With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, when the content of the target electronic book is displayed again, the acquiring a content type of the target electronic book includes:
and inquiring to obtain the style type corresponding to each chapter in the target electronic book from the corresponding relation between each chapter and the corresponding style type of the electronic book stored by the server.
With reference to the first aspect, in a fourth possible implementation manner of the first aspect, the determining, according to a mapping relationship between a content type and a music type established in advance, that the music type that matches with the content type of the target electronic book is a target music type includes:
acquiring the reading speed of a user for reading a target electronic book;
calculating the content length of the target electronic book read by the user within the average playing time of each piece of music according to the reading speed;
and when the style types corresponding to the sections contained in the content length are different, inquiring the mapping relation between the content type and the music type, and determining the music type corresponding to the content length according to the style types of the sections, wherein each piece of music corresponds to at least one music type.
According to a second aspect of the embodiments of the present disclosure, there is provided an electronic book presentation device including:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring the content type of a target electronic book, and the content type of the target electronic book comprises the subject type of the target electronic book or the style type of each chapter contained in the target electronic book;
the determining module is used for determining the music type matched with the content type of the target electronic book as a target music type according to the mapping relation between the content type and the music type established in advance;
and the playing control module is used for playing the music corresponding to the target music type when the content of the target electronic book is displayed.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the obtaining module includes:
the semantic analysis submodule is used for performing semantic analysis on the content of each section of the target electronic book to obtain the style type of each section;
or,
and the receiving submodule is used for receiving the style types of all chapters of the target electronic book, which are manually input by a user.
With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the apparatus further includes:
and the storage module is used for storing the style types of all the chapters of the obtained target electronic book into a server.
With reference to the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, when the content of the target electronic book is displayed again, the obtaining module includes:
and the first query submodule is used for querying and obtaining the style type corresponding to each chapter in the target electronic book from the corresponding relation between each chapter and the corresponding style type of the electronic book stored by the server.
With reference to the second aspect, in a fourth possible implementation manner of the second aspect, the determining module includes:
the acquisition submodule is used for acquiring the reading speed of a user for reading a target electronic book;
the calculating submodule is used for calculating the content length of the target electronic book read by the user within the average playing time of each piece of music according to the reading speed;
and the second query submodule is used for querying the mapping relation between the content type and the music type when the style types corresponding to the sections contained in the content length are different, and determining the music type corresponding to the content length according to the style types of the sections, wherein each piece of music corresponds to at least one music type.
According to a third aspect of the embodiments of the present disclosure, there is provided a terminal device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to:
acquiring the content type of a target electronic book, wherein the content type of the target electronic book comprises the subject type of the target electronic book or the style type of each chapter contained in the target electronic book;
determining the music type matched with the content type of the target electronic book as a target music type according to the mapping relation between the content type and the music type established in advance;
and when the content of the target electronic book is displayed, playing the music corresponding to the target music type.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: firstly, acquiring the content type of a target electronic book on an intelligent terminal, and then determining the music type matched with the content type of the target electronic book according to the mapping relation between the content type and the music type which is established in advance; and when the content of the target electronic book is displayed on the intelligent terminal, playing the music of which the music type is matched with the content type of the target electronic book. Therefore, when the target electronic book is read, the music matched with the content of the target electronic book is automatically played, the effect of automatically playing the background music matched with the plot of the target electronic book when the target electronic book is read is achieved, and the user experience is improved.
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 disclosure.
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.
FIG. 1 is a flow diagram illustrating an electronic book presentation method in accordance with an exemplary embodiment;
FIG. 2 is a flow diagram illustrating another method of ebook rendering in accordance with an exemplary embodiment;
FIG. 3 is a flow diagram illustrating the acquisition of genre types for sections of an Ebook, according to an example embodiment;
FIG. 4 is a block diagram illustrating an electronic book presentation device in accordance with an exemplary embodiment;
FIG. 5 is a block diagram illustrating another electronic book presentation device, according to an example embodiment;
FIG. 6 is a block diagram illustrating an acquisition module in accordance with an exemplary embodiment;
FIG. 7 is a block diagram illustrating an apparatus in accordance with an example embodiment.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the disclosed concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a method for presenting an electronic book, as shown in fig. 1, for use in a terminal, according to an exemplary embodiment, including the steps of:
in step S110, a content type of the target electronic book is acquired; the content type of the target electronic book comprises a material type of the target electronic book or a style type of each chapter contained in the target electronic book.
The subject types of the target electronic books comprise novels, prose, poetry and the like. If the target Ebook includes multiple chapters of content, the content type may also include the genre of each chapter. The types of sections may include lyrics, suspensories, swordsmen, and the like.
In an exemplary embodiment of the present disclosure, the content of each chapter of the target electronic book may be semantically analyzed by using a natural language processing technique, so as to obtain a style type of each chapter. Alternatively, the terminal may receive style types of respective chapters of the target electronic book, which are manually input by the user.
In step S120, according to the mapping relationship between the content types and the music types established in advance, the music type matching with the content type of the target electronic book is determined as the target music type.
Before the method is implemented, a mapping relationship between the content type and the music type of the ebook is first established, for example, the lyric ebook may correspond to the classical music type, and the martial arts ebook may correspond to the enthusiasm music type. One content type may correspond to multiple music types, or multiple content types may correspond to multiple music types. For example, where the content type is lyric, the corresponding music type may include happy, quiet, sweet, and the like. And searching the music type corresponding to the content type of the target electronic book from the mapping relation to be used as the target music type.
In another exemplary embodiment of the present disclosure, the user may set a target music type corresponding to the electronic book, for example, the user may set songs of singers who love themselves, or songs of certain styles who love themselves, and the like.
In step S130, when the content of the target electronic book is displayed, music corresponding to the target music type is played.
When the user displays the content of the target electronic book by using the terminal equipment, music corresponding to the target music type is searched from the media library and played.
The media library may be all music stored locally at the terminal, or may be music in a network server, or may be a specific range of music specified by the user, e.g. songs specifying certain singers, songs of a certain genre, etc.
The method for presenting the electronic books provided by the embodiment includes the steps of firstly obtaining content types of target electronic books on an intelligent terminal, and then determining music types matched with the content types of the target electronic books according to a mapping relation between the content types and the music types which are established in advance; and when the content of the target electronic book is displayed on the intelligent terminal, playing the music of which the music type is matched with the content type of the target electronic book. Therefore, when the target electronic book is read, the music matched with the content of the target electronic book is automatically played, the effect of automatically playing the background music matched with the plot of the target electronic book when the target electronic book is read is achieved, and the user experience is improved.
FIG. 2 is a flow chart illustrating another method of ebook rendering, according to an exemplary embodiment, the method comprising the steps of:
in step S210, semantic analysis is performed on the content of each chapter of the target electronic book to obtain a style type of each chapter.
The contents of each chapter of the electronic book can be subjected to semantic analysis by utilizing a natural language processing technology, so that the style type of each chapter of the electronic book is obtained.
In step S220, the style types of the chapters of the target electronic book are stored in the server.
And storing the corresponding relation between each chapter and style type of the target electronic book obtained in the step S210 in a server. When the style types of the chapters of the target electronic book are obtained again, the style types corresponding to the chapters of the target electronic book can be directly inquired from the server, the operation is simple, and the efficiency of obtaining the style types of the chapters of the target electronic book is improved.
In step S230, when the style type of each chapter of the target electronic book is obtained again, the style type corresponding to each chapter in the target electronic book is obtained by querying from the server.
In step S240, the music genre matching the content genre of the target electronic book is determined as the target music genre according to the pre-established mapping relationship between the content genre and the music genre.
In step S250, when the content of the target electronic book is displayed, music corresponding to the target music genre is played.
Steps S240 to S250 are the same as S120 to S130 in fig. 1, and are not described herein again.
According to the method for presenting the electronic book, the style type of each chapter of the target electronic book is obtained by performing semantic analysis on the content of the target electronic book, then the style type of each chapter of the target electronic book is stored in the server, the style type of each chapter of the target electronic book can be directly inquired from the server subsequently, and the terminal does not need to perform semantic analysis every time, so that the time for performing semantic analysis is saved, and the efficiency for acquiring the style type of each chapter of the electronic book is improved.
The time of a piece of music is generally 3-5 min, a user may be able to see the contents of a plurality of chapters within the time of playing a piece of music, and the style types of different chapters may be different, so that the target music type needs to be determined according to the style types of the chapters read by the user. Fig. 3 is a flowchart illustrating a method for determining a target music genre corresponding to a content genre of an ebook, according to an example embodiment, the method may include the following steps:
in step S310, the reading speed of the user reading the target electronic book is obtained.
The terminal counts reading information (e.g., reading time, length of content read) of the electronic book read by the user, and then calculates a reading speed according to the counted reading information.
In step S320, the length of the content of the target electronic book read by the user within the average playing time of each piece of music is calculated according to the reading speed. The average playing time of a piece of music may be set, for example, 4 min.
In step S330, when the genre types corresponding to the sections included in the content length are different, a mapping relationship between the content type and the music type is queried, and the music type corresponding to the content length is determined according to the genre types of the sections, where each piece of music corresponds to at least one music type.
If the user reads the content of the target electronic book with the content length containing a plurality of chapters within the average playing time of the music, the style types of the plurality of chapters are respectively obtained, and whether the style types of the plurality of chapters are the same or not is judged. When the style types of the plurality of chapters are different, inquiring the mapping relation between the content type of the electronic book and the music type, and then determining the music type corresponding to the plurality of chapters according to the style types of the plurality of chapters.
For example, the user reads the content of three chapters within the average playing time of a piece of music, the style types of the three chapters are warm, exciting and sweet, and the music type corresponding to the three content types is determined to be the lyric + rock music according to the mapping relationship between the content types and the music types.
Fig. 4 is a block diagram illustrating an electronic book presentation apparatus according to an exemplary embodiment, and referring to fig. 4, the apparatus includes: an acquisition module 110, a determination module 120, and a play control module 130.
The obtaining module 110 is configured to obtain a content type of a target electronic book, where the content type of the target electronic book includes an item type of the target electronic book or a style type of each chapter included in the target electronic book.
In an exemplary embodiment of the present disclosure, the obtaining module 110 includes a semantic analysis sub-module.
The semantic analysis submodule is configured to perform semantic analysis on the content of each section of the target electronic book to obtain the style type of each section.
In another example embodiment of the present disclosure, the obtaining module 110 includes a receiving sub-module.
The receiving submodule is configured to receive style types of the sections of the target electronic book, which are manually input by a user.
The determining module 120 is configured to determine the music genre matching the content genre of the target electronic book as a target music genre according to a mapping relationship between the content genre and the music genre established in advance.
The playing control module 130 is configured to play the music corresponding to the target music type when the content of the target electronic book is displayed.
The electronic book presenting device provided by this embodiment acquires the content type of a target electronic book on an intelligent terminal through an acquisition module, and then determines a music type matched with the content type of the target electronic book according to a mapping relationship between the content type and the music type established in advance by using a determination module; and when the content of the target electronic book is displayed on the intelligent terminal, the playing control module plays the music of which the music type is matched with the content type of the target electronic book. Therefore, when the target electronic book is read, the music matched with the content of the target electronic book is automatically played, the effect of automatically playing the background music matched with the plot of the target electronic book when the target electronic book is read is achieved, and the user experience is improved.
FIG. 5 is a block diagram illustrating another ebook rendering device, according to an example embodiment, the device comprising: semantic analysis submodule 210 (and/or receiving submodule 260), storage module 220, first query submodule 230, determination module 240, and play control module 250.
The semantic analysis sub-module 210 is configured to perform semantic analysis on the content of each section of the target electronic book to obtain a style type of each section.
The receiving sub-module 260 is configured to receive style types of the respective chapters of the target electronic book, which are manually input by a user.
The storage module 220 is configured to store the obtained style types of the respective chapters of the target electronic book in a server.
The storage module 220 stores the style types of the chapters of the target electronic book obtained by the semantic analysis sub-module 210 or the receiving sub-module 260 in the server.
The first query submodule 230 is configured to query a style type corresponding to each chapter in the target electronic book from a correspondence between each chapter and a corresponding style type of the electronic book stored by the server.
The determining module 240 is configured to determine the music type matching the content type of the target electronic book as the target music type according to a mapping relationship between the content type and the music type established in advance.
The playing control module 250 is configured to play the music corresponding to the target music type when the content of the target electronic book is displayed.
In an exemplary embodiment of the present disclosure, as shown in fig. 6, the determining module 120 may include: an obtaining sub-module 121, a calculating sub-module 122, and a second querying sub-module 123.
The acquisition sub-module 121 is configured to acquire a reading speed at which the user reads the target electronic book.
The calculation sub-module 122 is configured to calculate the length of the content of the target electronic book read by the user within the average playing time of each piece of music, according to the reading speed.
The second query submodule 123 is configured to query a mapping relationship between the content type and the music type when the style types corresponding to the sections included in the content length are different, and determine the music type corresponding to the content length according to the style types of the sections, where each piece of music corresponds to at least one music type.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 7 is a block diagram illustrating an apparatus 800 for an electronic book presentation method according to an example embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer-readable storage medium in which instructions, when executed by a processor of a mobile terminal, enable the mobile terminal to perform a method of electronic book presentation, the method comprising:
acquiring the content type of a target electronic book, wherein the content type of the target electronic book comprises the subject type of the target electronic book or the style type of each chapter contained in the target electronic book;
determining the music type matched with the content type of the target electronic book as a target music type according to the mapping relation between the content type and the music type established in advance;
and when the content of the target electronic book is displayed, playing the music corresponding to the target music type.
Wherein, the determining the music type matched with the content type of the target electronic book as the target music type according to the mapping relationship between the pre-established content type and the music type comprises:
acquiring the reading speed of a user for reading a target electronic book;
calculating the content length of the target electronic book read by the user within the average playing time of each piece of music according to the reading speed;
and when the style types corresponding to the sections contained in the content length are different, inquiring the mapping relation between the content type and the music type, and determining the music type corresponding to the content length according to the style types of the sections, wherein each piece of music corresponds to at least one music type.
Wherein, the obtaining the content type of the target electronic book comprises:
performing semantic analysis on the content of each section of the target electronic book to obtain the style type of each section; or receiving style types of the chapters of the target electronic book, which are manually input by a user.
The method further comprises the step of storing the style types of the sections of the target electronic book in a server.
Other embodiments of the invention will be 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 variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (11)

1. A method for presenting an electronic book, comprising:
acquiring the content type of a target electronic book, wherein the content type of the target electronic book comprises the subject type of the target electronic book or the style type of each chapter contained in the target electronic book;
determining the music type matched with the content type of the target electronic book as a target music type according to the mapping relation between the content type and the music type established in advance;
and when the content of the target electronic book is displayed, playing the music corresponding to the target music type.
2. The method of claim 1, wherein the obtaining the content type of the target ebook comprises:
performing semantic analysis on the content of each section of the target electronic book to obtain the style type of each section;
or,
and receiving style types of all chapters of the target electronic book, which are manually input by a user.
3. The method of claim 2, wherein after the obtaining the content type of the target ebook, the method further comprises:
and storing the style types of all the chapters of the obtained target electronic book in a server.
4. The method according to claim 3, wherein when the content of the target electronic book is displayed again, the obtaining the content type of the target electronic book comprises:
and inquiring to obtain the style type corresponding to each chapter in the target electronic book from the corresponding relation between each chapter and the corresponding style type of the electronic book stored by the server.
5. The method according to claim 1, wherein the determining the music genre matching the content genre of the target electronic book as the target music genre according to the pre-established mapping relationship between the content genre and the music genre comprises:
acquiring the reading speed of a user for reading a target electronic book;
calculating the content length of the target electronic book read by the user within the average playing time of each piece of music according to the reading speed;
and when the style types corresponding to the sections contained in the content length are different, inquiring the mapping relation between the content type and the music type, and determining the music type corresponding to the content length according to the style types of the sections, wherein each piece of music corresponds to at least one music type.
6. An electronic book presentation device, comprising:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring the content type of a target electronic book, and the content type of the target electronic book comprises the subject type of the target electronic book or the style type of each chapter contained in the target electronic book;
the determining module is used for determining the music type matched with the content type of the target electronic book as a target music type according to the mapping relation between the content type and the music type established in advance;
and the playing control module is used for playing the music corresponding to the target music type when the content of the target electronic book is displayed.
7. The apparatus of claim 6, wherein the obtaining module comprises:
the semantic analysis submodule is used for performing semantic analysis on the content of each section of the target electronic book to obtain the style type of each section;
or,
and the receiving submodule is used for receiving the style types of all chapters of the target electronic book, which are manually input by a user.
8. The method of claim 7, wherein the apparatus further comprises:
and the storage module is used for storing the style types of all the chapters of the obtained target electronic book into a server.
9. The method according to claim 8, wherein when the contents of the target electronic book are displayed again, the obtaining module comprises:
and the first query submodule is used for querying and obtaining the style type corresponding to each chapter in the target electronic book from the corresponding relation between each chapter and the corresponding style type of the electronic book stored by the server.
10. The method of claim 6, wherein the determining module comprises:
the acquisition submodule is used for acquiring the reading speed of a user for reading a target electronic book;
the calculating submodule is used for calculating the content length of the target electronic book read by the user within the average playing time of each piece of music according to the reading speed;
and the second query submodule is used for querying the mapping relation between the content type and the music type when the style types corresponding to the sections contained in the content length are different, and determining the music type corresponding to the content length according to the style types of the sections, wherein each piece of music corresponds to at least one music type.
11. A terminal device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring the content type of a target electronic book, wherein the content type of the target electronic book comprises the subject type of the target electronic book or the style type of each chapter contained in the target electronic book;
determining the music type matched with the content type of the target electronic book as a target music type according to the mapping relation between the content type and the music type established in advance;
and when the content of the target electronic book is displayed, playing the music corresponding to the target music type.
CN201410363919.7A 2014-07-28 2014-07-28 The rendering method and device of e-book Active CN104166689B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410363919.7A CN104166689B (en) 2014-07-28 2014-07-28 The rendering method and device of e-book

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410363919.7A CN104166689B (en) 2014-07-28 2014-07-28 The rendering method and device of e-book

Publications (2)

Publication Number Publication Date
CN104166689A true CN104166689A (en) 2014-11-26
CN104166689B CN104166689B (en) 2018-04-06

Family

ID=51910502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410363919.7A Active CN104166689B (en) 2014-07-28 2014-07-28 The rendering method and device of e-book

Country Status (1)

Country Link
CN (1) CN104166689B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104991708A (en) * 2015-07-22 2015-10-21 北京奇虎科技有限公司 Electronic reading device and reading scenario self-adaptive configuration method therefor
CN105045772A (en) * 2015-06-29 2015-11-11 盛玉伟 Method for adding music in electronic books and reading device
CN105335455A (en) * 2015-08-28 2016-02-17 广东小天才科技有限公司 Method and device for reading characters
WO2017000136A1 (en) * 2015-06-29 2017-01-05 盛玉伟 Method for inserting music in electronic book, and reading device
CN106708894A (en) * 2015-11-17 2017-05-24 腾讯科技(深圳)有限公司 Method and device of configuring background music for electronic book
WO2018027849A1 (en) * 2016-08-11 2018-02-15 张焰焰 Method for feeding back usage data of music pushing technique and pushing system
WO2018027848A1 (en) * 2016-08-11 2018-02-15 张焰焰 Information pushing method used when music matches data, and pushing system
WO2018027847A1 (en) * 2016-08-11 2018-02-15 张焰焰 Method for pushing music on the basis of read and pushing system
WO2018201548A1 (en) * 2017-05-02 2018-11-08 哈尔滨工业大学深圳研究生院 Reading environment sound-effect enhancement system and method based on image processing and semantic analysis
WO2018218659A1 (en) * 2017-06-02 2018-12-06 深圳市华阅文化传媒有限公司 Method and device for page being read to play back background sound
CN109726308A (en) * 2018-12-27 2019-05-07 上海连尚网络科技有限公司 A kind of method and apparatus for the background music generating novel
CN110489573A (en) * 2019-07-30 2019-11-22 维沃移动通信有限公司 Interface display method and electronic equipment
CN110532213A (en) * 2018-05-23 2019-12-03 广州阿里巴巴文学信息技术有限公司 Rendering method, device and the equipment of e-book
CN110795635A (en) * 2019-10-31 2020-02-14 上海连尚网络科技有限公司 Method and device for presenting books
CN111914080A (en) * 2019-05-09 2020-11-10 阿里巴巴集团控股有限公司 Article display method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090191531A1 (en) * 2007-12-21 2009-07-30 Joseph Saccocci Method and Apparatus for Integrating Audio and/or Video With a Book
CN101916576A (en) * 2010-08-19 2010-12-15 惠州Tcl移动通信有限公司 Method for automatically playing background music
CN101968969A (en) * 2010-10-22 2011-02-09 康佳集团股份有限公司 Electronic book mobile device and electronic book background music playing method
CN102687182A (en) * 2009-11-10 2012-09-19 杜尔塞塔有限公司 Dynamic audio playback of soundtracks for electronic visual works

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090191531A1 (en) * 2007-12-21 2009-07-30 Joseph Saccocci Method and Apparatus for Integrating Audio and/or Video With a Book
CN102687182A (en) * 2009-11-10 2012-09-19 杜尔塞塔有限公司 Dynamic audio playback of soundtracks for electronic visual works
CN101916576A (en) * 2010-08-19 2010-12-15 惠州Tcl移动通信有限公司 Method for automatically playing background music
CN101968969A (en) * 2010-10-22 2011-02-09 康佳集团股份有限公司 Electronic book mobile device and electronic book background music playing method

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105045772A (en) * 2015-06-29 2015-11-11 盛玉伟 Method for adding music in electronic books and reading device
WO2017000136A1 (en) * 2015-06-29 2017-01-05 盛玉伟 Method for inserting music in electronic book, and reading device
CN104991708B (en) * 2015-07-22 2018-04-10 北京奇虎科技有限公司 Electronic reading device and its reading scene adaptive collocation method
CN104991708A (en) * 2015-07-22 2015-10-21 北京奇虎科技有限公司 Electronic reading device and reading scenario self-adaptive configuration method therefor
CN105335455A (en) * 2015-08-28 2016-02-17 广东小天才科技有限公司 Method and device for reading characters
CN106708894A (en) * 2015-11-17 2017-05-24 腾讯科技(深圳)有限公司 Method and device of configuring background music for electronic book
CN106708894B (en) * 2015-11-17 2019-12-20 腾讯科技(深圳)有限公司 Method and device for configuring background music for electronic book
WO2018027847A1 (en) * 2016-08-11 2018-02-15 张焰焰 Method for pushing music on the basis of read and pushing system
WO2018027849A1 (en) * 2016-08-11 2018-02-15 张焰焰 Method for feeding back usage data of music pushing technique and pushing system
WO2018027848A1 (en) * 2016-08-11 2018-02-15 张焰焰 Information pushing method used when music matches data, and pushing system
WO2018201548A1 (en) * 2017-05-02 2018-11-08 哈尔滨工业大学深圳研究生院 Reading environment sound-effect enhancement system and method based on image processing and semantic analysis
US10692480B2 (en) 2017-05-02 2020-06-23 Harbin Institute Of Technology, Shenzhen System and method of reading environment sound enhancement based on image processing and semantic analysis
WO2018218659A1 (en) * 2017-06-02 2018-12-06 深圳市华阅文化传媒有限公司 Method and device for page being read to play back background sound
CN110532213A (en) * 2018-05-23 2019-12-03 广州阿里巴巴文学信息技术有限公司 Rendering method, device and the equipment of e-book
CN109726308A (en) * 2018-12-27 2019-05-07 上海连尚网络科技有限公司 A kind of method and apparatus for the background music generating novel
CN111914080A (en) * 2019-05-09 2020-11-10 阿里巴巴集团控股有限公司 Article display method and device
CN111914080B (en) * 2019-05-09 2024-05-24 阿里巴巴集团控股有限公司 Article display method and device
CN110489573A (en) * 2019-07-30 2019-11-22 维沃移动通信有限公司 Interface display method and electronic equipment
CN110795635A (en) * 2019-10-31 2020-02-14 上海连尚网络科技有限公司 Method and device for presenting books

Also Published As

Publication number Publication date
CN104166689B (en) 2018-04-06

Similar Documents

Publication Publication Date Title
CN104166689B (en) The rendering method and device of e-book
CN105094814B (en) Notification message methods of exhibiting and device
RU2634696C2 (en) Method and device for identification of audio information
CN104469437A (en) Advertisement pushing method and device
CN105069106A (en) Application group recommendation method and device
WO2015176483A1 (en) Label creation method and device, and terminal
CN107229403B (en) Information content selection method and device
CN105404401A (en) Input processing method, apparatus and device
CN106789551B (en) Conversation message methods of exhibiting and device
US11256382B2 (en) Method for displaying interactive content, electronic device, and storage medium
CN105068976A (en) Ticket information exhibition method and device
CN106777016B (en) Method and device for information recommendation based on instant messaging
CN105376412A (en) Information processing method and device
CN106331328B (en) Information prompting method and device
CN104268151B (en) contact person grouping method and device
CN106354504A (en) Message display method and device thereof
CN108156506A (en) The progress adjustment method and device of barrage information
CN107943317B (en) Input method and device
CN113901241B (en) Page display method and device, electronic equipment and storage medium
CN103970831B (en) Recommend the method and apparatus of icon
CN106020766A (en) Music playing method and device
CN106960026B (en) Search method, search engine and electronic equipment
CN108241438B (en) Input method, input device and input device
CN106447747B (en) Image processing method and device
CN110213062B (en) Method and device for processing message

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant