CN101615175A - A kind of system and method for reading electronic book of mobile terminal - Google Patents

A kind of system and method for reading electronic book of mobile terminal Download PDF

Info

Publication number
CN101615175A
CN101615175A CN200910162309A CN200910162309A CN101615175A CN 101615175 A CN101615175 A CN 101615175A CN 200910162309 A CN200910162309 A CN 200910162309A CN 200910162309 A CN200910162309 A CN 200910162309A CN 101615175 A CN101615175 A CN 101615175A
Authority
CN
China
Prior art keywords
book
file
electronic book
apart
module
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
CN200910162309A
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.)
Shenzhen Wuju Technology Co Ltd
Original Assignee
Shenzhen Wuju 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 Shenzhen Wuju Technology Co Ltd filed Critical Shenzhen Wuju Technology Co Ltd
Priority to CN200910162309A priority Critical patent/CN101615175A/en
Publication of CN101615175A publication Critical patent/CN101615175A/en
Pending legal-status Critical Current

Links

Images

Abstract

The present invention proposes a kind of system and method for reading electronic book of mobile terminal, system comprises: the electronic book data storehouse, what link to each other with described electronic book data storehouse cuts apart module, cuts apart the display module that module links to each other with described, cuts apart the judge module that module links to each other with described; Method comprises: step 1. is cut apart e-book in the electronic book data storehouse according to predetermined byte number, and the son file after will cutting apart is stored to and described e-book corresponding file folder; Step 2. reads son file under the described file successively to destination buffer, is presented on the portable terminal after setting type.The electronic book documentary that the present invention will download to mobile phone is cut apart the less TXT file of plurality of data amount, and the file content after cutting apart can and be shown by the mobile phone fast processing.

Description

A kind of system and method for reading electronic book of mobile terminal
Technical field
The present invention relates to the portable terminal application, particularly relate to a kind of system and method for reading electronic book of mobile terminal.
Background technology
At present, along with the continuous development of mobile communication technology, portable terminal has been deep in people's the life, and mobile communication has also become the most widely used communication mode.Here, the alleged portable terminal of the present invention is meant that mobile phone, PDA (Personal Digital Assistant) etc. have the small hand-held formula mobile communication equipment of wireless communication function.With the mobile phone is example, and it occupies an important position in user's life as the instrument of daily life and business, and relies on the value-added service of mobile communication, also developed thereupon.
Common mobile phone value-added service implementation is divided into note, voice, WAP (WirelessApplication Protocol, WAP (wireless application protocol)) etc., wherein, can satisfy the many-sided application demand of user with the WAP business.The user can download operations such as mp3, picture, e-book from the website of content service provider by using the WAP service on net.
In the prior art, after the user downloaded to mobile phone with e-book (form of e-book is generally TXT, i.e. text file format), mobile phone can not carry out any processing to this electronic book documentary.When user's reading electronic book, then calling program is directly opened it.Because the literal that e-book comprises is more, so electronic book documentary general data amount is bigger, and the hardware condition of mobile phone is limited, and when handling big file, speed can decrease, and reads thereby influence the user.
Summary of the invention
At defective that exists in the prior art and deficiency, the objective of the invention is to propose a kind of system and method for reading electronic book of mobile terminal, to improve the speed that portable terminal reads e-book, especially at bigger e-book.
In order to achieve the above object, the present invention proposes a kind of system of reading electronic book of mobile terminal, comprising:
The electronic book data storehouse is used to deposit the e-book that downloads to portable terminal;
What link to each other with described electronic book data storehouse cuts apart module, is used for e-book is divided into son file according to predetermined byte number;
Cut apart the display module that module links to each other with described, be used to read described son file and be presented at portable terminal;
Cut apart the judge module that module links to each other with described, be used to judge whether sufficient storage space is arranged in the portable terminal, whether existed, whether finished, and judged result is sent to cuts apart module the cutting apart of e-book with e-book corresponding file folder.
Preferred as technique scheme, described judge module also links to each other with display module, is used to judge whether described display module has read all son files finishes, and judged result is sent to cuts apart module.
The present invention also proposes a kind of method of reading electronic book of mobile terminal, comprising:
Step 1, cut apart e-book in the electronic book data storehouse, and the son file after will cutting apart is stored to and described e-book corresponding file folder according to predetermined byte number;
Step 2, read son file under the described file to destination buffer successively, after setting type, be presented on the portable terminal.
Preferred as technique scheme, described step 1 is specially:
Step 11, judge that the mobile terminal stores space is whether sufficient, if, execution in step 12; If not, then remind the user's space deficiency, finish this step;
Step 12, judge whether to exist with the e-book corresponding file and press from both sides; If, execution in step 13; If not, create and e-book corresponding file folder back execution in step 13.
Step 13, the son file quantity after obtaining cutting apart divided by predetermined byte number with the e-book file size;
Whether the son file quantity of step 14, more described file and the son file quantity that aforementioned calculation obtains is equal, if, then no longer cut apart, finish this step; If not, cut apart e-book according to predetermined byte number;
Step 15, the son file after will cutting apart are stored to described file.
Preferred as technique scheme, carry out described cutting apart several times, cuts apart described e-book according to predetermined byte number and predetermined son file quantity at every turn, proceeds to cut apart after treating to have read in the step 2 son file of cutting apart again.
The electronic book documentary that the system and method for the reading electronic book of mobile terminal that the present invention proposes will download to mobile phone is cut apart the less TXT file of plurality of data amount, and the file content after cutting apart can and be shown by the mobile phone fast processing.
Description of drawings
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in further detail.For the person of ordinary skill in the field, from detailed description of the invention, above-mentioned and other purposes of the present invention, feature and advantage will be apparent.
Fig. 1 is the synoptic diagram of the system of the reading electronic book of mobile terminal of the present invention's proposition;
Fig. 2 is the schematic flow sheet of first embodiment of the method for the reading electronic book of mobile terminal of the present invention's proposition;
Fig. 3 is the schematic flow sheet of second embodiment of the method for the reading electronic book of mobile terminal of the present invention's proposition.
Embodiment
Be illustrated in figure 1 as first preferred embodiment of the system of the reading electronic book of mobile terminal that the present invention proposes, comprise: the electronic book data storehouse, cut apart module, display module, judge module, described electronic book data storehouse places in the portable terminal, is used to deposit the e-book that downloads to portable terminal; The described module of cutting apart links to each other with described electronic book data storehouse, is used for e-book is divided into son file according to predetermined byte number; Described display module links to each other with the described module of cutting apart, and is used to read described son file and is presented at portable terminal; Described judge module links to each other with the described module of cutting apart, be used to judge whether sufficient storage space is arranged in the portable terminal, whether existed, whether finished cutting apart e-book with e-book corresponding file folder, and judged result be sent to cut apart module, cut apart module according to judged result decision whether e-book is cut apart.
Wherein, described judge module can also link to each other with display module, because cutting apart e-book can carry out simultaneously with the operation of reading e-book, and the cutting apart and nonessentially once finish of e-book, therefore judge module can also be judged whether described display module has read all son files and finishes, if then cut apart module and proceed to cut apart, if not, cutting apart module can temporarily not cut apart.
As shown in Figure 2, first preferred embodiment of the method for a kind of reading electronic book of mobile terminal of the present invention's proposition comprises:
Step 1, portable terminal download to e-book in the electronic book data storehouse;
A file of the same name with e-book is promptly created in step 2, establishment and e-book corresponding file folder on portable terminal;
Step 3, cut apart e-book according to predetermined byte number,, suppose that predetermined bite is 2KB here, every 2KB byte of e-book is divided into a son file so;
Step 4, will cut apart by name that the back produces: 1.txt, 2.txt ... son file be stored to described file;
Step 5, read son file under the file to destination buffer successively, after setting type, be presented on the portable terminal.
As shown in Figure 3, the second embodiment of the present invention is to improve according to first preferred embodiment, and difference is that step 2 also comprises determining step, can further optimize method of the present invention, and is specific as follows:
Step 21, judge that the mobile terminal stores space is whether sufficient, if, execution in step 22; If not, then remind the user's space deficiency, finish this step;
Step 22, judge whether to exist with the e-book corresponding file and press from both sides; If, execution in step 24; If not, execution in step 23.
Step 23, establishment and e-book corresponding file folder;
Step 24, the son file quantity after obtaining cutting apart divided by predetermined byte number with the e-book file size, if file size just is the integral multiple of predetermined bite 2KB, son file quantity=source document size/2KB then, otherwise son file quantity=(the source document size/2KB)+1.
Whether the son file quantity of step 25, more described file and the son file quantity that aforementioned calculation obtains is equal, if, represent that then this e-book is cut apart fully, need not to cut apart again, finish this step; If not, execution in step 3.
Wherein, when in the foregoing description step 3, e-book being cut apart, can once e-book all be segmented, because may need to expend many processing times, so, can only cut apart the son file of predetermined quantity, for example only cut apart at every turn and obtain 10 son files, promptly each data volume of handling 2KB * 10=20KB is treated to proceed to cut apart next time the speed of optimization process e-book so more again after the user has read these 10 son files.
When above-mentioned steps 5 reads son file, at first add the page marks head for this son file, the byte-by-byte analysis of antithetical phrase file data is written to destination buffer then.Because each Chinese character takies two bytes, therefore need judge whether to be in the intermediary bytes of Chinese character at the end of son file data boundary, then read in a byte again to target cache if be in the intermediary bytes of a Chinese character, otherwise do not handle from source document current location (file pointer position).Add the page marks head to target cache according to newline when analyzing byte, add the page marks tail at last.Finally finish of the transfer of son file data to target cache.
In addition, in the above-described embodiments, the user reads for convenience, can also have the bookmark file of the same name with e-book, withdraw from reading when user's selection when reading to certain part, the filename that system is about to the current reading page of user place son file is saved to this bookmark file.When the user opened this e-book once more, system directly called the son file of bookmark file record and reads for the user.Because therefore each 2KB size son file content can save the time that the user searches the reading interruption place only needing the picture about 3 screens just can show fully on the mobile phone.This bookmark file also can be selected the position of placing voluntarily by the user.
When the user selected to delete e-book, file that the e-book of download, this e-book are of the same name and bookmark file of the same name thereof can be deleted in the lump, to discharge the storage space of mobile phone memory storage.
After adopting said system and method, the user downloads to mobile phone with e-book, and mobile phone can be divided into this electronic book documentary the less file of plurality of data amount, and the file content after cutting apart can and be shown by the mobile phone fast processing, has made things convenient for user's reading.
Though; the present invention clearly demonstrates by above embodiment and accompanying drawing thereof; yet under the situation that does not deviate from spirit of the present invention and essence thereof; the person of ordinary skill in the field works as can make various corresponding variations and correction according to the present invention, but these corresponding variations and correction all should belong to the protection domain of claim of the present invention.

Claims (5)

1, a kind of system of reading electronic book of mobile terminal is characterized in that, comprising:
The electronic book data storehouse is used to deposit the e-book that downloads to portable terminal;
What link to each other with described electronic book data storehouse cuts apart module, is used for e-book is divided into son file according to predetermined byte number;
Cut apart the display module that module links to each other with described, be used to read described son file and be presented at portable terminal;
Cut apart the judge module that module links to each other with described, be used to judge whether sufficient storage space is arranged in the portable terminal, whether existed, whether finished, and judged result is sent to cuts apart module the cutting apart of e-book with e-book corresponding file folder.
2, the system of reading electronic book of mobile terminal according to claim 1, it is characterized in that, described judge module also links to each other with display module, is used to judge whether described display module has read all son files finishes, and judged result is sent to cuts apart module.
3, a kind of method of reading electronic book of mobile terminal is characterized in that, comprising:
Step 1, cut apart e-book in the electronic book data storehouse, and the son file after will cutting apart is stored to and described e-book corresponding file folder according to predetermined byte number;
Step 2, read son file under the described file to destination buffer successively, after setting type, be presented on the portable terminal.
4, the method for reading electronic book of mobile terminal according to claim 3 is characterized in that, described step 1 is specially:
Step 11, judge that the mobile terminal stores space is whether sufficient, if, execution in step 12; If not, then remind the user's space deficiency, finish this step;
Step 12, judge whether to exist with the e-book corresponding file and press from both sides; If, execution in step 13; If not, create and e-book corresponding file folder back execution in step 13.
Step 13, the son file quantity after obtaining cutting apart divided by predetermined byte number with the e-book file size;
Whether the son file quantity that son file quantity under step 14, the more described file and aforementioned calculation obtain is equal, if, then no longer cut apart, finish this step; If not, cut apart e-book according to predetermined byte number;
Step 15, the son file after will cutting apart are stored to described file.
5, according to the method for claim 3 or 4 described reading electronic book of mobile terminal, it is characterized in that, carry out described cutting apart several times, cuts apart described e-book according to predetermined byte number and predetermined son file quantity at every turn, proceeds to cut apart after treating to have read in the step 2 son file of cutting apart again.
CN200910162309A 2009-08-11 2009-08-11 A kind of system and method for reading electronic book of mobile terminal Pending CN101615175A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910162309A CN101615175A (en) 2009-08-11 2009-08-11 A kind of system and method for reading electronic book of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910162309A CN101615175A (en) 2009-08-11 2009-08-11 A kind of system and method for reading electronic book of mobile terminal

Publications (1)

Publication Number Publication Date
CN101615175A true CN101615175A (en) 2009-12-30

Family

ID=41494822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910162309A Pending CN101615175A (en) 2009-08-11 2009-08-11 A kind of system and method for reading electronic book of mobile terminal

Country Status (1)

Country Link
CN (1) CN101615175A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011023109A1 (en) * 2009-08-26 2011-03-03 华为技术有限公司 Method, device and system for processing chapter of electronic book
WO2011060603A1 (en) * 2009-11-19 2011-05-26 青岛海信移动通信技术股份有限公司 Method and apparatus for decoding and reading txt file
CN102681787A (en) * 2011-03-17 2012-09-19 珠海全志科技股份有限公司 E-book reader and E-book loading method thereof
CN103473287A (en) * 2013-08-30 2013-12-25 中国科学院信息工程研究所 Method and system for automatically distributing, running and updating executable programs
CN103761333A (en) * 2014-02-14 2014-04-30 北京中文在线数字出版股份有限公司 Wireless txt reader and reading method thereof
CN104408029A (en) * 2014-10-30 2015-03-11 华中科技大学 Electronic book construction method
CN104778154A (en) * 2015-04-09 2015-07-15 天脉聚源(北京)教育科技有限公司 Partitioning method and device of txt text data
WO2015180422A1 (en) * 2014-05-29 2015-12-03 广州市动景计算机科技有限公司 Page layout method and device
CN106156924A (en) * 2015-04-15 2016-11-23 厦门简帛信息科技有限公司 The storage of a kind of e-book and management system
CN106407297A (en) * 2016-08-31 2017-02-15 成都科来软件有限公司 Data packet downloading management system and method
WO2018054200A1 (en) * 2016-09-26 2018-03-29 上海泓智信息科技有限公司 Method and device for reading file

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011023109A1 (en) * 2009-08-26 2011-03-03 华为技术有限公司 Method, device and system for processing chapter of electronic book
WO2011060603A1 (en) * 2009-11-19 2011-05-26 青岛海信移动通信技术股份有限公司 Method and apparatus for decoding and reading txt file
CN102681787B (en) * 2011-03-17 2015-03-25 珠海全志科技股份有限公司 E-book reader and E-book loading method thereof
CN102681787A (en) * 2011-03-17 2012-09-19 珠海全志科技股份有限公司 E-book reader and E-book loading method thereof
CN103473287A (en) * 2013-08-30 2013-12-25 中国科学院信息工程研究所 Method and system for automatically distributing, running and updating executable programs
CN103761333A (en) * 2014-02-14 2014-04-30 北京中文在线数字出版股份有限公司 Wireless txt reader and reading method thereof
WO2015180422A1 (en) * 2014-05-29 2015-12-03 广州市动景计算机科技有限公司 Page layout method and device
CN104408029A (en) * 2014-10-30 2015-03-11 华中科技大学 Electronic book construction method
CN104408029B (en) * 2014-10-30 2017-07-07 华中科技大学 A kind of e-book construction method
CN104778154A (en) * 2015-04-09 2015-07-15 天脉聚源(北京)教育科技有限公司 Partitioning method and device of txt text data
CN106156924A (en) * 2015-04-15 2016-11-23 厦门简帛信息科技有限公司 The storage of a kind of e-book and management system
CN106407297A (en) * 2016-08-31 2017-02-15 成都科来软件有限公司 Data packet downloading management system and method
WO2018054200A1 (en) * 2016-09-26 2018-03-29 上海泓智信息科技有限公司 Method and device for reading file

Similar Documents

Publication Publication Date Title
CN101615175A (en) A kind of system and method for reading electronic book of mobile terminal
US7490130B2 (en) Electronic mail creating apparatus and method of the same, portable terminal, and computer program product for electronic mail creating apparatus
US9594764B2 (en) Method and apparatus for modifying compressed files
CN102760070B (en) A kind of store method and mobile terminal to downloading file
CN101702173A (en) Method and device for increasing access speed of mobile portal dynamic page
CN102929980B (en) Folder cleaning method and device
CN103338249A (en) Cache method and device
CN106649617B (en) Method for analyzing data structure of Windows Phone short message
CN101252756B (en) Method for leading in and out address book information of mobile terminal
JP2012150720A (en) File management device and program
CN102622344A (en) Control method and control system for picture batch uploading facing to Mediawiki
CN103336812A (en) Webpage resource caching method and device for improving secondary loading efficiency
CN101127990A (en) A method for searching mobile phone SMS
CN101742722A (en) Service searching method and device
CN101883168A (en) Method for efficiently managing cache files at mobile phone client
CN109344412A (en) A kind of language transfer method, device, equipment and storage medium
US20090143084A1 (en) System and method for performing quick short message functions for a mobile phone
CN101777067A (en) System for recognizing and managing web page contents for mobile communication equipment terminals
CN102456037A (en) Method and device for reading e-books in mobile terminal
JP2004229214A (en) Mobile communication terminal
CN101702149B (en) Method for displaying electronic book with movable terminal and device thereof
CN102567121B (en) Realize the method and apparatus of converged communication
CN102916993B (en) A kind of network hard disc data-updating method and device
TWI539786B (en) Method of establishing links between contact information according to data validity of elementary files stored in smartcard
US7788298B2 (en) Method and mobile terminal for efficient file list creation

Legal Events

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

Application publication date: 20091230