A kind of PPPOE zero configuration service implementation method and systemTechnical field
The present invention relates to PPPOE configuration service field, PPPOE zero configuration service implementation method when particularly a kind of terminal use of simplification uses PPPOE business, CPE being configured and the system that realizes zero configuration business.
Background technology
PPPoE is the abbreviation of point-to-point protocol over ethernet, can make the main frame of Ethernet link on the access concentrator of a far-end by a simple bridging device.By pppoe agreement, remote access device can realize the control of each access user and charging.
CPE is the abbreviation of Customer Premise Equipment, also claims ustomer premises access equipment, comprises home gateway etc., and CPE is connected on Ethernet by PPPOE agreement.
General user's CPE is connected on Ethernet by PPPOE now, realizes operational line, need to pass through following mode:
1) user uses cpe device to operator's business hall application.
2) contact staff of operator real-time confirmation service fulfillment Internet resources.
3) confirm that resource possesses, accept applications, user fills in application information, and contact staff's typing user, business information are in customer relationship (CRM) system, for user provides online broadband account number.
4) crm system notification service open system.
5) service release system produces work order, carries out service fulfillment.
6) operator's outside line personnel carry CPE and on-site install, by CPE and up outside line exact connect ion, power on, and login, the information such as delivery input terminal sequence number, broadband account number, account number cipher.
7) account of terminal total management system piebald horse CPE, completes CPE and utilizes PPPOE agreement interconnection network business configuration.
In such scheme, maximum problem is: often opening a family all needs operator to send someone to on-site install, and such workload is undoubtedly huge, if completed by user oneself, need to allow this account number cipher of user's configure, such work is undoubtedly numerous and diverse concerning domestic consumer.
Summary of the invention
The object of the present invention is to provide a kind of PPPOE zero configuration service implementation method and system, to simplify the configuration of CPE.
Technical scheme of the present invention is: a kind of PPPOE zero configuration service implementation method, the Automatic Configuration Server address that the method adopts Automatic Configuration Server, ustomer premises access equipment to be preset with Automatic Configuration Server authentication account and password and will to be connected when dispatching from the factory; Ustomer premises access equipment utilizes DHCP agreement automatic access Automatic Configuration Server, ustomer premises access equipment reports authentication account password default while dispatching from the factory to Automatic Configuration Server, Automatic Configuration Server by parsing authenticate account number cipher legal after, automatically issue configuration information to ustomer premises access equipment, ustomer premises access equipment utilizes this configuration information to complete configuration.
Further, in above-mentioned PPPOE zero configuration service implementation method: specifically comprise the steps:
A, ustomer premises access equipment utilize DHCP to obtain IP address; Utilize DHCP passage to connect Automatic Configuration Server; To Automatic Configuration Server, send authentication account password default while dispatching from the factory;
B, Automatic Configuration Server by parsing authenticate account number cipher legal after, automatically issue configuration information to ustomer premises access equipment, described configuration information comprises business information, business information at least comprises PPPOE account number cipher, network broadband speed-limiting messages;
C, ustomer premises access equipment utilize PPPOE account number cipher, network broadband speed-limiting messages automatically to complete configuration.
Three inventions also provide a kind of system of the PPPOE of realization zero configuration business, comprise the Automatic Configuration Server being connected with ustomer premises access equipment by wide area network, are preset with dispatch from the factory Automatic Configuration Server authentication account and password in ustomer premises access equipment; The configuration information that is provided with described ustomer premises access equipment in described Automatic Configuration Server, at least comprises PPPOE account number cipher, network broadband speed-limiting messages in described configuration information.
The present invention the invention describes a kind of implementation procedure of zero configuration business.Can reduce the complex operations of user's configurating terminal, reduce and mismatch the possibility of putting, be easy to again management.
Below in conjunction with specific embodiment, the present invention is described in more detail.
Accompanying drawing explanation
Fig. 1 is flow chart of the present invention.
Fig. 2 is the real flow chart of the embodiment of the present invention 1.
Embodiment
The present embodiment provides a kind of PPPOE zero configuration service implementation method, in the method, adopt a Special Automatic configuration server ACS(Auto-Configuration Server), this ACS and the ustomer premises access equipment CPE(Customer Premise Equipment that comprises home gateway etc.) by the Internet (Internet), be connected.In ACS, preserve the configuration information of CPE, in configuration information, at least comprise PPPOE account number cipher, network broadband speed-limiting messages, can be issued to each CPE by the Internet.Specifically comprise the following steps:
Step S1:CPE device power, system starts.
Step S2: judge whether CPE WAN side DHCP function opens.If this function is closed, increasing PPPOE type is TR069, as the main channel of follow-up connection ac server; LAN side is closed page redirection function, and user normally uses online.If opening continues next step.Here it should be noted that: by judgement above, if entered into force in a front zero configuration, can not carry out zero configuration business setting again next time.If zero configuration failure for the first time, transfers the process of manual configuration to, or do not do that changing powers on next time can require zero configuration again.
Step S3: judge whether PPPOE account number cipher has been default value.If account number cipher is revised, the main connected mode of revising ACS is PPPOE, and while LAN side closure redirection function, for normally online of user.Account number cipher is unmodified, carries out zero configuration process and enters S4.
Step S4: judge whether CPE gets IP address by DHCP mode from server, does not get and carries out S5, successfully carry out S6.
Step S5:CPE regularly sends three Discover broadcasting packets, if successfully get IP address, carries out S7; If three times are all obtained failure, ended zero configuration, LAN stresses to be directed to the Connect page, and prompting user needs manually input PPPOE account password.
Step S6: need to remove to connect ACS by DHCP passage after successfully receiving IP address, connection failure enters S7, and S8 is directly jumped in successful connection.
Step S7: the fixed time does not set up TCP and connects or be reported to ACS without response, is considered as connecting ACS failure.LAN stresses to be directed to the Err_Server page, prompting subscriber's line or server problem.Successful enter step S8.
Step S8: at this moment ac server can automatically issue and be configured to ustomer premises access equipment, comprise the business information such as PPPOE account number cipher, network broadband speed limit, after having configured, enter S10, during this step, need to be redirected to Err_Doing, prompting user is being configured equipment.
When CPE reports self information to ACS here, ACS needs authentication of users name and password.CPE can reply to ACS by self default TR069 username and password, is verified, and just allows to connect.
At present, CPE is in the ACS address that need to preset ACS authentication account and password and will be connected when dispatching from the factory.After connecting with ACS, CPE can report authentication account password to ACS, ACS by parsing authenticate account number cipher legal after, just proceed.
Step S9:CPE automatically enables new account number cipher and dials up on the telephone, if successfully enter S10; Failure repeats S8, and ACS reconfigures.
After step S10:PPPOE dial-up success, close DHCP and connect, increase PPPOE type is TR069 simultaneously, as the main channel of follow-up connection ac server.Zero configuration business successfully finishes.