Method and electronic device for processing e-book document
AssigneeXiaomi Inc.
InventorsJiafang Zhang, Lei Zhang
Life of this patent
Estimating the term…
Abstract
A method for processing an e-book document, includes: obtaining an e-book document; dividing content of the e-book document into a plurality of segments in accordance with a preset segmentation manner; composing the plurality of segments into an ordered segment group; selecting one segment from the segment group as a current segment; parsing the content of the current segment to generate layout data; and generating a page image in accordance with the layout data.
Claims19
A method for processing an e-book document, comprising:
- obtaining an e-book document;
- dividing content of the e-book document into a plurality of segments in accordance with a preset segmentation manner;
- composing the plurality of segments into an ordered segment group;
- selecting one segment from the segment group as a current segment;
- parsing the content of the current segment to generate layout data;
- and
- generating a page image in accordance with the layout data.
An electronic device, comprising:
- a processor;
- and
- a memory for storing instructions executable by the processor;
- wherein the processor is configured to:
- obtain an e-book document;
- divide content of the e-book document into a plurality of segments in accordance with a preset segmentation manner;
- compose the plurality of segments into an ordered segment group;
- select one segment from the segment group as a current segment;
- parse the content of the current segment to generate layout data;
- and
- generate a page image in accordance with the layout data.
A non-transitory readable storage medium including instructions that, when executed by a processor of a terminal, cause the terminal to perform a method for processing an e-book document, the method comprising:
- obtaining an e-book document;
- dividing content of the e-book document into a plurality of segments in accordance with a preset segmentation manner;
- composing the plurality of segments into an ordered segment group;
- selecting one segment from the segment group as a current segment;
- parsing the content of the current segment to generate layout data;
- and
- generating a page image in accordance with the layout data.
Dependencies are inferred from the claim text.