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

Session keep-alive method and device

A technology for messages and business data, which is applied in the field of session keep-alive and proxy server, and can solve problems such as session keep-alive technology client email content being tampered with

Active Publication Date: 2017-11-24
HUAWEI TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides a session keep-alive method, which is used to solve the problem that the content of the mail received by the client is tampered with in the existing session keep-alive technology

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
  • Session keep-alive method and device
  • Session keep-alive method and device
  • Session keep-alive method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0103] The embodiment of the present invention provides a method for keeping alive a session. The execution subject of the method is a network device with a proxy server function. Optionally, the network device can be a network firewall, or a dedicated HTTP proxy server, mail proxy server and so on. The mail server includes at least a POP3-based mail proxy server and an IMAP4-based mail proxy server.

[0104] attached figure 1 The proxy server is located at the exit of the LAN border and connected to the bearer network. In addition, the proxy server can also be deployed in front of the real server, that is, between the real server and the Internet, or deployed in other locations. The proxy server communicates with the client (such as figure 1 The client 100, the client 101 and the client 102) establish a session, and simultaneously establish a session with the server. The client and server in this application may be physical devices or application programs running on the ph...

Embodiment 2

[0146] In the embodiment of the present invention, the proxy server is a POP3-based mail proxy server as an example. Figure 5 The shown sequence diagram introduces the session keep-alive method provided by the embodiment of the present invention.

[0147] as attached Figure 5 As shown, the network system includes at least a client, a proxy server and a real mail server (hereinafter referred to as a mail server).

[0148] In step 501, the client sends a mailing list acquisition request, and the payload content carried in the request is "LIST\r\n". The request also carries the identifier of the client.

[0149] Please refer to the relevant standards of the POP3 protocol for the specific setting methods of the payload content in the request message for different purposes, and will not be described in detail here.

[0150] Step 502, the proxy server forwards the mailing list acquisition request to the mail server.

[0151] In step 503, after receiving the request for obtaini...

Embodiment 3

[0188] In the embodiment of the present invention, the proxy server is an IMAP4-based mail proxy server as an example. Figure 6 The shown sequence diagram introduces the session keep-alive method provided by the embodiment of the present invention.

[0189] as attached Figure 6 As shown, the network system includes at least a client, a proxy server and a real mail server. The client needs to obtain an email from the mail server through the proxy server, assuming that the client has logged into the mailbox through authentication.

[0190] In step 601, the client sends an email data acquisition request, specifically carrying a payload of "hmvx UIDFETCH28(UID FLAGS BODY.PEEK[])".

[0191] In step 602, the proxy server forwards the request for acquiring the mail data to the mail server.

[0192] Step 603, the mail server sends a first message, the first message is used to respond to the request for obtaining the mail data, and the first message carries information indicating ...

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 discloses a session keep-alive method and device, which are used to solve the problem that the contents of emails received by a client are tampered with in the existing session keep-alive technology. The method includes: the proxy server receives the service data acquisition request sent by the client through the session between the proxy server and the client, and forwards it to the real server; receives the first message sent by the real server, the first message For responding to the service data acquisition request, the first message carries information indicating that the real server starts to transmit service data; the proxy server sequentially sends at least two second messages to the client , send the information to the client, each message carries a fragment of the information, and the sending time interval between two adjacent messages in the sending order is less than the aging time of the session; when the proxy server finishes sending When receiving the information, send service data to the client through the session within the aging time of the session.

Description

technical field [0001] The invention relates to the technical fields of computer and communication, in particular to a session keeping alive method and a proxy server. Background technique [0002] A network device with a proxy server function can achieve specific purposes, such as improving the utilization rate of Internet Protocol (IP) address resources, ensuring the security of interactive data, and so on. The working principle of the proxy server is to set a proxy server between the client and the real server (referring to the server that can independently provide services for the client, in order to distinguish it from the proxy server, it is called "real server" in this application), The proxy server establishes a session with the client and the real server respectively, processes the message from the client, sends the processed message to the real server, processes the message from the real server, and sends the processed message to the real server. The message is se...

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): H04L12/58
Inventor 郑能洪吴昊章海刚郭贤志
Owner HUAWEI TECH CO LTD