Unlock instant, AI-driven research and patent intelligence for your innovation.

A data reading method and device

A data reading and data technology, applied in the Internet field, can solve problems such as cumbersome execution, and achieve the effect of saving cumbersome steps and improving efficiency

Inactive Publication Date: 2019-09-24
WUXI TVMINING MEDIA SCI & TECH
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be seen that the entire data reading process needs to judge the length of the array multiple times, which is very cumbersome to execute

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
  • A data reading method and device
  • A data reading method and device
  • A data reading method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The preferred embodiments of the present invention will be described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0049] figure 1 It is a flowchart of a data reading method in an embodiment of the present invention. Such as figure 1 As shown, the method includes the following steps S11-S14:

[0050] Step S11: Read unit row data from the database.

[0051] Step S12, adding N preset characters at the end of the unit line data to obtain the target unit line data.

[0052] Among them, N is a positive integer, and the preset characters include horizontal tabs "\t" and / or spaces. Under normal circumstances, because some unit row data includes the following three data at the end: longitude, latitude and radius, and some unit row data does not exist at the end of these three data, therefore, in ord...

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 data reading method and device. The method includes the steps that unit row data is read from a database; N preset characters are added to the tail position of the unit row data, and target unit row data is acquired, wherein N is a positive integer; whether the total length of the target unit row data meets a preset condition or not is judged; when the total length of the target unit row data meets the preset condition, target data in the unit row data is read and processed. According to the technical scheme, it is not needed to repeatedly judge the character length of the unit row data multiple times during data reading, it is only needed to carry out judgment once after the preset characters are added, and then whether the data is read from the unit row data or not can be determined, complex steps in the data reading process are saved to a large degree, and data reading efficiency is improved.

Description

Technical field [0001] The present invention relates to the field of Internet technology, in particular to a data reading method and device. Background technique [0002] At the end of some rows of data in the database, the following three items of data are included: longitude, latitude, and radius. There are also three items of data that do not exist at the end of some rows of data, which makes the field length of each row of data uncertain, for example, When the end of the line data includes the above three items of data, the field length is 23. When the end of the line data does not include the above three items of data, the field length is 20, which causes inconvenience when reading data. [0003] In the prior art, when reading data, it is necessary to first determine whether the field length of the row data is equal to 23. If it is equal, verify the last three items of data; if it is not equal and the field length of the array is greater than or equal to 20 and less than 23, t...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/245
Inventor 江滔
Owner WUXI TVMINING MEDIA SCI & TECH