Method and device for establishing network connection

A technology of network connection and network server, which is applied in the field of network connection establishment, and can solve the problems that the client cannot establish a network connection with the network server, cannot successfully establish a network connection, and the client cannot dial up to access the Internet.

Active Publication Date: 2017-08-18
BEIJING ANBOTONG TECH CO LTD
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, the inventor has found that if the sender of the first received PADO message is not a legal network server but an illegal network server, the client will only attempt to establish a network connection with the illegal network server. It will not try to establish a network

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 and device for establishing network connection
  • Method and device for establishing network connection
  • Method and device for establishing network connection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the embodiments of the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the embodiments of the invention as recited in the appended claims.

[0049] figure 1 is a flow chart of a method for establishing a network connection shown according to an exemplary embodiment, as shown in figure 1 As shown, the method is used in the client, and the method includes the following steps.

[0050] In step S101, after broadcasting the PADI message, receive the PADO message that a plurality of network server...

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 embodiment of the invention provides a method and device for establishing a network connection. The method comprises the following steps: after broadcasting a PADI (Point to Point Protocol over Ethernet Active Discovery Offer) message, receiving a plurality of PADO (Point to Point Protocol over Ethernet Active Discovery Offer) messages returned by a network server according to the PADI message respectively; locally caching the plurality of received PADO messages; selecting one PADO message that has not been selected from the plurality of cached PADO messages; trying to establish a network connection with the network server that sends the selected PADO message; and if the network connection with the network server that sends the selected PADO message is not successfully established, then continuing to select one PADO message that has not been selected from the plurality of cached PADO messages, until the network connection is established between one network server in a plurality of network servers that send the plurality of received PADOs. Therefore, compared with the prior art, the method for establishing the network connection provided by the embodiment of the invention can ensure the network connection between a client and a legitimate network server, thereby ensuring that a user can dial-up through the legitimate network server.

Description

technical field [0001] Embodiments of the present invention relate to the field of communication technologies, and in particular, to a method and device for establishing a network connection. Background technique [0002] Currently, the client usually dials up to access the Internet based on the PPPoE protocol (Point to Point Protocol over Ethernet, point-to-point protocol over Ethernet). Among them, when the client needs to dial up to access the Internet, the client can broadcast the PADI (Point to Point Protocol over Ethernet Active Discovery Offer, the point-to-point protocol on the Ethernet effectively discovers the start) message, and when the network server receives the PADI message, it will A PADO (Point to Point Protocol over Ethernet Active Discovery Offer) message is returned to the client, and the client has been notified that a network connection can be established with the network server, thereby realizing dial-up Internet access. [0003] However, sometimes la...

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): H04L12/28H04L29/08
CPCH04L12/2859H04L67/568
Inventor 李洪宇
Owner BEIJING ANBOTONG TECH CO 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