Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

File data reading and querying method and device and readable storage medium

A file data and storage medium technology, applied in the field of file storage and reading, can solve the problems of poor user experience and long time consumption, and achieve the effect of speeding up the reading speed and shortening the data reading time

Active Publication Date: 2019-09-10
北京泰迪熊移动科技有限公司
View PDF8 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example, when there are 100,000 lines of data in a file, if each line of data is read line by line into the memory, 100,000 IO operations are required, which will take a long time to initialize the file data into the memory. Unbearable phenomenon in the device, resulting in a poor user experience

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
  • File data reading and querying method and device and readable storage medium
  • File data reading and querying method and device and readable storage medium
  • File data reading and querying method and device and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.

[0026] figure 1 It is a schematic flow diagram for realizing a method for reading file data according to an embodiment of the present invention.

[0027] Such as figure 1 As shown, a method for reading file data includes:

[0028] Step 101: Obtain text information;

[0029] Step 102: Extracting the required keywords in the text informatio...

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 file data reading and querying method and device and a readable storage medium. The method comprises the steps of obtaining text information; extracting required keywords inthe text information; judging whether value information corresponding to the extracted keyword exists in a key value pair database or not; if it is judged that the value information corresponding to the extracted keyword exists in the key value pair database, storing the keyword and the corresponding value information in an index file. According to the scheme, the index files are loaded into the internal storage, a large amount of data is stored into the index files firstly and then loaded into the internal storage at a time through the index files. Compared with a traditional mode that a large amount of data is read into the internal storage line by line, the scheme can accelerate the reading speed, and therefore the data reading time is shortened.

Description

technical field [0001] The invention relates to the technical field of file storage and reading, in particular to a file data reading and query method, device and readable storage medium. Background technique [0002] With the popularity of smart terminal devices, it is often necessary to read files in the device. When the data storage of the terminal device reaches a certain order of magnitude, the reading speed will be greatly reduced. For example, when there are 100,000 lines of data in a file, if each line of data is read line by line into the memory, 100,000 IO operations are required, which will take a long time to initialize the file data into the memory. It is an intolerable phenomenon in the device, resulting in a poor user experience. Contents of the invention [0003] The invention provides a file data reading and query method, device and readable storage medium, which have the characteristics of fast reading file data. [0004] The present invention provides ...

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): G06F16/13G06F16/14
CPCG06F16/137G06F16/152
Inventor 刘世民
Owner 北京泰迪熊移动科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products