WO2018095008A1 - Pppoe上网账号和密码自动配置方法及系统 - Google Patents

Pppoe上网账号和密码自动配置方法及系统 Download PDF

Info

Publication number
WO2018095008A1
WO2018095008A1 PCT/CN2017/087055 CN2017087055W WO2018095008A1 WO 2018095008 A1 WO2018095008 A1 WO 2018095008A1 CN 2017087055 W CN2017087055 W CN 2017087055W WO 2018095008 A1 WO2018095008 A1 WO 2018095008A1
Authority
WO
WIPO (PCT)
Prior art keywords
pppoe
password
routing device
configuration interface
online account
Prior art date
Application number
PCT/CN2017/087055
Other languages
English (en)
French (fr)
Inventor
陶成军
Original Assignee
上海斐讯数据通信技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海斐讯数据通信技术有限公司 filed Critical 上海斐讯数据通信技术有限公司
Publication of WO2018095008A1 publication Critical patent/WO2018095008A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]

Definitions

  • the invention relates to the field of router devices of a computer network, in particular to a PPPOE online account and password automatic configuration method for automatically configuring a PPPOE online account and password when a router is replaced, and a PPPOE online account and password automatic configuration system.
  • PPPOE Point to Point Protocol over Ethernet, which means an Ethernet-based point-to-point protocol that allows a computer on one network to access and connect to another remote access device through a simple bridge device.
  • PPPOE Through the PPPOE protocol, the remote access device can control and charge each access user.
  • PPPOE has a high performance-price ratio. It is widely used in a series of applications including cell network construction.
  • ADSL uses the PPPOE protocol.
  • ADSL is a kind of DSL technology, the full name of Asymmetric Digital Subscriber Line (Asymmetric Digital Subscriber Line), also known as asymmetric digital subscriber loop, is a new way of data transmission.
  • Asymmetric Digital Subscriber Line also known as asymmetric digital subscriber loop
  • the router provides routing for multiple users during the Internet access process, enabling multiple users to access the Internet.
  • the traditional router simply stores the PPPOE Internet account and password entered by the user, but does not help the user to store it securely and stably.
  • the user often does not remember the PPPOE online account and password.
  • the password carrier the operator's receipt at the time of processing
  • the password is not easy to save, and the user cannot find his own PPPOE online account.
  • the password is easy to lose, and the process of manually inputting from the carrier every time is very troublesome, causing great inconvenience to the user's Internet.
  • the technical problem to be solved by the present invention is to realize the process of retrieving the user and manually inputting the account and password of the PPPOE dialing when the routing device is replaced, and realizing a new reason that the device automatically obtains the account and password on the replaced device. Free configuration wizard process.
  • the present invention provides a PPPOE Internet account and password automatic configuration method and system for automatically configuring a PPPOE Internet account and password when a router is replaced, in view of the problems and deficiencies of the prior art.
  • the invention provides a PPPOE online account and password automatic configuration method, which is characterized in that it comprises the following steps:
  • a new routing device establishes a network connection with an alternate routing device.
  • the new routing device starts the PPPOE server, and searches for the PPPOE online account and password of the replaced routing device by using a polling manner, and the configuration interface displays the search result.
  • step S3 if the PPPOE online account and password are found within a period of time, the configuration interface automatically configures the PPPOE online account and password of the new routing device, and if the PPPOE Internet access is not found within the time period, Account and password, the configuration interface displays a message indicating that the PPPOE online account and password failed.
  • step S3 the following steps are included:
  • step S4 waiting for the alternate routing device to send a dialing request, if the dialing request is a DHCP discover message, proceed to step S5, if the dialing request is a PPPOE discovery message, proceed to step S6;
  • the configuration interface saves a default configuration, and the configuration interface displays the information that fails to find the PPPOE online account and password;
  • the PPPOE server detects the authentication mode, if the authentication mode is PAP identity authentication, then proceeds to step S7, if the authentication mode is CHAP identity authentication, then proceeds to step S8;
  • the configuration interface saves the PPPOE online account and password
  • the configuration interface saves the default configuration, and the configuration interface displays information that the PPPOE Internet account and password need to be manually filled in the encryption mode.
  • steps S2 and S3 are included between steps S2 and S3:
  • the configuration interface sets an option to cancel the password recovery. If this option is selected, the user manually inputs the PPPOE online account and password. If the option is not selected, the process proceeds to step S3.
  • the WAN port of the new routing device is connected to the LAN port of the replaced routing device.
  • the invention also provides a PPPOE online account and password automatic configuration system, which is characterized in that it comprises a new routing device and an replaced routing device, and the new routing device establishes a network connection with the replaced routing device;
  • the new routing device is used to log in to the first configuration interface
  • the new routing device is used to start the PPPOE server, and uses the polling method to find the PPPOE online account and password of the replaced routing device;
  • This configuration interface is used to display the search results.
  • the configuration interface is used to automatically configure the PPPOE Internet account and password of the new routing device
  • the configuration interface is used to display a failure to find the PPPOE Internet account and password.
  • the PPPOE server is configured to detect the authentication mode. If the authentication mode is PAP identity authentication, the configuration interface is used to save the PPPOE online account and password. The configuration interface is used to save the default configuration, and the configuration interface is used to display the information that the PPPOE Internet account and password need to be manually filled in the encryption mode.
  • the configuration interface sets an option to cancel the password of the account, if the option is selected.
  • the user manually enters the PPPOE online account and password. If the option is not selected, the new routing device is used to start the PPPOE server, and the PPPOE Internet account and password of the replaced routing device are searched by polling.
  • the WAN port of the new routing device is connected to the LAN port of the replaced routing device.
  • the invention can make the replacement of the routing device more simple, and reduce the trouble that the routing device needs to manually fill in the account and password of the dial-up Internet when the first configuration is configured, so that more age groups can replace the own routing device.
  • FIG. 1 is a flowchart of a PPPOE online account and password automatic configuration method according to a preferred embodiment of the present invention.
  • FIG. 2 is a flow chart of the new routing device R2 retrieving an account password according to a preferred embodiment of the present invention.
  • FIG. 3 is a connection diagram of a new routing device and an alternate routing device in accordance with a preferred embodiment of the present invention.
  • the replaced new routing device does not store the PPPOE dialing account and password, and the user forgets the PPPOE dialing account and password due to the long time.
  • the present invention passes the new routing device. Automatically query for corrupted routing devices PPPOE dial-up account and password to solve the pain point of forgetting or not finding your own PPPOE dial-up account and password after the user's routing device is damaged.
  • this embodiment provides a PPPOE online account and password automatic configuration method, which includes the following steps:
  • Step 101 A new routing device R2 establishes a network connection with an alternate routing device R1.
  • the WAN port of the new routing device R2 (the WAN port is called the Wide Area Network, the wide area network) and the LAN port of the replaced routing device R1.
  • the LAN port is called the Wide Area Network, LAN), as shown in Figure 3.
  • Step 102 Log in to the first configuration interface of the new routing device.
  • Step 103 The configuration interface sets an option to cancel the password recovery. If the option is selected, the process proceeds to step 107. If the option is not selected, the process proceeds to step 104.
  • Step 104 The new routing device starts the PPPOE server, and retrieves the PPPOE Internet account and password.
  • the configuration page searches for the PPPOE Internet account and password of the replaced routing device by using a polling manner.
  • the configuration interface displays the search result errorcode, according to the corresponding The value is prompted.
  • step 105 If the PPPOE online account and password are found within a certain period of time, proceed to step 105. If the PPPOE online account and password are not found within the time period, proceed to step 106:
  • Step 105 The configuration interface automatically configures a PPPOE online account and password of the new routing device.
  • Step 106 The configuration interface displays a message indicating that the PPPOE online account and password failed.
  • Step 107 The user manually inputs the PPPOE online account and password.
  • step 105 As shown in FIG. 2, after step 105, the following steps are included:
  • step S4 waiting for the alternate routing device R1 to send a dialing request, if the dialing request is a DHCP discover message, proceed to step S5, if the dialing request is a PPPOE discovery message, proceed to step S6;
  • the configuration interface saves a default configuration, such as errorcode: 1, and the configuration interface displays the information that fails to find the PPPOE online account and password;
  • step S6 Continue the session negotiation phase, and the PPPOE server detects the authentication mode, if the authentication If the mode is PAP identity authentication, proceed to step S7, if the authentication mode is CHAP identity authentication, proceed to step S8;
  • the configuration interface saves the PPPOE online account and password, which is in the form of errorcode: 0, account: xxx, pwd: xxx;
  • the configuration interface saves the default configuration, which is in the form of errorcode: 2, and the configuration interface displays the information that the PPPOE Internet account and password need to be manually filled in the encryption mode.
  • the new routing device R2 closes the PPPOE server, and the second step polls the errorcode. If 0 is obtained, the configuration-free process is completed.
  • this embodiment further provides a PPPOE online account and password automatic configuration system, which includes a new routing device R1 and an replaced routing device R2, and the new routing device R1 is established with the replaced routing device R2.
  • the network connection, the WAN port of the new routing device R1 is connected to the LAN port of the replaced routing device R2.
  • the new routing device R1 is used to log in to the first configuration interface
  • the new routing device R1 is used to start the PPPOE server, and uses the polling method to find the PPPOE online account and password of the replaced routing device R2;
  • This configuration interface is used to display the search results.
  • the configuration interface is used to automatically configure the PPPOE online account and password of the new routing device
  • the configuration interface is used to display a failure to find the PPPOE Internet account and password.
  • the PPPOE server is configured to wait for the alternate routing device R2 to send a dialing request. If the dialing request is a DHCP discover message, the configuration interface is used to save a default configuration, and the configuration interface is used to display the PPPOE Internet access. Account and password failure information;
  • the PPPOE server is configured to detect the authentication mode. If the authentication mode is PAP identity authentication, the configuration interface is used to save the PPPOE online account and password. The configuration interface is used to save the default configuration, and the configuration interface is used to display the PPPOE Internet account and the password to be manually filled in the encryption mode. interest.
  • the configuration interface sets an option to cancel the password for retrieving the account. If the option is selected, the user manually inputs the PPPOE account and password. If the option is not selected, the new routing device is used to start the PPPOE server. The search mode finds the PPPOE Internet account and password of the replaced routing device.
  • the routing device R1 is damaged and cannot work normally. Therefore, you need to replace the damaged routing device R1 with a new routing device. Set the new routing device to R2.
  • the WAN port of the routing device R2 is connected to the LAN port of the replaced routing device R1, and then the first configuration interface of the routing device R2 needs to be logged in.
  • the specific steps are as follows:
  • the computer By controlling the routing device R2 and setting the routing device R2 through the computer, the computer must be connected to the routing device R2.
  • the computer and the routing device R2 are connected in two ways: one is connected through a network cable, and the other is through a wireless connection. .
  • the general routing device has many LAN ports and WAN ports, the WAN port is plugged into the main network cable, and the LAN is plugged into the network cable connected to the computer. Then the computer is connected to the router.
  • the routing device R2 turns on the wireless network, and the computer is connected to the wireless signal.
  • the routing device R2 After the computer is connected to the routing device R2, open the browser of the computer and enter the routing address of the routing device R2 in the address bar (for example, 192.168.1.1).
  • the addresses of different routing devices may be different. Please refer to the address of the manual.
  • the browser of the computer displays a pop-up box. Enter the initial account and password of the routing device R2 in the pop-up box.
  • the default account and password are generally admin. For details, refer to the manual of the routing device. It should be noted here that the browser cannot be entered in the popup box. If there is a situation, you can change the browser or copy and paste the account password into the dialog box.
  • the configuration interface After entering the first configuration interface of the routing device R2, the configuration interface displays an option to cancel the password for retrieving the account.
  • the user can select whether to check according to the actual situation.
  • the user selects the option to cancel the password recovery, the user is explained.
  • the routing device R2 does not need to automatically find the PPPOE online account password, and the user manually enters the PPPOE online account and password.
  • the user When the user chooses not to check the option to cancel the password recovery, the user needs the routing device R2 to automatically find the PPPOE online account password.
  • the routing device R2 starts the PPPOE server, retrieves the PPPOE online account and password, and uses the polling method to find the PPPOE online account and password of the replaced routing device R1, that is, continuously searching for the time period (for example, 60 seconds).
  • the routing device R1 then transmits the search result to the configuration interface, and the configuration interface displays the search result errorcode and prompts according to the corresponding value.
  • the configuration interface displays a message indicating that the PPPOE Internet account and password failed. After the user sees the information, the user needs to input the PPPOE Internet account manually. And password.
  • the configuration interface automatically configures the PPPOE Internet account and password of the new routing device, and the routing device R2 automatically configures the PPPOE Internet account of the routing device R2. And password.
  • the routing device R2 establishes a link, starts the PPPOE server, and retrieves the PPPOE Internet account and password.
  • the specific process is as follows:
  • the routing device R2 waits for the routing device R1 to send a dialing request.
  • the routing device R1 initiates a PPPOE dialing request, which includes information such as the PPPOE SESSION_ID and the Ethernet MAC address of the peer.
  • the routing device R1 sends an Initialized Broadcast Packet (PADI) to find the accessed routing device R2 and the services it needs.
  • PADI Initialized Broadcast Packet
  • Routing device R2 sends a response packet (PADO).
  • PADO response packet
  • the routing device R1 sends a unicast packet for the session request (PADR): the routing device R1 checks all the PADO packets it receives. If a PADO packet meets the requirements of the routing device R1, then The corresponding routing device R2 sends a PADR packet and confirms the connection request with the routing device R2.
  • PADR session request
  • the routing device R2 sends a session confirmation packet (PADS): after receiving the PADR packet, the routing device R2 generates a unique SESSION_ID and sends it to the routing device R1 of the opposite end to confirm the establishment of the session. At this point, the routing device R1 and the routing device R2 The connections at both ends are uniquely defined.
  • PADS session confirmation packet
  • the configuration interface saves a default configuration, such as errorcode: 1, and the configuration interface displays the information indicating that the PPPOE online account and password failed.
  • the session negotiation phase is continued.
  • the PPPOE server detects the authentication method, that is, performs identity authentication.
  • the configuration interface saves the PPPOE online account and password, which is in the form of errorcode: 0, account: xxx, pwd: xxx.
  • the configuration interface saves the default configuration, which is in the form of errorcode: 2, and the configuration interface displays the information that the PPPOE Internet account and password need to be manually filled in the encryption mode.
  • the routing device R2 closes the PPPOE server, and the second step polls the errorcode. If 0 is obtained, the configuration-free process is completed.
  • the present invention can make the replacement of the routing device simpler, and reduce the trouble that the routing device needs to manually fill in the dial-up account and password when the first configuration is configured, so that more age groups can replace their own routing devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Human Computer Interaction (AREA)
  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种PPPOE上网账号和密码自动配置方法及系统,包括以下步骤:S1、一新路由设备与一被替代路由设备建立网络连接;S2、登入该新路由设备的首次配置界面;S3、该新路由设备启动PPPOE服务器,采用轮询方式查找该被替代路由设备的PPPOE上网账号和密码,该配置界面显示查找结果。本发明可以使更换路由设备变得更加简单,减少路由设备在首次配置时需要手动填入拨号上网的账号和密码的麻烦,使得更多年龄层次的人可以更换自家路由设备。

Description

PPPOE上网账号和密码自动配置方法及系统 技术领域
本发明涉及计算机网络的路由器设备领域,特别涉及一种更换路由器时自动配置PPPOE上网账号和密码的PPPOE上网账号和密码自动配置方法以及PPPOE上网账号和密码自动配置系统。
背景技术
PPPOE是Point to Point Protocol over Ethernet的简称,意思是基于以太网的点对点协议,它可以使得一个网络上的计算机通过一个简单的桥接设备访问并连接到另一个远端的接入设备上。通过PPPOE协议,远端接入设备能够实现对每个接入用户的控制和计费。与传统的接入方式相比,PPPOE具有较高的性能价格比,它在包括小区组网建设等一系列应用中被广泛采用,目前流行的宽带接入方式ADSL就使用了PPPOE协议。其中,ADSL属于DSL技术的一种,全称Asymmetric Digital Subscriber Line(非对称数字用户线路),亦可称作非对称数字用户环路,是一种新的数据传输方式。
路由器在上网过程中为多个用户提供路由选择,实现多个用户共同上网,传统路由器只是简单的存储了用户输入的PPPOE上网账号和口令,但是并没有帮助用户真正安全稳定的存储下来。当路由器损坏需要更换路由器时,用户往往自己不记得PPPOE上网账号和口令,而随时间推移,其口令载体(办理时候的运营商的单据等)也不易保存,用户找不到自己的PPPOE上网账号和口令容易丢失,而且每次从载体手动输入的过程也十分麻烦,给用户的上网造成了极大的不便。
由此,用户更换路由器时,难免需要翻找PPPOE拨号的账户和密码,或者通过运营商方式找回,一定程度上造成了更换路由带来的代价。因此,如何设计一种在用户更换路由器后仍能很方便获取原来设置的PPPOE上网账号和口令便成为了亟待解决的问题。
本发明所要解决的技术问题是实现更换路由设备时,免去找回或用户自己手动输入PPPOE拨号的账号和密码的过程,实现一种新理由设备自动获取被替代设备上的账号和密码,实现免配置的快速向导过程。
发明内容
本发明针对现有技术存在的问题和不足,提供一种更换路由器时自动配置PPPOE上网账号和密码的PPPOE上网账号和密码自动配置方法及系统。
本发明是通过下述技术方案来解决上述技术问题的:
本发明提供一种PPPOE上网账号和密码自动配置方法,其特点在于,其包括以下步骤:
S1、一新路由设备与一被替代路由设备建立网络连接;
S2、登入该新路由设备的首次配置界面;
S3、该新路由设备启动PPPOE服务器,采用轮询方式查找该被替代路由设备的PPPOE上网账号和密码,该配置界面显示查找结果。
较佳地,在步骤S3中,若在一时间段内查找到PPPOE上网账号和密码,该配置界面自动配置该新路由设备的PPPOE上网账号和密码,若在该时间段内未查找到PPPOE上网账号和密码,则该配置界面显示一查找PPPOE上网账号和密码失败的信息。
较佳地,在步骤S3之后包括以下步骤:
S4、等待该被替代路由设备发送拨号请求,若该拨号请求为DHCP discover报文,则进入步骤S5,若该拨号请求为PPPOE discovery报文,则进入步骤S6;
S5、该配置界面保存默认配置,并该配置界面显示该查找PPPOE上网账号和密码失败的信息;
S6、该PPPOE服务器检测认证方式,若认证方式为PAP身份认证,则进入步骤S7,若认证方式为CHAP身份认证,则进入步骤S8;
S7、该配置界面保存PPPOE上网账号和密码;
S8、该配置界面保存默认配置,且该配置界面显示PPPOE上网账号和密码为加密模式需手动填入的信息。
较佳地,在步骤S2和S3之间包括以下步骤:
该配置界面设置一取消找回账号密码的选项,若勾选该选项则用户手动输入PPPOE上网账号和密码,若未勾选该选项进入步骤S3。
较佳地,该新路由设备的WAN口与该被替代路由设备的LAN口相连接。
本发明还提供一种PPPOE上网账号和密码自动配置系统,其特点在于,其包括一新路由设备与一被替代路由设备,该新路由设备与该被替代路由设备建立网络连接;
该新路由设备用于登陆首次配置界面;
该新路由设备用于启动PPPOE服务器,采用轮询方式查找该被替代路由设备的PPPOE上网账号和密码;
该配置界面用于显示查找结果。
较佳地,该PPPOE服务器在一时间段内查找到PPPOE上网账号和密码时,则该配置界面用于自动配置该新路由设备的PPPOE上网账号和密码;
该PPPOE服务器在该时间段内未查找到PPPOE上网账号和密码时,则该配置界面用于显示一查找PPPOE上网账号和密码失败的信息。
较佳地,该PPPOE服务器用于等待该被替代路由设备发送拨号请求,若该拨号请求为DHCP discover报文,则该配置界面用于保存默认配置,并该配置界面用于显示该查找PPPOE上网账号和密码失败的信息;
若该拨号请求为PPPOE discovery报文,则该PPPOE服务器用于检测认证方式,若认证方式为PAP身份认证,则该配置界面用于保存PPPOE上网账号和密码,若认证方式为CHAP身份认证,该配置界面用于保存默认配置,且该配置界面用于显示PPPOE上网账号和密码为加密模式需手动填入的信息。
较佳地,该配置界面设置一取消找回账号密码的选项,若勾选该选项则 用户手动输入PPPOE上网账号和密码,若未勾选该选项则该新路由设备用于启动PPPOE服务器,采用轮询方式查找该被替代路由设备的PPPOE上网账号和密码。
较佳地,该新路由设备的WAN口与该被替代路由设备的LAN口相连接。
在符合本领域常识的基础上,上述各优选条件,可任意组合,即得本发明各较佳实例。
本发明的积极进步效果在于:
本发明可以使更换路由设备变得更加简单,减少路由设备在首次配置时需要手动填入拨号上网的账号和密码的麻烦,使得更多年龄层次的人可以更换自家路由设备。
附图说明
图1为本发明较佳实施例的PPPOE上网账号和密码自动配置方法的流程图。
图2为本发明较佳实施例的新路由设备R2找回账号密码的流程图。
图3为本发明较佳实施例的新路由设备与被替代路由设备的连接图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。
当路由设备损坏的时候,替换的新的路由设备中并未存储有PPPOE拨号账号和密码,而用户由于时间长而忘记了PPPOE拨号账号和密码,基于该技术问题,本发明通过新的路由设备自动查询已经损坏的路由设备中的 PPPOE拨号账号和密码,解决用户路由设备损坏后忘记或找不到自己PPPOE拨号账号和密码的痛点。
如图1和2所示,本实施例提供一种PPPOE上网账号和密码自动配置方法,其包括以下步骤:
步骤101、一新路由设备R2与一被替代路由设备R1建立网络连接,具体地,该新路由设备R2的WAN口(WAN口全称Wide Area Network,广域网)与该被替代路由设备R1的LAN口(LAN口全称Wide Area Network,局域网)相连接,见图3。
步骤102、登入该新路由设备的首次配置界面。
步骤103、该配置界面设置一取消找回账号密码的选项,若勾选该选项则进入步骤107,若未勾选该选项进入步骤104。
步骤104、该新路由设备启动PPPOE服务器,找回PPPOE上网账号和密码,该配置页面采用轮询方式查找该被替代路由设备的PPPOE上网账号和密码,该配置界面显示查找结果errorcode,依据对应的值进行提示。
若在一时间段内查找到PPPOE上网账号和密码,则进入步骤步骤105,若在该时间段内未查找到PPPOE上网账号和密码,则进入步骤步骤106:
步骤105、该配置界面自动配置该新路由设备的PPPOE上网账号和密码。
步骤106、该配置界面显示一查找PPPOE上网账号和密码失败的信息。
步骤107、用户手动输入PPPOE上网账号和密码。
如图2所示,在步骤105之后包括以下步骤:
S4、等待该被替代路由设备R1发送拨号请求,若该拨号请求为DHCP discover报文,则进入步骤S5,若该拨号请求为PPPOE discovery报文,则进入步骤S6;
S5、该配置界面保存默认配置,例如errorcode:1,并该配置界面显示该查找PPPOE上网账号和密码失败的信息;
S6、继续进行会话协商阶段,该PPPOE服务器检测认证方式,若认证 方式为PAP身份认证,则进入步骤S7,若认证方式为CHAP身份认证,则进入步骤S8;
S7、该配置界面保存PPPOE上网账号和密码,形如errorcode:0,account:xxx,pwd:xxx;
S8、该配置界面保存默认配置,形如errorcode:2,且该配置界面显示PPPOE上网账号和密码为加密模式需手动填入的信息。
S9、新路由设备R2关闭PPPOE服务器,第二步页面轮询errorcode,如果得到0,则完成免配置过程。
如图3所示,本实施例还提供一种PPPOE上网账号和密码自动配置系统,其包括一新路由设备R1与一被替代路由设备R2,该新路由设备R1与该被替代路由设备R2建立网络连接,该新路由设备R1的WAN口与该被替代路由设备R2的LAN口相连接。
该新路由设备R1用于登陆首次配置界面;
该新路由设备R1用于启动PPPOE服务器,采用轮询方式查找该被替代路由设备R2的PPPOE上网账号和密码;
该配置界面用于显示查找结果。
具体地,该PPPOE服务器在一时间段内查找到PPPOE上网账号和密码时,则该配置界面用于自动配置该新路由设备的PPPOE上网账号和密码;
该PPPOE服务器在该时间段内未查找到PPPOE上网账号和密码时,则该配置界面用于显示一查找PPPOE上网账号和密码失败的信息。
优选地,该PPPOE服务器用于等待该被替代路由设备R2发送拨号请求,若该拨号请求为DHCP discover报文,则该配置界面用于保存默认配置,并该配置界面用于显示该查找PPPOE上网账号和密码失败的信息;
若该拨号请求为PPPOE discovery报文,则该PPPOE服务器用于检测认证方式,若认证方式为PAP身份认证,则该配置界面用于保存PPPOE上网账号和密码,若认证方式为CHAP身份认证,该配置界面用于保存默认配置,且该配置界面用于显示PPPOE上网账号和密码为加密模式需手动填入的信 息。
优选地,该配置界面设置一取消找回账号密码的选项,若勾选该选项则用户手动输入PPPOE上网账号和密码,若未勾选该选项则该新路由设备用于启动PPPOE服务器,采用轮询方式查找该被替代路由设备的PPPOE上网账号和密码。
下面举一具体的例子来说明本发明的技术方案,以使得本领域的技术人员能够更好地理解本发明:
路由设备R1损坏,无法正常工作,所以需要以新的路由设备替换掉已经损坏的路由设备R1,设新的路由设备为R2。
路由设备R2的WAN口与被替代的路由设备R1的LAN口相连接,然后需要登录路由设备R2的首次配置界面。具体地步骤如下:
1、通过电脑控制路由设备R2和设置路由设备R2,必须将电脑和路由设备R2相连接,电脑和路由设备R2相连接有两种连接方式:一种是通过网线连接,一种是通过无线连接。
2、通过网线连接:电脑和路由设备R2之间若通过网线连接,则需要在路由设备R2上找到LAN口和WAN口。一般的路由设备有很多LAN口和WAN口,WAN口插主网线,LAN插电脑与路由连接的网线。这样电脑就和路由器就连接了。
通过无线连接:通过无线连接方式就是路由设备R2开启无线网络,电脑连接至无线信号即可。
3、电脑连接上了路由设备R2之后,打开电脑的浏览器,在地址栏输入路由设备R2的路由地址(例如192.168.1.1),不同路由设备的地址可能不同,请具体参照说明书的地址。
4、电脑的浏览器显示一弹出框,在该弹出框内输入路由设备R2的初始账户和密码,默认的账户和密码一般为admin,详情参照该路由设备的说明书。这里需要注意,浏览器在该弹出框不能输入,有相同情况的可以更换浏览器或者将账户密码复制粘贴到对话框,输入完成点击登陆。
5、进入路由设备R2的首次配置界面。
进入路由设备R2的首次配置界面后,该配置界面显示有一取消找回账号密码的选项,用户可以根据实际情况选择是否勾选,在用户选择勾选该取消找回账号密码的选项时,说明用户无需路由设备R2自动查找PPPOE上网账号密码,而由用户自己手动输入PPPOE上网账号和密码。
在用户选择不勾选该取消找回账号密码的选项时,说明用户需要路由设备R2自动查找PPPOE上网账号密码。
路由设备R2启动PPPOE服务器,找回PPPOE上网账号和密码,采用轮询的方式查找该被替代的路由设备R1的PPPOE上网账号和密码,即在一时间段(例如60秒)内不断地查找该路由设备R1,然后将查找结果传输至该配置界面,该配置界面显示查找结果errorcode,依据对应的值进行提示。
该PPPOE服务器若在60秒之内未查找到PPPOE上网账号和密码,则该配置界面显示一查找PPPOE上网账号和密码失败的信息,用户看到该信息之后,需要通过手动输入方式输入PPPOE上网账号和密码。
该PPPOE服务器若在60秒之内查找到PPPOE上网账号和密码,则该配置界面自动配置该新路由设备的PPPOE上网账号和密码,则该路由设备R2自动成功配置出路由设备R2的PPPOE上网账号和密码。
路由设备R2建立链路,启动PPPOE服务器,找回PPPOE上网账号和密码的具体过程如下:
1)路由设备R2等待路由设备R1发送拨号请求。
2)路由设备R1发起PPPOE拨号请求,其中包括PPPOE SESSION_ID和对端的以太网MAC地址等信息。
3)路由设备R1发送初始化广播包(PADI),寻找接入的路由设备R2,及其所需要的服务。
4)路由设备R2发送应答包(PADO)。
5)路由设备R1发送会话请求的单播包(PADR):路由设备R1检查其收到的所有PADO包,如果某个PADO包满足路由设备R1的需求,则向 对应的路由设备R2发送PADR包,确认与路由设备R2的连接请求。
6)路由设备R2发送会话确认包(PADS):路由设备R2收到PADR包之后,生成唯一的SESSION_ID并发送给对端的路由设备R1,以示确认建立会话,至此,路由设备R1和路由设备R2两端的连接被唯一地定义。
7)PPP LCP链路配置协商,参与PPP会话的两端(路由设备R1和路由设备R2)交换配置数据包,当双方承认两者之间的协商配置后,这样的配置数据交换过程即告完成,此时链路即被建立。
若该拨号请求为DHCP discover报文,则该配置界面保存默认配置,例如errorcode:1,并该配置界面显示该查找PPPOE上网账号和密码失败的信息。
若该拨号请求为PPPOE discovery报文,则继续进行会话协商阶段。
8)PPPOE服务器检测认证方式,即进行身份认证。
若认证方式为PAP身份认证,则该配置界面保存PPPOE上网账号和密码,形如errorcode:0,account:xxx,pwd:xxx。
若认证方式为CHAP身份认证,该配置界面保存默认配置,形如errorcode:2,且该配置界面显示PPPOE上网账号和密码为加密模式需手动填入的信息。
9)路由设备R2关闭PPPOE服务器,第二步页面轮询errorcode,如果得到0,则完成免配置过程。
综上,本发明可以使更换路由设备变得更加简单,减少路由设备在首次配置时需要手动填入拨号上网的账号和密码的麻烦,使得更多年龄层次的人可以更换自家路由设备。
虽然以上描述了本发明的具体实施方式,但是本领域的技术人员应当理解,这些仅是举例说明,本发明的保护范围是由所附权利要求书限定的。本领域的技术人员在不背离本发明的原理和实质的前提下,可以对这些实施方式做出多种变更或修改,但这些变更和修改均落入本发明的保护范围。

Claims (10)

  1. 一种PPPOE上网账号和密码自动配置方法,其特征在于,其包括以下步骤:
    S1、一新路由设备与一被替代路由设备建立网络连接;
    S2、登入该新路由设备的首次配置界面;
    S3、该新路由设备启动PPPOE服务器,采用轮询方式查找该被替代路由设备的PPPOE上网账号和密码,该配置界面显示查找结果。
  2. 如权利要求1所述的PPPOE上网账号和密码自动配置方法,其特征在于,在步骤S3中,若在一时间段内查找到PPPOE上网账号和密码,该配置界面自动配置该新路由设备的PPPOE上网账号和密码,若在该时间段内未查找到PPPOE上网账号和密码,则该配置界面显示一查找PPPOE上网账号和密码失败的信息。
  3. 如权利要求1所述的PPPOE上网账号和密码自动配置方法,其特征在于,在步骤S3之后包括以下步骤:
    S4、等待该被替代路由设备发送拨号请求,若该拨号请求为DHCP discover报文,则进入步骤S5,若该拨号请求为PPPOE discovery报文,则进入步骤S6;
    S5、该配置界面保存默认配置,并该配置界面显示该查找PPPOE上网账号和密码失败的信息;
    S6、该PPPOE服务器检测认证方式,若认证方式为PAP身份认证,则进入步骤S7,若认证方式为CHAP身份认证,则进入步骤S8;
    S7、该配置界面保存PPPOE上网账号和密码;
    S8、该配置界面保存默认配置,且该配置界面显示PPPOE上网账号和密码为加密模式需手动填入的信息。
  4. 如权利要求1所述的PPPOE上网账号和密码自动配置方法,其特征在于,在步骤S2和S3之间包括以下步骤:
    该配置界面设置一取消找回账号密码的选项,若勾选该选项则用户手动输入PPPOE上网账号和密码,若未勾选该选项进入步骤S3。
  5. 如权利要求1所述的PPPOE上网账号和密码自动配置方法,其特征在于,该新路由设备的WAN口与该被替代路由设备的LAN口相连接。
  6. 一种PPPOE上网账号和密码自动配置系统,其特征在于,其包括一新路由设备与一被替代路由设备,该新路由设备与该被替代路由设备建立网络连接;
    该新路由设备用于登陆首次配置界面;
    该新路由设备用于启动PPPOE服务器,采用轮询方式查找该被替代路由设备的PPPOE上网账号和密码;
    该配置界面用于显示查找结果。
  7. 如权利要求6所述的PPPOE上网账号和密码自动配置系统,其特征在于,该PPPOE服务器在一时间段内查找到PPPOE上网账号和密码时,则该配置界面用于自动配置该新路由设备的PPPOE上网账号和密码;
    该PPPOE服务器在该时间段内未查找到PPPOE上网账号和密码时,则该配置界面用于显示一查找PPPOE上网账号和密码失败的信息。
  8. 如权利要求6所述的PPPOE上网账号和密码自动配置系统,其特征在于,该PPPOE服务器用于等待该被替代路由设备发送拨号请求,若该拨号请求为DHCP discover报文,则该配置界面用于保存默认配置,并该配置界面用于显示该查找PPPOE上网账号和密码失败的信息;
    若该拨号请求为PPPOE discovery报文,则该PPPOE服务器用于检测认证方式,若认证方式为PAP身份认证,则该配置界面用于保存PPPOE上网账号和密码,若认证方式为CHAP身份认证,该配置界面用于保存默认配置,且该配置界面用于显示PPPOE上网账号和密码为加密模式需手动填入的信息。
  9. 如权利要求6所述的PPPOE上网账号和密码自动配置系统,其特征在于,该配置界面设置一取消找回账号密码的选项,若勾选该选项则用户手动输入PPPOE上网账号和密码,若未勾选该选项则该新路由设备用于启动PPPOE服务器,采用轮询方式查找该被替代路由设备的PPPOE上网账号和 密码。
  10. 如权利要求6所述的PPPOE上网账号和密码自动配置系统,其特征在于,该新路由设备的WAN口与该被替代路由设备的LAN口相连接。
PCT/CN2017/087055 2016-11-24 2017-06-02 Pppoe上网账号和密码自动配置方法及系统 WO2018095008A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611041757.0A CN106452917B (zh) 2016-11-24 2016-11-24 Pppoe上网账号和密码自动配置方法及系统
CN201611041757.0 2016-11-24

Publications (1)

Publication Number Publication Date
WO2018095008A1 true WO2018095008A1 (zh) 2018-05-31

Family

ID=58218135

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/087055 WO2018095008A1 (zh) 2016-11-24 2017-06-02 Pppoe上网账号和密码自动配置方法及系统

Country Status (2)

Country Link
CN (1) CN106452917B (zh)
WO (1) WO2018095008A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111327440A (zh) * 2018-12-14 2020-06-23 中国移动通信集团山东有限公司 机顶盒自动配置的方法和装置
CN113965427A (zh) * 2020-07-20 2022-01-21 中国电信股份有限公司 宽带拨号故障监控及修复的方法和系统

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106452917B (zh) * 2016-11-24 2019-10-25 上海斐讯数据通信技术有限公司 Pppoe上网账号和密码自动配置方法及系统
CN106992882B (zh) * 2017-03-24 2020-06-02 北京小米移动软件有限公司 路由器文件迁移方法和装置
CN107370627A (zh) * 2017-08-07 2017-11-21 上海斐讯数据通信技术有限公司 一种路由器预设账号信息的找回方法及装置
CN109788528B (zh) * 2017-11-15 2021-08-17 中国电信股份有限公司 接入点及其上网业务开通方法和系统
CN109005146A (zh) * 2018-06-04 2018-12-14 青岛海信宽带多媒体技术有限公司 一种获取账号信息的方法及网关
CN111064642B (zh) * 2019-12-25 2021-12-03 深圳市网心科技有限公司 一种拨号连网方法及其相关设备
CN111182546B (zh) * 2019-12-31 2021-09-21 荣耀终端有限公司 接入无线网络的方法、设备及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102291A (zh) * 2007-08-11 2008-01-09 中兴通讯股份有限公司 基于pppoe代理功能实现用户接入互联网的方法
US20090190584A1 (en) * 2005-08-16 2009-07-30 Siemens Aktiengesellschaft Method, communication arrangement and communication device for transferring information
CN103428066A (zh) * 2013-08-09 2013-12-04 深圳市吉祥腾达科技有限公司 一种利用宽带路由器联网的方法、系统及宽带路由器
CN105227346A (zh) * 2015-08-24 2016-01-06 上海斐讯数据通信技术有限公司 一种基于扫描二维码的路由器配置方法
CN106452917A (zh) * 2016-11-24 2017-02-22 上海斐讯数据通信技术有限公司 Pppoe上网账号和密码自动配置方法及系统

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2563422C (en) * 2004-04-15 2013-06-04 Clearpath Networks, Inc. Systems and methods for managing a network
CN103873307B (zh) * 2014-04-11 2018-05-29 北京极科极客科技有限公司 用于pppoe用户名和密码备份和还原的方法
CN105357122B (zh) * 2015-11-30 2018-09-28 上海斐讯数据通信技术有限公司 一种路由器管理方法、装置、及一种路由器

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090190584A1 (en) * 2005-08-16 2009-07-30 Siemens Aktiengesellschaft Method, communication arrangement and communication device for transferring information
CN101102291A (zh) * 2007-08-11 2008-01-09 中兴通讯股份有限公司 基于pppoe代理功能实现用户接入互联网的方法
CN103428066A (zh) * 2013-08-09 2013-12-04 深圳市吉祥腾达科技有限公司 一种利用宽带路由器联网的方法、系统及宽带路由器
CN105227346A (zh) * 2015-08-24 2016-01-06 上海斐讯数据通信技术有限公司 一种基于扫描二维码的路由器配置方法
CN106452917A (zh) * 2016-11-24 2017-02-22 上海斐讯数据通信技术有限公司 Pppoe上网账号和密码自动配置方法及系统

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111327440A (zh) * 2018-12-14 2020-06-23 中国移动通信集团山东有限公司 机顶盒自动配置的方法和装置
CN113965427A (zh) * 2020-07-20 2022-01-21 中国电信股份有限公司 宽带拨号故障监控及修复的方法和系统
CN113965427B (zh) * 2020-07-20 2023-05-02 中国电信股份有限公司 宽带拨号故障监控及修复的方法和系统

Also Published As

Publication number Publication date
CN106452917B (zh) 2019-10-25
CN106452917A (zh) 2017-02-22

Similar Documents

Publication Publication Date Title
WO2018095008A1 (zh) Pppoe上网账号和密码自动配置方法及系统
KR101063080B1 (ko) 이더넷 dsl 액세스 멀티플렉서 및 동적 서비스 선택과최종-사용자 구성을 제공하는 방법
KR101418351B1 (ko) 네트워크를 액세스하기 위해 인터페이스를 식별하고 선택하기 위한 방법 및 디바이스
US8488569B2 (en) Communication device
US20070058538A1 (en) Method of setting up a wireless router
CN100534055C (zh) 利用宽带路由器实现上网的方法
WO2012079473A1 (zh) 自动切换网络的方法和装置、无线接入设备和中间设备
US20110035793A1 (en) Transparent reconnection
WO2008106881A1 (fr) Procédé d'accès ppp, système correspondant et dispositif à noeud d'accès
WO2017088101A1 (zh) 一种网络连接信息获取方法及路由器
WO2003075517A2 (en) Setup for customer premise equipment (cpe) with ppp bridge using the same public ip address at the wan side and the lan side
WO2008019624A1 (fr) Procédé et système destinés à mettre en oeuvre la gestion de configuration de dispositifs dans un réseau
EP2838242B1 (en) Method and apparatus for preventing network-side media access control address from being counterfeited
CN108667672A (zh) 一种lan接口与wan接口的自动适配方法及路由器
WO2012130142A1 (zh) 用户业务接入方法、系统和接入设备
WO2017080335A1 (zh) 一种基于pppoe网络的拨号方法、拨号系统及路由器
WO2014153860A1 (zh) 一种网络接入的方法、网关及系统
JP2010514290A (ja) メディアアクセス制御アドレスを変換するためのネットワーク装置及び方法
WO2012116615A1 (zh) 一种拨号设备以及根据用户需求实现虚拟拨号的方法
WO2019029082A1 (zh) 一种路由器预设账号信息的找回方法及装置
WO2007016809A1 (fr) Procede de gestion de dispositif de pontage
KR100542361B1 (ko) 피피피오이 네트워크 시스템 및 이 시스템의 접속 방법
WO2011057570A1 (zh) 虚拟局域网的数据传输方法、设备与系统
WO2007107076A1 (fr) Procédé et dispositif d'accès utilisateur à large bande
Cisco Configuring the System

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17874662

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17874662

Country of ref document: EP

Kind code of ref document: A1