CN105681224A - User access method and device - Google Patents

User access method and device Download PDF

Info

Publication number
CN105681224A
CN105681224A CN201410667877.6A CN201410667877A CN105681224A CN 105681224 A CN105681224 A CN 105681224A CN 201410667877 A CN201410667877 A CN 201410667877A CN 105681224 A CN105681224 A CN 105681224A
Authority
CN
China
Prior art keywords
server
request message
equipment end
unreachable
judged
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.)
Pending
Application number
CN201410667877.6A
Other languages
Chinese (zh)
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 CN201410667877.6A priority Critical patent/CN105681224A/en
Priority to PCT/CN2015/086891 priority patent/WO2016078447A1/en
Publication of CN105681224A publication Critical patent/CN105681224A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials

Abstract

The invention discloses a user access method and device. The method comprises following steps of setting a preset duration at a device end; when a request message is sent and the response message of a server is not received in the preset duration, judging that the server is unreachable by the device end; and sending the current request message and follow-up user access request messages to other servers. According to the method and the device provided by the invention, when the request message is sent, whether the server is reachable is judged according to the timing of the preset duration; when judging that the server is unreachable, the device end sends the rest user access request messages to the other servers so as to obtain response messages; the request messages are prevented from being delayed; and the user access working efficiency is improved.

Description

A kind of method realizing user's access and device
Technical field
The application relates to communication technology, espespecially a kind of realize user access method and device.
Background technology
Remote customer dialing authentication system (RADIUS) is a kind of authentication, authorization, accounting (AAA, Authentication, Authorization, Accounting) the network application agreement of type, for functions such as authentication, authorization, accountings. The long-range control that this protocol realization accesses for user. Generally, the equipment end that user accesses can be connected with multiple servers, one equipment end has generally comprised multiple user and has accessed, each user is accessed, when mailing to the request message of one of them server after carrying out several times Retransmission timeout, without receiving response message, then the request message sent to this server will be dropped, and the request message that user accesses can continue to send to other radius servers.
The current request message mailing to radius server, multiple users for same equipment end access, when the request message of user's access is dropped wherein, other request messages of this equipment end still can send request message to this server, until receive response message or request message be dropped after send request message to other servers, have problems if as server, make request message cannot obtain corresponding message, then the request message in equipment end is after server goes wrong, the situation that repetitive requests message is dropped, cause a large amount of time delays that in this equipment end, user accesses.
Summary of the invention
In order to solve the problems referred to above, the present invention provides a kind of and realizes method and the device that user accesses, it is possible to avoids the time delay of the request message that user accesses, improves the efficiency that user accesses.
In order to reach the purpose of the present invention, the application provides a kind of and realizes the method that user accesses; Including: preset duration is set in equipment end, also includes:
When the request message sent does not receive the response message of server in preset duration, equipment end judges that this server is unreachable;
The request message that current request message and follow-up user access is sent to other servers by equipment end.
Further, it is judged that server is unreachable specifically including:
Equipment end when sending request message, using send request message system time as initial time, and start timer and carry out timing;The difference of computing system real-time time and initial time is as timing duration, when when timer is full, equipment end does not receive response message, it is judged that server is unreachable; Or,
Equipment end, when sending request message, as initial time using 0 and starts timer and carries out timing; When timer more than preset duration and when not receiving response message, it is judged that server is unreachable.
Further, server is remote customer dialing authentication system (RADIUS) server.
Further, other servers are: except described in be judged as except inaccessible server, the server being connected with equipment end.
On the other hand, the application also provides for a kind of device realizing user's access, including: timing unit, judging unit and processing unit; Wherein,
Timing unit, for when equipment end sends request message, carrying out preset duration timing;
Judging unit, when the request message sent does not receive the response message of server in preset duration, it is judged that this server is unreachable;
Processing unit, for unreachable according to the server judged, is sent to other servers by the request message that current request message and follow-up user access.
Further, it is judged that unit specifically for,
When sending request message, using send request message system time as initial time, and start timer and carry out timing; The difference of computing system real-time time and initial time is as timing duration, when when timer is full, equipment end does not receive response message, it is judged that server is unreachable; Or,
When sending request message, as initial time using 0 and start timer and carry out timing; When timer more than preset duration and when not receiving response message, it is judged that server is unreachable.
Compared with prior art, technical scheme provided by the invention, including: preset duration is set in equipment end, also includes: when the request message sent does not receive the response message of server in preset duration, equipment end judges that this server is unreachable; The request message that current request message and follow-up user access is sent to other servers by equipment end. When the present invention is by sending request message, the preset duration timing arranged, carry out the unreachable judgement of server, to being judged as inaccessible server, the request message that remaining user accesses is sent to other servers to obtain response message by equipment end, avoid the time delay of request message, improve the work efficiency that user accesses.
Accompanying drawing explanation
Accompanying drawing is for providing being further appreciated by technical scheme, and constitutes a part for description, for explaining the technical scheme of the application together with embodiments herein, being not intended that the restriction to technical scheme.
Fig. 1 is the flow chart that the present invention realizes the method that user accesses;
Fig. 2 is the structured flowchart that the present invention realizes the device that user accesses;
Fig. 3 is equipment end and the radius server operating diagram in IP network.
Detailed description of the invention
For making the purpose of the application, technical scheme and advantage clearly understand, below in conjunction with accompanying drawing, embodiments herein is described in detail. It should be noted that when not conflicting, the embodiment in the application and the feature in embodiment can combination in any mutually.
Fig. 1 is the flow chart that the present invention realizes the method that user accesses, and arranges preset duration in equipment end, as it is shown in figure 1, include:
Step 100, when the request message sent does not receive the response message of server in preset duration, equipment end judges that this server is unreachable;
In this step, it is judged that server is unreachable specifically including:
Equipment end when sending request message, using send request message system time as initial time, and start timer and carry out timing; The difference of computing system real-time time and initial time is as timing duration, when when timer is full, equipment end does not receive response message, it is judged that server is unreachable; Or,
Equipment end, when sending request message, as initial time using 0 and starts timer and carries out timing; When timer more than preset duration and when not receiving response message, it is judged that server is unreachable.
The request message that current request message and follow-up user access is sent to other servers by step 101, equipment end.
Server in the present invention is remote customer dialing authentication system (RADIUS) server.
It should be noted that other servers refer to other servers being connected with equipment end, selecting the Connection Service device can according to pre-setting numbering or address list, or random fashion be attached.
Fig. 2 is the structured flowchart that the present invention realizes the device that user accesses, as in figure 2 it is shown, include: timing unit, judging unit and processing unit; Wherein,
Timing unit, for when equipment end sends request message, carrying out preset duration timing;
Judging unit, when the request message sent does not receive the response message of server in preset duration, it is judged that this server is unreachable;
Processing unit, for unreachable according to the server judged, is sent to other servers by the request message that current request message and follow-up user access.
Wherein, it is judged that unit specifically for,
When sending request message, using send request message system time as initial time, and start timer and carry out timing; The difference of computing system real-time time and initial time is as timing duration, when when timer is full, equipment end does not receive response message, it is judged that server is unreachable; Or,
When sending request message, as initial time using 0 and start timer and carry out timing; When timer more than preset duration and when not receiving response message, it is judged that server is unreachable.
For fairly setting out the present invention, below by way of specific embodiment, the present invention is described in detail, and embodiment only illustrates the present invention for clear, is not limited to the protected content of the present invention.
Embodiment 1
Fig. 3 is equipment end and the radius server operating diagram in IP network; Embodiment judges that radius server state carries out the method for user's access and mainly includes below scheme:
First, the equipment of equipment end sets the maximum Tmax without response time of radius server, and arranging equipment end, to start to send the time point (parameter Tsend) of request message be 0;
Secondly, equipment end is to when sending RADIUS request message, it is judged that whether Tsend is equal to 0, if equal to 0, arranging Tsend is current time;
Again, it is current time according to arranging Tsend, starts intervalometer and obtain system real-time time: Tnow; Judge that whether (Tnow-Tsend) be more than Tmax: if greater than then judging that server state is unreachable;
Finally, unreachable according to the server judged, the request message that remaining user accesses is sent to other servers to obtain response message by equipment end.
In above-described embodiment, it is assumed that set radius server maximum in equipment end without response time as 10 seconds;Judge that server is unreachable during more than 10S;
The process that then implements is:
The transmission time parameter initializing first request message is Tsend=0, and when sending first message, putting Tsend is current time;
After 10 seconds, equipment end does not receive the response message of server, then judge that current radius server state is unreachable, it is possible to alert or be switched to other radius servers.
Although the embodiment disclosed by the application is as above, but described content is only the embodiment readily appreciating the application and adopt, and is not limited to the application, the concrete implementation method in embodiment of the present invention. Technical staff in any the application art; under the premise without departing from the spirit and scope disclosed by the application; any amendment and change can be carried out in the form implemented and details; but the scope of patent protection of the application, still must be as the criterion with the scope that appending claims defines.

Claims (6)

1. one kind realizes the method that user accesses, it is characterised in that arranges preset duration in equipment end, also includes:
When the request message sent does not receive the response message of server in preset duration, equipment end judges that this server is unreachable;
The request message that current request message and follow-up user access is sent to other servers by equipment end.
2. method according to claim 1, it is characterised in that described judgement server is unreachable specifically including:
Described equipment end when sending request message, using send request message system time as initial time, and start timer and carry out timing; The difference of computing system real-time time and initial time is as timing duration, when when timer is full, equipment end does not receive response message, it is judged that server is unreachable; Or,
Described equipment end, when sending request message, as initial time using 0 and starts timer and carries out timing; When timer more than preset duration and when not receiving response message, it is judged that server is unreachable.
3. method according to claim 1 and 2, it is characterised in that described server is remote customer dialing authentication system radius server.
4. method according to claim 1 and 2, it is characterised in that other servers described are: except described in be judged as except inaccessible server, the server being connected with equipment end.
5. one kind realizes the device that user accesses, it is characterised in that including: timing unit, judging unit and processing unit; Wherein,
Timing unit, for when equipment end sends request message, carrying out preset duration timing;
Judging unit, when the request message sent does not receive the response message of server in preset duration, it is judged that this server is unreachable;
Processing unit, for unreachable according to the server judged, is sent to other servers by the request message that current request message and follow-up user access.
6. device according to claim 5, it is characterised in that described judging unit specifically for,
When sending request message, using send request message system time as initial time, and start timer and carry out timing; The difference of computing system real-time time and initial time is as timing duration, when when timer is full, equipment end does not receive response message, it is judged that server is unreachable; Or,
When sending request message, as initial time using 0 and start timer and carry out timing; When timer more than preset duration and when not receiving response message, it is judged that server is unreachable.
CN201410667877.6A 2014-11-20 2014-11-20 User access method and device Pending CN105681224A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410667877.6A CN105681224A (en) 2014-11-20 2014-11-20 User access method and device
PCT/CN2015/086891 WO2016078447A1 (en) 2014-11-20 2015-08-13 Method and apparatus for implementing user access

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410667877.6A CN105681224A (en) 2014-11-20 2014-11-20 User access method and device

Publications (1)

Publication Number Publication Date
CN105681224A true CN105681224A (en) 2016-06-15

Family

ID=56013247

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410667877.6A Pending CN105681224A (en) 2014-11-20 2014-11-20 User access method and device

Country Status (2)

Country Link
CN (1) CN105681224A (en)
WO (1) WO2016078447A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150455A (en) * 2007-10-11 2008-03-26 华为技术有限公司 Service status monitoring method, device and system based on initial session protocol
CN101667933A (en) * 2009-10-23 2010-03-10 杭州华三通信技术有限公司 Security authentication system and master/standby switching method and device thereof
CN103560922A (en) * 2013-11-18 2014-02-05 北京特立信电子技术股份有限公司 Disaster recovery method and system
CN104065526A (en) * 2013-03-22 2014-09-24 腾讯科技(深圳)有限公司 Server fault alarming method and device thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7337237B2 (en) * 2002-10-16 2008-02-26 International Business Machines Corporation Mechanism to provide callback capabilities for unreachable network clients
CN100461706C (en) * 2006-11-29 2009-02-11 杭州华三通信技术有限公司 Method for recovering sponsor media accessing control address and operation businesss edge apparatus
CN101442452A (en) * 2008-12-31 2009-05-27 中兴通讯股份有限公司 Alarm method and apparatus for non-access of DNS server
CN102307098A (en) * 2011-09-05 2012-01-04 华为技术有限公司 Authentication authorization method and apparatus thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150455A (en) * 2007-10-11 2008-03-26 华为技术有限公司 Service status monitoring method, device and system based on initial session protocol
CN101667933A (en) * 2009-10-23 2010-03-10 杭州华三通信技术有限公司 Security authentication system and master/standby switching method and device thereof
CN104065526A (en) * 2013-03-22 2014-09-24 腾讯科技(深圳)有限公司 Server fault alarming method and device thereof
CN103560922A (en) * 2013-11-18 2014-02-05 北京特立信电子技术股份有限公司 Disaster recovery method and system

Also Published As

Publication number Publication date
WO2016078447A1 (en) 2016-05-26

Similar Documents

Publication Publication Date Title
CN102769603B (en) The method of a kind of data transmission, system and equipment
WO2015154350A1 (en) Internet access traffic sharing method, device and terminal
WO2013170177A1 (en) System and method for reducing a call establishment time
CN102780688B (en) Method and device for preventing attack under transmission control protocol (TCP)
WO2016011849A1 (en) Method, device and system for controlling air interface resources
CN101237332A (en) Billing method, billing system and traffic statistical device
US10986537B2 (en) Method of selecting user plane gateway and device of selecting user plane gateway
CN105245639A (en) Host and IP address conflict prevention method thereof
CN106464596A (en) Openflow communication method, system, controller, and service gateway
WO2014063629A1 (en) Charge control method, device and system for roaming user data service
CN102202375A (en) Method and system for controlling MTC (Machine Type Communication) equipment access and transceiving data
CN102263793A (en) Method, system and device for verifying and controlling permission of MTC (machine type communication) server
CN102064951A (en) Method for implementing master and standby DHCP servers
CN206313803U (en) A kind of router for realizing network game acceleration
GB2401011A (en) A client terminal and a server are each provided with a message queue to facilitate session independent transfer of messages
CN103873444A (en) Method and business switching device for accessing outside network business when mobile terminal VPDN is online
CN103124216B (en) The two stack user charging method of a kind of Ipv4/Ipv6 and device
CN104009961A (en) PPPoE session ID distribution method and equipment thereof
CN103067981A (en) Content buffer memory bypass method and content buffer memory bypass system
CN106302361A (en) A kind of method and apparatus preventing network attack
CN103973598A (en) System and method for achieving dynamic bandwidth adjustment of gateway QoS guarantees
CN105681224A (en) User access method and device
EP3223493A1 (en) Point-to-point protocol (ppp)-based dial-on-demand method and device, and computer storage medium
CN107612839B (en) Flow distribution method based on firewall equipment
CN103595711A (en) Adjusting safety access method and exchanger

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160615