Txt file reading method based on brew platform and reader thereof

A file reading and platform technology, applied in the direction of instruments, electrical components, special data processing applications, etc., can solve the problems of incomplete analysis, target file size limit, unreadable file diversification operation processing, etc., to achieve the effect of solving the size limit

Active Publication Date: 2010-06-30
QINGDAO HISENSE MOBILE COMM TECH CO LTD
View PDF0 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] 1. There are restrictions on the size of the target file, or the opening of large-capacity files is slow, etc.
[0008] 2. Incomplete analysis of various encodings and text file formats on different platforms
[0009] 3. Una

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Txt file reading method based on brew platform and reader thereof
  • Txt file reading method based on brew platform and reader thereof
  • Txt file reading method based on brew platform and reader thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to solve the problems of limited capacity and limited reading speed in text reading of handheld terminals, the present invention provides a method for reading txt files based on Brew platform and a reader thereof.

[0047] First, let's explain the technical terms of the present invention.

[0048] File block: A file fragment that divides a file into fragments of a set size for analysis, that is, only virtual blocks are performed, and the size and structure of the original file are not changed.

[0049] Virtual pagination: each time paging is performed according to the set maximum number of rows that can be displayed, and the corresponding page information is saved, which is not necessarily the same as the actual displayed page.

[0050] Cache: Each time a file segment is read, the page table information in the segment is stored in the pre-allocated space. This program life cycle is always defined as a fast read and write storage area as Cache.

[0051] Next, t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a txt file reading method based on a brew platform and a reader thereof. The method comprises the following steps: virtually dividing the txt file into a plurality of file blocks according to the set macro values; sequentially loading the file blocks and decoding the contents of the file blocks according to the reading sequence; carrying out pagination treatment on the decoded file blocks according to the display requirements and storing page table information of the decoded file blocks; calling an interface function of the brew platform for pages to be read and displaying the information according to the stored page table information. The invention has no limitation on the size of the text file, and simultaneously carries out the self-adapting analysis and the self-adapting typesetting function on the target file, and users can realize the diversified operation and use.

Description

technical field [0001] The invention relates to a file reading method and a reader thereof, in particular to a Brew platform-based txt file reading method and a reader thereof. Background technique [0002] At present, users have higher and higher requirements for the text reading function of handheld terminals, especially low-end terminals often have file capacity restrictions on the txt files to be operated due to limitations such as memory size. [0003] On the one hand, if it exceeds the limit of the terminal hardware, it cannot be read, and the user needs to cut it into multiple files to read, which causes inconvenience to the user; on the other hand, in the context of the current surge in information volume, the capacity of txt files increases As the size of the file increases, the amount of information contained is increasing, and the reading requirements for such large-capacity files are becoming more and more urgent. More and more, so the traditional txt file readi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/30G06F17/22H04M1/725H04M1/72436
Inventor 常熠
Owner QINGDAO HISENSE MOBILE COMM TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products