A method and device for displaying processing progress during data processing

A data processing and display processing technology, applied in the Internet field, can solve the problems of increasing network overhead and consuming network resources, and achieve the effect of saving network overhead and reducing the number of requests

Active Publication Date: 2020-01-14
ALIBABA GRP HLDG LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this puts a lot of pressure on the server, consumes too much network resources, and increases network overhead

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 method and device for displaying processing progress during data processing
  • A method and device for displaying processing progress during data processing
  • A method and device for displaying processing progress during data processing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] Data processing usually divides a task into percentages, and each fragment is called a task fragment. For example, 5% of a task is a task fragment. Because in a high-concurrency server, the busyness of the server is different at different times. Therefore, even for data processing tasks with the same conditions, the time consumed to complete a task segment is different. Therefore, during data processing by the server, the browser cannot know the time it takes for the server to complete the task segment, and it will frequently send requests to the server at fixed intervals.

[0044] However, among the multiple requests initiated by the browser to the server, in addition to valid requests, invalid requests are also included. The valid request means that the task processing progress obtained by the browser is updated data, which is different from the result of the previous request; the invalid request refers to the task processing progress obtained by the browser, which ...

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 present application provides a method and device for displaying a processing progress during data processing. The method applied to a server comprises: performing, according to a received data processing command, data processing on task fragments, and determining whether the processing on the first task fragment is completed or not; if the processing on the first task fragment is completed, computing, according to completing time of at least one part of processed task fragments, the completing time of the next task fragment; acquiring, according to the completing time of the next task fragment, a time interval for initiating a request by a browser next time; and saving the task processing progress and the time interval for initiating the request by the browser next time in a database for the browser to search. The present application can reduce the requesting times of a browser on a server while ensuring user experience, thereby reducing pressure on the server and saving network overhead.

Description

technical field [0001] The present application relates to the technical field of the Internet, in particular to a method and device for displaying processing progress during data processing. Background technique [0002] With the development of Internet technology, most websites usually provide the function of data processing, for example, the function of order processing. Since the data is dynamically generated, the server needs to go through a long data processing process before the user processes it. see figure 1 , in order to increase the user's interactive experience, the web page will dynamically display the data processing progress. In order to obtain the dynamic current data processing progress, the browser usually initiates frequent requests to the server at fixed intervals, and the server obtains the current processing progress. For example, the server is requested every 1 second, the server returns the task processing progress, and the browser renders the curre...

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/958G06F16/957
CPCG06F16/957G06F16/958G06F16/00
Inventor 李鸿晓
Owner ALIBABA GRP HLDG 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