CN102708710B - E-book reader and working method thereof - Google Patents
E-book reader and working method thereof Download PDFInfo
- Publication number
- CN102708710B CN102708710B CN201210132629.2A CN201210132629A CN102708710B CN 102708710 B CN102708710 B CN 102708710B CN 201210132629 A CN201210132629 A CN 201210132629A CN 102708710 B CN102708710 B CN 102708710B
- Authority
- CN
- China
- Prior art keywords
- data
- book reader
- book
- data block
- 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.)
- Active
Links
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
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 is owing to can store a large amount of e-books, and person easy to use reads a large amount of books with environmental protection, with no paper mode and is subject to extensive welcome.Along with the enhancing of portable electric appts function, existing a lot of portable electric appts, as panel computer, mobile phone etc. arrange e-book reading function, namely these portable electric appts are provided with E-book reader, for realizing the function of e-book reading.
As shown in Figure 1, it has CPU (central processing unit) 10, storage unit 11, input block 12, indicative control unit 13 and electronic-paper display screen 14 to the electric theory diagram of existing E-book reader.
CPU (central processing unit) 10 for controlling the work of E-book reader, storage unit 11 for storing the data of a large amount of e-books, i.e. electronic book data.Input block 12 for receiving the instruction of user's input, and sends corresponding instruction to CPU (central processing unit) 10.The information that indicative control unit 13 exports for receiving CPU (central processing unit) 10, comprises the data stream of electronic book data, and resolves these data stream, the data after resolving is transferred to electronic-paper display screen 14, shows these data by electronic-paper display screen 14.
Electronic book data is usually encoded by multiple different coded format and is formed, and common are txt form, html form, pdf form etc., therefore indicative control unit 13 needs to resolve the electronic book data of multiple different-format.Present common way is in E-book reader, install the demoder of the file for multiple different-format in advance, uses these demoders to resolve electronic book data.Existing demoder is all special demoder usually, usually can only decode to a kind of file of form, compatible poor.
But, along with increasing of electronic book data form, said method needs in E-book reader to arrange a large amount of demoders by causing, these demoders will take E-book reader a large amount of system memory resource when running, increase the difficulty of the compatible more electronic book data form of E-book reader simultaneously, increase research and development and the production cost of E-book reader.And, because E-book reader is provided with a large amount of demoders, may need when E-book reader is decoded to electronic book data to call a large amount of demoders, the working resource affecting E-book reader CPU (central processing unit) 10 distributes, and causes data decode speed not high.
In addition, because demoder is by after the parsing of the electronic book data of different-format, the form of electronic book data can't be changed, therefore the electronic book data being presented at electronic-paper display screen 14 has diversified coded format, under different coded formats electronic book data display mode, the mode of operation of electronic book data is also not quite similar, mode of operation as functions such as page turning, change font colors is not identical, brings great inconvenience to the use of user.
Summary of the invention
When fundamental purpose of the present invention is to provide a kind of operation, occupying system resources is less, scalability good and user-friendly E-book reader.
Another object of the present invention is to provide a kind of method of work of E-book reader of person's reading electronic book easy to use.
In order to realize above-mentioned fundamental purpose, E-book reader provided by the invention has CPU (central processing unit), to the input block of CPU (central processing unit) input information, the storage unit of store electricity philosophical works data, indicative control unit and reception indicative control unit export the electronic-paper display screen of data, wherein, E-book reader is also 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, deblocking module is used for being divided into multi-block data block to decoded data stream, coding unit is used for encoding to data block and exporting the data after coding to indicative control unit.
From such scheme, E-book reader is unified decode and output on electronic-paper display screen after carrying out Unified coding by coding module to electronic book data by decoder module, like this, as long as arrange the decoding functions of multiple format file or the interface of decoding functions in decoder module, can be decoded to the electronic book data of multiple different-format by the corresponding decoding functions of the interface interchange of decoding functions.Because the memory source that takies when decoding functions runs will much smaller than the memory source shared by demoder, therefore the system resource that takies of E-book reader is less, and can decode to the electronic book data of multiple different-format, and scalability is good.
In addition, coding module unification is encoded to data block, can guarantee to be presented at the word on electronic-paper display screen consistent with the coded format of pattern, and identical to the editing operation mode of word, pattern, the use of person easy to use.
A preferred scheme is that decoding unit is also provided with function execution module, and the function for exporting according to CPU (central processing unit) performs instruction and performs corresponding function.
As can be seen here, function execution module to be sought unity of action corresponding function to the data after coding, guarantees the consistance that E-book reader performs all electronic book data functions, the use of person easy to use.
For realizing another above-mentioned object, E-book reader method of work provided by the invention comprises decoding step: the electronic book data stored by E-book reader is decoded, and decoded data stream is divided into multi-block data block; And step display: be presented on the electronic-paper display screen of E-book reader after data block is encoded.
From such scheme, the electronic book data of E-book reader to different-format carries out recompile after decoding, the another kind of form being different from the original coded format of electronic book data can be used during recompile to encode, and guarantee that all electronic book data coded formats are identical, thus guarantee electronic book data that encoded in different formats obtains after recompile on electronic-paper display screen time to be encoded by same coded format and form, also just identical to the mode of operation of electronic book data, the use of person easy to use.
A preferred scheme is, in step display, uses the predetermined coded format of same to encode to all data stream.
As can be seen here, the form predetermined by same is encoded to all data stream, can guarantee that the data after encoding have identical display mode, editing operation mode, convenient during user's reading electronic book.Further, because electronic book data will be converted coded format, the data shown by electronic-paper display screen and the original coded format of electronic book data have nothing to do, and realize the form independence display of E-book reader.
Further scheme is, decoding step also comprises carries out label to each data block, give the tag number that each data block is unique, and obtain total page number quantity of electronic book data, set the tag number of data block corresponding to each page number, before step display also comprises data are presented at electronic-paper display screen, choose data block corresponding to the page number of required display according to the page number selection instruction of outside input, the step of encoding to data block is encode to the data block of getting.
Visible, by carrying out label to data block, and setting data block corresponding to each page number, being conducive to the data block of fast finding needs display and respective data blocks is encoded, improving the response speed of E-book reader.
Accompanying drawing explanation
Fig. 1 is the structural schematic block diagram of existing E-book reader.
Fig. 2 is the structural schematic 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 drawings and Examples, the invention will be further described.
Embodiment
E-book reader of the present invention can be arranged on E-book reading device or portable electric appts, as on panel computer, mobile phone.See Fig. 2, the E-book reader of the present embodiment has CPU (central processing unit) 20, input block 21, storage unit 22, decoding unit 23, indicative control unit 24 and electronic-paper display screen 25.
Input block 21 is the equipment that button, mouse or touch-screen etc. have signal input function, so that user is to E-book reader input signal, as unlocking electronic book reader, page turning, zooms in or out display page.
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 access by CPU (central processing unit) 20 reading.
Decoding unit 23 is provided with decoder module 31, deblocking module 32, function execution module 33, coding module 34 and formatting module 35, the data stream that CPU (central processing unit) 20 transmits can be received, and data stream is resolved, data are presented on electronic-paper display screen 25 by indicative control unit 24 by indicative control unit 24 in the data after parsing being transmitted.
Decoder module 31 can receive the data of the electronic book data that CPU (central processing unit) 20 transmits.Further, the decoding functions for the file of multiple different e-book form is set, for decoding to the electronic book data of multiple different-format in decoder module 31.Certainly, also only can arrange the decoding functions interface of the file of multiple different-format in decoder module 31, decoding unit 23 calls corresponding decoding functions by these function interfaces, by decoding functions to corresponding decoding data.After to decoding data, decoder module 31 generates Periodical front cover information and the directory information of respective electronic book data.
Deblocking module 32, for carrying out piecemeal to the decoded data stream of decoder module 31, is divided into multi-block data block, and the length of each blocks of data block can be selected according to actual conditions, such as, the data volume of 30kb can be selected as the length of a blocks of data block.After data stream piecemeal, need to carry out label to each blocks of data block, give each blocks of data block with unique tag number.Certainly, while piecemeal is carried out to data stream, the information comprised according to decoded data stream is also needed to generate the information of total page number quantity, and set the tag number of data block corresponding to each page number, can promptly find corresponding data block when user inputs specific page number information.
The instruction that function execution module 33 sends according to CPU (central processing unit) 20, performs the corresponding function of this instruction.Such as, user inputs the instruction of page turning by input block 21, and CPU (central processing unit) 20 is by corresponding command to decoding unit 23, and namely function execution module 33 performs corresponding function, search the page number value of lower one page according to the instruction of input, and search corresponding data block according to this page number value.Certainly, function execution module 33 can also perform the multiple different functions such as page jump, page rotation, convergent-divergent.
Coding module 34 is for encoding to data block, preferably, the coded format that coding module 34 uses same predetermined is encoded to all data blocks, can guarantee that the data layout after encoding is identical like this, reduce data layout kind to be processed needed for indicative control unit 24, and user only adapts to a kind of text of coded format, the use of person easy to use.
Formatting module 35 is for arranging the form of electronic-paper display screen 25, as arranged the margin of Electronic Paper on electronic-paper display screen 25, the background color etc. of Electronic Paper, also the word shown by electronic-paper display screen 25 and pattern formation are arranged, as arranged the font size size of word, font color and pattern dimension etc. simultaneously.Certainly, formatting module 35 by the form given tacit consent to that prestores, and can change the setting of these forms, to meet the needs of user according to the information of user's input.
Data after the coding that indicative control unit 24 receipt decoding unit 23 transmits, and these data are resolved, be sent to electronic-paper display screen 25 after parsing, show these data by electronic-paper display screen 25.Like this, user's e-book of different-format that namely can be stored by electronic-paper display screen 25 read electronic book reader.
The workflow of E-book reader is described below in conjunction with Fig. 3.First, E-book reader carries out initialization to electronic-paper display screen, and namely perform step S1, this step comprises the form arranging electronic-paper display screen, as the font size, font color etc. of the margin of the Electronic Paper as shown in setting, background color and acquiescence.
Then, perform step S2, the instruction that CPU (central processing unit) inputs according to input block, obtain the data of respective electronic book, and read data are sent to decoding unit.Decoding unit performs step S3, and judge that can the electronic book data received by format identification, namely whether E-book reader is provided with the decoding functions of electronic book data coded format, if form is not identified, then deactivates.If form can be identified, perform step S4, by the decoder module of decoding unit, data stream is formed to these decoding datas.As previously mentioned, multiple decoding functions can be called to decoding data and decode, and generate Periodical front cover information and the directory information of corresponding electronic book data after decoding.
Then, perform step S5, decoded data stream is carried out piecemeal, the size of data block can set according to actual conditions, and need to carry out label to each data block, obtain the page number quantity that electronic book data is total, set the label of data block corresponding to each page number, corresponding data block can be found rapidly according to the page number information of user's input like this.
Then, E-book reader performs step S6, judge whether the instruction of the display specified page number receiving user's input, if received, then perform step S7, search the data block that this page number is corresponding, and respective data blocks is encoded, the data obtained after coding are presented on electronic-paper display screen by indicative control unit.
Certainly, the page number selection instruction that reception user is inputted by input block by E-book reader, and choose the corresponding page number according to these instructions, search corresponding data block according to the selected page number simultaneously, and the data block found is encoded.User, in the process of reading electronic book, may use the function such as page turning, formfeed, and these can by choosing the page number to realize.In addition, E-book reader according to the instruction of user's input, can also be arranged electronic tag, realizes the convergent-divergent of the page, arranges etc. the form of shown font, picture.
Finally, E-book reader performs step S8, judges whether to receive the instruction of closing e-book, if receive this instruction, then performs step S9, closes e-book.
Due to the electronic book data of E-book reader to different-format decode, piecemeal, then unified coding is carried out, and carry out unified display format setting, function setting etc., guarantee that display control module does not need to install the demoder for multiple electronic book data form like this, reduce system memory resource required when E-book reader runs, 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 decoded electronic book data, keep that the display format between different e-book is arranged, function setting consistance, person easy to use is being familiar with the environment for use of e-book, bring better experience effect to user, also achieve the Graphics Processing that e-book form is irrelevant.
In addition, the decoding of electronic book data is realized by multiple decoding functions, when therefore needing the electronic book data Format Type expanding E-book reader support, only needs to increase in decoder module to arrange corresponding decoding functions.Further, the increase of decoding functions can be realized by patch form, compares the installation of existing demoder, and simple, the scalability of E-book reader is good.
Certainly, above-described embodiment is only the present invention's preferably embodiment, during practical application, can also have more change, such as, can use the coded format that more than two kinds common when encoding to data block; Or judging to generate information after electronic book data form is not identified, such change also can realize object of the present invention.
Finally it is emphasized that and the invention is not restricted to above-mentioned embodiment, as the change to database coded format, also should be included in the protection domain of the claims in the present invention changes such as the changes of data flow point block size.
Claims (7)
1. E-book reader, comprises
CPU (central processing unit), to the input block of described CPU (central processing unit) input information, store electricity philosophical works data storage unit, indicative control unit and receive the electronic-paper display screen that described indicative control unit exports data;
It is characterized in that:
Described E-book reader is also provided with decoding unit, there is decoder module, deblocking module and coding module, described decoder module is used for being decoded by the described electronic book data of format identification, described deblocking module is used for being divided into multi-block data block to decoded data stream, label is carried out to data block described in each, give the tag number that data block described in each is unique, and obtain total page number quantity of described electronic book data, set the tag number of described data block corresponding to the page number described in each, described coding unit is used for choosing data block corresponding to the required page number shown according to the page number selection instruction of outside input, encode to by the described data block selected, and export the data after coding to described indicative control unit, wherein, coding unit uses the predetermined coded format of same to encode to described data block.
2. E-book reader according to claim 1, is characterized in that:
Described decoding unit is also provided with function execution module, and the function for exporting according to described CPU (central processing unit) performs instruction and performs corresponding function.
3. E-book reader according to claim 1 and 2, is characterized in that:
Described decoding unit is also provided with formatting module, for carrying out formatting to the word shown by described electronic-paper display screen and described electronic-paper display screen or pattern.
4. the method for work of E-book reader, is characterized in that: comprise
Decoding step: the electronic book data stored by E-book reader is decoded, and decoded data stream is divided into multi-block data block, label is carried out to data block described in each, give the tag number that data block described in each is unique, and obtain total page number quantity of described electronic book data, set the tag number of described data block corresponding to the page number described in each;
Step display: choose data block corresponding to the required page number shown according to the page number selection instruction of outside input, encode to by the described data block selected, to be presented on the electronic-paper display screen of E-book reader after described data block coding, wherein, E-book reader uses the predetermined coded format of same to encode to all described data blocks.
5. the method for work of E-book reader according to claim 4, is characterized in that
Before performing described decoding step, judge that described electronic book data whether can by format identification, if by format identification, can perform described decoding step, if by format identification, then can not deactivate.
6. the method for work of the E-book reader according to claim 4 or 5, is characterized in that:
Described decoding step also comprises after decoding data, generates Periodical front cover information and the directory information of described electronic book data.
7. the method for work of the E-book reader according to claim 4 or 5, is characterized in that:
Before described step display also comprises described data are presented at described electronic-paper display screen, formatting is carried out to described electronic-paper display screen.
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 CN102708710A (en) | 2012-10-03 |
CN102708710B true 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) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102902661B (en) * | 2012-10-24 | 2015-01-07 | 广东欧珀移动通信有限公司 | Method for realizing hyperlinks of electronic books |
CN103838476B (en) * | 2012-11-26 | 2018-05-22 | 腾讯科技(深圳)有限公司 | The processing method and touch screen terminal of data |
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 |
CN115759000B (en) * | 2023-01-10 | 2023-05-12 | 深圳市英唐数码科技有限公司 | Processing method and device of multi-format reader based on single engine |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006338142A (en) * | 2005-05-31 | 2006-12-14 | Sharp Corp | Electronic book device |
CN102214441A (en) * | 2010-04-01 | 2011-10-12 | 上海易狄欧电子科技有限公司 | Method for opening e-book in text format on e-book reader |
-
2012
- 2012-04-28 CN CN201210132629.2A patent/CN102708710B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Also Published As
Publication number | Publication date |
---|---|
CN102708710A (en) | 2012-10-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102708710B (en) | E-book reader and working method thereof | |
CN101271463B (en) | Structure processing method and system of layout file | |
CN102929867A (en) | Technology used for automatically translating a document | |
CN103324731A (en) | Method and device for converting spreadsheet file into web format file | |
CN103309568A (en) | Electronic document annotation method, electronic document annotation device and terminal device | |
US10600221B2 (en) | System, method, and electronic device for information duplication and machine-readable storage medium | |
CN104424358A (en) | Dynamic information adaptation for a computing device having multiple power modes | |
US9152619B2 (en) | System and method for constructing markup language templates and input data structure specifications | |
US20150074519A1 (en) | Method and apparatus of controlling page element | |
CN103309616A (en) | Soft keyboard display method and terminal | |
CN105528217A (en) | Partial refreshing method and device based on display list | |
CN110297636A (en) | A kind of automatic production of HTML page and parameter management method based on page configuration file, system and device | |
CN110427182A (en) | A kind of template type construction APP method and device | |
KR20140037535A (en) | Method and apparatus for creating e-book including user effects | |
CN114996619A (en) | Page display method and device, computer equipment and storage medium | |
CN109240784A (en) | A kind of the chart rendering method and system of memory object | |
US20200249965A1 (en) | Display Device with Built-In Web Browser for Graphical User Interface in an Embedded System | |
KR101371406B1 (en) | Method and system for manufacturing e-book by source analysis of pdf document | |
Dobesova | Using the physics of notation to analyse modelbuilder diagrams | |
CN103092479A (en) | Method, device and system for information switching through right button | |
CN109448580A (en) | A kind of server ticket based on electronic ink technologies | |
CN102609430A (en) | Apparatus and method for providing electronic book service | |
CN103795799A (en) | Remote monitoring method and system | |
CN102915239A (en) | Generation method of label-based JSP (java server pages) form read-only page code | |
CN103699520A (en) | Font processing method for maintaining e-document layout |
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 |