Method for realizing real-time display of web mail receiving progress

A technology of mail receiving and real-time display, applied in electrical components, digital transmission systems, transmission systems, etc., can solve problems such as low ease of use, lack of initiative, dead end of receiving, etc., to improve efficiency and enhance the sense of experience Effect

Inactive Publication Date: 2009-11-25
BEIJING YIQI TELECOMM TECH
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The traditional web mail client is based on the HTTP protocol. The HTTP protocol is a "pull" protocol, that is, the client sends a request and the server responds. That is to say, the webmail server cannot actively push information or status to the front-end browser. , which also causes that when the user clicks to receive the mail, the progress display of the number of mails received cannot be displayed like the local client, and the ease of use is low, especially when the number of mails to be received is large and large, the user does not know how to receive the mail now I have lost those emails, how much I have received, I can only die and wait for the end of the reception
Lack of initiative, the web server can only passively wait for the user to request access

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
  • Method for realizing real-time display of web mail receiving progress
  • Method for realizing real-time display of web mail receiving progress
  • Method for realizing real-time display of web mail receiving progress

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] The central idea of ​​the present invention is to use the ajax long polling technology to push the mail receiving status server. The emergence of AJAX (Asynchronous JavaScript+XML) enables JavaScript to call the XMLHttpRequest object to send an HTTP request, and the JavaScript response processing function asynchronously updates the display of the page according to the information returned by the server, thereby avoiding the refresh of the web page. Ajax long polling simply means that the client sends a request through ajax, and the server does not return it when it receives it. When there is data or status needed, it writes the data into the response in real time and returns it, and the client performs related display after receiving the data. And at the same time, send the request to the server again to receive other possible real-time data, and the server will continue to hang up and not return until new data arrives, and so on.

[0016] Will describe in detail below ...

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 method for realizing real-time display of Web mail receiving progress. The method comprises the following steps that: a user clicks to receive mails; a browser sends an ajax mail receiving request to a mail server which begins to receive the mails, and the request is returned till all mails are received; the browser sends an ajax polling request to the server to receive mail state; the browser receives the receiving state transmitted by the mail server in real time and then updates an HTML progress bar; the browser continues to send a polling request so as to continue receiving the mail receiving state, and repeats the course in this way; and the mail receiving request of the browser is returned when mail receiving is completed. By adopting the method, a user can change passive 'pull' into active 'push' during mail receiving; ajax based on server 'pull' ensures that the information or the state can be transmitted to a front-end browser in real time, thereby solving the problem of passive waiting of the user. More specifically, when a user receives a plurality of large mails, the user can see a progress bar during mail receiving, which is convenient for the user to carry out corresponding operation; thus, the method improves the efficiency and strengthens user experience.

Description

Technical field: [0001] The invention relates to the fields of computer software and network communication, in particular to a method for displaying the progress of receiving web mails in real time. Background technique: [0002] E-mail has become an important means for users to communicate through the network. As a kind of mail client, Webmail has become more and more popular. It has a series of advantages that local mail clients do not have, such as installation-free, automatic upgrade, professional antivirus and spam protection. The traditional web mail client is based on the HTTP protocol. The HTTP protocol is a "pull" protocol, that is, the client sends a request and the server responds. That is to say, the webmail server cannot actively push information or status to the front-end browser. , which also causes that when the user clicks to receive the mail, the progress display of the number of mails received cannot be displayed like the local client, and the usability i...

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 Applications(China)
IPC IPC(8): H04L12/58
Inventor 关键
Owner BEIJING YIQI TELECOMM TECH
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