Processing Method and Processing Device for Automatically Setting Internet Access Mode
First Claim
Patent Images
1. A processing method for automatically setting an Internet access mode, comprising:
- separately sending a Point-to-Point Protocol over Ethernet PPPoE request message and a Dynamic Host Configuration Protocol DHCP request message;
when a DHCP response message corresponding to the DHCP request message is received first within a set time, determining that the Internet access mode is a DHCP mode; and
when a PPPoE response message corresponding to the PPPoE request message is received later within the set time, determining that the Internet access mode switches from the DHCP mode to a PPPoE mode.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention provides a processing method and processing device for automatically setting an Internet access mode. The method includes separately sending a PPPoE request message and a DHCP request message; if a DHCP response message corresponding to the DHCP request message is received first within a set time, determining that the Internet access mode is a DHCP mode; if a PPPoE response message corresponding to the PPPoE request message is received later within the set time, determining that the Internet access mode switches from the DHCP mode to a PPPoE mode. Embodiments of the present invention can improve accuracy of mode detection.
-
Citations
20 Claims
-
1. A processing method for automatically setting an Internet access mode, comprising:
-
separately sending a Point-to-Point Protocol over Ethernet PPPoE request message and a Dynamic Host Configuration Protocol DHCP request message; when a DHCP response message corresponding to the DHCP request message is received first within a set time, determining that the Internet access mode is a DHCP mode; and when a PPPoE response message corresponding to the PPPoE request message is received later within the set time, determining that the Internet access mode switches from the DHCP mode to a PPPoE mode. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A processing device, comprising:
-
a transmitter, configured to separately send a Point-to-Point Protocol over Ethernet PPPoE request message and a Dynamic Host Configuration Protocol DHCP request message, and receive a DHCP response message corresponding to the DHCP request message and a PPPoE response message corresponding to the PPPoE request message; and a processor, configured to; when determining that the transmitter first receives the DHCP response message corresponding to the DHCP request message within a set time, determine that an Internet access mode is a DHCP mode; and when determining that the transmitter later receives the PPPoE response message corresponding to the PPPoE request message within the set time, determine that the Internet access mode switches from the DHCP mode to a PPPoE mode. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification