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

Small program-based file transmission processing method and system

A technology of file transmission and processing method, which is applied in the field of file transmission processing method and system based on applets, can solve problems such as poor user experience, low efficiency of uploading files, low security of file transmission interface, etc., to improve security and expand performance, improve file upload efficiency, and overcome the effect of easily leaking data

Pending Publication Date: 2020-11-13
CCB FINTECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of realizing the present invention, the inventors have found that there are at least the following problems in the prior art: first, the storage capacity of the client cache is limited, if the total size of the downloaded file and all files in the local cache is greater than the cache threshold of the client cache , the downloaded file will not be saved to the client cache, resulting in file download failure and poor user experience; second, when the existing applet uploads a file, the upload interface only supports a single file upload. In similar scenarios such as uploading pictures to cyberspace albums, users need to upload them one by one. The efficiency of uploading files is too low, which also leads to poor user experience; third, the file download interface only supports GET requests, and all parameters of GET requests are displayed. On the request path, the packet capture tool can obtain the parameter values ​​on the request path, resulting in low security of the file transfer interface and easy leakage of user privacy data

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
  • Small program-based file transmission processing method and system
  • Small program-based file transmission processing method and system
  • Small program-based file transmission processing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] DRAWINGS The following description of exemplary embodiments to the present invention, including various details of the embodiments to assist in understanding the present invention, they should be regarded as merely exemplary. Accordingly, those of ordinary skill in the art of the present embodiment will be appreciated that embodiments described herein may be made various changes and modifications without departing from the scope and spirit of the invention. Also, for the sake of clarity and concise, the following description is omitted in the following description.

[0052] figure 1 It is a schematic diagram of a flow of transmission processing method based on the main applet file according to the present invention, such as figure 1 , The transmission document processing method based applet embodiment of the present invention mainly comprises a file download process, comprising:

[0053] Step S101, and after receiving a file download request, according to the file download...

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 small program-based file transmission processing method and system, and relates to the technical field of computers. One specific embodiment of the method comprises the following steps: after receiving a file downloading request, calling a file downloading interface to execute a file downloading operation according to the file downloading request; after the file is downloaded successfully, judging whether cache of the applet client can store the request file or not according to cache file information of the applet client; if not, clearing part of cache files in the small program client cache according to a first cache clearing algorithm until the small program client cache can store the request file; and when the applet client cache can store a request file, writing the request file into the applet client cache, and updating cache file information of the applet client. According to the embodiment, the problem of downloading failure caused by cache overrun during file downloading is solved, and the file transmission stability is improved.

Description

Technical field [0001] The present invention relates to computer technology, and in particular relates to a method and system for handling a file transfer based applet. Background technique [0002] No need to install a small program application can be used. Existing small programs usually supports file transfer capabilities. [0003] In implementing the present invention, the inventor finds at least the following problems in the prior art: first, the client cache is limited storage capacity, if the total size of all the files downloaded file is larger than the local cache client cache Cache Threshold , the downloaded file will not be saved to the client cache, resulting in file download failed, poor user experience; second, the existing file upload applet, upload interfaces support only a single single-file uploads, as the user will pictures uploaded to cyberspace albums and other similar scenarios, users need to upload one by one, upload files efficiency is too low, the same re...

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/172G06F16/16G06F16/17G06F21/55H04L29/08
CPCG06F16/172G06F16/162G06F16/1737G06F21/556H04L67/06
Inventor 孟繁贵梁锐
Owner CCB FINTECH CO LTD