Method and apparatus for decoding and reading txt file
AssigneeHisense Mobile Communications Technology Co., Ltd.
InventorYi Chang
Life of this patent
Estimating the term…
Abstract
A method and apparatus for decoding and reading a txt file are provided, and the reading method comprises: virtually dividing the txt file into several file blocks in accordance with the set macro value; according to the reading order, loading the file blocks in turn and decoding the contents of the file blocks; in accordance with the displaying requirement, performing the paging process for the decoded file blocks and storing the page table information thereof; for the pages needed to be read, invoking the interface function of Brew platform and displaying them according to the stored page table information.
Claims25
A method for decoding a Txt file, comprising:
- an operation ‘a’ of virtually dividing a Txt file into several file blocks by a preset macro value;
- and
- an operation ‘b’ of loading the file blocks sequentially in an order of being decoded and decoding contents of the file blocks.
A method for reading a Txt file based upon a Brew platform, comprising:
- an operation ‘a’ of virtually dividing a Txt file into several file blocks by a preset macro value;
- an operation ‘b’ of loading the file blocks sequentially in an order of being read and decoding contents of the file blocks;
- an operation ‘c’ of paginating the decoded file blocks according to a display demand and storing their page table information;
- and
- an operation ‘d’ of invoking an interface function of the Brew platform and displaying a page to be read dependent upon the stored page table information.
A device for decoding a Txt file, comprising:
- a file block processing module configured to virtually divide a Txt file into several file blocks by a preset macro value;
- and
- a content decoding module configured to load the file blocks output from the file block processing module sequentially in an order of being decoded and decode contents of the file blocks.
(canceled)
(canceled)
(canceled)
(canceled)
(canceled)
Dependencies are inferred from the claim text.