CN104166689B - The rendering method and device of e-book - Google Patents

The rendering method and device of e-book Download PDF

Info

Publication number
CN104166689B
CN104166689B CN201410363919.7A CN201410363919A CN104166689B CN 104166689 B CN104166689 B CN 104166689B CN 201410363919 A CN201410363919 A CN 201410363919A CN 104166689 B CN104166689 B CN 104166689B
Authority
CN
China
Prior art keywords
electronic books
target electronic
type
content
music
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410363919.7A
Other languages
Chinese (zh)
Other versions
CN104166689A (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 present disclosure discloses the rendering method and device of a kind of e-book, the content type of the target electronic books on intelligent terminal is obtained first, then, according to the mapping relations between the content type and music type pre-established, it is determined that the music type to match with the content types of target electronic books;When showing the content of the target electronic books on intelligent terminal, the music that the content type of music type and target electronic books matches is played.It is automatic to play the music to match with the content of the target electronic books so as to realize when reading target electronic books, reach the automatic effect for playing the background music to match with the plot of target electronic books when reading target electronic books, improve Consumer's Experience.

Description

The rendering method and device of e-book
Technical field
This disclosure relates to e-book technical field, more particularly to the rendering method and device of a kind of e-book.
Background technology
Popularization and display effect with intelligent terminal (for example, smart mobile phone, tablet personal computer, E-book reader etc.) Fruit is obviously improved, and increasing user uses intelligent terminal read electronic books.But in correlation technique, user is in profit During with intelligent terminal read electronic books, the content of e-book is typically just shown by display screen, causes reading electronic book Process it is uninteresting, dull, Consumer's Experience is bad.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of rendering method and dress of target electronic books Put.
In order to solve the above-mentioned technical problem, the embodiment of the present disclosure discloses following technical scheme:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of rendering method of e-book, including:
The content type of target electronic books is obtained, the content type of the target electronic books includes the target electronic The stylistic category for each chapters and sections that the subject matter type of books or the target electronic books are included;
According to the mapping relations between the content type and music type pre-established, it is determined that with the target electronic The music type that the content type of books matches is target music type;
When showing the content of the target electronic books, music corresponding to the target music type is played.
With reference in a first aspect, in the first possible implementation of first aspect, the acquisition target electronic books Content type, including:
Semantic analysis is carried out to the content of each chapters and sections of the target electronic books, obtains the style of each chapters and sections Type;Or receive the stylistic category of each chapters and sections for the target electronic books that user is manually entered.
With reference to the first possible implementation of first aspect, in second of possible implementation of first aspect In, after the content type of the acquisition target electronic books, methods described also includes:
The stylistic category of each chapters and sections of the obtained target electronic books is stored into server.
With reference to second of possible implementation of first aspect, in the third possible implementation of first aspect In, when showing the content of the target electronic books again, the content type for obtaining the target electronic books, bag Include:
In corresponding relation between from each chapters and sections and corresponding stylistic category of the e-book of server storage, inquiry Obtain stylistic category corresponding to each chapters and sections in the target electronic books.
With reference in a first aspect, in the 4th kind of possible implementation of first aspect, the basis pre-establishes interior Hold the mapping relations between type and music type, it is determined that the music class to match with the content types of the target electronic books Type is target music type, including:
Obtain the reading rate that user reads target electronic books;
According to the reading rate, calculate the user in the average play time of per song and read target electronic books Content-length;
When stylistic category difference corresponding to each chapters and sections that the content-length is included, inquire about the content type with Mapping relations between music type, the sound according to corresponding to the stylistic category of each chapters and sections determines the content-length jointly Happy type, wherein, correspond at least one music type per a piece of music.
According to the second aspect of the embodiment of the present disclosure, there is provided device is presented in a kind of e-book, including:
Acquisition module, for obtaining the content type of target electronic books, the content type bag of the target electronic books Include the subject matter type of the target electronic books or the stylistic category of each chapters and sections that the target electronic books are included;
Determining module, the mapping relations between the content type and music type that are pre-established for basis, it is determined that It is target music type with the music type that the content type of the target electronic books matches;
Play control module, for when showing the content of the target electronic books, playing the target music type Corresponding music.
With reference to second aspect, in the first possible implementation of second aspect, the acquisition module, including:
Semantic analysis submodule, the content for each chapters and sections to the target electronic books carry out semantic analysis, obtained To the stylistic category of each chapters and sections;
Or
Receiving submodule, the style class of each chapters and sections for the target electronic books being manually entered for receiving user Type.
With reference to the first possible implementation of second aspect, in second of possible implementation of second aspect In, described device also includes:
Memory module, for the stylistic category storage of each chapters and sections of the obtained target electronic books to be arrived into server In.
With reference to second of possible implementation of second aspect, in the third possible implementation of second aspect In, when showing the content of the target electronic books again, the acquisition module, including:
First inquiry submodule, for the e-book from server storage each chapters and sections and corresponding stylistic category it Between corresponding relation in, inquiry obtain stylistic category corresponding to each chapters and sections in the target electronic books.
With reference to second aspect, in the 4th kind of possible implementation of second aspect, the determining module includes:
Acquisition submodule, the reading rate of target electronic books is read for obtaining user;
Calculating sub module, for according to the reading rate, calculating the user in the average play time of per song and readding Read the content-length of target electronic books;
Second inquiry submodule, it is different for stylistic category corresponding to each chapters and sections for being included when the content-length When, the mapping relations inquired about between the content type and music type are jointly true according to the stylistic category of each chapters and sections Music type corresponding to the fixed content-length, wherein, correspond at least one music type per a piece of music.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of terminal device, including:Processor;Handled for storage The memory of device executable instruction;Wherein, the processor is configured as:
The content type of target electronic books is obtained, the content type of the target electronic books includes the target electronic The stylistic category for each chapters and sections that the subject matter type of books or the target electronic books are included;
According to the mapping relations between the content type and music type pre-established, it is determined that with the target electronic The music type that the content type of books matches is target music type;
When showing the content of the target electronic books, music corresponding to the target music type is played.
The technical scheme provided by this disclosed embodiment can include the following benefits:Obtain first on intelligent terminal The content type of target electronic books, then, according to the mapping relations between the content type and music type pre-established, really The music type that fixed and target electronic books content types match;When showing the target electronic books on intelligent terminal Content when, play the music that the content type of music type and target electronic books matches.Target is being read so as to realize It is automatic to play the music to match with the content of the target electronic books during e-book, reach and read target electronic books Shi Zidong plays the effect of the background music to match with the plot of target electronic books, improves Consumer's Experience.
It should be appreciated that the general description and following detailed description of the above are only exemplary, this can not be limited It is open.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the present invention Example, and for explaining principle of the invention together with specification.
Fig. 1 is a kind of flow chart of e-book rendering method according to an exemplary embodiment;
Fig. 2 is the flow chart of another e-book rendering method according to an exemplary embodiment;
Fig. 3 is the flow of the stylistic category of each chapters and sections of the acquisition e-book according to an exemplary embodiment Figure;
Fig. 4 is a kind of block diagram of e-book presentation device according to an exemplary embodiment;
Fig. 5 is the block diagram of another e-book presentation device according to an exemplary embodiment;
Fig. 6 is a kind of block diagram of acquisition module according to an exemplary embodiment;
Fig. 7 is a kind of block diagram of device according to an exemplary embodiment.
Pass through above-mentioned accompanying drawing, it has been shown that the clear and definite embodiment of the disclosure, will hereinafter be described in more detail.These accompanying drawings The scope for limiting the disclosure by any mode and conceiving is not intended to, but is art technology by reference to specific embodiment Personnel illustrate the concept of the disclosure.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of the rendering method of e-book according to an exemplary embodiment, such as Fig. 1 institutes Show, this method is used in terminal, comprises the following steps:
In step s 110, the content type of target electronic books is obtained;The content type bag of the target electronic books Include the subject matter type of the target electronic books or the stylistic category of each chapters and sections that the target electronic books are included.
The subject matter type of the target electronic books includes novel, prose, poem etc..If target electronic books include more The content of individual chapters and sections, its content type can also include the stylistic category of each chapters and sections.The type of each chapters and sections can include expressing Feelings, suspense, swordsman etc..
In the exemplary embodiment of the disclosure one, natural language processing technique can be utilized to each of target electronic books The content of chapters and sections carries out semantic analysis, obtains the stylistic category of each chapters and sections.Or terminal can receive what user was manually entered The stylistic category of each chapters and sections of target electronic books.
In the step s 120, according to the mapping relations between the content type and music type pre-established, it is determined that It is target music type with the music type that the content type of the target electronic books matches.
Before this method is implemented, the mapping relations between the content type of e-book and music type are initially set up, For example, electron-like books of expressing one's emotion can correspond to classical music genre, swordsman's electron-like books can correspond to passion music type.One Kind content type can correspond to a variety of music types, or, plurality of kinds of contents type can correspond to a variety of music types.It is for example, interior When holding type to express one's emotion, corresponding music type can include happiness, peace and quiet, sweetness etc..Mesh is searched from the mapping relations Music type corresponding to the content type of e-book is marked as target music type.
In disclosure another exemplary embodiment, user can set target music type corresponding to e-book, example Such as, user can set the song of the singer oneself liked, or song of some styles oneself liked etc..
In step s 130, when showing the content of the target electronic books, it is corresponding to play the target music type Music.
When user utilizes the content of terminal device display target e-book, searched and target music class from media library The corresponding music of type and broadcasting.
The media library can be whole music of terminal local storage, or, it can also be the sound in the webserver It is happy, or, the music for the particular range that user specifies is can also be, for example, specifying the song of some singers, the song of certain style Song etc..
The rendering method for the e-book that the present embodiment provides, the target electronic books on acquisition intelligent terminal is interior first Hold type, then, according to the mapping relations between the content type and music type pre-established, it is determined that with target electronic books The music type that matches of content type;When showing the content of the target electronic books on intelligent terminal, sound is played The music that the content type of happy type and target electronic books matches.So as to realize when reading target electronic books, automatically The music to match with the content of the target electronic books is played, reaches automatic broadcasting and target when reading target electronic books The effect for the background music that the plot of e-book matches, improve Consumer's Experience.
Fig. 2 is the flow chart of the rendering method of another e-book according to an exemplary embodiment, the side Method comprises the following steps:
In step S210, semantic analysis is carried out to the content of each chapters and sections of target electronic books, obtained described each The stylistic category of chapters and sections.
Semantic analysis can be carried out to the content of each chapters and sections of e-book using natural language processing technique, obtain electronics The stylistic category of each chapters and sections of books.
In step S220, server is arrived into the stylistic category storage of each chapters and sections of the obtained target electronic books In.
Corresponding relation storage between each chapters and sections and stylistic category of the target electronic books that step S210 is obtained is arrived In server., can be directly from server when obtaining the stylistic category of each chapters and sections of the target electronic books again Stylistic category corresponding to each chapters and sections of the target electronic books is inquired about, it is simple to operate, and improve acquisition target electronic The efficiency of the stylistic category of each chapters and sections of books.
In step S230, when obtaining the stylistic category of each chapters and sections of the target electronic books again, from service Inquiry obtains stylistic category corresponding to each chapters and sections in the target electronic books in device.
In step S240, according to the mapping relations between the content type and music type pre-established, it is determined that It is target music type with the music type that the content type of the target electronic books matches.
In step s 250, when showing the content of the target electronic books, it is corresponding to play the target music type Music.
Wherein, step S240~S250 is identical with S120~S130 in Fig. 1, and here is omitted.
The rendering method for the e-book that the present embodiment provides, by carrying out semantic analysis to the content of target electronic books The stylistic category of each chapters and sections of target electronic books is obtained, then, by the stylistic category of each chapters and sections of target electronic books Store in server, the style class of each chapters and sections of the target electronic books subsequently can be directly inquired about from server Type, it is not necessary to which terminal carries out semantic analysis every time, so as to save the time for carrying out semantic analysis, improves acquisition e-book The efficiency of the stylistic category of each chapters and sections of nationality.
The time of a piece of music, user be able to may see multiple within the time for playing a piece of music typically in 3~5min The content of chapters and sections, and the stylistic category of different chapters and sections may be different, therefore, it is necessary to the style for the multiple chapters and sections read according to user Type determines target music type jointly.Fig. 3 is the content type of the determination e-book according to an exemplary embodiment The flow chart of corresponding target music type, this method may comprise steps of:
In step S310, the reading rate that user reads target electronic books is obtained.
The reading information (for example, reading time, the content-length read) of terminal counting user read electronic books, so Afterwards, reading rate is calculated according to the reading information of statistics.
In step s 320, according to the reading rate, calculate the user in the average play time of per song and read The content-length of target electronic books.The average play time of a piece of music can be set, for example, 4min.
In step S330, when stylistic category difference corresponding to each chapters and sections that the content-length is included, inquiry Mapping relations between the content type and music type, determined jointly in described according to the stylistic category of each chapters and sections Hold music type corresponding to length, wherein, correspond at least one music type per a piece of music.
If user reads the content-length of target electronic books comprising multiple in the average play time of a piece of music The content of chapters and sections, obtains the stylistic category of this multiple chapters and sections respectively, and judges whether the stylistic category of this multiple chapters and sections is identical.When When the stylistic category of this multiple chapters and sections differs, the mapping relations inquired about between the content type of e-book and music type, Then, the music type according to corresponding to the stylistic category of this multiple chapters and sections determines these chapters and sections jointly.
For example, user has read the content of three chapters and sections in the average play time of a piece of music, this three's chapters and sections Stylistic category be respectively tender feeling, it is impassioned, happy, then determine these three according to the mapping relations between content type and music type Music type corresponding to content type is the music of lyric+rock and roll.
Fig. 4 is that device block diagram, reference picture 4, the device bag is presented in a kind of e-book according to an exemplary embodiment Include:Acquisition module 110, determining module 120, play control module 130.
The acquisition module 110 is configured as obtaining the content type of target electronic books, the target electronic books The wind for each chapters and sections that subject matter type or the target electronic books of the content type including the target electronic books are included Lattice type.
In the exemplary embodiment of the disclosure one, the acquisition module 110 includes semantic analysis submodule.
The semantic analysis submodule is configured as carrying out semanteme to the content of each chapters and sections of the target electronic books Analysis, obtains the stylistic category of each chapters and sections.
In another example embodiment of the disclosure, the acquisition module 110 includes receiving submodule.
The receiving submodule is configured as receiving each chapters and sections for the target electronic books that user is manually entered Stylistic category.
The determining module 120 is configured as according to the mapping between the content type and music type pre-established Relation, it is determined that the music type to match with the content types of the target electronic books is target music type.
When the play control module 130 is configured as showing the content of the target electronic books, the mesh is played Mark music corresponding to music type.
Device is presented in the e-book that the present embodiment provides, and the target electronic book on intelligent terminal is obtained by acquisition module The content type of nationality, then, using determining module according to the mapping relations between the content type and music type pre-established, It is determined that the music type to match with the content types of target electronic books;When showing the target electronic book on intelligent terminal During the content of nationality, play control module plays the music that the content type of music type and target electronic books matches.So as to Realize when reading target electronic books, it is automatic to play the music to match with the content of the target electronic books, reach and read The automatic effect for playing the background music to match with the plot of target electronic books, improves user's body when reading target electronic books Test.
Fig. 5 is the block diagram that device is presented in another e-book according to an exemplary embodiment, described device bag Include:Semantic analysis submodule 210 (and/or receiving submodule 260), memory module 220, first inquire about submodule 230, determine mould Block 240, play control module 250.
The semantic analysis submodule 210 is configured as carrying out language to the content of each chapters and sections of the target electronic books Justice analysis, obtains the stylistic category of each chapters and sections.
The receiving submodule 260 is configured as receiving each chapters and sections for the target electronic books that user is manually entered Stylistic category.
The stylistic category of each chapters and sections for the target electronic books that the memory module 220 is configured as obtaining is deposited Store up in server.
The target electronic books that memory module 220 obtains semantic analysis submodule 210 or the receiving submodule 260 The stylistic category of each chapters and sections is stored into server.
The first inquiry submodule 230 be configured as from each chapters and sections of the e-book of server storage with it is corresponding In corresponding relation between stylistic category, inquiry obtains stylistic category corresponding to each chapters and sections in the target electronic books.
The determining module 240 is configured as according to the mapping between the content type and music type pre-established Relation, it is determined that the music type to match with the content types of the target electronic books is target music type.
When the play control module 250 is configured as showing the content of the target electronic books, the mesh is played Mark music corresponding to music type.
In the exemplary embodiment of the disclosure one, as shown in fig. 6, the determining module 120 can include:Acquisition submodule 121st, calculating sub module 122, second inquires about submodule 123.
Acquisition submodule 121 is configured as obtaining the reading rate that user reads target electronic books.
Calculating sub module 122 is configured as according to the reading rate, calculating in the average play time of per song User reads the content-length of target electronic books.
Second inquiry submodule 123 is configured as stylistic category corresponding to each chapters and sections that the content-length is included When different, the mapping relations inquired about between the content type and music type are total to according to the stylistic category of each chapters and sections With music type corresponding to the determination content-length, wherein, correspond at least one music type per a piece of music.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 7 is a kind of block diagram of device 800 for e-book rendering method according to an exemplary embodiment.Example Such as, device 800 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, and flat board is set It is standby, Medical Devices, body-building equipment, personal digital assistant etc..
Reference picture 7, device 800 can include following one or more assemblies:Processing component 802, memory 804, power supply Component 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, and Communication component 816.
The integrated operation of the usual control device 800 of processing component 802, such as communicated with display, call, data, phase The operation that machine operates and record operation is associated.Processing component 802 can refer to including one or more processors 820 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing component 802 can include one or more modules, just Interaction between processing component 802 and other assemblies.For example, processing component 802 can include multi-media module, it is more to facilitate Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in device 800.These data are shown Example includes the instruction of any application program or method for being operated on device 800, contact data, telephone book data, disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 800.
Multimedia groupware 808 is included in the screen of one output interface of offer between described device 800 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detect and touched or the related duration and pressure of slide with described.In certain embodiments, more matchmakers Body component 808 includes a front camera and/or rear camera.When device 800 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured as output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike Wind (MIC), when device 800 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The audio signal received can be further stored in memory 804 or via communication set Part 816 is sent.In certain embodiments, audio-frequency assembly 810 also includes a loudspeaker, for exports audio signal.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor cluster 814 can detect opening/closed mode of device 800, and the relative positioning of component, for example, it is described Component is the display and keypad of device 800, and sensor cluster 814 can be with 800 1 components of detection means 800 or device Position change, the existence or non-existence that user contacts with device 800, the orientation of device 800 or acceleration/deceleration and device 800 Temperature change.Sensor cluster 814 can include proximity transducer, be configured to detect in no any physical contact The presence of neighbouring object.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 814 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 also includes near-field communication (NFC) module, to promote junction service.Example Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 804 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 820 of device 800.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal When device performs so that mobile terminal is able to carry out a kind of e-book rendering method, and methods described includes:
The content type of target electronic books is obtained, the content type of the target electronic books includes the target electronic The stylistic category for each chapters and sections that the subject matter type of books or the target electronic books are included;
According to the mapping relations between the content type and music type pre-established, it is determined that with the target electronic The music type that the content type of books matches is target music type;
When showing the content of the target electronic books, music corresponding to the target music type is played.
Wherein, the mapping relations between the basis pre-establishes content type and music type, it is determined that with the mesh The music type that the content type of mark e-book matches is target music type, including:
Obtain the reading rate that user reads target electronic books;
According to the reading rate, calculate the user in the average play time of per song and read target electronic books Content-length;
When stylistic category difference corresponding to each chapters and sections that the content-length is included, inquire about the content type with Mapping relations between music type, the sound according to corresponding to the stylistic category of each chapters and sections determines the content-length jointly Happy type, wherein, correspond at least one music type per a piece of music.
Wherein, the content type for obtaining target electronic books, including:
Semantic analysis is carried out to the content of each chapters and sections of the target electronic books, obtains the style of each chapters and sections Type;Or receive the stylistic category of each chapters and sections for the target electronic books that user is manually entered.
Service is arrived in the stylistic category storage of each chapters and sections for the target electronic books that methods described also includes obtaining In device.
Those skilled in the art will readily occur to the present invention its after considering specification and putting into practice invention disclosed herein Its embodiment.The application be intended to the present invention any modification, purposes or adaptations, these modifications, purposes or Person's adaptations follow the general principle of the present invention and including the undocumented common knowledges in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following Claim is pointed out.
It should be appreciated that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present invention is only limited by appended claim.

Claims (9)

  1. A kind of 1. rendering method of e-book, it is characterised in that including:
    The content type of target electronic books is obtained, the content type of the target electronic books includes the target electronic books Subject matter type or the stylistic category of each chapters and sections that is included of the target electronic books;
    According to the mapping relations between the content type and music type pre-established, it is determined that with the target electronic books The music type that matches of content type be target music type;
    When showing the content of the target electronic books, music corresponding to the target music type is played;
    Wherein, the mapping relations between the basis pre-establishes content type and music type, it is determined that electric with the target The music type that the content type of philosophical works nationality matches is target music type, including:
    Obtain the reading rate that user reads target electronic books;
    According to the reading rate, the content that the user in the average play time of per song reads target electronic books is calculated Length;
    When stylistic category difference corresponding to each chapters and sections that the content-length is included, the content type and music are inquired about Mapping relations between type, the music class according to corresponding to the stylistic category of each chapters and sections determines the content-length jointly Type, wherein, correspond at least one music type per a piece of music.
  2. 2. according to the method for claim 1, it is characterised in that the content type for obtaining target electronic books, including:
    Semantic analysis is carried out to the content of each chapters and sections of the target electronic books, obtains the style class of each chapters and sections Type;
    Or
    Receive the stylistic category of each chapters and sections for the target electronic books that user is manually entered.
  3. 3. according to the method for claim 2, it is characterised in that it is described acquisition target electronic books content type it Afterwards, methods described also includes:
    The stylistic category of each chapters and sections of the obtained target electronic books is stored into server.
  4. 4. according to the method for claim 3, it is characterised in that when showing the content of the target electronic books again, The content type for obtaining the target electronic books, including:
    In corresponding relation between from each chapters and sections and corresponding stylistic category of the e-book of server storage, inquiry obtains Stylistic category corresponding to each chapters and sections in the target electronic books.
  5. 5. device is presented in a kind of e-book, it is characterised in that including:
    Acquisition module, for obtaining the content type of target electronic books, the content type of the target electronic books includes institute State the subject matter type of target electronic books or the stylistic category of each chapters and sections that the target electronic books are included;
    Determining module, the mapping relations between the content type and music type that are pre-established for basis, it is determined that and institute It is target music type to state the music type that the content types of target electronic books matches;
    Play control module, for when showing the content of the target electronic books, it is corresponding to play the target music type Music;
    Wherein, the determining module includes:
    Acquisition submodule, the reading rate of target electronic books is read for obtaining user;
    Calculating sub module, for according to the reading rate, calculating the user in the average play time of per song and reading mesh Mark the content-length of e-book;
    Second inquiry submodule, for when stylistic category difference corresponding to each chapters and sections that the content-length is included, looking into The mapping relations between the content type and music type are ask, according to the determination jointly of the stylistic category of each chapters and sections Music type corresponding to content-length, wherein, correspond at least one music type per a piece of music.
  6. 6. device according to claim 5, it is characterised in that the acquisition module, including:
    Semantic analysis submodule, the content for each chapters and sections to the target electronic books carry out semantic analysis, obtain institute State the stylistic category of each chapters and sections;
    Or
    Receiving submodule, the stylistic category of each chapters and sections for the target electronic books being manually entered for receiving user.
  7. 7. device according to claim 6, it is characterised in that described device also includes:
    Memory module, for the stylistic category of each chapters and sections of the obtained target electronic books to be stored into server.
  8. 8. device according to claim 7, it is characterised in that when showing the content of the target electronic books again, The acquisition module, including:
    First inquiry submodule, between each chapters and sections of the e-book from server storage and corresponding stylistic category In corresponding relation, inquiry obtains stylistic category corresponding to each chapters and sections in the target electronic books.
  9. A kind of 9. terminal device, it is characterised in that including:
    Processor;
    For storing the memory of processor-executable instruction;
    Wherein, the processor is configured as:Perform the e-book presentation side any one of the claims 1 to 4 Method.
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 CN104166689A (en) 2014-11-26
CN104166689B true 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)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017000136A1 (en) * 2015-06-29 2017-01-05 盛玉伟 Method for inserting music in electronic book, and reading device
CN105045772A (en) * 2015-06-29 2015-11-11 盛玉伟 Method for adding music in electronic books and reading device
CN104991708B (en) * 2015-07-22 2018-04-10 北京奇虎科技有限公司 Electronic reading device and its reading scene adaptive collocation method
CN105335455A (en) * 2015-08-28 2016-02-17 广东小天才科技有限公司 Text reading method and apparatus
CN106708894B (en) * 2015-11-17 2019-12-20 腾讯科技(深圳)有限公司 Method and device for 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
CN107169430B (en) 2017-05-02 2020-12-01 哈尔滨工业大学深圳研究生院 Reading environment sound effect enhancement system and method based on image processing 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
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
CN110795635B (en) * 2019-10-31 2023-04-07 上海连尚网络科技有限公司 Method and device for presenting books

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009086308A1 (en) * 2007-12-21 2009-07-09 Booksync, Llc Method and apparatus for integrating audio and/or video with a book

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN104166689A (en) 2014-11-26

Similar Documents

Publication Publication Date Title
CN104166689B (en) The rendering method and device of e-book
CN104731688B (en) Point out the method and device of reading progress
CN104301528B (en) The method and device of display information
CN106776890A (en) The method of adjustment and device of video playback progress
CN107832036A (en) Sound control method, device and computer-readable recording medium
CN104281432A (en) Method and device for regulating sound effect
CN103941969A (en) Menu display method and device
CN104090921B (en) Method for broadcasting multimedia file, device, terminal and server
CN104394137B (en) A kind of method and device of prompting voice call
CN110147467A (en) A kind of generation method, device, mobile terminal and the storage medium of text description
CN104461348A (en) Method and device for selecting information
CN104020924A (en) Label establishing method and device and terminal
CN106503131A (en) Obtain the method and device of interest information
CN106550252A (en) The method for pushing of information, device and equipment
CN108108671A (en) Description of product information acquisition method and device
CN106789551A (en) Conversation message methods of exhibiting and device
CN108062364A (en) Information displaying method and device
CN108320208A (en) Vehicle recommends method and device
CN106777016A (en) The method and device of information recommendation is carried out based on instant messaging
CN108156506A (en) The progress adjustment method and device of barrage information
CN107239351A (en) Method of attaching and device
CN106777115A (en) Song processing method and processing device
CN106649582A (en) Recommendation method and device
CN104216969B (en) Read flag method and device
CN106502664A (en) User is reminded to open the method and device of application

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