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

Data preprocessing and downloading method and system, computer equipment and readable storage medium

A data preprocessing and computer program technology, applied in the Internet field, can solve the problems of wasting network traffic, reducing user experience, long waiting time, etc., and achieve the effects of saving pressure, saving traffic, and improving damage rate

Pending Publication Date: 2020-07-17
杭州有赞科技有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] When the amount of data is very large, there will be a long waiting time, which not only wastes network traffic but also reduces user experience; depending on the performance of the server, during peak traffic periods, the performance of the server will decline, and the pulled The interface will be slower

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 preprocessing and downloading method and system, computer equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] Such as figure 1 As shown, this embodiment provides a data preprocessing and downloading method. The server generates the sqlite database that the client needs to use in advance and deletes some unnecessary data. After compression, it is finally uploaded to the CDN, that is, Content Delivery Network content distribution network. The client obtains the CDN address by accessing the server interface for downloading. After the downloaded data is decompressed, it will be the database required locally. Specifically include the following steps:

[0049] The server loads the data required by each client, generates the corresponding sqlite database based on the data required by different clients, opens the WAL mode of the sqlite database, and writes to make the data write faster, and then process it when writing A good transaction is a unit of program execution that accesses and possibly updates various data items in a database. At the same time, it prevents incorrect data f...

Embodiment 2

[0055] This embodiment provides a data preprocessing and downloading system for implementing the data preprocessing and downloading method described in Embodiment 1, including a server subsystem and a client subsystem,

[0056] The server subsystem includes:

[0057] The loading module is used to load the data required by each client;

[0058] The database generation module is used to generate corresponding sqlite databases based on the data required by different clients, and enable the WAL mode of the sqlite database for writing. For the data required by the client that has already generated the database, the database generation module continues to use the generated database, and writes the required data incrementally into the generated database;

[0059] The compression module is used to carry out 7z compression processing on each generated database after checkpoint is performed on each database to form a standby file corresponding to the database;

[0060] The upload modu...

Embodiment 3

[0067] This embodiment provides a computer device, including a memory and a processor, where a computer program is stored in the memory, and the processor implements the method in any of the above embodiments when executing the computer program. Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing related hardware through computer programs. Accordingly, the computer program can be stored in a non-volatile computer-readable storage medium, and when the computer program is executed, the method described in any one of the above-mentioned embodiments can be realized. Wherein, any references to memory, storage, database or other media used in the various embodiments provided in the present application may include non-volatile and / or volatile memory. Nonvolatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically...

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 preprocessing and downloading method, which relates to the technical field of Internet, and comprises the following steps that: a server loads data required by each client and generates a corresponding sqlite database; each generated sqlite database is compressed by the server; the compressed database file is uploaded to a CDN (Content Delivery Network), and a sqlite database locally stored in a server is deleted; and the client requests and obtains the compressed database file, and downloads and decompresses the compressed database file. According to the methodprovided by the invention, the network downloading consumption of the client is reduced, the downloading time is reduced, the user experience is improved, and meanwhile, the real-time data processingpressure of the server is relieved.

Description

【Technical field】 [0001] The invention relates to the technical field of the Internet, in particular to a data preprocessing and downloading method, system, computer equipment, and a readable storage medium. 【Background technique】 [0002] In the prior art, clients, including Apple mobile phones / tablets, Android mobile phones / tablets, and windows applications, in order to improve user experience, in some scenarios, such as when the network data does not need to be real-time, the network request is removed to Speed ​​up the display of the page. This usually requires a loop request interface in advance, format conversion for the data, and finally stored in the local database. After the data pull interface is completed, opening the page only needs to read the content in the database. But, the method that prior art adopts has following defect: [0003] When the amount of data is very large, there will be a long waiting time, which not only wastes network traffic but also reduc...

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/28G06F16/21G06F16/172H04L29/08
CPCG06F16/284G06F16/21G06F16/219G06F16/172H04L67/06
Inventor 李遵源
Owner 杭州有赞科技有限公司