CN102708710A - E-book reader and working method thereof - Google Patents

E-book reader and working method thereof Download PDF

Info

Publication number
CN102708710A
CN102708710A CN2012101326292A CN201210132629A CN102708710A CN 102708710 A CN102708710 A CN 102708710A CN 2012101326292 A CN2012101326292 A CN 2012101326292A CN 201210132629 A CN201210132629 A CN 201210132629A CN 102708710 A CN102708710 A CN 102708710A
Authority
CN
China
Prior art keywords
data
book
electronic
book reader
decoding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012101326292A
Other languages
Chinese (zh)
Other versions
CN102708710B (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.)
Allwinner Technology Co Ltd
Original Assignee
Allwinner Technology Co 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 Allwinner Technology Co Ltd filed Critical Allwinner Technology Co Ltd
Priority to CN201210132629.2A priority Critical patent/CN102708710B/en
Publication of CN102708710A publication Critical patent/CN102708710A/en
Application granted granted Critical
Publication of CN102708710B publication Critical patent/CN102708710B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides an e-book reader and a working method thereof. The E-book reader consists of a central processing unit, an input unit, a storage unit, a display control unit and an e-paper display screen, wherein the e-book reader is further provided with a decoding unit which has a decoding module, a data partitioning module and a coding module, the decoding module is used for decoding e-book data with format capable of being recognized, the data partitioning module is used for partitioning the decoded data into a plurality of data blocks, and the coding unit is used for coding the data blocks and outputting the coded data to a display control unit. The method comprises the steps of: decoding, namely decoding e-book data stored in the e-book reader, and dividing the decoded data stream into a plurality of data blocks; and displaying, namely displaying the decoded data blocked on the e-paper display screen of the e-book reader. The e-book reader can be used for realizing the displaying and outputting of format irrelevance of an e-book and bringing a better experience effect to a user.

Description

E-book reader and method of work thereof
Technical field
The present invention relates to portable electric appts data decode field, especially relate to the method for work of a kind of E-book reader and this E-book reader.
Background technology
E-book reading device makes things convenient for the user to read a large amount of books and receive extensive welcome with environmental protection, with no paper mode owing to can store a large amount of e-books.Enhancing along with the portable electric appts function; Existing a lot of portable electric appts; Like panel computer, mobile phone etc. the e-book reading function is set, just these portable electric appts are provided with E-book reader, are used to realize the function of e-book reading.
The electric theory diagram of existing E-book reader is as shown in Figure 1, and it has CPU 10, storage unit 11, input block 12, indicative control unit 13 and electronic-paper display screen 14.
CPU 10 is used to control the work of E-book reader, and storage unit 11 is used to store the data of a large amount of e-books, i.e. electronic book data.Input block 12 is used to receive the instruction of user's input, and sends corresponding instruction to CPU 10.Indicative control unit 13 is used to receive the information of CPU 10 outputs, comprises the data stream of electronic book data, and these data stream are resolved, and with data transmission to the electronic-paper display screen 14 after resolving, shows these data by electronic-paper display screen 14.
Electronic book data is formed by multiple different coding format encoded usually, and common have txt form, html form, pdf form etc., so indicative control unit 13 need be resolved the electronic book data of multiple different-format.Common way is the demoder of in E-book reader, installing in advance to the file of multiple different-format now, uses these demoders that electronic book data is resolved.Existing decoder all is special-purpose demoder usually, can only decode to a kind of file of form usually, and is compatible relatively poor.
Yet; Along with increasing of electronic book data form; Said method will cause in the E-book reader a large amount of demoders being set; To take a large amount of system memory resource of E-book reader during these demoder operations, increase the difficulty of the compatible more electronic book data form of E-book reader simultaneously, increase the research and development and the production cost of E-book reader.And; Because E-book reader is provided with a large amount of demoders; Possibly call a large amount of demoders when E-book reader is decoded to electronic book data, the working resource that influences E-book reader CPU 10 distributes, and causes data decode speed not high.
In addition; Because after demoder is resolved the electronic book data of different-format; Can't change the form of electronic book data, the electronic book data that therefore is presented at electronic-paper display screen 14 has diversified coded format, the display mode of electronic book data under the different coding form, the mode of operation of electronic book data also is not quite similar; Inequality like function operations modes such as page turning, change font colors, bring great inconvenience for user's use.
Summary of the invention
The E-book reader that occupying system resources was less when fundamental purpose of the present invention provided a kind of the operation, scalability good and make things convenient for the user to use.
Another object of the present invention provides a kind of method of work of E-book reader of the user's of convenience reading electronic book.
In order to realize above-mentioned fundamental purpose; E-book reader provided by the invention has CPU, the input block to the CPU input information, storage unit, the indicative control unit of store electricity philosophical works data and the electronic-paper display screen that receives the indicative control unit output data; Wherein, E-book reader also is provided with decoding unit; It has decoder module, deblocking module and coding module; Decoder module is used for being decoded by the electronic book data of format identification, and the deblocking module is used for decoded data stream is divided into the polylith data block, and the data after coding unit is used for data block encoded and will encode export indicative control unit to.
Visible by such scheme; E-book reader is unified decoding through decoder module to electronic book data and is undertaken outputing on the electronic-paper display screen after the Unified coding by coding module; Like this; As long as the decoding functions of multiple formatted file or the interface of decoding functions are set in decoder module, can decode to the electronic book data of multiple different-format through the corresponding decoding functions of the interface interchange of decoding functions.Because the memory source that the decoding functions operation takies the time will be much smaller than the shared memory source of demoder, so the system resource that E-book reader takies is less, and can decode to the electronic book data of multiple different-format, scalability is good.
In addition, the coding module unification is encoded to data block, and the literal that can guarantee to be presented on the electronic-paper display screen is consistent with the coded format of pattern, and identical to the editing operation mode of literal, pattern, makes things convenient for user's use.
A preferred scheme is that decoding unit also is provided with the function executing module, is used for carrying out function corresponding according to the function executing instruction of CPU output.
This shows that data the seek unity of action function corresponding of function executing module after to coding guaranteed the consistance of E-book reader to all electronic book data function executing, makes things convenient for user's use.
For realizing another above-mentioned purpose, E-book reader method of work provided by the invention comprises decoding step: the electronic book data that E-book reader is stored is decoded, and decoded data stream is divided into the polylith data block; And step display: with being presented on the electronic-paper display screen of E-book reader behind the data block coding.
Visible by such scheme; E-book reader carries out recompile after the electronic book data of different-format is decoded; Can use the another kind of form that is different from the original coded format of electronic book data to encode during recompile; And guarantee that all electronic book data coded formats are identical; Thereby guarantee electronic book data that encoded in different formats obtains through behind the recompile on electronic-paper display screen the time by forming with a kind of coded format coding, also just identical to the mode of operation of electronic book data, make things convenient for user's use.
A preferred scheme is in the step display, to use and with a kind of predetermined coded format all data stream are encoded.
This shows that through with a kind of predetermined form all data stream being encoded, the data after can guaranteeing to encode have identical display mode, editing operation mode, and are convenient during user's reading electronic book.And because electronic book data will be by the transform coding form, electronic-paper display screen institute's data presented and the original coded format of electronic book data are irrelevant, realize that the form independence of E-book reader shows.
Further scheme is; Decoding step also comprises carries out label to each data block, gives each data block unique tag number, and obtains total page number quantity of electronic book data; Set the tag number of the corresponding data block of each page number; Step display also comprised data presentation before electronic-paper display screen, chose the corresponding data block of the page number of required demonstration according to the page number selection instruction of outside input, and the step that data block is encoded is for to encode to the data block of getting.
It is thus clear that, through data block is carried out label, and set the corresponding data block of each page number, help searching fast and need the data presented piece and respective data blocks is encoded, improve the response speed of E-book reader.
Description of drawings
Fig. 1 is the structural representation block diagram of existing E-book reader.
Fig. 2 is the structural representation block diagram of E-book reader embodiment of the present invention.
Fig. 3 is the process flow diagram of E-book reader method of work embodiment of the present invention.
Below in conjunction with accompanying drawing and embodiment the present invention is described further.
Embodiment
E-book reader of the present invention can be arranged on E-book reading device or portable electric appts, on panel computer, mobile phone.Referring to Fig. 2, the E-book reader of present embodiment has CPU 20, input block 21, storage unit 22, decoding unit 23, indicative control unit 24 and electronic-paper display screen 25.
The equipment that input block 21 has the signal input function for button, mouse or touch-screen etc. is so that the user is to the E-book reader input signal, like unlocking electronic book reader, page turning, display page is amplified or dwindles etc.
Storage unit 22 stores a large amount of electronic book datas, and these electronic book datas can be formed by multiple encoded in different formats, and can be visited by CPU 20 and read.
Decoding unit 23 is provided with decoder module 31, deblocking module 32, function executing module 33, coding module 34 and formatting module 35; Can receive the data stream that CPU 20 transmits; And data stream resolved; Indicative control unit 24 during data after resolving are transmitted, by indicative control unit 24 with data presentation on electronic-paper display screen 25.
The data of the electronic book data that the CPU 20 that can receive decoder module 31 transmits.And, the decoding functions to the file of multiple different electric philosophical works form is set in the decoder module 31, be used for the electronic book data of multiple different-format is decoded.Certainly, the decoding functions interface of the file of multiple different-format can only be set also in the decoder module 31, decoding unit 23 calls corresponding decoding functions through these function interfaces, through decoding functions corresponding data is decoded.After data were decoded, decoder module 31 generated the front cover information and the directory information of respective electrical philosophical works data.
Deblocking module 32 is used for decoder module 31 decoded data stream are carried out piecemeal, is divided into the polylith data block, and the length of each blocks of data piece can be selected according to actual conditions, for example can select the length of the data volume of 30kb as a blocks of data piece.Behind the data stream piecemeal, need carry out label to each blocks of data piece, give each blocks of data piece with unique tag number.Certainly; When data stream is carried out piecemeal; Also need generate the information of total page number quantity according to the information that decoded data stream comprised; And set the tag number of the corresponding data block of each page number, so that the user can promptly find corresponding data block when importing specific page number information.
The instruction that function executing module 33 is sent according to CPU 20, carrying out should the instruction function corresponding.For example; The user is through the instruction of input block 21 input page turnings, and CPU 20 transfers to decoding unit 23 with corresponding instruction, and function executing module 33 is promptly carried out corresponding function; According to the instruction page number value of searching down one page of input, and search the data block of correspondence according to this page number value.Certainly, function executing module 33 can also be carried out multiple different functions such as page jump, page rotation, convergent-divergent.
Coding module 34 is used for data block is encoded; Preferably; Coding module 34 uses encodes to all data blocks with a kind of predetermined coded format, and the data layout after can guaranteeing like this to encode is identical, reduces the data layout kind of indicative control unit 24 required processing; And the user only adapts to a kind of text of coded format, makes things convenient for user's use.
Formatting module 35 is used for the form of electronic-paper display screen 25 is provided with; As the margin of Electronic Paper on the electronic-paper display screen 25, the background color of Electronic Paper etc. are set; The literal and the pattern formation that also electronic-paper display screen 25 are shown simultaneously are provided with, as font size size, font color and the pattern dimension etc. of literal are set.Certainly, will the prestore form of an acquiescence of formatting module 35, and can be according to the setting of these forms of information change of user's input, to satisfy user's needs.
Indicative control unit 24 receives the data behind the coding that decoding units 23 transmit, and these data are resolved, and is sent to electronic-paper display screen 25 after the parsing, shows these data by electronic-paper display screen 25.Like this, the e-book of the different-format that promptly can be stored through electronic-paper display screen 25 reading electronic book readers of user.
The workflow of E-book reader is described below in conjunction with Fig. 3.At first, E-book reader carries out initialization to electronic-paper display screen, i.e. execution in step S1, and this step comprises the form that electronic-paper display screen is set, like the font size of margin, background color and the acquiescence of setting the Electronic Paper that is shown, font color etc.
Then, execution in step S2, CPU is obtained the data of the respective electrical philosophical works according to the instruction of input block input, and the data that read are sent to decoding unit.Decoding unit execution in step S3 judges that can the electronic book data that received by format identification, and promptly whether E-book reader is equipped with the decoding functions of electronic book data coded format, if form is not identified, then deactivates.If form can be identified, execution in step S4, by the decoder module of decoding unit these data being decoded forms data stream.As previously mentioned, data are decoded to call a plurality of decoding functions and decode, and after decoding, generate the front cover information and the directory information of corresponding electronic book data.
Then; Execution in step S5 carries out piecemeal with decoded data stream, and the size of data block can be set according to actual conditions; And need to give each data block to carry out label; Obtain the total page number quantity of electronic book data, set the label of the corresponding data block of each page number, can find corresponding data block apace according to the page number information of user's input like this.
Then; E-book reader execution in step S6 judges whether to receive the instruction of the demonstration specified page number of user's input, if receive; Execution in step S7 then; Search the corresponding data block of this page number, and respective data blocks is encoded, the data that the coding back is obtained are presented on the electronic-paper display screen through indicative control unit.
Certainly, E-book reader will receive the page number selection instruction of user through input block input, and instruct according to these and to choose the corresponding page number, search corresponding data block according to the selected page number simultaneously, and the data block that finds is encoded.The user possibly use functions such as page turning, jumping page or leaf in the process of reading electronic book, these can be realized through choosing the page number.In addition, E-book reader can also be provided with electronic tag according to the instruction of user input, realizes the convergent-divergent of the page, the font that is shown, the form of picture is provided with etc.
At last, E-book reader execution in step S8 judges whether to receive the instruction of closing e-book, if receive this instruction, then execution in step S9 closes e-book.
Since E-book reader to the electronic book data of different-format decode, piecemeal; Carry out unified coding then, and carry out unified display format setting, function setting etc., guarantee that like this display control module need not install the demoder to multiple electronic book data form; Required system memory resource when reducing the E-book reader operation; Reduce the complicacy of compatible multiple e-book form, shorten the R&D cycle of E-book reader, reduce its production cost.
In addition; Because E-book reader carries out recompile to the electronic book data of being decoded; Keep display format setting, function setting consistance between the different electric philosophical works; Make things convenient for the user being familiar with the environment for use of e-book, bring better experience effect, also realized the irrelevant display process of e-book form to the user.
In addition, the decoding of electronic book data realizes through a plurality of decoding functions, when therefore needing electronic book data Format Type that the expansion E-book reader supports, only need in decoder module, increase and corresponding decoding functions is set gets final product.And the increase of decoding functions can realize that compare the installation of existing decoder, simple, the scalability of E-book reader is good through the patch form.
Certainly, the foregoing description only is a preferred implementation of the present invention, during practical application, more change can also be arranged, and for example, can use coded format common more than two kinds when data block is encoded; Perhaps, judging that the electronic book data form is not identified the back and generates information, such change also can realize the object of the invention.
It is emphasized that at last to the invention is not restricted to above-mentioned embodiment, as to the change of database coded format, also should be included in the protection domain of claim of the present invention to the variations such as change of data flow point block size.

Claims (10)

1. E-book reader comprises
CPU, input block, storage unit, the indicative control unit of store electricity philosophical works data and the electronic-paper display screen that receives said indicative control unit output data to said CPU input information;
It is characterized in that:
Said E-book reader also is provided with decoding unit; Have decoder module, deblocking module and coding module; Said decoder module is used for being decoded by the said electronic book data of format identification; Said deblocking module is used for decoded data stream is divided into the polylith data block, and the data after said coding unit is used for said data block encoded and will encode export said indicative control unit to.
2. E-book reader according to claim 1 is characterized in that:
Said decoding unit also is provided with the function executing module, is used for carrying out function corresponding according to the function executing instruction of said CPU output.
3. E-book reader according to claim 1 and 2 is characterized in that:
Said decoding unit also is provided with the formatting module, and the literal or the pattern that are used for said electronic-paper display screen and said electronic-paper display screen shown carry out formatting.
4. the method for work of E-book reader is characterized in that: comprise
Decoding step: the electronic book data that E-book reader is stored is decoded, and decoded data stream is divided into the polylith data block;
Step display: with being presented on the electronic-paper display screen of E-book reader behind the said data block coding.
5. the method for work of E-book reader according to claim 4 is characterized in that
Before carrying out said decoding step, judge whether said electronic book data can be by format identification, if can be carried out said decoding step by format identification, if can not then be deactivated by format identification.
6. according to the method for work of claim 4 or 5 described E-book readers, it is characterized in that:
In the said step display, use and all said data blocks are encoded with a kind of predetermined coded format.
7. according to the method for work of claim 4 or 5 described E-book readers, it is characterized in that:
Said decoding step also comprises carries out label to each said data block, gives each said data block unique tag number, and obtains total page number quantity of said electronic book data, sets the tag number of the corresponding said data block of each said page number.
8. the method for work of E-book reader according to claim 7 is characterized in that:
Said step display also comprised said data presentation before said electronic-paper display screen; Choose the corresponding data block of the page number of required demonstration according to the page number selection instruction of outside input, the step that said data block is encoded is for to encode to selected data block.
9. according to the method for work of claim 4 or 5 described E-book readers, it is characterized in that:
Said decoding step also comprise data are decoded after, generate the front cover information and the directory information of said electronic book data.
10. according to the method for work of claim 4 or 5 described E-book readers, it is characterized in that:
Said step display also comprised said data presentation before said electronic-paper display screen, said electronic-paper display screen is carried out formatting.
CN201210132629.2A 2012-04-28 2012-04-28 E-book reader and working method thereof Active CN102708710B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210132629.2A CN102708710B (en) 2012-04-28 2012-04-28 E-book reader and working method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210132629.2A CN102708710B (en) 2012-04-28 2012-04-28 E-book reader and working method thereof

Publications (2)

Publication Number Publication Date
CN102708710A true CN102708710A (en) 2012-10-03
CN102708710B CN102708710B (en) 2015-02-25

Family

ID=46901420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210132629.2A Active CN102708710B (en) 2012-04-28 2012-04-28 E-book reader and working method thereof

Country Status (1)

Country Link
CN (1) CN102708710B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902661A (en) * 2012-10-24 2013-01-30 广东欧珀移动通信有限公司 Method for realizing hyperlinks of electronic books
CN103399961A (en) * 2013-08-23 2013-11-20 北京中科嘉和科技发展有限公司 Electronic literature management system capable of supporting multiple formats
WO2014079288A1 (en) * 2012-11-26 2014-05-30 腾讯科技(深圳)有限公司 Processing method and device for data
CN103399961B (en) * 2013-08-23 2016-11-30 北京中科嘉和科技发展有限公司 Support the Management of electronic document system of multiple-format
CN106445320A (en) * 2016-09-08 2017-02-22 广东源恒软件科技有限公司 Method and device for manufacturing and displaying contents of electronic book
CN113590541A (en) * 2021-08-24 2021-11-02 掌阅科技股份有限公司 Display method of local file in electronic book client, client and storage medium
CN115759000A (en) * 2023-01-10 2023-03-07 深圳市英唐数码科技有限公司 Processing method and device of multi-format reader based on single engine

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006338142A (en) * 2005-05-31 2006-12-14 Sharp Corp Electronic book device
CN201585036U (en) * 2009-12-30 2010-09-15 福建新大陆通信科技有限公司 STB based on SD card and supporting function of e-book read
CN102053952A (en) * 2009-11-10 2011-05-11 英华达(上海)电子有限公司 Method and device for converting data format of electronic book and portable electronic book reader
CN102214441A (en) * 2010-04-01 2011-10-12 上海易狄欧电子科技有限公司 Method for opening e-book in text format on e-book reader

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006338142A (en) * 2005-05-31 2006-12-14 Sharp Corp Electronic book device
CN102053952A (en) * 2009-11-10 2011-05-11 英华达(上海)电子有限公司 Method and device for converting data format of electronic book and portable electronic book reader
CN201585036U (en) * 2009-12-30 2010-09-15 福建新大陆通信科技有限公司 STB based on SD card and supporting function of e-book read
CN102214441A (en) * 2010-04-01 2011-10-12 上海易狄欧电子科技有限公司 Method for opening e-book in text format on e-book reader

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902661A (en) * 2012-10-24 2013-01-30 广东欧珀移动通信有限公司 Method for realizing hyperlinks of electronic books
CN102902661B (en) * 2012-10-24 2015-01-07 广东欧珀移动通信有限公司 Method for realizing hyperlinks of electronic books
WO2014079288A1 (en) * 2012-11-26 2014-05-30 腾讯科技(深圳)有限公司 Processing method and device for data
CN103838476A (en) * 2012-11-26 2014-06-04 腾讯科技(深圳)有限公司 Data processing method and touch screen terminal
CN103838476B (en) * 2012-11-26 2018-05-22 腾讯科技(深圳)有限公司 The processing method and touch screen terminal of data
CN103399961A (en) * 2013-08-23 2013-11-20 北京中科嘉和科技发展有限公司 Electronic literature management system capable of supporting multiple formats
CN103399961B (en) * 2013-08-23 2016-11-30 北京中科嘉和科技发展有限公司 Support the Management of electronic document system of multiple-format
CN106445320A (en) * 2016-09-08 2017-02-22 广东源恒软件科技有限公司 Method and device for manufacturing and displaying contents of electronic book
CN113590541A (en) * 2021-08-24 2021-11-02 掌阅科技股份有限公司 Display method of local file in electronic book client, client and storage medium
CN115759000A (en) * 2023-01-10 2023-03-07 深圳市英唐数码科技有限公司 Processing method and device of multi-format reader based on single engine

Also Published As

Publication number Publication date
CN102708710B (en) 2015-02-25

Similar Documents

Publication Publication Date Title
CN104461484B (en) The implementation method and device of front-end template
CN102929867A (en) Technology used for automatically translating a document
CN102708710B (en) E-book reader and working method thereof
CN104424358A (en) Dynamic information adaptation for a computing device having multiple power modes
CN101271463A (en) Representation method and system of layout file logical structure information
CN102016833A (en) Techniques to modify a document using a latent transfer surface
CN103309568A (en) Electronic document annotation method, electronic document annotation device and terminal device
JP2014063491A (en) Method and apparatus for creating e-book including user effect
CN104462131A (en) Method and device for processing information issuing page
CN101256467A (en) Electronic device and method capable of embodiment of electric document page-turning effect
CN104991708A (en) Electronic reading device and reading scenario self-adaptive configuration method therefor
CN103064738A (en) Method and system for embedding local application program window into browser in Linux
CN103309616A (en) Soft keyboard display method and terminal
CN110427182A (en) A kind of template type construction APP method and device
KR20200102238A (en) System, method and application for data visual service
CN101593100A (en) The method of running mini application program, the device of carrying out this method and machine readable media
WO2015035319A1 (en) Method and apparatus of controlling page element
US20200249965A1 (en) Display Device with Built-In Web Browser for Graphical User Interface in an Embedded System
CN105094674A (en) Information processing method and electronic device
CN103092479B (en) A kind of methods, devices and systems by right button transitional information
CN104217170A (en) Document read-only method and device
CN102609430A (en) Apparatus and method for providing electronic book service
JP2018508081A (en) Input serial processing method, apparatus, device, and non-executable computer storage medium
US9846688B1 (en) Book version mapping
WO2015169179A1 (en) Url electronic data output device supporting ptp interaction association system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant