Nothing Special   »   [go: up one dir, main page]

CN101453341A - Automatic switching system for remote authentication dialing user server and implementation method thereof - Google Patents

Automatic switching system for remote authentication dialing user server and implementation method thereof Download PDF

Info

Publication number
CN101453341A
CN101453341A CNA2008102418295A CN200810241829A CN101453341A CN 101453341 A CN101453341 A CN 101453341A CN A2008102418295 A CNA2008102418295 A CN A2008102418295A CN 200810241829 A CN200810241829 A CN 200810241829A CN 101453341 A CN101453341 A CN 101453341A
Authority
CN
China
Prior art keywords
server
remote authentication
dialing user
current server
current
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CNA2008102418295A
Other languages
Chinese (zh)
Other versions
CN101453341B (en
Inventor
杨建军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2008102418295A priority Critical patent/CN101453341B/en
Publication of CN101453341A publication Critical patent/CN101453341A/en
Application granted granted Critical
Publication of CN101453341B publication Critical patent/CN101453341B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a remote authentication dialing user server automatic switching system and a realization method thereof. The automatic switching system comprises a broadband access server device and a remote authentication dialing user server group. The remote authentication dialing user server automatic switching system selects one remote authentication dialing user server from the remote authentication dialing user server group as a current server. The broadband access server device is used for sending an authentication or charging request to the current server; and the broadband access server device comprises a judgment mechanism module which is used for judging whether the current server is available and selecting an available current server for information storage or processing, otherwise the system communication is interrupted or finished. The invention meets the requirements of judging whether the current server set by the remote authentication dialing user server group is available during the system communication, thereby improving the reliability of the system communication and meeting the requirements of a user.

Description

Automatic switching system for remote authentication dialing user server and its implementation
Technical field
The present invention relates to the data communication access technology, relate in particular to a kind of server automatic switchover system and its implementation that improves system reliability.
Background technology
Development along with broadband metropolitan area network and broadband services, the way that can not adopt flat rate system, nothing to authenticate simply realizes the management to user access server, thereby introduce BAS (Broadband Access Server, BAS Broadband Access Server) equipment and solve this problem.BAS equipment is a kind of user's access service equipment that is arranged on Network Convergence Layer, can intelligently realize user's services such as the request of converging, authenticate, charge, and can also provide multiple IP value-added service easily according to user's needs.Realization is a critical function on the BAS equipment to user's authentication and accounting request.Authentication and accounting generally needs BAS equipment to transmit relevant information to Radius (Remote Authentication Dial In User Service, remote authentication dial-in user service) server, realizes final authentication and charging by the Radius server.
Radius be the user of network remote access device and comprise authentification of user and the server of configuration information between the Standard User/server mode of information exchange.It comprises relevant user's special profile, as: user name, access password, access authority etc.It is Collective qualification, mandate, the note expense that keeps long-range access network and examines the standard that obtains accepting.
Usually, in order to guarantee to authenticate the stability with billing function, when communicating between BAS equipment and Radius server, many Radius servers of a general configuration back up.The Radius that communicates by letter between BAS equipment and the Radius server is based on UDP (User Datagram Protocol; User Datagram Protoco (UDP) communication) agreement; wherein, Radius does not have the mechanism of keep-alive (Keepalive), and udp protocol can not provide the function that detects Link State.If all Radius servers all are disabled so, perhaps the Radius server of communicating by letter with the maintenance of BAS equipment is disabled, then can cause system communication to make mistakes, cisco unity malfunction, the system that makes does not possess reliability, and can not satisfy user's demand, has reduced service quality.
Summary of the invention
For solving the problem that said system communication does not possess reliability and fails to meet consumers' demand, be necessary to provide a kind of Radius server automatic switchover system that possesses reliability and meet consumers' demand.
In addition, also be necessary to provide a kind of implementation method of Radius server automatic switchover system.
A kind of Radius server automatic switchover system among the present invention, it comprises a BAS equipment and a Radius server group, described Radius server automatic switchover system selects a Radius server as current server from described Radius server group, described BAS equipment sends authentication or the request of chargeing to current server, described BAS equipment comprises a judgment mechanism module, it is used to judge whether described current server is available, and select an available current server to carry out information stores or processing, otherwise system communication is interrupted or is finished.
Described judgment mechanism module comprises a Max-retries functional module, a Timeout functional module and a Deadtime functional module,
Described Max-retries functional module is used to judge that described BAS equipment sends authentication or whether the number of times of the request of chargeing reaches the predefined maximum number of retransmissions of described BAS equipment;
Described Timeout functional module is used to judge that described BAS equipment sends authentication or the request of chargeing to current server, whether surpasses predefined time value and does not receive response message;
Described Deadtime functional module is used to be illustrated in authentication or the charging request number of times that described BAS equipment sent and reaches after the predefined maximum number of retransmissions, all do not receive the response message of current server, will think that current server is disabled in the predefined time period in time limit.
The implementation method of a kind of Radius server automatic switchover system among the present invention, it may further comprise the steps:
Step 1: select a Radius server as current server;
Step 2: send authentication or the request of chargeing by BAS equipment to described current server, judge whether described current server is available;
Step 3: if described current server is available, then described current server is handled this authentication or the request of chargeing; Otherwise, give up disabled described current server, and execution in step one, if the Radius server is unavailable entirely, described system communication is interrupted or is finished.
According to above-mentioned implementation method of the present invention, described step 2 specifically may further comprise the steps:
A: send authentication or the request of chargeing by BAS equipment to current server, and add up described transmission number of times;
B: judge whether described current server before described transmission number of times reaches predefined maximum number of retransmissions, responds, if then described current server can be used; Otherwise described current server is unavailable.
According to above-mentioned implementation method of the present invention, described step B specifically may further comprise the steps:
B1: judge by described BAS equipment whether described current server responds in the predefined time at described BAS equipment, if then described current server can be used, otherwise described current server is overtime, execution in step B2;
B2: judge whether described transmission number of times reaches predefined maximum number of retransmissions, if then described current server is unavailable, otherwise execution in step B1.
Compared with prior art, the BAS equipment of Radius server automatic switchover system of the present invention comprises a judgment mechanism module, it sends authentication or charges and ask Radius server group, judge whether the set current server of Radius server group is available, and select an available current server to carry out storage and processing, otherwise system communication is interrupted or is finished, thereby can judge the needs that the set current server of Radius server group is whether available when satisfying system communication, improve the reliability of system communication, satisfied user's demand.
After the detailed description of reading embodiment of the present invention in conjunction with the accompanying drawings, it is clearer that characteristics of the present invention and advantage will become.
Description of drawings
Fig. 1 is a Radius server automatic switchover system structural representation of the present invention;
Fig. 2 is the process chart of Radius server automatic switchover system of the present invention.
Embodiment
Below in conjunction with accompanying drawing system and its implementation that Radius server of the present invention automaticallyes switch described.
See also Fig. 1, it is a Radius server automatic switchover system structural representation of the present invention.Radius server automatic switchover system comprises a BAS equipment 10 and a Radius server group 20.BAS equipment 10 is connected with Radius server group 20, and it is used for sending the authentication or the request of chargeing.Radius server group 20 is used for receiving and handles authentication or the request of chargeing.If 20 responses of Radius server group then send response message to BAS equipment 10, represent that described authentication or charging request are with processed; If Radius server group 20 does not respond then described Radius server automatic switchover system communication failure.
Radius server group 20 comprises a plurality of Radius servers.Radius server group 20 can select a Radius server as current server, and described current server and BAS equipment 10 communicate.
BAS equipment 10 comprises a judgment mechanism module 100.Judgment mechanism module 100 is used to judge whether Radius server group 20 set current servers are available, and selects an available current server to carry out information stores or processing, otherwise system communication is interrupted or finished.Judgment mechanism module 100 comprises a Max-retries (maximum times) functional module 101, a Timeout (single time) functional module 102 and a Deadtime (time limit) functional module 103.The work that cooperatively interacts of Max-retries functional module 101, Timeout functional module 102 and Deadtime functional module 103.
Max-retries functional module 101 is used to judge that BAS equipment 10 sends authentication or whether the number of times of the request of chargeing reaches BAS equipment 10 predefined maximum number of retransmissions.Described predefined maximum number of retransmissions represents that BAS equipment 10 sends an authentication or current server is asked in charging, but under the situation of not receiving response message, BAS equipment 10 attempts retransmitting the maximum times of authentication or charging request.
Timeout functional module 102 is used to judge that BAS equipment 10 sends authentication or the request of chargeing to current server, whether surpasses BAS equipment 10 predefined time values and does not receive response message.If surpass the response message that predefined time value is not received current server, Timeout functional module 102 just thinks that this transmission is overtime.
Deadtime functional module 103 is used to be illustrated in authentication or the charging request number of times that BAS equipment 10 sent and reaches predefined maximum number of retransmissions, and do not receive the response message of current server, to think that current server is invalid in a predefined time period in time limit, also promptly in the period in time limit current server be disabled.
Certainly, judgment mechanism module 100 can not be divided into independently a Max-retries functional module 101, a Timeout functional module 102 and a Deadtime functional module 103, it is the unified integral body of a function, and possesses all functions of carrying out Max-retries functional module 101, Timeout functional module 102 and Deadtime functional module 103.Max-retries, Timeout and Deadtime are three parameters of BAS equipment 10.BAS equipment 10 sends authentication or the request of chargeing to current server, judge institute sends authenticate or the charging request time whether above predefined time value Timeout.Do not receive response message if surpass predefined time value Timeout, just think that this transmission is overtime.Under the situation of not receiving response message, BAS equipment 10 attempts retransmitting the authentication or the request of chargeing.When the number of times of send authentication or the request of chargeing reaches predefined maximum number of retransmissions Max-retries, and do not receive response message, think that then current server is disabled in the predefined time period in time limit.
The implementation method of described dius server automatic switchover system may further comprise the steps:
One, select a Radius server as current server;
Two, send authentication or the request of chargeing by BAS equipment 10 to described current server, judge whether described current server is available;
Three, if described current server is available, then described current server is handled authentication or the request of chargeing; Otherwise, give up disabled described current server, and execution in step one, if the Radius server is unavailable entirely, described system communication is interrupted or is finished.
See also Fig. 2, it is the process chart of Radius server automatic switchover system of the present invention.
One, select a Radius server as current server;
Radius server group 20 comprises a plurality of Radius servers.Select a Radius server as current server, other Radius server is as backup server.
If specifying one of them Radius server is master server, then other Radius server is from server, and to be designated as master server Radius server be current server.Such as, specifying Radius server 1 is master server, then the Radius server 2, Radius server 3 ... for from server, and Radius server 1 is a current server.
If do not specify master server with from server, then corresponding one of each Radius server is arranged numbering, as Radius server 1 reference numeral 1, Radius server 2 corresponding reference numerals 2, Radius server 3 reference numerals 3 ... selecting the minimum Radius server of numbering is current server, and promptly Radius server 1 is a current server.
Two, send authentication or the request of chargeing by BAS equipment 10 to described current server, judge whether described current server is available;
Step 2 specifically may further comprise the steps:
A, send authentication or the request of chargeing to current server, and add up described transmission number of times by BAS equipment 10;
Whether B, the described current server of judgement respond, if then described current server can be used before described transmission number of times reaches predefined maximum number of retransmissions; Otherwise described current server is unavailable.
Described step B specifically comprises the steps:
B1, judge by BAS equipment 10 whether described current server responds in 10 predefined times at BAS equipment, if then described current server can be used, otherwise described current server is overtime, execution in step B2;
BAS equipment 10 sends authentication or the request of chargeing to described current server.In BAS equipment 10 predefined time T imeout,, represent that then described current server is available if described current server sends response message to BAS equipment 10.If described current server does not send response message to BAS equipment 10, represent that then described current server is overtime.
B2, judge whether described transmission number of times reaches predefined maximum number of retransmissions, if then described current server is unavailable, otherwise execution in step B1.
BAS equipment 10 sends authentication or the request of chargeing to described current server again, and judges that institute sends authentication or charging asks whether to reach predefined maximum number of retransmissions Max-retries.If also do not reach maximum number of times of transmission, and described current server do not send response message, and then BAS equipment 10 continues to send authentication or the request of chargeing to current server.
If institute sends authentication or the request of chargeing reach predefined maximum number of retransmissions Max-retries before, and in BAS equipment 10 predefined time T imeout, current server transmission response message arrives BAS equipment 10, represents that then current server is available.
If institute sends authentication or the request of chargeing reaches predefined maximum number of retransmissions Max-retries, and in BAS equipment 10 predefined time T imeout, current server transmission response message arrives BAS equipment 10, represents that then current server is available.
If institute sends authentication or charging asks to reach predefined maximum number of retransmissions Max-retries, and in BAS equipment 10 predefined time T imeout, current server does not send response message to BAS equipment 10, represents that then current server is disabled.
Three, if described current server is available, then described current server is handled authentication or the request of chargeing; Otherwise, give up disabled described current server, and execution in step one, if the Radius server is unavailable entirely, described system communication is interrupted or is finished.
If described current server is available, then the authentication that it receives and treatments B AS equipment 10 is sent or the request of chargeing are made corresponding reaction according to authentication or the request of chargeing.Such as, authentication or charging request package in the deletion waiting list, and print the current server available information.
If described current server is disabled, BAS equipment 10 will think that current server is disabled in the time period in the predefined time limit (Deadtime) so.At this moment, in the time period in time limit, BAS equipment 10 will be given up disabled described current server, and execution in step one.
Especially, disabled current server is through after the time period in time limit, and it will transfer available Radius server to.At this moment, judge whether this Radius server is master server, judge promptly whether server is the master server of appointment.If the Radius server is a master server, then it is set to the current server of Radius server group 20, and current server originally automatically switches to backup server; If the Radius server is that then current server remains unchanged from server.That is to say,,, will change into availablely, but can use, automatically switch to backup server from server as if master server through after the predefined time period in time limit if disabled current server be from server.
If all Radius servers all are judged as disabledly in the Radius server group 20, then system communication is interrupted or is finished.In addition, system can be provided with a prior-warning device, by prior-warning device notice related work personnel, Radius server group 20 is keeped in repair or is replaced.
Compared with prior art, the BAS equipment 10 of Radius server automatic switchover system of the present invention comprises a judgment mechanism module 100, it sends authentication or charges and ask Radius server group 20, judge whether Radius server group 20 set current servers are available, and select an available current server to carry out storage and processing, otherwise system communication is interrupted or is finished, thereby can judge the needs that the set current server of Radius server group 20 is whether available when satisfying system communication, improve the reliability of system communication, reduced user's loss.And if system communication is interrupted or finished, the prior-warning device notice related work personnel by system keep in repair or replace server, meet consumers' demand, and improve service quality.
Only be preferred case study on implementation of the present invention below, be not limited to the present invention, for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1, a kind of automatic switching system for remote authentication dialing user server, it comprises a BAS Broadband Access Server equipment and a remote authentication dialing user server group, described automatic switching system for remote authentication dialing user server selects a remote authentication dialing user server as current server from described remote authentication dialing user server group, described BAS Broadband Access Server equipment is used for sending authentication or the request of chargeing to this current server, it is characterized in that, described BAS Broadband Access Server equipment comprises a judgment mechanism module, it is used to judge whether described current server is available, and select an available current server to carry out information stores or processing, otherwise system communication is interrupted or is finished.
2, automatic switching system for remote authentication dialing user server according to claim 1 is characterized in that, described judgment mechanism module comprises a maximum times functional module, a single time function module and a time limit functional module,
Described maximum times functional module is used to judge that described BAS Broadband Access Server equipment sends authentication or whether the number of times of the request of chargeing reaches the predefined maximum number of retransmissions of described BAS Broadband Access Server equipment;
Described single time function module is used to judge that described BAS Broadband Access Server equipment sends authentication or the request of chargeing to current server, whether surpasses predefined time value and does not receive response message;
Described time limit functional module is used to be illustrated in authentication or the charging request number of times that described BAS Broadband Access Server equipment sent and reaches after the predefined maximum number of retransmissions, all do not receive the response message of current server, will think that this current server is disabled in the predefined time period in time limit.
3, a kind of implementation method of automatic switching system for remote authentication dialing user server is characterized in that, may further comprise the steps:
Step 1: select a remote authentication dialing user server as current server;
Step 2: send authentication or the request of chargeing by BAS Broadband Access Server equipment to described current server, judge whether described current server is available;
Step 3: if described current server is available, then described current server is handled this authentication or the request of chargeing; Otherwise, give up disabled described current server, and execution in step one, if remote authentication dialing user server is unavailable entirely, described system communication is interrupted or is finished.
4, the implementation method of automatic switching system for remote authentication dialing user server according to claim 3 is characterized in that, described step 2 specifically may further comprise the steps:
A: send authentication or the request of chargeing by BAS Broadband Access Server equipment to current server, and add up described transmission number of times;
B: judge whether described current server before described transmission number of times reaches predefined maximum number of retransmissions, responds, if then described current server can be used; Otherwise described current server is unavailable.
5, the implementation method of automatic switching system for remote authentication dialing user server according to claim 4 is characterized in that, described step B specifically may further comprise the steps:
B1: judge by described BAS Broadband Access Server equipment whether described current server responds in the predefined time at described BAS Broadband Access Server equipment, if then described current server can be used, otherwise described current server is overtime, execution in step B2;
B2: judge whether described transmission number of times reaches predefined maximum number of retransmissions, if then described current server is unavailable, otherwise execution in step B1.
6, the implementation method of automatic switching system for remote authentication dialing user server according to claim 3, it is characterized in that, the disabled current server that is rejected in the described step 3 will change into available through after the predefined time period in time limit.
7, the implementation method of automatic switching system for remote authentication dialing user server according to claim 3, it is characterized in that, in described step 1, it is master server that described automatic switching system for remote authentication dialing user server is specified a remote authentication dialing user server, other remote authentication dialing user server is from server, this master server is current server, if carry out to step 3, described master server is disabled, then can select one to be current server from server.
8, the implementation method of automatic switching system for remote authentication dialing user server according to claim 7, it is characterized in that, described disabled current server is a master server, through after the predefined time period in time limit, to change into available, then it is set to the current server of described remote authentication dialing user server group, and current server originally automatically switches to backup server.
9, the implementation method of automatic switching system for remote authentication dialing user server according to claim 7, it is characterized in that, described disabled current server is from server, through after the predefined time period in time limit, to change into available, but, describedly automatically switch to backup server from server if master server can use.
10, the implementation method of automatic switching system for remote authentication dialing user server according to claim 3, it is characterized in that: in step 1, described automatic switching system for remote authentication dialing user server is not specified master server, corresponding one of each remote authentication dialing user server is arranged numbering, and described current server is the minimum remote authentication dialing user server of numbering.
CN2008102418295A 2008-12-19 2008-12-19 Automatic switching system for remote authentication dialing user server and implementation method thereof Active CN101453341B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008102418295A CN101453341B (en) 2008-12-19 2008-12-19 Automatic switching system for remote authentication dialing user server and implementation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102418295A CN101453341B (en) 2008-12-19 2008-12-19 Automatic switching system for remote authentication dialing user server and implementation method thereof

Publications (2)

Publication Number Publication Date
CN101453341A true CN101453341A (en) 2009-06-10
CN101453341B CN101453341B (en) 2011-07-13

Family

ID=40735379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102418295A Active CN101453341B (en) 2008-12-19 2008-12-19 Automatic switching system for remote authentication dialing user server and implementation method thereof

Country Status (1)

Country Link
CN (1) CN101453341B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731310A (en) * 2013-12-31 2014-04-16 华为技术有限公司 Message transmitting method and device
CN104052753A (en) * 2014-06-26 2014-09-17 杭州华三通信技术有限公司 Authentication method and device
CN105430016A (en) * 2015-12-30 2016-03-23 迈普通信技术股份有限公司 Network access authentication method and system
CN103731310B (en) * 2013-12-31 2016-11-30 华为技术有限公司 A kind of message transmitting method and device
CN109145574A (en) * 2018-07-26 2019-01-04 深圳市买买提信息科技有限公司 Identity identifying method, device, server and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731310A (en) * 2013-12-31 2014-04-16 华为技术有限公司 Message transmitting method and device
CN103731310B (en) * 2013-12-31 2016-11-30 华为技术有限公司 A kind of message transmitting method and device
CN104052753A (en) * 2014-06-26 2014-09-17 杭州华三通信技术有限公司 Authentication method and device
CN104052753B (en) * 2014-06-26 2017-10-17 新华三技术有限公司 A kind of authentication method and equipment
CN105430016A (en) * 2015-12-30 2016-03-23 迈普通信技术股份有限公司 Network access authentication method and system
CN109145574A (en) * 2018-07-26 2019-01-04 深圳市买买提信息科技有限公司 Identity identifying method, device, server and storage medium

Also Published As

Publication number Publication date
CN101453341B (en) 2011-07-13

Similar Documents

Publication Publication Date Title
CN105491084B (en) Car networking system and its control method based on OTA agreement
CN102368764B (en) A kind of method, system and client communicated by multi-point login
CN102281251B (en) Device, system and method for realizing intelligent household application
CN101401352B (en) A method and system for accounting access by users to data networks
CN107979704A (en) Queuing strategy, queuing system
US7499440B2 (en) Communication system, network router and network connection method
CN100539748C (en) By data business management system and the mutual method of Short Message Service Gateway
CN101212294A (en) Method and system for implementing network access authentication
EP2081336B1 (en) Business message transmission method, system and apparatus
CN101631360A (en) Method, device and system for realizing load balancing
CN101588312A (en) The method and system that a kind of user chats and in time transfers
CN101242396A (en) Zero-contact system and operation method for broadband access terminal service
CN101174997B (en) Device and method for detecting RADIUS server usability on BRAS equipment
CN102172005A (en) Method for transmitting and negotiating network-controlled functional data between a client and a server
CN101351025A (en) System and method for implementing mobile work
CN101453341B (en) Automatic switching system for remote authentication dialing user server and implementation method thereof
CN101145972B (en) A disaster tolerance network management system and login method of network management clients
US9172581B2 (en) Communication system, datacenter apparatus, and control method used in datacenter apparatus
CN102546533A (en) Method and system for accessing internet of things business server through unregistered residential gateway
CN111031370A (en) Method for mutual communication of convergence gateway part and set-top box part
CN102916898A (en) Application keeping method and device of multilink egress
CN202004788U (en) Vehicle-mounted information push service system
CN106330513A (en) Processing method and apparatus for tr069 protocol information
CN100450018C (en) Method for raising Diameter internodal communication reliability
CN102195943A (en) Safety information interaction method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant