CN101059800A - Method and apparatus for displaying electronic book on mobile phone - Google Patents
Method and apparatus for displaying electronic book on mobile phone Download PDFInfo
- Publication number
- CN101059800A CN101059800A CN 200610025966 CN200610025966A CN101059800A CN 101059800 A CN101059800 A CN 101059800A CN 200610025966 CN200610025966 CN 200610025966 CN 200610025966 A CN200610025966 A CN 200610025966A CN 101059800 A CN101059800 A CN 101059800A
- Authority
- CN
- China
- Prior art keywords
- data
- file
- mobile phone
- bookmark
- reading
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 16
- 238000012217 deletion Methods 0.000 abstract description 2
- 230000037430 deletion Effects 0.000 abstract description 2
- 230000008030 elimination Effects 0.000 abstract 1
- 238000003379 elimination reaction Methods 0.000 abstract 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
Landscapes
- Telephone Function (AREA)
Abstract
The invention discloses a method for displaying electric book on a mobile phone, characterized in that reading and displaying the data in fixed length in each time, recording bookmark information at the tail of document. The invention also disclose a relative device, comprising a document head reader for reading the information of document head and finding document format, a data reading and converting unit for reading the data in fixed length and converting the data into Unicode, a display unit for displaying the read and converted data, and a bookmark operator for adding bookmark information at the tail of the document. The invention uses segmented read method in limited device as mobile terminal to reduce memory consumption, support ultra-large document, realize paging, and jump or the like, and inserts bookmark data into the tail of document, to directly correlate the bookmark and the document to support the management of bookmark data, as document deletion and bookmark data elimination.
Description
Technical field
The present invention relates to a kind of method and apparatus that on mobile phone, shows e-book.
Background technology
The mobile phone of the current support TXT e-book that has, processing power is limited, can not support the super large text, simultaneously bookmark data is taked to write separately the way of file, after causing the user to delete the TXT e-book, bookmark file still remains in the mobile phone, and management is got up difficult relatively.
Summary of the invention
The purpose of this invention is to provide a kind of method, can on mobile phone, show the super large text, and bookmark and file can be lumped together, so that management.
The objective of the invention is to be achieved through the following technical solutions:
A kind of method that shows e-book on mobile phone, characteristics be, only reads and show at every turn the data of regular length, bookmark information is recorded in the end of file.
Wherein, read the data of regular length and be converted to Unicode coding.
Before reading of data, obtain file header information, determine file layout.
Determine the file header side-play amount, reading pointer is set according to file layout, read behind the described fixed-length data at every turn and revise reading pointer according to file layout.
Wherein, can paging or data that roll display read.
A kind of equipment that shows e-book on mobile phone comprises:
The file header reading unit, it reads file header information, determines file layout;
Data read and converting unit, it reads the data of regular length, and converts the Unicode coding to;
Display unit shows that institute reads and data converted;
The bookmark operating unit adds bookmark information in end of file.
Wherein, be provided with a reading pointer in this data read and the converting unit, be used to indicate the position of reading of file.
This display unit paging or the data that roll display read.
Positive progressive effect of the present invention is: in the equipment of limited ability, as portable terminal, adopt segmentation to read, can reduce memory cost, support the super large file, be convenient to realize functions such as page turning, page jump; Insert bookmark data at self tail of file, with bookmark and file direct correlation, be beneficial to the management of bookmark data, as file delete, bookmark data is promptly removed etc.
Description of drawings
Fig. 1 is the process flow diagram of one embodiment of the invention.
Fig. 2 is the structured flowchart of one embodiment of the invention.
Embodiment
Provide preferred embodiment of the present invention below in conjunction with accompanying drawing, to describe technical scheme of the present invention in detail.
As shown in Figure 1, a kind of method that shows e-book on mobile phone at first reads the file header information of file, determines file layout, determines the file header side-play amount according to file layout then, as step 100.As, be respectively 0xEF when judging former positions, 0xBB, 0xBF, the file of then opening are the UTF-8 coded format, the file header side-play amount is 3.
Reading pointer P is set, and its initial value is the file header side-play amount, i.e. P=3 reads the data of regular length, then as step 110 from the reading pointer position.Reading length determines according to the processing power and the applied environment of mobile phone.
As step 120, the data-switching that is read is become the Unicode coding, and upgrade the value of reading pointer.When file is UTF-8 when coding, need judge that two Unicode byte conversion are the size of short during mobile Pointer, press UCS2 and calculate, as if less than 0x80, Pointer=Pointer+1; If between 0x80 and 0x800, Pointer=Pointer+2; Otherwise Pointer=Pointer+3.
Step 130 is according to the size of mobile phone display screen, according to certain typesetting format paging or the above-mentioned data of roll display.The method of video data is a prior art.
The value of the reading pointer at log file end, can be designated as the end of file pointer, when needs add bookmark information, bookmark information is recorded in (step 140) after the end of file pointer, when needs deletion bookmark, then the data after the end of file pointer are operated.The form of bookmark information is existing form.
As shown in Figure 2,, the invention provides a kind of equipment that on mobile phone, shows e-book, comprising in order to realize said method: file header reading unit 10, it reads the file header information of file 50, determines file layout;
Data read and converting unit 20, it reads the data of regular length, and converts the Unicode coding to;
Display unit 30, it is according to the size of mobile phone display screen, according to certain typesetting format paging or the data that roll display read;
Bookmark operating unit 40 adds bookmark information in end of file.
Wherein, be provided with a reading pointer in this data read and the converting unit 20, be used to indicate the position of reading of file.
Claims (8)
1, a kind of method that shows e-book on mobile phone is characterized in that, only reads and show at every turn the data of regular length, bookmark information is recorded in the end of file.
2, the method that shows e-book on mobile phone according to claim 1 is characterized in that, reads the data of regular length and is converted to the Unicode coding.
3, the method that shows e-book on mobile phone according to claim 2 is characterized in that, before reading of data, obtains file header information, determines file layout.
4, the method that shows e-book on mobile phone according to claim 3 is characterized in that, determines the file header side-play amount, reading pointer is set according to file layout, revises reading pointer according to file layout after reading described fixed-length data at every turn.
5, the method that shows e-book on mobile phone according to claim 4 is characterized in that paging or the data that roll display read.
6, a kind of equipment that shows e-book on mobile phone is characterized in that it comprises:
The file header reading unit, it reads file header information, determines file layout;
Data read and converting unit, it reads the data of regular length, and converts the Unicode coding to;
Display unit shows that institute reads and data converted;
The bookmark operating unit adds bookmark information in end of file.
7, the equipment that shows e-book on mobile phone according to claim 6 is characterized in that, is provided with a reading pointer in this data read and the converting unit, is used to indicate the position of reading of file.
8, the equipment that shows e-book on mobile phone according to claim 7 is characterized in that this display unit paging or the data that roll display read.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200610025966 CN101059800A (en) | 2006-04-21 | 2006-04-21 | Method and apparatus for displaying electronic book on mobile phone |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200610025966 CN101059800A (en) | 2006-04-21 | 2006-04-21 | Method and apparatus for displaying electronic book on mobile phone |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN101059800A true CN101059800A (en) | 2007-10-24 |
Family
ID=38865906
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 200610025966 Pending CN101059800A (en) | 2006-04-21 | 2006-04-21 | Method and apparatus for displaying electronic book on mobile phone |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN101059800A (en) |
Cited By (18)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102082964A (en) * | 2009-11-30 | 2011-06-01 | 康佳集团股份有限公司 | Method, system and set top box (STB) for displaying text file |
| CN102147705A (en) * | 2010-02-25 | 2011-08-10 | 微软公司 | Multi-screen bookmark hold gesture |
| CN102262520A (en) * | 2010-05-31 | 2011-11-30 | 北京创艺和弦科贸有限公司 | Test display method based on built-in platform mobile phone and applied device thereof |
| CN101551819B (en) * | 2009-04-30 | 2011-12-07 | 用友软件股份有限公司 | A method for rendering large-scale Web page |
| CN102314413A (en) * | 2010-07-06 | 2012-01-11 | 上海闻泰电子科技有限公司 | Electronic-book skipping and positioning method for mobile terminal |
| CN102331920A (en) * | 2011-07-26 | 2012-01-25 | 深圳市万兴软件有限公司 | Data processing method and device |
| CN101702149B (en) * | 2009-11-12 | 2012-07-18 | 深圳市五巨科技有限公司 | Method for displaying electronic book with movable terminal and device thereof |
| CN102685310A (en) * | 2011-03-18 | 2012-09-19 | 上海华勤通讯技术有限公司 | Mobile phone with electronic bookmark synchronization function and method for achieving electronic bookmark synchronization function of mobile phone |
| CN102708099A (en) * | 2010-12-02 | 2012-10-03 | 北大方正集团有限公司 | Extraction method and device for picture caption |
| CN102929890A (en) * | 2011-08-11 | 2013-02-13 | 汉王科技股份有限公司 | Directory-based bookmarking method and device |
| CN103134515A (en) * | 2012-12-25 | 2013-06-05 | 上海博泰悦臻电子设备制造有限公司 | Navigation simulation method and navigation simulation device |
| CN103377325A (en) * | 2012-04-23 | 2013-10-30 | 谷歌公司 | Electronic book content protection |
| CN105051720A (en) * | 2013-01-30 | 2015-11-11 | 微软技术许可有限责任公司 | A virtual library that provides content accessibility regardless of content format and type |
| CN102033887B (en) * | 2009-09-29 | 2016-06-08 | 华为技术有限公司 | A kind of realize the method for c bookmart, user terminal and bookmark server |
| CN106599000A (en) * | 2015-10-19 | 2017-04-26 | 阿里巴巴集团控股有限公司 | Page processing method and device |
| EP2541433A4 (en) * | 2011-03-23 | 2018-01-24 | ZTE Corporation | Method and apparatus for realizing electronic bookmarks |
| CN109039804A (en) * | 2018-07-12 | 2018-12-18 | 武汉斗鱼网络科技有限公司 | A kind of file reading and electronic equipment |
| CN113204951A (en) * | 2021-05-27 | 2021-08-03 | 广州文石信息科技有限公司 | Document processing method, document processing device, storage medium and computer equipment |
-
2006
- 2006-04-21 CN CN 200610025966 patent/CN101059800A/en active Pending
Cited By (27)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101551819B (en) * | 2009-04-30 | 2011-12-07 | 用友软件股份有限公司 | A method for rendering large-scale Web page |
| CN102033887B (en) * | 2009-09-29 | 2016-06-08 | 华为技术有限公司 | A kind of realize the method for c bookmart, user terminal and bookmark server |
| CN101702149B (en) * | 2009-11-12 | 2012-07-18 | 深圳市五巨科技有限公司 | Method for displaying electronic book with movable terminal and device thereof |
| CN102082964A (en) * | 2009-11-30 | 2011-06-01 | 康佳集团股份有限公司 | Method, system and set top box (STB) for displaying text file |
| CN102147705A (en) * | 2010-02-25 | 2011-08-10 | 微软公司 | Multi-screen bookmark hold gesture |
| CN102262520B (en) * | 2010-05-31 | 2014-04-02 | 北京创艺和弦科贸有限公司 | Test display method based on built-in platform mobile phone and applied device thereof |
| CN102262520A (en) * | 2010-05-31 | 2011-11-30 | 北京创艺和弦科贸有限公司 | Test display method based on built-in platform mobile phone and applied device thereof |
| CN102314413A (en) * | 2010-07-06 | 2012-01-11 | 上海闻泰电子科技有限公司 | Electronic-book skipping and positioning method for mobile terminal |
| CN102708099A (en) * | 2010-12-02 | 2012-10-03 | 北大方正集团有限公司 | Extraction method and device for picture caption |
| CN102685310A (en) * | 2011-03-18 | 2012-09-19 | 上海华勤通讯技术有限公司 | Mobile phone with electronic bookmark synchronization function and method for achieving electronic bookmark synchronization function of mobile phone |
| CN102685310B (en) * | 2011-03-18 | 2014-07-30 | 上海华勤通讯技术有限公司 | Mobile phone with electronic bookmark synchronization function and method for achieving electronic bookmark synchronization function of mobile phone |
| EP2541433A4 (en) * | 2011-03-23 | 2018-01-24 | ZTE Corporation | Method and apparatus for realizing electronic bookmarks |
| CN102331920A (en) * | 2011-07-26 | 2012-01-25 | 深圳市万兴软件有限公司 | Data processing method and device |
| CN102331920B (en) * | 2011-07-26 | 2015-04-08 | 深圳万兴信息科技股份有限公司 | Data processing method and device |
| CN102929890B (en) * | 2011-08-11 | 2015-12-02 | 汉王科技股份有限公司 | A kind of bookmark marking method based on catalogue and device |
| CN102929890A (en) * | 2011-08-11 | 2013-02-13 | 汉王科技股份有限公司 | Directory-based bookmarking method and device |
| CN103377325A (en) * | 2012-04-23 | 2013-10-30 | 谷歌公司 | Electronic book content protection |
| CN103377325B (en) * | 2012-04-23 | 2016-08-10 | 谷歌公司 | A kind of protect the method for eBook content, system and equipment |
| CN103134515A (en) * | 2012-12-25 | 2013-06-05 | 上海博泰悦臻电子设备制造有限公司 | Navigation simulation method and navigation simulation device |
| CN105051720A (en) * | 2013-01-30 | 2015-11-11 | 微软技术许可有限责任公司 | A virtual library that provides content accessibility regardless of content format and type |
| US9852115B2 (en) | 2013-01-30 | 2017-12-26 | Microsoft Technology Licensing, Llc | Virtual library providing content accessibility irrespective of content format and type |
| US10474740B2 (en) | 2013-01-30 | 2019-11-12 | Microsoft Technology Licensing, Llc | Virtual library providing content accessibility irrespective of content format and type |
| CN106599000A (en) * | 2015-10-19 | 2017-04-26 | 阿里巴巴集团控股有限公司 | Page processing method and device |
| WO2017067401A1 (en) * | 2015-10-19 | 2017-04-27 | 阿里巴巴集团控股有限公司 | Method and equipment for processing page |
| CN109039804A (en) * | 2018-07-12 | 2018-12-18 | 武汉斗鱼网络科技有限公司 | A kind of file reading and electronic equipment |
| CN109039804B (en) * | 2018-07-12 | 2020-08-25 | 武汉斗鱼网络科技有限公司 | File reading method and electronic equipment |
| CN113204951A (en) * | 2021-05-27 | 2021-08-03 | 广州文石信息科技有限公司 | Document processing method, document processing device, storage medium and computer equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101059800A (en) | Method and apparatus for displaying electronic book on mobile phone | |
| CN104540000B (en) | A method and terminal for generating a dynamic thumbnail | |
| WO2001082279A3 (en) | System and method for dynamic space management of a display space | |
| CN1613105A (en) | Presenting html content on a small screen terminal display | |
| WO2004066125B1 (en) | Multi-modal information retrieval system | |
| WO2012054626A2 (en) | Rendering or resizing of text and images for display on mobile / small screen devices | |
| CN1786957A (en) | Dynamic switching between local and remote speech rendering | |
| CN1845099A (en) | Method and structure for conversion and storage of multimedia electronic file in intelligent mobile terminal | |
| CN104035725B (en) | electronic device for accessing data and data access method thereof | |
| CN115328588A (en) | Method and system for rendering OFD (office file) based on browser front end | |
| CN1735240A (en) | Method for realizing expression notation and voice in handset short message | |
| CN103631824B (en) | A kind of Webpage display process and device | |
| CA2544699A1 (en) | Method for viewing non-image attachments on a portable electronic device | |
| CN1444378A (en) | Ultra-long short message sending method | |
| CN112486488A (en) | Page self-adaption method applied to government affair service terminal | |
| KR100576370B1 (en) | Automatic content optimizer for portable display devices | |
| JP4246531B2 (en) | Processing method, computer-readable medium, and system related to ink information in image file | |
| CN1242324C (en) | Method of large capacity movable memory for mobile telephone | |
| CN105704215A (en) | File sharing system and corresponding file sending and receiving method and device | |
| CN1659504A (en) | Text input for electronic devices | |
| CN1828602A (en) | Display output realization method based on mobile terminal WAP browser | |
| CN113343135A (en) | Method and device for picture synthesis video and electronic equipment | |
| CN112612978A (en) | File online browsing method based on browser | |
| CN1120608C (en) | Real-time phonetic and text paging method in Internet | |
| CN1152326C (en) | E-book reader and its electronic text compression and decompression method |
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 |