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

File download method, device and system for timeout connection

A file download and file page technology, applied in the transmission system, electrical components, etc., can solve the problems of JavaScript not being interpreted, server processing timeout, users unable to download, etc., to save traffic expenses, normal file download, and realize file download Effect

Active Publication Date: 2016-03-16
ALIBABA (CHINA) CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 1) Since this countdown JavaScript execution generally needs to be executed on the server side for up to 2 minutes, and there is a connection timeout policy between the client and the server, this limitation ultimately results in either the server processing timeout, or the client connection Timeout, and the page after the countdown ends cannot be displayed normally;
[0006] 2) Since the client in mobile terminals such as mobile phones does not have the function of interpreting JavaScript, the client cannot display in real time how many seconds it still needs to wait before the download operation can be performed
[0007] Under the existing technical background, when the server is processing the download file page request initiated by the client, because the server cannot execute all the JavaScript countdown logic within the timeout limit of the connection with the client, the page after the countdown ends cannot be parsed to the client
In the end, the user cannot perform download operations on the client

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 download method, device and system for timeout connection
  • File download method, device and system for timeout connection
  • File download method, device and system for timeout connection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0030] In order to solve the problem in the prior art that the client and the server cannot execute all the JavaScript countdown logic within the connection timeout period and cannot parse the page after the countdown to the client during the file download process in the prior art, the present invention utilizes the generated and set in The control on the client side is used to simulate the countdown, and the JavaScript logic of the actual countdown continues to execute on the server side after the server responds to the client. When the time in the client's countdown control returns to zero, the client will automatically trigger a request to notify the server to respond to the page after the countdown JavaScript processing is completed, so that the client without the function of interpreting JavaScript can also obtain the end of the countdown ...

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 provides a file downloading method in allusion to timeout connection. The file downloading method in allusion to the timeout connection comprises the following steps: a server acquires a file downloading page response with a countdown logic from a target website according to a request from a file downloading page at a client side; the server executes the countdown logic, generates a countdown control before connection timeout with the client side and displays the countdown control to the client side; the client side automatically sends a countdown ending request to the server when time in the countdown control returns to zero and informs the server of sending a response countdown ending page to the client side; and the server sends the countdown ending page to the client side according to the countdown ending request so as to make the client side execute a downloading operation. The file downloading method, a file downloading device and a file downloading system in allusion to the timeout connection can overcome limitation of the timeout connection between the client side and the server and can realize normal file downloading; and in the process of simulating the countdown logic by the client side, the client side is disconnected from the server, so that the traffic expenditure of a user can also be saved to a certain extent.

Description

technical field [0001] The present invention relates to the technical field of mobile communication, and more specifically, relates to a file downloading method, device and system for overtime connections. Background technique [0002] With the progress of society and the development of technology, people increasingly use wireless access terminals to access the network to obtain information, among which, the Internet application of mobile phones is the most common. Downloading resources is an operation that people often use in their online experience. People download various resources such as documents, movies, stories, MP3s, and applications from the Internet according to their own needs, so as to meet the needs of work and entertainment. [0003] With the convenience of accessing the Internet anytime and anywhere, mobile terminals mainly based on mobile phones have become the preferred network access terminals for many network users on the way to and from get off work and ...

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 ALIBABA (CHINA) CO LTD