CN105117367A - Electronic book switching method and electronic equipment - Google Patents

Electronic book switching method and electronic equipment Download PDF

Info

Publication number
CN105117367A
CN105117367A CN201510604261.9A CN201510604261A CN105117367A CN 105117367 A CN105117367 A CN 105117367A CN 201510604261 A CN201510604261 A CN 201510604261A CN 105117367 A CN105117367 A CN 105117367A
Authority
CN
China
Prior art keywords
book
current
word
location
electronic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510604261.9A
Other languages
Chinese (zh)
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510604261.9A priority Critical patent/CN105117367A/en
Publication of CN105117367A publication Critical patent/CN105117367A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses an electronic book switching method and electronic equipment. The method includes the steps that when an electronic book switching request sent by a user based on a first electronic book is received, a second electronic book with the information content the same as that of the first electronic book is obtained through identification information of the first electronic book is obtained, wherein the first electronic book and the second electronic book display information based on a first mode and a second mode respectively; position location is conducted in the second electronic book through the current progress information of the first electronic book; finally, the first electronic book displayed in the first mode on the electronic equipment is switched into the second electronic book displayed in the second mode based on the target position obtained through position location. It can be seen that automatic switching among different types of electronic books is achieved, the electronic book switching process does not depend on manual operation of a user, and the problem that in the prior art, switching among the different types of electronic books is achieved through manual operation of the user, and thus user experience is poorer is solved.

Description

A kind of e-book changing method and electronic equipment
Technical field
The invention belongs to the field of intelligent control technology of e-book, particularly relate to a kind of e-book changing method and electronic equipment.
Background technology
At present, e-book generally comprises two kinds: talking e-book and common Soundless electronic book (as text e-book etc.).Wherein, talking e-book carries out audio frequency broadcasting according to the voice document prerecorded.
In the process using e-book, when user needs to switch to Soundless electronic book to use from talking e-book, or when switching to talking e-book to use from Soundless electronic book, need manual unlocking corresponding document, and manual positioning is to corresponding progress, on this basis, electronic equipment just can complete the switching between the talking e-book based on audio-frequency play mode and the Soundless electronic book based on text display mode, realizes by user's required mode as user shows corresponding information.Visible, prior art need rely on the switching that the comparatively loaded down with trivial details manual operation of user realizes between dissimilar e-book, and Consumer's Experience is poor.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of e-book changing method and electronic equipment, to solve prior art because need be realized the switching of dissimilar e-book by user's manual operation, and cause Consumer's Experience this problem poor.
For this reason, the present invention's openly following technical scheme:
A kind of e-book changing method, be applied to electronic equipment, described method comprises:
When receiving the e-book handoff request that user sends based on the first e-book, obtain identification information and the progress msg of described first e-book, described first e-book carries out information display based on first mode;
According to the identification information of described first e-book, determine second e-book identical with the information content of described first e-book, described second e-book carries out information display based on the second pattern;
According to described progress msg, in described second e-book, carry out location, position;
Based on the target location of location gained, the first e-book that described electronic equipment is shown with described first mode is switched to the second e-book described in described second pattern exposure.
Said method, preferably, described first e-book is talking e-book, and described second e-book is Soundless electronic book, and described progress msg is the current broadcasting moment of described first e-book;
Described according to described progress msg, in described second e-book, carry out location, position comprise:
Obtain total playing duration of described first e-book, and utilize the current broadcasting moment of described first e-book, and described total playing duration, calculate the broadcasting ratio that described first e-book is current;
Utilize the broadcasting ratio that described first e-book is current, in described second e-book, carry out location, position, obtain first object position.
Said method, preferably, the described target location based on location gained, switches to the first e-book that described electronic equipment is shown with described first mode with the second e-book described in described second pattern exposure, comprising:
Obtain the reference speech section of real-time buffer memory, and described reference speech section is converted to corresponding benchmark word; Described reference speech section is the voice content of the first preset duration before the broadcasting moment current described in described first e-book;
Word message in preset range in described benchmark word and described second e-book is carried out Rapid matching, wherein, described preset range with described first object position for reference point;
If Rapid matching success, then, show with described second pattern described second e-book for starting point with described benchmark word successful word of Rapid matching in described second e-book;
If Rapid matching failure, then described benchmark word is carried out full text with described second e-book to mate, and with the described benchmark word word that the match is successful in full in described second e-book for starting point, described second e-book is shown with described second pattern.
Said method, preferably, described first e-book is Soundless electronic book, described second e-book is talking e-book, the progress msg of described first e-book is: the current number of pages of described first e-book, or, user's current reading location in described first e-book current page;
The described progress msg according to described first e-book, carries out location, position and comprises in described second e-book:
According to the described current number of pages obtained or described current reading location, calculate the reading ratio that user reads described first e-book;
Utilize the numerical value of described reading ratio to carry out location, position in the second e-book, obtain the second target location.
Said method, preferably, the described target location based on location gained, switches to the first e-book that described electronic equipment is shown with described first mode with the second e-book described in described second pattern exposure, comprising:
Obtain the benchmark text chunk of real-time buffer memory, described benchmark text chunk is the word content that in the first e-book, number of words is preset at current page end before presetting the word content of number of words or described current reading location;
Obtain the voice segments of forward and backward second preset duration in the second target location described in described second e-book, and institute's speech segment is converted to corresponding word paragraph;
Described benchmark text chunk and described word paragraph are carried out Rapid matching, if Rapid matching success, then, for starting point described second e-book is shown with described second pattern with described benchmark text chunk successful voice of Rapid matching in described second e-book;
If Rapid matching failure, be then corresponding word chapter by whole speech conversion of described second e-book; Described benchmark text chunk is carried out full text with described word chapter mate, and with the described benchmark text chunk voice that the match is successful in full in described second e-book for starting point, described second e-book is shown with described second pattern.
Said method, preferably, described first e-book is talking e-book, and described second e-book is Soundless electronic book, and described progress msg is the current broadcasting moment of described first e-book; The described progress msg according to described first e-book, carries out location, position and comprises in described second e-book:
Utilize the current broadcasting moment of the first e-book, the voice segments inquiring current broadcasting from the primary importance message file prestored drops on the document length ratio in the second e-book residing for correspondence; Described primary importance message file comprises: in the first e-book, initial broadcasting moment, each voice segments of each voice paragraph drops on the document length ratio in the second e-book residing for correspondence;
Utilize described document length ratio, in the second e-book, carry out location, position, obtain the 3rd target location.
Said method, preferably, the described target location based on location gained, switches to the first e-book that described electronic equipment is shown with described first mode with the second e-book described in described second pattern exposure, comprising:
Be initial paragraph with the paragraph that described 3rd target location is corresponding, described second e-book is shown with described second pattern.
Said method, preferably, described first e-book is Soundless electronic book, and described second e-book is talking e-book, and described progress msg is: the current reading paragraph of described first e-book; The then described progress msg according to described first e-book, carries out location, position and comprises in described second e-book:
The initial broadcasting moment that described current reading paragraph is corresponding in the second e-book is inquired from the second place message file prestored; Described second place message file comprises: the initial broadcasting moment that each text fragment in described first e-book is corresponding in described second e-book;
Utilize the described initial broadcasting moment inquired, in the second e-book, carry out location, position, obtain the 4th target location.
Said method, preferably, the described target location based on location gained, switches to the first e-book that described electronic equipment is shown with described first mode with the second e-book described in described second pattern exposure, comprising:
Be initial paragraph with the paragraph that the 4th target location described in the second e-book is corresponding, described second e-book is shown with described second pattern.
A kind of electronic equipment, comprising:
Acquisition module, for when receiving the e-book handoff request that user sends based on the first e-book, obtain identification information and the progress msg of described first e-book, described first e-book carries out information display based on first mode;
Determination module, for the identification information according to described first e-book, determine second e-book identical with the information content of described first e-book, described second e-book carries out information display based on the second pattern;
Locating module, for according to described progress msg, carries out location, position in described second e-book;
Handover module, for the target location based on location gained, switches to the first e-book that described electronic equipment is shown with described first mode with the second e-book described in described second pattern exposure.
Above-mentioned electronic equipment, preferably, described first e-book is talking e-book, and described second e-book is Soundless electronic book, and described progress msg is the current broadcasting moment of described first e-book; Then described locating module comprises:
First computing unit, for obtaining total playing duration of described first e-book, and utilizes the current broadcasting moment of described first e-book, and described total playing duration, calculates the broadcasting ratio that described first e-book is current;
First positioning unit, for the broadcasting ratio utilizing described first e-book current, carries out location, position, obtains first object position in described second e-book.
Above-mentioned electronic equipment, preferably, described handover module comprises:
First converting unit, for obtaining the reference speech section of real-time buffer memory, and is converted to corresponding benchmark word by described reference speech section; Described reference speech section is the voice content of the first preset duration before the broadcasting moment current described in described first e-book;
First Rapid matching unit, for the Word message in preset range in described benchmark word and described second e-book is carried out Rapid matching, wherein, described preset range with described first object position for reference point;
First switch unit, for when Rapid matching is successful, shows with described second pattern described second e-book for starting point with described benchmark word successful word of Rapid matching in described second e-book;
Second switch unit, for when Rapid matching is failed, described benchmark word is carried out full text with described second e-book mate, and with the described benchmark word word that the match is successful in full in described second e-book for starting point, described second e-book is shown with described second pattern.
Above-mentioned electronic equipment, preferably, described first e-book is Soundless electronic book, described second e-book is talking e-book, the progress msg of described first e-book is: the current number of pages of described first e-book, or, user's current reading location in described first e-book current page; Then described locating module comprises:
Second computing unit, for according to the described current number of pages obtained or described current reading location, calculates the reading ratio that user reads described first e-book;
Second positioning unit, for utilizing the numerical value of described reading ratio to carry out location, position in the second e-book, obtains the second target location.
Above-mentioned electronic equipment, preferably, described handover module comprises:
Acquiring unit, for obtaining the benchmark text chunk of real-time buffer memory, described benchmark text chunk is the word content that in the first e-book, number of words is preset at current page end before presetting the word content of number of words or described current reading location;
Second converting unit, for obtaining the voice segments of forward and backward second preset duration in the second target location described in described second e-book, and is converted to corresponding word paragraph by institute's speech segment;
Second Rapid matching unit, for carrying out Rapid matching by described benchmark text chunk and described word paragraph;
3rd switch unit, for when Rapid matching is successful, shows with described second pattern described second e-book for starting point with described benchmark text chunk successful voice of Rapid matching in described second e-book;
Whole speech conversion of described second e-book, for when Rapid matching is failed, are corresponding word chapter by the 4th switch unit; Described benchmark text chunk is carried out full text with described word chapter mate, and with the described benchmark text chunk voice that the match is successful in full in described second e-book for starting point, described second e-book is shown with described second pattern.
Above-mentioned electronic equipment, preferably, described first e-book is talking e-book, and described second e-book is Soundless electronic book, and described progress msg is the current broadcasting moment of described first e-book; Then described locating module comprises:
First query unit, for utilizing the current broadcasting moment of the first e-book, the voice segments inquiring current broadcasting from the primary importance message file prestored drops on the document length ratio in the second e-book residing for correspondence; Described primary importance message file comprises: in the first e-book, initial broadcasting moment, each voice segments of each voice paragraph drops on the document length ratio in the second e-book residing for correspondence;
3rd positioning unit, for utilizing described document length ratio, carrying out location, position, obtaining the 3rd target location in the second e-book.
Above-mentioned electronic equipment, preferably, described handover module comprises:
5th switch unit, is initial paragraph for the paragraph corresponding with described 3rd target location, shows described second e-book with described second pattern.
Above-mentioned electronic equipment, preferably, described first e-book is Soundless electronic book, and described second e-book is talking e-book, and described progress msg is: the current reading paragraph of described first e-book; Then described locating module comprises:
Second query unit, for inquiring the described current reading paragraph initial broadcasting moment corresponding in the second e-book from the second place message file prestored; Described second place message file comprises: the initial broadcasting moment that each text fragment in described first e-book is corresponding in described second e-book;
4th positioning unit, for utilizing the described initial broadcasting moment inquired, carrying out location, position, obtaining the 4th target location in the second e-book.
Above-mentioned electronic equipment, preferably, described handover module comprises:
6th switch unit is initial paragraph for the paragraph corresponding with the 4th target location described in the second e-book, shows with described second pattern described second e-book.
From above scheme, e-book changing method disclosed in the present application and electronic equipment, when receiving the e-book handoff request that user sends based on the first e-book, by the identification information of the first e-book, the second e-book (the first e-book that obtaining information content is identical with described first e-book, second e-book is respectively based on first mode, second pattern exposure information), and pass through the current progress msg of the first e-book, location, position is carried out in the second e-book, finally, based on the target location of location gained, the first e-book that described electronic equipment is shown with described first mode is switched to the second e-book described in described second pattern exposure.Visible, the application achieves the automatic switchover between dissimilar e-book, e-book handoff procedure does not need the manual operation relying on user, solves prior art because need be realized the switching of dissimilar e-book by user's manual operation, and causes Consumer's Experience this problem poor.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
Fig. 1 is the process flow diagram of a kind of e-book changing method embodiment one that the application provides;
Fig. 2 is the process flow diagram of a kind of e-book changing method embodiment two that the application provides;
Fig. 3 is the process flow diagram of a kind of e-book changing method embodiment three that the application provides;
Fig. 4 is the process flow diagram of a kind of e-book changing method embodiment four that the application provides;
Fig. 5 is the process flow diagram of a kind of e-book changing method embodiment five that the application provides;
Fig. 6 is the structural representation of a kind of electronic equipment embodiment six that the application provides;
Fig. 7 is the structural representation of a kind of electronic equipment embodiment seven that the application provides;
Fig. 8 is the structural representation of a kind of electronic equipment embodiment eight that the application provides;
Fig. 9 is the structural representation of a kind of electronic equipment embodiment 94 that the application provides;
Figure 10 is the structural representation of a kind of electronic equipment embodiment ten that the application provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment one
With reference to the process flow diagram of a kind of e-book changing method embodiment one that figure 1, Fig. 1 provides for the application, described method can be applicable in the electronic equipment such as smart mobile phone, panel computer, and as shown in Figure 1, described method can comprise the following steps:
S101: when receiving the e-book handoff request that user sends based on the first e-book, obtain identification information and the progress msg of described first e-book, described first e-book carries out information display based on first mode.
Dissimilar e-book for the terminal user such as smart mobile phone, panel computer switches demand, and the application aims to provide a kind of automatic switching method of dissimilar e-book.At present, e-book generally comprises two kinds: the talking e-book shown based on audio-frequency play mode, and based on the Soundless electronic book that text display mode is shown.
When the talking e-book of current broadcasting need switch to Soundless electronic book to read by user, or when switching to talking e-book to listen to the Soundless electronic book of current presentation, by the e-book switching push button that operation is preset in presently used first e-book, e-book handoff request can be submitted to electronic equipment.After electronic equipment receives this request, obtain the identification information of described first e-book and the progress msg of current this e-book of use of user, such as, if the first e-book of current use is talking e-book, then can obtain the information such as title and current broadcasting moment of described talking e-book, if the first e-book of current use is Soundless electronic book, then can obtain the information such as the reading position that in the title of described Soundless electronic book and current reading number of pages or current page, user is current.
S102: according to the identification information of described first e-book, obtain second e-book identical with the information content of described first e-book, described second e-book carries out information display based on the second pattern.
S103: according to described progress msg, carries out location, position in described second e-book.
After the identification information and progress msg of acquisition first e-book, can according to the first e-book identification information obtained, determine second e-book identical with the information content of described first e-book, such as specifically can according to the first e-book title, determine identical from this first e-book title, content is identical but the second e-book that information display pattern is different; On this basis, continue to utilize the first e-book progress msg obtained, location, position is carried out to the second e-book, to realize following up to the current schedules of the first e-book in the second e-book, and then realizes the seamless switching between two kinds of different e-book.
S104: based on the target location of location gained, the first e-book that described electronic equipment is shown with described first mode is switched to the second e-book described in described second pattern exposure.
Determining the second e-book that the first eBook content of use current with user is identical, and after location, position is carried out to the second e-book, finally can according to the target location of location gained, carry out the switching between dissimilar e-book on an electronic device, realize on an electronic device first e-book of showing in a first pattern being switched to showing the second e-book in a second mode, and after switching e-book based on the target location of locating gained, second e-book has carried out effective follow-up to the progress of the first e-book, thus the application achieves the seamless switching between two kinds of dissimilar e-book, better user experience.
From above scheme, mode switching method disclosed in the present application is when receiving the e-book handoff request that user sends based on the first e-book, by the identification information of the first e-book, the second e-book (the first e-book that obtaining information content is identical with described first e-book, second e-book is respectively based on first mode, second pattern exposure information), and pass through the current progress msg of the first e-book, location, position is carried out in the second e-book, finally, based on the target location of location gained, the first e-book that described electronic equipment is shown with described first mode is switched to the second e-book described in described second pattern exposure.Visible, the application achieves the automatic switchover between dissimilar e-book, e-book handoff procedure does not need the manual operation relying on user, solves prior art because need be realized the switching of dissimilar e-book by user's manual operation, and causes Consumer's Experience this problem poor.
Embodiment two
With reference to figure 2, the process flow diagram of a kind of e-book changing method embodiment two that Fig. 2 provides for the application, in the present embodiment, supposes that described first e-book is talking e-book, described second e-book is Soundless electronic book, and described progress msg is the current broadcasting moment of described first e-book; Then described step S103 can be realized by following steps:
S201: the total playing duration obtaining described first e-book, and the current broadcasting moment utilizing described first e-book, and described total playing duration, calculate the broadcasting ratio that described first e-book is current;
S202: utilize the broadcasting ratio that described first e-book is current, carry out location, position in described second e-book, obtain first object position.
User current the talking e-book of use need be switched to use Soundless electronic book time, the present embodiment according to current broadcastings moment of talking e-book and total playing duration, the broadcasting ratio that calculating talking e-book is current; On this basis, the length ratio of the broadcasting ratio calculated as the Soundless electronic book with identical content is positioned Soundless electronic book, obtains the position location of Soundless electronic book.
Accordingly, described step S104 can be realized by following steps in the present embodiment:
S203: the reference speech section obtaining real-time buffer memory, and described reference speech section is converted to corresponding benchmark word; Described reference speech section is the voice content of the first preset duration before the current broadcasting moment in the first e-book;
S204: the Word message in preset range in described benchmark word and the second e-book is carried out Rapid matching, wherein, described preset range with described first object position for reference point;
S205: if Rapid matching success, then, for starting point described second e-book is shown with described second pattern with described benchmark word successful word of Rapid matching in described second e-book;
S206: if Rapid matching failure, then described benchmark word is carried out full text with described second e-book to mate, and with the described benchmark word word that the match is successful in full in described second e-book for starting point, described second e-book is shown with described second pattern.
Using the length ratio of the broadcasting ratio of talking e-book as Soundless electronic book, after positioning Soundless electronic book, the position location obtained is comparatively rough, thus needs to carry out precise positioning to Soundless electronic book further on the basis of coarse localization.
The present embodiment is specifically when playing talking e-book, in talking e-book described in real-time buffer memory before the current broadcasting moment voice content of preset duration, afterwards by the voice content of buffer memory is mated as reference speech section with Soundless electronic book, realize carrying out precise positioning to Soundless electronic book.
Particularly, first text-converted is carried out to the reference speech section of buffer memory, obtain corresponding content of text and described benchmark word, afterwards, word content in certain limit before and after coarse localization position (i.e. described first object position) in described benchmark word and described Soundless electronic book is carried out Rapid matching, if Rapid matching success, then can realize carrying out precise positioning to Soundless electronic book, thus on this basis, can when stopping playing talking e-book, with described benchmark word in Soundless electronic book the successful word of Rapid matching for starting point, the content of text of display Soundless electronic book, realize e-book to switch.
If Rapid matching failure, in order to realize precise positioning, can continue that described benchmark word and Soundless electronic book are carried out full text to mate, finally with the described benchmark word word that in full the match is successful in Soundless electronic book for starting point, show described Soundless electronic book with text message read for user.
It should be noted that, the described preset range based on first object position is being carried out under the prerequisite rationally arranged, by Rapid matching, generally successfully can realize carrying out precise positioning to Soundless electronic book, thus the seamless switching between dissimilar e-book can be carried out fast; The processing speed of coupling is relatively slow in full, but can be used as the supplementary processing policy of Rapid matching, realizes, when Rapid matching failure, still to carry out precise positioning to Soundless electronic book.
Embodiment three
With reference to figure 3, the process flow diagram of a kind of e-book changing method embodiment three that Fig. 3 provides for the application, in the present embodiment, suppose that described first e-book is Soundless electronic book, described second e-book is talking e-book, described progress msg is the current number of pages of described first e-book, or, the current reading location of user in described first e-book current page; Then described step S103 can be realized by following steps:
S301: according to the described current number of pages obtained or described current reading location, calculates the reading ratio that user reads described first e-book;
S302: utilize the numerical value of described reading ratio to carry out location, position in the second e-book, obtain the second target location.
User current the Soundless electronic book of use need be switched to use talking e-book time, the present embodiment is according to the current reading location of user in the current reading number of pages or current page of described Soundless electronic book, calculate user to the reading ratio of described Soundless electronic book, afterwards using the reading ratio that the calculates broadcasting ratio as talking e-book, coarse localization is carried out to talking e-book, obtains described second target location.
Accordingly, described step S104 can be realized by following steps in the present embodiment:
S303: the benchmark text chunk obtaining real-time buffer memory, described benchmark text chunk is the word content that in the first e-book, number of words is preset at current page end before presetting the word content of number of words or described current reading location;
S304: the voice segments obtaining forward and backward second preset duration in the second target location described in described second e-book, and institute's speech segment is converted to corresponding word paragraph;
S305: described benchmark text chunk and described word paragraph are carried out Rapid matching;
S306: if Rapid matching success, then, for starting point described second e-book is shown with described second pattern with described benchmark text chunk successful voice of Rapid matching in described second e-book.
S307: if Rapid matching failure, be then corresponding word chapter by whole speech conversion of described second e-book; Described benchmark text chunk is carried out full text with described word chapter mate, and with the described benchmark text chunk voice that the match is successful in full in described second e-book for starting point, described second e-book is shown with described second pattern.
Using the broadcasting ratio of the reading ratio of Soundless electronic book as talking e-book, after positioning talking e-book, the position location obtained is comparatively rough, thus needs to carry out precise positioning to talking e-book further on the basis of coarse localization.
In the present embodiment, electronic equipment is specifically when showing the content of text of Soundless electronic book, in Soundless electronic book described in real-time buffer memory, the word content of number of words is preset at current page end, or when receiving the e-book handoff request that user triggers based on its current reading location at current page, the word content of number of words is preset before current reading location described in real-time buffer memory, afterwards by the word content of buffer memory is mated as benchmark text chunk with talking e-book, realize carrying out precise positioning to talking e-book.
Particularly, first obtain the voice segments of the forward and backward scheduled duration of the second target location (obtaining based on coarse localization) described in talking e-book, and text-converted is carried out to the voice segments obtained, obtain corresponding word paragraph; Afterwards, described benchmark text chunk and described word paragraph are carried out Rapid matching; If Rapid matching success, then can when stopping the described Soundless electronic book of display, for starting point, audio frequency broadcasting is carried out to described talking e-book with described benchmark text chunk successful voice of Rapid matching in described talking e-book, thus realize the switching of dissimilar e-book.
If Rapid matching failure, in order to realize carrying out precise positioning to talking e-book, can continue to carry out text-converted process in full (only needing when first time mates in full to carry out full text text-converted) to talking e-book, and on this basis, described benchmark text chunk is carried out full text with the full text content of text of talking e-book mate, thus, finally with the described benchmark text chunk voice that the match is successful in full in described talking e-book for starting point, audio frequency broadcasting can be carried out to described talking e-book.
It should be noted that, carrying out described second preset duration, under the prerequisite rationally arranged, by Rapid matching, generally successfully to realize carrying out precise positioning to talking e-book, thus the seamless switching between dissimilar e-book can being carried out fast; The processing speed of coupling is relatively slow in full, but can be used as the supplementary processing policy of Rapid matching, realizes, when Rapid matching failure, still to carry out precise positioning to talking e-book.
Embodiment four
With reference to figure 4, the process flow diagram of a kind of e-book changing method embodiment four that Fig. 4 provides for the application, in the present embodiment, supposes that described first e-book is talking e-book, described second e-book is Soundless electronic book, and described progress msg is the current broadcasting moment of described first e-book; Then described step S103 can be realized by following steps:
S401: the current broadcasting moment utilizing the first e-book, the voice segments inquiring current broadcasting from the primary importance message file prestored drops on the document length ratio in the second e-book residing for correspondence; Described primary importance message file comprises: in the first e-book, initial broadcasting moment, each voice segments of each voice paragraph drops on the document length ratio in the second e-book residing for correspondence;
S402: utilize described document length ratio, carry out location, position in the second e-book, obtain the 3rd target location.
Correspondingly, with reference to figure 4, step S104 described in the present embodiment can be realized by following steps:
S403: be initial paragraph with the paragraph that described 3rd target location is corresponding, shows with described second pattern described second e-book.
Be different from embodiment two, the present embodiment provides talking e-book to switch to the another kind of implementation of Soundless electronic book.In the present embodiment, need the form of self-defined talking e-book in advance, such as can when recorded speech file, record each voice segments simultaneously and drop on positional information in voice document, and saved as positional information file.The initial broadcasting moment of each voice paragraph in talking e-book can be comprised in this positional information file, each voice segments drops on the broadcasting ratio (the described initial broadcasting moment can be adopted to calculate) in described talking e-book, each voice segments drops on document length ratio in the Soundless electronic book of identical content residing for correspondence, and the information such as the predetermined fraction content of each voice paragraph section start.
Thus, when user talking e-book need be switched Soundless electronic book use time, the current broadcasting moment of talking e-book can be obtained, and by inquiring about according to the described current broadcasting moment the current broadcasting paragraph knowing talking e-book to described positional information file, particularly, in described positional information file, before being engraved in the described current broadcasting moment during initial broadcasting, and initial broadcasting moment and describedly currently play the current broadcasting paragraph that moment the most close paragraph is described talking e-book, thus on this basis, the document length ratio that described current broadcasting paragraph is corresponding in Soundless electronic book can be read further from described positional information file, and according to the document length ratio inquired, Soundless electronic book is positioned.Finally, content display can be carried out according to the target location of location gained to Soundless electronic book.
Embodiment five
With reference to figure 5, the process flow diagram of a kind of e-book changing method embodiment five that Fig. 5 provides for the application, in the present embodiment, supposes that described first e-book is Soundless electronic book, described second e-book is talking e-book, and described progress msg is the current reading paragraph of described Soundless electronic book; Then described step S103 can be realized by following steps:
S501: inquire the initial broadcasting moment that described current reading paragraph is corresponding in the second e-book from the second place message file prestored; Described second place message file comprises: the initial broadcasting moment that each text fragment in described first e-book is corresponding in described second e-book;
S502: utilize the described initial broadcasting moment inquired, carry out location, position in the second e-book, obtain the 4th target location.
Correspondingly, with reference to figure 5, step S104 described in the present embodiment can be realized by following steps:
S503: be initial paragraph with the paragraph that the 4th target location described in the second e-book is corresponding, shows with described second pattern described second e-book.
Be different from embodiment three, the present embodiment provides Soundless electronic book to switch to the another kind of implementation of talking e-book.In the present embodiment, need in advance for Soundless electronic book configures a positional information file.The length ratio that the position of each text fragment in Soundless electronic book is residing in pandect can be comprised in this positional information file, the broadcasting ratio that each text fragment is corresponding in the talking e-book that content is identical, the initial broadcasting moment that each text fragment is corresponding in described talking e-book, or the information such as the segment word content of each text fragment.Thus, after the location triggered e-book handoff request of user based on its current reading paragraph place, electronic equipment can know the current reading paragraph of user based on the trigger position of user, and pass through according to described current reading paragraph inquiring position message file, know the information that described current reading paragraph is corresponding in talking e-book, such as know the initial broadcasting moment etc. that described current reading paragraph is corresponding in described talking e-book; On this basis, can realize positioning talking e-book and the audio frequency of required progress is play.
Embodiment six
With reference to figure 6, the structural representation of a kind of electronic equipment embodiment six that Fig. 6 provides for the application, described electronic equipment can be specifically the terminal device such as smart mobile phone, panel computer, as shown in Figure 6, described electronic equipment can comprise acquisition module 100, determination module 200, locating module 300 and handover module 400.
Acquisition module 100, for when receiving the e-book handoff request that user sends based on the first e-book, obtain identification information and the progress msg of described first e-book, described first e-book carries out information display based on first mode.
Dissimilar e-book for the terminal user such as smart mobile phone, panel computer switches demand, and the application aims to provide a kind of automatic switching method of dissimilar e-book.At present, e-book generally comprises two kinds: the talking e-book shown based on audio-frequency play mode, and based on the Soundless electronic book that text display mode is shown.
When the talking e-book of current broadcasting need switch to Soundless electronic book to read by user, or when switching to talking e-book to listen to the Soundless electronic book of current presentation, by the e-book switching push button that operation is preset in presently used first e-book, e-book handoff request can be submitted to electronic equipment.After electronic equipment receives this request, obtain the identification information of described first e-book and the progress msg of current this e-book of use of user, such as, if the first e-book of current use is talking e-book, then can obtain the information such as title and current broadcasting moment of described talking e-book, if the first e-book of current use is Soundless electronic book, then can obtain the information such as the reading position that in the title of described Soundless electronic book and current reading number of pages or current page, user is current.
Determination module 200, for the identification information according to described first e-book, determine second e-book identical with the information content of described first e-book, described second e-book carries out information display based on the second pattern.
Locating module 300, for according to described progress msg, carries out location, position in described second e-book.
After the identification information and progress msg of acquisition first e-book, can according to the first e-book identification information obtained, determine second e-book identical with the information content of described first e-book, such as specifically can according to the first e-book title, determine identical from this first e-book title, content is identical but the second e-book that information display pattern is different; On this basis, continue to utilize the first e-book progress msg obtained, location, position is carried out to the second e-book, to realize following up to the current schedules of the first e-book in the second e-book, and then realizes the seamless switching between two kinds of different e-book
Handover module 400, for the target location based on location gained, switches to the first e-book that described electronic equipment is shown with described first mode with the second e-book described in described second pattern exposure.
Determining the second e-book that the first eBook content of use current with user is identical, and after location, position is carried out to the second e-book, finally can according to the target location of location gained, carry out the switching between dissimilar e-book on an electronic device, realize on an electronic device first e-book of showing in a first pattern being switched to showing the second e-book in a second mode, and after switching e-book based on the target location of locating gained, second e-book has carried out effective follow-up to the progress of the first e-book, thus the application achieves the seamless switching between two kinds of dissimilar e-book, better user experience.
From above scheme, mode switching method disclosed in the present application is when receiving the e-book handoff request that user sends based on the first e-book, by the identification information of the first e-book, the second e-book (the first e-book that obtaining information content is identical with described first e-book, second e-book is respectively based on first mode, second pattern exposure information), and pass through the current progress msg of the first e-book, location, position is carried out in the second e-book, finally, based on the target location of location gained, the first e-book that described electronic equipment is shown with described first mode is switched to the second e-book described in described second pattern exposure.Visible, the application achieves the automatic switchover between dissimilar e-book, e-book handoff procedure does not need the manual operation relying on user, solves prior art because need be realized the switching of dissimilar e-book by user's manual operation, and causes Consumer's Experience this problem poor.
Embodiment seven
With reference to figure 7, the structural representation of a kind of electronic equipment embodiment seven that Fig. 7 provides for the application, in the present embodiment, supposes that described first e-book is talking e-book, described second e-book is Soundless electronic book, and described progress msg is the current broadcasting moment of described first e-book; Then described locating module 300 can be realized by the first computing unit 311 and the first positioning unit 312.
First computing unit 311, for obtaining total playing duration of described first e-book, and utilizes the current broadcasting moment of described first e-book, and described total playing duration, calculates the broadcasting ratio that described first e-book is current;
First positioning unit 312, for the broadcasting ratio utilizing described first e-book current, carries out location, position, obtains first object position in described second e-book.
User current the talking e-book of use need be switched to use Soundless electronic book time, the present embodiment according to current broadcastings moment of talking e-book and total playing duration, the broadcasting ratio that calculating talking e-book is current; On this basis, the length ratio of the broadcasting ratio calculated as the Soundless electronic book with identical content is positioned Soundless electronic book, obtains the position location of Soundless electronic book.
Accordingly, described handover module 400 can be realized by the first converting unit 411, first Rapid matching unit 412, first switch unit 413 and the second switch unit 414 by S104 in the present embodiment.
First converting unit 411, for obtaining the reference speech section of real-time buffer memory, and is converted to corresponding benchmark word by described reference speech section; Described reference speech section is the voice content of the first preset duration before the broadcasting moment current described in described first e-book;
First Rapid matching unit 412, for the Word message in preset range in described benchmark word and described second e-book is carried out Rapid matching, wherein, described preset range with described first object position for reference point;
First switch unit 413, for when Rapid matching is successful, shows with described second pattern described second e-book for starting point with described benchmark word successful word of Rapid matching in described second e-book;
Second switch unit 414, for when Rapid matching is failed, described benchmark word is carried out full text with described second e-book mate, and with the described benchmark word word that the match is successful in full in described second e-book for starting point, described second e-book is shown with described second pattern.
Using the length ratio of the broadcasting ratio of talking e-book as Soundless electronic book, after positioning Soundless electronic book, the position location obtained is comparatively rough, thus needs to carry out precise positioning to Soundless electronic book further on the basis of coarse localization.
The present embodiment is specifically when playing talking e-book, in talking e-book described in real-time buffer memory before the current broadcasting moment voice content of preset duration, afterwards by the voice content of buffer memory is mated as reference speech section with Soundless electronic book, realize carrying out precise positioning to Soundless electronic book.
Particularly, first text-converted is carried out to the reference speech section of buffer memory, obtain corresponding content of text and described benchmark word, afterwards, word content in certain limit before and after coarse localization position (i.e. described first object position) in described benchmark word and described Soundless electronic book is carried out Rapid matching, if Rapid matching success, then can realize carrying out precise positioning to Soundless electronic book, thus on this basis, can when stopping playing talking e-book, with described benchmark word in Soundless electronic book the successful word of Rapid matching for starting point, the content of text of display Soundless electronic book, realize e-book to switch.
If Rapid matching failure, in order to realize precise positioning, can continue that described benchmark word and Soundless electronic book are carried out full text to mate, finally with the described benchmark word word that in full the match is successful in Soundless electronic book for starting point, show described Soundless electronic book with text message read for user.
It should be noted that, the described preset range based on first object position is being carried out under the prerequisite rationally arranged, by Rapid matching, generally successfully can realize carrying out precise positioning to Soundless electronic book, thus the seamless switching between dissimilar e-book can be carried out fast; The processing speed of coupling is relatively slow in full, but can be used as the supplementary processing policy of Rapid matching, realizes, when Rapid matching failure, still to carry out precise positioning to Soundless electronic book.
Embodiment eight
With reference to figure 8, the structural representation of a kind of electronic equipment embodiment eight that Fig. 8 provides for the application, in the present embodiment, suppose that described first e-book is Soundless electronic book, described second e-book is talking e-book, described progress msg is the current number of pages of described first e-book, or, the current reading location of user in described first e-book current page; Then described locating module 300 can be realized by the second computing unit 321 and the second positioning unit 322.
Second computing unit 321, for according to the described current number of pages obtained or described current reading location, calculates the reading ratio that user reads described first e-book;
Second positioning unit 322, for utilizing the numerical value of described reading ratio to carry out location, position in the second e-book, obtains the second target location.
User current the Soundless electronic book of use need be switched to use talking e-book time, the present embodiment is according to the current reading location of user in the current reading number of pages or current page of described Soundless electronic book, calculate user to the reading ratio of described Soundless electronic book, afterwards using the reading ratio that the calculates broadcasting ratio as talking e-book, coarse localization is carried out to talking e-book, obtains described second target location.
Accordingly, described handover module 400 can be realized by acquiring unit 421, second converting unit 422, second Rapid matching unit 423, the 3rd switch unit 424 and the 4th switch unit 425 in the present embodiment.
Acquiring unit 421, for obtaining the benchmark text chunk of real-time buffer memory, described benchmark text chunk is the word content that in the first e-book, number of words is preset at current page end before presetting the word content of number of words or described current reading location;
Second converting unit 422, for obtaining the voice segments of forward and backward second preset duration in the second target location described in described second e-book, and is converted to corresponding word paragraph by institute's speech segment;
Second Rapid matching unit 423, for carrying out Rapid matching by described benchmark text chunk and described word paragraph;
3rd switch unit 424, for when Rapid matching is successful, shows with described second pattern described second e-book for starting point with described benchmark text chunk successful voice of Rapid matching in described second e-book.
Whole speech conversion of described second e-book, for when Rapid matching is failed, are corresponding word chapter by the 4th switch unit 425; Described benchmark text chunk is carried out full text with described word chapter mate, and with the described benchmark text chunk voice that the match is successful in full in described second e-book for starting point, described second e-book is shown with described second pattern.
Using the broadcasting ratio of the reading ratio of Soundless electronic book as talking e-book, after positioning talking e-book, the position location obtained is comparatively rough, thus needs to carry out precise positioning to talking e-book further on the basis of coarse localization.
In the present embodiment, electronic equipment is specifically when showing the content of text of Soundless electronic book, in Soundless electronic book described in real-time buffer memory, the word content of number of words is preset at current page end, or when receiving the e-book handoff request that user triggers based on its current reading location at current page, the word content of number of words is preset before current reading location described in real-time buffer memory, afterwards by the word content of buffer memory is mated as benchmark text chunk with talking e-book, realize carrying out precise positioning to talking e-book.
Particularly, first obtain the voice segments of the forward and backward scheduled duration of the second target location (obtaining based on coarse localization) described in talking e-book, and text-converted is carried out to the voice segments obtained, obtain corresponding word paragraph; Afterwards, described benchmark text chunk and described word paragraph are carried out Rapid matching; If Rapid matching success, then can when stopping the described Soundless electronic book of display, for starting point, audio frequency broadcasting is carried out to described talking e-book with described benchmark text chunk successful voice of Rapid matching in described talking e-book, thus realize the switching of dissimilar e-book.
If Rapid matching failure, in order to realize carrying out precise positioning to talking e-book, can continue to carry out text-converted process in full (only needing when first time mates in full to carry out full text text-converted) to talking e-book, and on this basis, described benchmark text chunk is carried out full text with the full text content of text of talking e-book mate, thus, finally with the described benchmark text chunk voice that the match is successful in full in described talking e-book for starting point, audio frequency broadcasting can be carried out to described talking e-book.
It should be noted that, carrying out described second preset duration, under the prerequisite rationally arranged, by Rapid matching, generally successfully to realize carrying out precise positioning to talking e-book, thus the seamless switching between dissimilar e-book can being carried out fast; The processing speed of coupling is relatively slow in full, but can be used as the supplementary processing policy of Rapid matching, realizes, when Rapid matching failure, still to carry out precise positioning to talking e-book.
Embodiment nine
With reference to figure 9, the structural representation of a kind of electronic equipment embodiment 94 that Fig. 9 provides for the application, in the present embodiment, supposes that described first e-book is talking e-book, described second e-book is Soundless electronic book, and described progress msg is the current broadcasting moment of described first e-book; Then described locating module 300 can be realized by the first query unit 331 and the 3rd positioning unit 332.
First query unit 331, for utilizing the current broadcasting moment of the first e-book, the voice segments inquiring current broadcasting from the primary importance message file prestored drops on the document length ratio in the second e-book residing for correspondence; Described primary importance message file comprises: in the first e-book, initial broadcasting moment, each voice segments of each voice paragraph drops on the document length ratio in the second e-book residing for correspondence;
3rd positioning unit 332, for utilizing described document length ratio, carrying out location, position, obtaining the 3rd target location in the second e-book.
Correspondingly, with reference to figure 9, handover module 400 described in the present embodiment can be realized by the 5th switch unit 431.
5th switch unit 431, is initial paragraph for the paragraph corresponding with described 3rd target location, shows described second e-book with described second pattern.
Be different from embodiment seven, the present embodiment provides talking e-book to switch to the another kind of implementation of Soundless electronic book.In the present embodiment, need the form of self-defined talking e-book in advance, such as can when recorded speech file, record each voice segments simultaneously and drop on positional information in voice document, and saved as positional information file.The initial broadcasting moment of each voice paragraph in talking e-book can be comprised in this positional information file, each voice segments drops on the broadcasting ratio (the described initial broadcasting moment can be adopted to calculate) in described talking e-book, each voice segments drops on document length ratio in the Soundless electronic book of identical content residing for correspondence, and the information such as the predetermined fraction content of each voice paragraph section start.
Thus, when user talking e-book need be switched Soundless electronic book use time, the current broadcasting moment of talking e-book can be obtained, and by inquiring about according to the described current broadcasting moment the current broadcasting paragraph knowing talking e-book to described positional information file, particularly, in described positional information file, before being engraved in the described current broadcasting moment during initial broadcasting, and initial broadcasting moment and describedly currently play the current broadcasting paragraph that moment the most close paragraph is described talking e-book, thus on this basis, the document length ratio that described current broadcasting paragraph is corresponding in Soundless electronic book can be read further from described positional information file, and according to the document length ratio inquired, Soundless electronic book is positioned.Finally, content display can be carried out according to the target location of location gained to Soundless electronic book.
Embodiment ten
With reference to Figure 10, the structural representation of a kind of electronic equipment embodiment ten that Figure 10 provides for the application, in the present embodiment, supposes that described first e-book is Soundless electronic book, described second e-book is talking e-book, and described progress msg is the current reading paragraph of described Soundless electronic book; Then described locating module 300 can be realized by the second query unit 341 and the 4th positioning unit 342.
Second query unit 341, for inquiring the described current reading paragraph initial broadcasting moment corresponding in the second e-book from the second place message file prestored; Described second place message file comprises: the initial broadcasting moment that each text fragment in described first e-book is corresponding in described second e-book;
4th positioning unit 342, for utilizing the described initial broadcasting moment inquired, carrying out location, position, obtaining the 4th target location in the second e-book.
Correspondingly, with reference to Figure 10, handover module 400 described in the present embodiment can be realized by the 6th switch unit 441.
6th switch unit 441 is initial paragraph for the paragraph corresponding with the 4th target location described in the second e-book, shows with described second pattern described second e-book.
Be different from embodiment eight, the present embodiment provides Soundless electronic book to switch to the another kind of implementation of talking e-book.In the present embodiment, need in advance for Soundless electronic book configures a positional information file.The length ratio that the position of each text fragment in Soundless electronic book is residing in pandect can be comprised in this positional information file, the broadcasting ratio that each text fragment is corresponding in the talking e-book that content is identical, the initial broadcasting moment that each text fragment is corresponding in described talking e-book, or the information such as the segment word content of each text fragment.Thus, after the location triggered e-book handoff request of user based on its current reading paragraph place, electronic equipment can know the current reading paragraph of user based on the trigger position of user, and pass through according to described current reading paragraph inquiring position message file, know the information that described current reading paragraph is corresponding in talking e-book, such as know the initial broadcasting moment etc. that described current reading paragraph is corresponding in described talking e-book; On this basis, can realize positioning talking e-book and the audio frequency of required progress is play.
It should be noted that, each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
For convenience of description, various module or unit is divided into describe respectively with function when describing above system or device.Certainly, the function of each unit can be realized in same or multiple software and/or hardware when implementing the application.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the mode that the application can add required general hardware platform by software and realizes.Based on such understanding, the technical scheme of the application can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment of the application or embodiment.
Finally, also it should be noted that, in this article, the relational terms of such as first, second, third and fourth etc. and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (18)

1. an e-book changing method, is characterized in that, is applied to electronic equipment, and described method comprises:
When receiving the e-book handoff request that user sends based on the first e-book, obtain identification information and the progress msg of described first e-book, described first e-book carries out information display based on first mode;
According to the identification information of described first e-book, determine second e-book identical with the information content of described first e-book, described second e-book carries out information display based on the second pattern;
According to described progress msg, in described second e-book, carry out location, position;
Based on the target location of location gained, the first e-book that described electronic equipment is shown with described first mode is switched to the second e-book described in described second pattern exposure.
2. method according to claim 1, is characterized in that, described first e-book is talking e-book, and described second e-book is Soundless electronic book, and described progress msg is the current broadcasting moment of described first e-book;
Described according to described progress msg, in described second e-book, carry out location, position comprise:
Obtain total playing duration of described first e-book, and utilize the current broadcasting moment of described first e-book, and described total playing duration, calculate the broadcasting ratio that described first e-book is current;
Utilize the broadcasting ratio that described first e-book is current, in described second e-book, carry out location, position, obtain first object position.
3. method according to claim 2, is characterized in that, the described target location based on location gained, switches to the first e-book that described electronic equipment is shown with described first mode with the second e-book described in described second pattern exposure, comprising:
Obtain the reference speech section of real-time buffer memory, and described reference speech section is converted to corresponding benchmark word; Described reference speech section is the voice content of the first preset duration before the broadcasting moment current described in described first e-book;
Word message in preset range in described benchmark word and described second e-book is carried out Rapid matching, wherein, described preset range with described first object position for reference point;
If Rapid matching success, then, show with described second pattern described second e-book for starting point with described benchmark word successful word of Rapid matching in described second e-book;
If Rapid matching failure, then described benchmark word is carried out full text with described second e-book to mate, and with the described benchmark word word that the match is successful in full in described second e-book for starting point, described second e-book is shown with described second pattern.
4. method according to claim 1, it is characterized in that, described first e-book is Soundless electronic book, described second e-book is talking e-book, the progress msg of described first e-book is: the current number of pages of described first e-book, or, user's current reading location in described first e-book current page;
The described progress msg according to described first e-book, carries out location, position and comprises in described second e-book:
According to the described current number of pages obtained or described current reading location, calculate the reading ratio that user reads described first e-book;
Utilize the numerical value of described reading ratio to carry out location, position in the second e-book, obtain the second target location.
5. method according to claim 4, is characterized in that, the described target location based on location gained, switches to the first e-book that described electronic equipment is shown with described first mode with the second e-book described in described second pattern exposure, comprising:
Obtain the benchmark text chunk of real-time buffer memory, described benchmark text chunk is the word content that in the first e-book, number of words is preset at current page end before presetting the word content of number of words or described current reading location;
Obtain the voice segments of forward and backward second preset duration in the second target location described in described second e-book, and institute's speech segment is converted to corresponding word paragraph;
Described benchmark text chunk and described word paragraph are carried out Rapid matching, if Rapid matching success, then, for starting point described second e-book is shown with described second pattern with described benchmark text chunk successful voice of Rapid matching in described second e-book;
If Rapid matching failure, be then corresponding word chapter by whole speech conversion of described second e-book; Described benchmark text chunk is carried out full text with described word chapter mate, and with the described benchmark text chunk voice that the match is successful in full in described second e-book for starting point, described second e-book is shown with described second pattern.
6. method according to claim 1, is characterized in that, described first e-book is talking e-book, and described second e-book is Soundless electronic book, and described progress msg is the current broadcasting moment of described first e-book; The described progress msg according to described first e-book, carries out location, position and comprises in described second e-book:
Utilize the current broadcasting moment of the first e-book, the voice segments inquiring current broadcasting from the primary importance message file prestored drops on the document length ratio in the second e-book residing for correspondence; Described primary importance message file comprises: in the first e-book, initial broadcasting moment, each voice segments of each voice paragraph drops on the document length ratio in the second e-book residing for correspondence;
Utilize described document length ratio, in the second e-book, carry out location, position, obtain the 3rd target location.
7. method according to claim 6, is characterized in that, the described target location based on location gained, switches to the first e-book that described electronic equipment is shown with described first mode with the second e-book described in described second pattern exposure, comprising:
Be initial paragraph with the paragraph that described 3rd target location is corresponding, described second e-book is shown with described second pattern.
8. method according to claim 1, is characterized in that, described first e-book is Soundless electronic book, and described second e-book is talking e-book, and described progress msg is: the current reading paragraph of described first e-book; The then described progress msg according to described first e-book, carries out location, position and comprises in described second e-book:
The initial broadcasting moment that described current reading paragraph is corresponding in the second e-book is inquired from the second place message file prestored; Described second place message file comprises: the initial broadcasting moment that each text fragment in described first e-book is corresponding in described second e-book;
Utilize the described initial broadcasting moment inquired, in the second e-book, carry out location, position, obtain the 4th target location.
9. method according to claim 8, is characterized in that, the described target location based on location gained, switches to the first e-book that described electronic equipment is shown with described first mode with the second e-book described in described second pattern exposure, comprising:
Be initial paragraph with the paragraph that the 4th target location described in the second e-book is corresponding, described second e-book is shown with described second pattern.
10. an electronic equipment, is characterized in that, comprising:
Acquisition module, for when receiving the e-book handoff request that user sends based on the first e-book, obtain identification information and the progress msg of described first e-book, described first e-book carries out information display based on first mode;
Determination module, for the identification information according to described first e-book, determine second e-book identical with the information content of described first e-book, described second e-book carries out information display based on the second pattern;
Locating module, for according to described progress msg, carries out location, position in described second e-book;
Handover module, for the target location based on location gained, switches to the first e-book that described electronic equipment is shown with described first mode with the second e-book described in described second pattern exposure.
11. electronic equipments according to claim 10, is characterized in that, described first e-book is talking e-book, and described second e-book is Soundless electronic book, and described progress msg is the current broadcasting moment of described first e-book; Then described locating module comprises:
First computing unit, for obtaining total playing duration of described first e-book, and utilizes the current broadcasting moment of described first e-book, and described total playing duration, calculates the broadcasting ratio that described first e-book is current;
First positioning unit, for the broadcasting ratio utilizing described first e-book current, carries out location, position, obtains first object position in described second e-book.
12. electronic equipments according to claim 11, is characterized in that, described handover module comprises:
First converting unit, for obtaining the reference speech section of real-time buffer memory, and is converted to corresponding benchmark word by described reference speech section; Described reference speech section is the voice content of the first preset duration before the broadcasting moment current described in described first e-book;
First Rapid matching unit, for the Word message in preset range in described benchmark word and described second e-book is carried out Rapid matching, wherein, described preset range with described first object position for reference point;
First switch unit, for when Rapid matching is successful, shows with described second pattern described second e-book for starting point with described benchmark word successful word of Rapid matching in described second e-book;
Second switch unit, for when Rapid matching is failed, described benchmark word is carried out full text with described second e-book mate, and with the described benchmark word word that the match is successful in full in described second e-book for starting point, described second e-book is shown with described second pattern.
13. electronic equipments according to claim 10, it is characterized in that, described first e-book is Soundless electronic book, described second e-book is talking e-book, the progress msg of described first e-book is: the current number of pages of described first e-book, or, user's current reading location in described first e-book current page; Then described locating module comprises:
Second computing unit, for according to the described current number of pages obtained or described current reading location, calculates the reading ratio that user reads described first e-book;
Second positioning unit, for utilizing the numerical value of described reading ratio to carry out location, position in the second e-book, obtains the second target location.
14. electronic equipments according to claim 13, is characterized in that, described handover module comprises:
Acquiring unit, for obtaining the benchmark text chunk of real-time buffer memory, described benchmark text chunk is the word content that in the first e-book, number of words is preset at current page end before presetting the word content of number of words or described current reading location;
Second converting unit, for obtaining the voice segments of forward and backward second preset duration in the second target location described in described second e-book, and is converted to corresponding word paragraph by institute's speech segment;
Second Rapid matching unit, for carrying out Rapid matching by described benchmark text chunk and described word paragraph;
3rd switch unit, for when Rapid matching is successful, shows with described second pattern described second e-book for starting point with described benchmark text chunk successful voice of Rapid matching in described second e-book;
Whole speech conversion of described second e-book, for when Rapid matching is failed, are corresponding word chapter by the 4th switch unit; Described benchmark text chunk is carried out full text with described word chapter mate, and with the described benchmark text chunk voice that the match is successful in full in described second e-book for starting point, described second e-book is shown with described second pattern.
15. electronic equipments according to claim 10, is characterized in that, described first e-book is talking e-book, and described second e-book is Soundless electronic book, and described progress msg is the current broadcasting moment of described first e-book; Then described locating module comprises:
First query unit, for utilizing the current broadcasting moment of the first e-book, the voice segments inquiring current broadcasting from the primary importance message file prestored drops on the document length ratio in the second e-book residing for correspondence; Described primary importance message file comprises: in the first e-book, initial broadcasting moment, each voice segments of each voice paragraph drops on the document length ratio in the second e-book residing for correspondence;
3rd positioning unit, for utilizing described document length ratio, carrying out location, position, obtaining the 3rd target location in the second e-book.
16. electronic equipments according to claim 15, is characterized in that, described handover module comprises:
5th switch unit, is initial paragraph for the paragraph corresponding with described 3rd target location, shows described second e-book with described second pattern.
17. electronic equipments according to claim 10, is characterized in that, described first e-book is Soundless electronic book, and described second e-book is talking e-book, and described progress msg is: the current reading paragraph of described first e-book; Then described locating module comprises:
Second query unit, for inquiring the described current reading paragraph initial broadcasting moment corresponding in the second e-book from the second place message file prestored; Described second place message file comprises: the initial broadcasting moment that each text fragment in described first e-book is corresponding in described second e-book;
4th positioning unit, for utilizing the described initial broadcasting moment inquired, carrying out location, position, obtaining the 4th target location in the second e-book.
18. electronic equipments according to claim 17, is characterized in that, described handover module comprises:
6th switch unit is initial paragraph for the paragraph corresponding with the 4th target location described in the second e-book, shows with described second pattern described second e-book.
CN201510604261.9A 2015-09-21 2015-09-21 Electronic book switching method and electronic equipment Pending CN105117367A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510604261.9A CN105117367A (en) 2015-09-21 2015-09-21 Electronic book switching method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510604261.9A CN105117367A (en) 2015-09-21 2015-09-21 Electronic book switching method and electronic equipment

Publications (1)

Publication Number Publication Date
CN105117367A true CN105117367A (en) 2015-12-02

Family

ID=54665363

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510604261.9A Pending CN105117367A (en) 2015-09-21 2015-09-21 Electronic book switching method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105117367A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107301160A (en) * 2016-04-14 2017-10-27 珠海金山办公软件有限公司 A kind of document localization method and device
CN107301157A (en) * 2016-04-14 2017-10-27 珠海金山办公软件有限公司 A kind of reading model switching position localization method and device
CN108270501A (en) * 2017-01-03 2018-07-10 中兴通讯股份有限公司 A kind of information synchronization method and device
CN110647306A (en) * 2019-09-30 2020-01-03 掌阅科技股份有限公司 Reading mode control method based on electronic book application and electronic equipment
CN114615612A (en) * 2022-01-26 2022-06-10 大连即时智能科技有限公司 Text and audio presentation processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102723004A (en) * 2011-03-29 2012-10-10 汉王科技股份有限公司 Electronic document point-reading control method and apparatus
CN104123114A (en) * 2013-04-27 2014-10-29 腾讯科技(深圳)有限公司 Method and device for playing voice
CN104662604A (en) * 2012-08-02 2015-05-27 奥德伯公司 Alignment of corresponding media content portions
CN104765714A (en) * 2014-01-08 2015-07-08 ***通信集团浙江有限公司 Switching method and device for electronic reading and listening

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102723004A (en) * 2011-03-29 2012-10-10 汉王科技股份有限公司 Electronic document point-reading control method and apparatus
CN104662604A (en) * 2012-08-02 2015-05-27 奥德伯公司 Alignment of corresponding media content portions
CN104123114A (en) * 2013-04-27 2014-10-29 腾讯科技(深圳)有限公司 Method and device for playing voice
CN104765714A (en) * 2014-01-08 2015-07-08 ***通信集团浙江有限公司 Switching method and device for electronic reading and listening

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107301160A (en) * 2016-04-14 2017-10-27 珠海金山办公软件有限公司 A kind of document localization method and device
CN107301157A (en) * 2016-04-14 2017-10-27 珠海金山办公软件有限公司 A kind of reading model switching position localization method and device
CN108270501A (en) * 2017-01-03 2018-07-10 中兴通讯股份有限公司 A kind of information synchronization method and device
CN110647306A (en) * 2019-09-30 2020-01-03 掌阅科技股份有限公司 Reading mode control method based on electronic book application and electronic equipment
CN114615612A (en) * 2022-01-26 2022-06-10 大连即时智能科技有限公司 Text and audio presentation processing method and device
CN114615612B (en) * 2022-01-26 2024-07-09 大连即时智能科技有限公司 Text and audio presentation processing method and device

Similar Documents

Publication Publication Date Title
CN105117367A (en) Electronic book switching method and electronic equipment
CN107657973B (en) Text and audio mixed display method and device, terminal equipment and storage medium
CN104129347B (en) Control method between onboard system and terminal
CN102440011A (en) Method for sharing terminal position and terminal device
CN104090969A (en) Data processing method and device
CN101958964A (en) Method and system for displaying short message during call and mobile terminal
CN104915855B (en) The predictor method and device of order competition for orders rate
CN104424970A (en) Synchronization method and device for multimedia play information
CN102611799A (en) Method, device and system for acquiring contact person numbers
CN104378755A (en) Terminal interaction method and device
CN104994237A (en) Audio access method, equipment and WIFI headphone
CN103634032B (en) Data transfering method, system and mobile terminal
CN103516856A (en) Method and apparatus for information combination
CN103500122A (en) Multimedia file playing method and electronic equipment
CN106878807A (en) A kind of video switching method and device
CN106060239A (en) Social circle message display method and terminal device
CN104657445A (en) Method for obtaining prompt information
CN104683292B (en) Interaction method, device and system between objects
CN105719209A (en) Virtual test examination room establishing method and device
CN105657461A (en) Video playing prompting method and device and mobile terminal
CN103106037B (en) A kind of mobile terminal switches the method and system of playout software song
CN104765805A (en) Maintenance method and device for playlist of multimedia file player
CN104917884A (en) Data transmission method and data transmission device
CN104954858A (en) Method for annotating and quickly playing multimedia playing nodes, mobile terminal and playing equipment
CN105657146A (en) Call information reminding method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151202

RJ01 Rejection of invention patent application after publication