Data Acquisition Method and Device

An acquisition method and acquisition device technology, applied in the field of data acquisition, can solve problems such as waste of resources, low work efficiency, and session timeout, and achieve the effects of saving resources, avoiding repeated development, and improving work efficiency

Active Publication Date: 2019-04-09
ADVANCED NEW TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the above file upload method has the following disadvantages: 1. A file upload system is developed for each business, resulting in repeated development of the file upload function and a waste of resources; 2. File upload and analysis are completed in the same thread. If the file is relatively large, Then the session timeout may occur, resulting in file upload failure, requiring the user to re-upload the file; 3. If a machine failure occurs during the file upload and analysis process, part of the file is parsed, and the analysis cannot be continued from the interrupted point , users are still required to re-upload files, repeated operations, low work efficiency

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
  • Data Acquisition Method and Device
  • Data Acquisition Method and Device
  • Data Acquisition Method and Device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

[0015] The method and device for acquiring data in the embodiments of the present invention are described below with reference to the accompanying drawings.

[0016] figure 1 It is a flowchart of a data acquisition method according to an embodiment of the present invention, and this embodiment is described from the server side.

[0017] Such as figure 1 As shown, the data acquisition methods include:

[0018] S101. Receive at least one file uploaded by a client through a first thread, and save the received file.

[0019] In 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 data acquiring method and a data acquiring device. The data acquiring method comprises the steps of receiving a file uploaded by at least one client through a first thread, storing the received file, and parsing the stored file through a second thread to acquire data contained in the file. According to the data acquiring method and the data acquiring device disclosed by the embodiments of the invention, a file uploaded by at least one client is received through a first thread, the received file is stored, and the stored file is parsed through a second thread to acquire data contained in the file. Repeated development of the file uploading function is avoided, and resources are saved. By completing file uploading and file parsing through two threads, the phenomenon of session timeout and file uploading failure is avoided effectively, and the working efficiency is improved.

Description

technical field [0001] The present invention relates to the technical field of the Internet, in particular to a data acquisition method and device. Background technique [0002] At present, the traditional file upload method is mainly to enter the file upload page, click the corresponding upload button, and then select the file to be uploaded, so as to realize the file upload. After verifying and analyzing the uploaded file, the server finally obtains the data in the file. [0003] However, the above file upload method has the following disadvantages: 1. A file upload system is developed for each business, resulting in repeated development of the file upload function and a waste of resources; 2. File upload and analysis are completed in the same thread. If the file is relatively large, Then the session timeout may occur, resulting in file upload failure, requiring the user to re-upload the file; 3. If a machine failure occurs during the file upload and analysis process, par...

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): H04L29/08
Inventor 刘德宏
Owner ADVANCED NEW 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