CN106341270A - Fault processing method and device - Google Patents

Fault processing method and device Download PDF

Info

Publication number
CN106341270A
CN106341270A CN201610846929.5A CN201610846929A CN106341270A CN 106341270 A CN106341270 A CN 106341270A CN 201610846929 A CN201610846929 A CN 201610846929A CN 106341270 A CN106341270 A CN 106341270A
Authority
CN
China
Prior art keywords
message
bras
receiving
certificate server
server
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
CN201610846929.5A
Other languages
Chinese (zh)
Other versions
CN106341270B (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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201610846929.5A priority Critical patent/CN106341270B/en
Publication of CN106341270A publication Critical patent/CN106341270A/en
Application granted granted Critical
Publication of CN106341270B publication Critical patent/CN106341270B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/06Management of faults, events, alarms or notifications

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the invention provides a fault processing method and device. The method comprises a step of detecting whether the number of first messages from an authentication server received in a predetermined time is in accordance with a predetermined rule or not, a step of closing a discovery message response function corresponding to the authentication server if not such that a discovery message is not responded when the a BRAS receives the discovery message which is from a terminal and is corresponding to the authentication server. Through the method and the device, a resource utilization rate and a user experience can be improved.

Description

A kind of fault handling method and device
Technical field
The application is related to communication technical field, more particularly to a kind of fault handling method and device.
Background technology
BAS Broadband Access Server (broadband remote access server, bras) is towards broad band network application New access gateway, broadband inserting service, the convergence realizing multiple business and forwarding are provided, different user can be met to transmission Capacity and the requirement of bandwidth availability ratio, are the nucleus equipments in broadband user's access network.
Content of the invention
The embodiment of the present application technical problem to be solved is to provide a kind of fault handling method and device, to improve resource Utilization rate and Consumer's Experience.
In order to solve the above problems, the embodiment of the present application discloses a kind of fault handling method, and the method is applied to bras, Specifically include:
Whether the quantity of the first message from certificate server receiving in the detection scheduled time meets pre-defined rule;
If it is not, then closing discovery message response function corresponding with certificate server, so that bras received from end When end and discovery message corresponding with certificate server, it is not responding to find message.
The embodiment of the present application also discloses a kind of fault treating apparatus, and this device is applied to bras, specifically includes:
Determining module, for detect the first message from certificate server receiving in the scheduled time quantity whether Meet pre-defined rule;
Closedown module, for if it is not, then closing discovery message response function corresponding with certificate server, so that bras exists When receiving self terminal and discovery message corresponding with certificate server, it is not responding to find message.
To sum up, the technical scheme of the embodiment of the present application, by receiving in the detection scheduled time from certificate server The quantity of the first message whether meet pre-defined rule;If it is not, then closing discovery message response work(corresponding with certificate server Can, so that bras, when receiving self terminal and discovery message corresponding with certificate server, is not responding to find message, from And effectively improve resource utilization and Consumer's Experience.
Brief description
In order to be illustrated more clearly that the technical scheme of the embodiment of the present application, below by institute in the description to the embodiment of the present application Need use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only the application some enforcement Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is a kind of flow chart of steps of fault handling method embodiment of the application;
Fig. 2 is the network connection schematic diagram of the embodiment of the present application;
Fig. 3 is a kind of structured flowchart of the application fault treating apparatus embodiment.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out clear, complete Site preparation describes it is clear that described embodiment is some embodiments of the present application, rather than whole embodiments.Based on this Shen Please in embodiment, the every other enforcement that those of ordinary skill in the art are obtained under the premise of not making creative work Example, broadly falls into the scope of the application protection.
At present, in the network architecture of two-shipper cold standby, main BAS Broadband Access Server (broadband remote access Server, bras) based on the discovery message carrying out self terminal receiving, carry out data interaction with target authentication server, and After obtaining the license of target authentication server, this discovery message is responded.
Communication link in the embodiment of prior art, between main BAS Broadband Access Server and target authentication server When breaking down, prior art is then will be offline for main BAS Broadband Access Server, and is worked on using standby BAS Broadband Access Server, Thus ensureing the safety of system and stablizing.
But, in actual applications, main bras can there are fault certification clothes not relied on other by main bras Business device certificate server be authenticated or Business Processing user terminal.Additionally, there is likely to be on main bras non-recognizing Card user terminal, these non-authentication user terminals do not need any certificate server being connected with main bras to be communicated, only Carry out interacting of general service with main bras.Therefore, after main bras is offline, above-mentioned user terminal all can be forced offline, and It is handed over to standby bras again to be reached the standard grade.Obviously, in prior art when main bras breaks down, directly will be offline for main bras And the user terminal on main bras is handed over to the fault handling method on standby bras, lead to the burden of standby bras, and Have a strong impact on Consumer's Experience.
For above-mentioned technical problem, one of core idea of the embodiment of the present application be to propose a kind of fault handling method and Device, to effectively improve resource utilization and Consumer's Experience.
With reference to Fig. 1, show a kind of flow chart of steps of fault handling method embodiment of the application, the method is applied to Bras, specifically may include steps of:
Step 101, whether the quantity of the first message from certificate server receiving in the detection scheduled time meets Pre-defined rule.
Specifically, mutual message will be transmitted at a predetermined interval between bras and certificate server, to detect bras and certification Whether the communication link between server is normal.In embodiments herein, certificate server sends mutual message to bras, It is the first message in the embodiment of the present application.Bras also receives in the statistics scheduled time while receiving the first message The first message quantity, and according to statistical result, detect whether this quantity meets pre-defined rule.
Step 102, if it is not, then closing discovery message response function corresponding with certificate server, so that bras is receiving When arrival self terminal and discovery message corresponding with certificate server, it is not responding to find message.
Specifically, if bras is according to statistical result, the discrepancy of quantity the first message receiving is detected closes pre- set pattern Then, then can determine that the communication link between bras and certificate server breaks down.Wherein, in an embodiment of the application In, communication link fails include but is not limited to: physical link failure, certificate server configuration parameter fault etc. cause the communication can not The failure factor reaching.
After bras determines that itself communication link and certificate server between breaks down, then bras will close and this certification Server is corresponding to find message response function.Wherein, in an embodiment of the application, if there is depending on this certification Other certificate servers of server, for example: another certificate server previous was recognized it is necessary to obtain before carrying out data processing Result handled by card server, just can carry out follow-up business procession, then this two certificate servers exist to rely on and close System.When there is the certificate server of dependence in system, bras removes and closes this certificate server corresponding discovery message sound Answer function, also will close discovery message response function corresponding with the certificate server that it has dependence.
After bras closes discovery message response function corresponding with certificate server, if bras receives self terminal And during discovery message corresponding with this certificate server, any response will not be made to this discovery message.Terminal can be led to Cross other bras to be associated and data interaction with this certificate server, and on bras with other non-faulting certificate servers It is associated the terminal with data interaction, and the terminal reached the standard grade by bras and carry out general service process mentioned above, Will not be affected.
To sum up, the technical scheme of the embodiment of the present application, by receiving in the detection scheduled time from certificate server The quantity of the first message whether meet pre-defined rule;If it is not, then closing discovery message response work(corresponding with certificate server Can, so that bras, when receiving self terminal and discovery message corresponding with certificate server, is not responding to find message.From And when bras fails to be communicated between certificate server, ensure that do not affect on bras with this certificate server not phase Close other find message response functions, so that bras is can continue to respond the other of self terminal and find messages, simultaneously additionally it is possible to The terminal reached the standard grade on bras and be not communicatively coupled with fault certificate server is made to keep upper line states, without being forced Offline, therefore, effectively improve resource utilization and Consumer's Experience.
In an embodiment of the application, step 101 may further include: if not receiving arrival in the given time First message of Self-certified server is it is determined that the discrepancy of quantity of the first message receiving closes pre-defined rule.
In an embodiment of the application, the first message is the corresponding response message of the second message sending with bras. In another embodiment of the application, the first message can also be the message that certificate server active sends to bras.
In an embodiment of the application, the second message that bras sends to certificate server as detection bras and is recognized The whether normal probe messages of communication link between card server, it can be the simple message of any one form, so that clothes Business device can respond after receiving this message immediately.
In another embodiment of the application, the second message that bras sends to certificate server can be for bras to recognizing The service message that card server sends.In embodiments herein, bras to certificate server send have one kind or one kind with The service message of upper type.In an embodiment of the application, if the business report interacting between bras and certificate server Literary composition is only one kind, then in this, service message can be used as the second message, to detect the communication chain between bras and certificate server Whether road is normal.In another embodiment of the application, if the service message class interacting between bras and certificate server Type includes more than one, then can select one or more service messages therein according to actual needs as the second message, Whether normal to detect the communication link between bras and certificate server.Wherein, in the embodiment of of the application, The service message type interacting between bras and certificate server includes under more than one scene, and bras can be in polytype Message in select a kind of a fairly large number of message as the second message, with improve detect logical between bras and certificate server The accuracy whether letter link breaks down, and can detect whether communication link breaks down in time.The application's In another embodiment, bras can in polytype message one or more short types of Response to selection time delay Message, as the second message, equally can improve what whether the communication link detecting between bras and certificate server broke down Accuracy, and can detect whether communication link breaks down in time.In embodiments herein, by by service message Whether there is the second message of communication link fails as between detection bras and certificate server such that it is able to not increase volume In the case of outer message interaction, whether detection communication link is normal.
In an embodiment of the application, when bras selects service message as the second message, if in pre- timing Interior, bras does not receive response message corresponding to the service message sending as the second message (i.e. to certificate server One message) in wherein one or more service message, then can determine that the communication link between bras and certificate server Break down.Illustrate: if bras using tri- kinds of service messages of a, b, c of interacting between a certificate server as second Message.The wherein one or more message then not received in the given time in tri- kinds of messages of a, b, c as bras is corresponding During response message (i.e. the first message), then can assert that the discrepancy of quantity of the first message that bras receives closes preset rules, that is, Communication link between bras and this certificate server breaks down.
In an embodiment of the application, if bras receives and the business report as the second message in the given time Corresponding first message of literary composition, then calculate the quantity of the first message receiving in the given time and conduct second message sending The quantity of service message between the first ratio.In the present embodiment, if the first ratio is more than the first predetermined threshold value, can be true The quantity of the first message surely receiving meets pre-defined rule, and that is, the communication link between bras and certificate server does not occur event Barrier.If conversely, the first ratio is not less than predetermined threshold value, can the communication link between preliminary judgement bras and certificate server send out Raw fault, for avoiding judging by accident, bras will calculate the quantity of the first message receiving in the next scheduled time and the work sending For the second ratio between the quantity of the service message of the second message.
In embodiments herein, if the second ratio is not less than the second predetermined threshold value, can determine that in this scheduled time Interior, the discrepancy of quantity of the first message that bras receives closes pre-defined rule, i.e. communication link between bras and certificate server Break down.If conversely, the second ratio, more than the second predetermined threshold value, can determine that the quantity symbol of the first message that bras receives Close pre-defined rule, that is, the communication link between bras and certificate server does not break down.Therefore, logical in embodiments herein Cross after first scheduled time of experience, whether the response condition of statistics detection response message, thus break down to communication link Make preliminary judgement, if tentatively judging that communication link breaks down, that is, the first ratio not less than the first predetermined threshold value, then continues The response condition of the detection response message in the statistics next scheduled time is such that it is able to be effectively prevented from due to certificate server The obstruction of the time delay at end or communication link causes the problems such as time delay reception or packet loss, and the phenomenon of the erroneous judgement leading to occurs.
Additionally, in embodiments herein, the first predetermined threshold value and the second predetermined threshold value can equal it is also possible to not phase Deng.In the case of the first predetermined threshold value and the second predetermined threshold value are unequal, the second predetermined threshold value need to be more than the first predetermined threshold value, And close to 1.In another embodiment, predetermined threshold value can be set according to practical situation by user, and the application is to this Do not limit.
In an embodiment of the application, after step 102, the fault handling method of the application can also be further Including: if the quantity the first message receiving is detected meets pre-defined rule, open and find message response function, so that When receiving discovery message corresponding with certificate server, response finds message to bras.Specifically, in a reality of the application Apply in example, bras continues to send the second message to certificate server.In embodiments herein, if finding message closing Before response function, bras using service message as the second message, with the communication link between detection and certificate server whether Break down.After finding that message response function is closed, bras will be using the simple message of form as the first message, i.e. volume Whether a kind of message of outer increase, recover normal with the communication link between detection and certificate server.Because bras is taken with certification After business device breaks down, operator will be carried out to certificate server or bras or communication link therebetween for failure cause Maintenance, then during this period, bras will not receive the response message (i.e. the first message) from certificate server.If bras Receive the response message from certificate server, you can primarily determine that the communication link between bras and certificate server recovers Normally, for preventing the communication link after recovering unstable, the phenomenon of fault again after communication link recovers is led to occur.bras After primarily determining that the communication link and certificate server between recovers normal, also may proceed to send one to this certificate server Or one or more second message, if the quantity of response message corresponding with the second message (i.e. the first message) that bras receives Meet pre-defined rule, then can determine that the communication link and certificate server between recovers normal completely, and open discovery message Response function, so that bras, when receiving discovery message corresponding with this certificate server, can respond this discovery message.
In another embodiment of the application, if actively sent out by certificate server between bras and certificate server Send the message whether the first message breaks down as detecting link, after communication recovery is normal, bras is possible to receive The first message that certificate server sends.Bras receives this first message, and it is pre- to detect whether the first message receiving meets Establish rules then, to judge whether link has recovered normal.If the first message receiving meets pre-defined rule, reopen discovery Message response function.Detail is similar with previous embodiment, and here is omitted.
In order to be better understood from the fault handling method of the application, it is described in detail with specific embodiment below.
With reference to Fig. 2, show the network connection schematic diagram of the two-shipper cold standby framework of the embodiment of the present application.In fig. 2: terminal A and terminal b are respectively connected to switch 1 (hereinafter referred to as sw1) and switch 2 (hereinafter referred to as sw2).Sw1 and sw2 and bras1 and Bras2 is communicatively coupled respectively.And, bras1 and bras2 and certificate server: aaa (authentication, checking, Authorization, authorizes, accounting, book keeping operation) server and dhcp server be communicatively coupled respectively.This enforcement Example in only illustrated with dhcp server with aaa server, bras can with any certificate server be communicatively coupled and Data interaction, the application does not limit to this.
First, the communication link fails being applied between bras and aaa server with the fault handling method of the application are Example is illustrated.
In embodiments herein, whether there is the mode of communication link fails between bras detection and certificate server There are three kinds:
1) bras sends the probe messages (i.e. in the embodiment of the present application dedicated for detection link failure to certificate server The second message).If certificate server does not respond this probe messages, bras determines itself communication and certificate server between Link breaks down.
2) bras using existing service message as probe messages, and according to receiving detection corresponding with service message The situation of response message (i.e. the first message in the embodiment of the present application), is judged and certificate server between by decision mechanism Whether communication link breaks down.Illustrate: bras will be sent to certification request and the billing update packet of aaa server As probe messages, if aaa does not respond any one of certification request or billing update packet or equal in the given time Do not respond, then can determine that the communication link between bras and aaa server breaks down.If in the given time, bras Receive the response message to certification request and billing update packet for the aaa server, then bras needs the sound judging to receive Whether the quantity answering message meets pre-defined rule.Specifically, bras count the scheduled time in receive with certification request and The sum of the corresponding detection response message of billing update packet, and calculate itself and the certification request sending to aaa server and meter Take the ratio between the sum updating message, by judging the relation of this ratio and predetermined threshold value, tentatively judge that communication link is No break down.Phenomenon for avoiding erroneous judgement that the factors such as network delay lead to occurs, occur in preliminary judgement communication link therefore In the case of barrier, the sum of detection response message and recognizing of transmission that bras will continue to receive in the statistics next scheduled time Ratio between card request and the sum of billing update packet.If this ratio is still unsatisfactory for requiring, can determine that bras and aaa Communication link between server breaks down.Relation between detail and ratio and predetermined threshold value is by following reality Apply in example and be described in detail.This kind of detection mode will not additionally increase the message number interacting between bras and certificate server Amount, than another kind method can reduce the burden of equipment and link.
If it should be understood that the terminal being connected on bras is less, the industry interacting between bras and certificate server Business message amount will be relatively fewer, therefore, in that case it is proposed that selecting the first detection method.Whereas if on bras The terminal being connected into is more, then the service message quantity that bras sends to certificate server is also relatively many, can select second Detection method.User can be selected according to the actual requirements, and the application does not limit to this.
(3) bras receives the probe messages that certificate server actively sends.If not receiving this spy in the given time Observe and predict literary composition, then can determine that the communication link and this certificate server between breaks down.
In the present embodiment, taking second detection mode as a example, the certification request that is, bras1 will send to aaa server And billing update packet is as probe messages.Specifically, bras1 there are the terminal passing through this bras1 accessing external network, Then bras1 will send billing update packet corresponding with these terminals to aaa in real time.In need being connected into also is existed on bras1 The terminal of outer net, bras1 will send certification request corresponding with these terminals to aaa, so that these terminals are obtaining certification After be connected into outer net.
Assume at a time, bras1 sends 100 certification requests to aaa server and 100 billing update packets are made For probe messages.In one embodiment, if bras1 do not receive in the given time with 100 certification requests in any The corresponding authentication response (detection response message) of one certification request, then can determine that the communication between bras1 and aaa server Link breaks down.
In the present embodiment, bras1 receives 50 authentication responses corresponding with certification request and 50 with charging more The new corresponding charging of message updates response, then bras1 receives 100 detection response messages altogether.The spy that bras1 calculating receives Survey the ratio between response message and the probe messages (summation of certification request and billing update packet) sending, in the present embodiment In, ratio is 0.5.In embodiments herein, the first predetermined threshold value is set to 0.8.Then this ratio is default not less than first Threshold value, the communication link between preliminary judgement bras1 and aaa server breaks down.Then bras1 continues to count next predetermined Ratio between the detection response message receiving in time and the probe messages of transmission.In the present embodiment, next pre- In fixing time, bras1 still receive 50 authentication responses corresponding with certification request and 50 corresponding with billing update packet Charging update response, then bras1 receives 100 detection response messages altogether.Then in the next scheduled time, bras1 receives Ratio between the detection response message arriving and the probe messages of transmission is still 0.5.In embodiments herein, second presets Threshold value is set to 0.9, then this ratio is not less than the second predetermined threshold value.Bras1 can confirm that the communication link and aaa server between Break down.
After bras1 confirms that itself communication link and aaa server between breaks down, can close corresponding with aaa server Discovery message response function.Specifically, bras1 close corresponding with aaa server find message response function after it is assumed that this When there is terminal a, need to be authenticated with accessing external network with aaa server, then this aaa server will be to coupled all Bras broadcasts discovery message corresponding with aaa server.Bras1 and bras2 all receives this discovery message, and due to bras1 With close corresponding with this discovery message find message response function, then bras1 will not make any sound to this discovery message Should, now, by bras2, this discovery message will be responded.If it should be noted that aaa server breaks down in itself, Then bras2 equally can close corresponding discovery message response function, then in that case, terminal will not receive takes office What and discovery message corresponding discovery response message.System will be alerted to operator by warning function, so that operator Quick response, and fix a breakdown.
In embodiments herein, bras1 closes the step that find message response function corresponding with aaa server can To specifically include:
There is a log, in this log, record has the user domain accessing on bras1 corresponding with user domain in bras1 Corresponding relation between interface, certificate server and certificate server state.Illustrate: terminal a belongs to user domain 1, and And the terminal in user domain 1 is all associated with aaa server, i.e. the terminal in user domain 1 if necessary to accessing external network, then needs To be authenticated with aaa server and other data handling procedure.
After the communication link between bras1 judgement and aaa server breaks down, bras1 will retrieve locally stored Log, thus finding record information corresponding with aaa server.Now, user domain corresponding with aaa server be 1, Interface is a, state is normal.This corresponding status information of aaa server is revised as exception by bras1, and by calling correlation Stop message response function corresponding with aaa server.Then sent by the terminal of user domain 1 when bras1 receives again Discovery message 1 when, bras1 will not respond again.
Those skilled in the art access, it should be understood that working as, terminal and the other having in user domain 2, and user domain 2 on bras1 When aaa server is associated.When then bras1 receives the discovery message that the terminal in user domain 2 is sent, will not be subject to any Impact, still can respond to the discovery message that the terminal in user domain 2 is sent.That is, bras1 only closes and communication link sending and receiving The certificate server of raw fault is corresponding to find message response function.
After bras1 closes discovery message response function corresponding with aaa server, bras1 still may proceed to take to aaa Business device sends probe messages.In embodiments herein, bras1 is closing discovery message response corresponding with aaa server After function, by with the first detection mode above, send probe messages to aaa server, that is, bras1 is to aaa server Send the probe messages dedicated for detection link failure.
If the communication link between bras1 and aaa server recovers normal, bras1 will receive aaa server and return The detection response message returning.For avoiding communication link to there is unstable situation, bras1 after receiving detection response message, To continue to send one or one or more detection response message to aaa server.If (voluntarily can be set by user in the scheduled time The probe messages each time being sent in calmly) all receive corresponding detection response message, then can determine that the detection that bras receives Response message meets pre-defined rule, and that is, the communication link between bras1 and aaa server recovers normal and is in steady statue. Bras1 reopens discovery message response function corresponding with aaa server.Now, if there are the user newly reaching the standard grade to bras1 Send discovery message corresponding with aaa server, then bras1 can respond this discovery message.
It should be noted that in embodiments herein, bras1 is upper have been existed with the success of aaa server authentication simultaneously Carrying out the terminal in charging stage.During bras1 closes discovery message response function corresponding with aaa server, this is eventually End will not be offline, but is continued by bras1 server the surf time of computing terminal, and recovers normal in aaa server Afterwards, the surf time of calculating is transferred to aaa server, charging is carried out by aaa server.
Also it is connected with dhcp server referring now still to Fig. 2, bras1 and bras2.In an embodiment of the application, due to Agreement limits, and aaa server and dhcp server have dependency.Illustrate: in some agreements, bras1 is based on terminal Request, need to set up associated session with dhcp, then need elder generation and aaa server to obtain relevant authentication, could set up with dhcp Session simultaneously applies for address information corresponding with terminal, therefore, has under dependent scene in aaa server with dhcp, bras1 In the discovery message response function corresponding with aaa server of being closed, also include discovery report corresponding with dhcp server Civilian response function.Also include relative certificate server in discovery message response function corresponding with certificate server Corresponding discovery message response function.
In another embodiment of the application, if aaa server is separate with dhcp server, do not have according to Lai Xing.Then after bras1 closes discovery message response function corresponding with aaa server, will not affect that and dhcp server Corresponding discovery message response function.That is, when bras1 receives the discovery report being associated with dhcp server that terminal b is sent Wen Shi, bras1 will set up session with dhcp server, and respond the discovery message that terminal b is sent.As can be seen here, when bras1 After closing discovery message response function corresponding with aaa server, will not affect that other does not have dependent certification with it Server is corresponding to find message response function, and other terminals can continue through bras1 and set up with other certificate servers leads to Letter connects.
In sum, the technical scheme that the embodiment of the present application provides, to be accepted as unavoidable by receiving in the detection scheduled time Whether the quantity of the first message of card server meets pre-defined rule;If it is not, then closing discovery report corresponding with certificate server Civilian response function, so that bras, when receiving self terminal and discovery message corresponding with certificate server, is not responding to send out Existing message.Thus when bras fails to be communicated with certificate server, ensure that and do not affect on bras and this authentication service The incoherent other discovery message response functions of device, make bras can continue to respond other discovery messages of self terminal, meanwhile, The terminal reached the standard grade on bras and be not communicatively coupled with fault certificate server can also be made to keep upper line states, and not Can be forced offline, thus effectively improving resource utilization and Consumer's Experience.
Based on the application design same with said method, the embodiment of the present application also provides a kind of fault treating apparatus, application In bras.This fault treating apparatus can be realized by software it is also possible to realize by by way of hardware or software and hardware combining. As a example implemented in software, as the device on a logical meaning, it is the processor of the bras being located by it, read non-volatile Property memorizer in corresponding computer program instructions formed.For hardware view, except processor, nonvolatile memory Outward, bras can also include other hardware, the such as responsible forwarding chip processing message, network interface, internal memory etc.;From hardware configuration For upper, this routing device is also possible to be distributed apparatus, potentially includes multiple interface cards, to carry out message in hardware view The extension processing.
With reference to Fig. 3, show a kind of structured flowchart of the application fault treating apparatus embodiment, specifically can include as follows Module:
Determining module 31, the quantity for detecting the first message from certificate server receiving in the scheduled time is No meet pre-defined rule;.
Closedown module 32, for if it is not, then close corresponding with certificate server find message response function so that bras When receiving self terminal and discovery message corresponding with certificate server, it is not responding to find message.
In an embodiment of the application, if determining module 31 can also be further used for not receiving in the given time First message of arrival Self-certified server is it is determined that the discrepancy of quantity of the first message receiving closes pre-defined rule.
In an embodiment of the application, the first message of determining module 31 detection is the second message sending with bras Corresponding response message.In another embodiment of the application, the first message can also be for certificate server active to bras The message sending.
Wherein, corresponding second message of the first message in an embodiment of the application, with determining module 31 detection The service message sending to certificate server for bras.
In an embodiment of the application, device can also include:
First computing module (not shown), if for receiving in the given time and the business as the second message Corresponding first message of message, then calculated the quantity of the first message receiving in the given time and reported with the conduct second sending The first ratio between the quantity of service message of literary composition.
Accordingly, if determining module 31 can also be further used for the first ratio more than the first predetermined threshold value it is determined that connecing The quantity of the first message receiving meets pre-defined rule.
In another embodiment of the application, device can also include:
Second computing module (not shown), if for the first ratio not less than the first predetermined threshold value, calculate next Between the quantity of the first message receiving in the individual scheduled time and the quantity of the service message as the second message of transmission Second ratio.
Accordingly, if determining module 31 can also be further used for the second ratio not less than the second predetermined threshold value it is determined that The discrepancy of quantity of the first message receiving closes pre-defined rule.
And, if determining module 31 can be also used for the second ratio more than the second predetermined threshold value it is determined that receive The quantity of one message meets pre-defined rule.
In an embodiment of the application, determining module 31 can also be further used for closing discovery report in closedown module After civilian response function, if the quantity the first message receiving is detected meets pre-defined rule, open and find message response Function, so that bras is when receiving discovery message corresponding with certificate server, response finds message.
In sum, the fault treating apparatus that the embodiment of the present application provides, are come by detecting receive in the scheduled time Whether the quantity of the first message of Self-certified server meets pre-defined rule;If it is not, then closing corresponding with certificate server Existing message response function, so that bras, when receiving self terminal and discovery message corresponding with certificate server, does not ring Message should be found.Thus when bras fails to be communicated with certificate server, ensure that and do not affect on bras and this certification The incoherent other discovery message response functions of server, make bras can continue to respond other discovery messages of self terminal, Simultaneously additionally it is possible to make the terminal reached the standard grade on bras and be not communicatively coupled with fault certificate server keep upper wire State, offline without being forced, thus effectively improving resource utilization and Consumer's Experience.
For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, related Part illustrates referring to the part of embodiment of the method.
Each embodiment in this specification is all described by the way of going forward one by one, what each embodiment stressed be with The difference of other embodiment, between each embodiment identical similar partly mutually referring to.
Those skilled in the art are it should be appreciated that the embodiment of the embodiment of the present application can be provided as method, device or calculate Machine program product.Therefore, the embodiment of the present application can using complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.And, the embodiment of the present application can using one or more wherein include computer can With in the computer-usable storage medium (including but not limited to disk memory, cd-rom, optical memory etc.) of program code The form of the computer program implemented.
The embodiment of the present application is with reference to according to the method for the embodiment of the present application, termination (system) and computer program The flow chart of product and/or block diagram are describing.It should be understood that can be by computer program instructions flowchart and/or block diagram In each flow process and/or the flow process in square frame and flow chart and/or block diagram and/or square frame combination.These can be provided Computer program instructions fill to general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing terminals The processor put is to produce a machine so that holding by the processor of computer or other programmable data processing terminal devices The instruction of row produces for realizing in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame The device of the function of specifying.
These computer program instructions may be alternatively stored in and can guide computer or other programmable data processing terminal devices So that the instruction being stored in this computer-readable memory produces bag in the computer-readable memory working in a specific way Include the manufacture of command device, this command device is realized in one flow process of flow chart or multiple flow process and/or one side of block diagram The function of specifying in frame or multiple square frame.
These computer program instructions also can be loaded on computer or other programmable data processing terminal devices so that Series of operation steps is executed on computer or other programmable terminal devices to produce computer implemented process, thus On computer or other programmable terminal devices, the instruction of execution is provided for realizing in one flow process of flow chart or multiple flow process And/or the step of the function of specifying in one square frame of block diagram or multiple square frame.
Although having been described for the preferred embodiment of the embodiment of the present application, those skilled in the art once know base This creative concept, then can make other change and modification to these embodiments.So, claims are intended to be construed to Including preferred embodiment and fall into being had altered and changing of the embodiment of the present application scope.
Last in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by One entity or operation are made a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between there is any this actual relation or order.And, term " inclusion ", "comprising" or its any other variant meaning Covering comprising of nonexcludability, so that include a series of process of key elements, method, article or termination not only wrapping Include those key elements, but also include other key elements being not expressly set out, or also include for this process, method, article Or the intrinsic key element of termination.In the absence of more restrictions, by wanting that sentence "including a ..." limits It is not excluded that also there is other identical element in process, method, article or the termination including described key element in element.
Above to a kind of fault handling method provided herein and device, it is described in detail, used herein Specific case is set forth to the principle of the application and embodiment, and the explanation of above example is only intended to help understand The present processes and its core concept;Simultaneously for one of ordinary skill in the art, according to the thought of the application, in tool All will change on body embodiment and range of application, in sum, this specification content should not be construed as to the application Restriction.

Claims (14)

1. a kind of fault handling method, is applied to Broadband Remote Access Server bras it is characterised in that including:
Whether the quantity of the first message from certificate server receiving in the detection scheduled time meets pre-defined rule;
If it is not, then close discovery message response function corresponding with described certificate server, so that described bras is receiving arrival When self terminal and discovery message corresponding with described certificate server, it is not responding to described discovery message.
2. method according to claim 1 it is characterised in that detection the scheduled time in receive from certificate server The first message the quantity step that whether meets pre-defined rule, specifically include:
If do not receive the first message from certificate server within the described scheduled time it is determined that receive described first The discrepancy of quantity of message closes described pre-defined rule.
3. method according to claim 1 is it is characterised in that described first message is the second report sending with described bras The corresponding response message of literary composition;
Or,
Described first message is the message that described certificate server active sends to described bras.
4. method according to claim 3 is it is characterised in that described second message is described bras to described authentication service The service message that device sends.
5. method according to claim 4 is it is characterised in that receive in the described detection scheduled time carrys out Self-certified clothes The step whether quantity of the first message of business device meets pre-defined rule, specifically includes:
If receiving within the described scheduled time and corresponding first message of service message as the second message, calculate in institute State the number of the quantity of described first message receiving in the scheduled time and the described service message as the second message sending The first ratio between amount;
If described first ratio more than the first predetermined threshold value it is determined that the quantity of described first message receiving meet described pre- Set pattern is then.
6. method according to claim 5 is it is characterised in that receive in the described detection scheduled time carrys out Self-certified clothes The step whether quantity of the first message of business device meets pre-defined rule, further includes:
If described first ratio, not less than the first predetermined threshold value, calculates described receiving in the next described scheduled time The second ratio between the quantity of one message and the quantity of the described service message as the second message of transmission;
If described second ratio is not less than the second predetermined threshold value it is determined that the discrepancy of quantity of described first message receiving closes institute State pre-defined rule;
If described second ratio exceedes described second predetermined threshold value it is determined that the quantity of described first message receiving meets institute State pre-defined rule.
7. method according to claim 1 finds report it is characterised in that described closing is corresponding with described certificate server After the step of civilian response function, also include:
If the quantity described first message receiving is detected meets described pre-defined rule, open described discovery message response Function, so that described bras, when receiving discovery message corresponding with described certificate server, responds described discovery message.
8. a kind of fault treating apparatus, are applied to Broadband Remote Access Server bras it is characterised in that including:
Determining module, whether the quantity for detecting the first message from certificate server receiving in the scheduled time meets Pre-defined rule;
Closedown module, for if it is not, then close corresponding with described certificate server find message response function so that described Bras, when receiving self terminal and discovery message corresponding with described certificate server, is not responding to described discovery message.
If 9. device according to claim 8 is it is characterised in that described determining module is further used in described pre- timing Interior the first message not received from certificate server is it is determined that the discrepancy of quantity of described first message receiving closes institute State pre-defined rule.
10. device according to claim 8 it is characterised in that described determining module detection described first message be with The corresponding response message of the second message that described bras sends;
Or,
Described first message is the message that described certificate server active sends to described bras.
11. devices according to claim 10 it is characterised in that with described determining module detection described first message pair Described second message answered is the service message that described bras sends to described certificate server.
12. devices according to claim 11 are it is characterised in that described device further includes:
First computing module, if for receiving and the service message corresponding as the second message within the described scheduled time One message, then calculated the quantity of described first message receiving within the described scheduled time and reported as second with the described of transmission The first ratio between the quantity of service message of literary composition;
Accordingly, if described determining module is further used for described first ratio more than the first predetermined threshold value it is determined that receiving The quantity of described first message meet described pre-defined rule.
13. devices according to claim 12 are it is characterised in that described device further includes:
Second computing module, if for described first ratio not less than the first predetermined threshold value, calculates next described pre- timing Between the quantity of service message as the second message for the interior described quantity of the first message and the described of transmission receiving Second ratio;
Accordingly, if described determining module is further used for described second ratio not less than the second predetermined threshold value it is determined that receiving The discrepancy of quantity of described first message arriving closes described pre-defined rule;
And, if described determining module is further used for described second ratio and exceedes described second predetermined threshold value it is determined that receiving To the quantity of described first message meet described pre-defined rule.
14. devices according to claim 8 are it is characterised in that described determining module is further used in described pass mold closing After block closes described discovery message response function, if the quantity described first message receiving is detected meets described making a reservation for Rule, then open described discovery message response function, so that described bras is receiving corresponding with described certificate server During existing message, respond described discovery message.
CN201610846929.5A 2016-09-23 2016-09-23 A kind of fault handling method and device Active CN106341270B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610846929.5A CN106341270B (en) 2016-09-23 2016-09-23 A kind of fault handling method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610846929.5A CN106341270B (en) 2016-09-23 2016-09-23 A kind of fault handling method and device

Publications (2)

Publication Number Publication Date
CN106341270A true CN106341270A (en) 2017-01-18
CN106341270B CN106341270B (en) 2019-09-17

Family

ID=57839189

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610846929.5A Active CN106341270B (en) 2016-09-23 2016-09-23 A kind of fault handling method and device

Country Status (1)

Country Link
CN (1) CN106341270B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547321A (en) * 2017-06-28 2018-01-05 新华三技术有限公司 Message processing method, device, associated electronic device and readable storage medium storing program for executing
CN107801201A (en) * 2017-10-19 2018-03-13 维沃移动通信有限公司 Network recovery method and device
CN108512634A (en) * 2017-02-28 2018-09-07 北京华为数字技术有限公司 A kind of method and relevant device of data processing
CN109639755A (en) * 2018-10-23 2019-04-16 平安科技(深圳)有限公司 Interconnected system server decoupling method, device, medium and electronic equipment
WO2020078428A1 (en) * 2018-10-17 2020-04-23 中兴通讯股份有限公司 Method and device enabling a user to access the internet, broadband remote access server, and storage medium
CN111130848A (en) * 2019-11-29 2020-05-08 中盈优创资讯科技有限公司 Fault detection method and device for authentication, authorization and accounting (AAA)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050025061A1 (en) * 2003-01-24 2005-02-03 Telefonaktiebolaget Lm Ericsson (Publ) Link testing in an ethernet DSL network
CN102170364A (en) * 2011-05-26 2011-08-31 华为技术有限公司 Multicast communication method and device for broadband remote access server
CN103002065A (en) * 2012-12-14 2013-03-27 大唐移动通信设备有限公司 Method and device for sharing internet protocol (IP) address by host device and standby device
CN103731310A (en) * 2013-12-31 2014-04-16 华为技术有限公司 Message transmitting method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050025061A1 (en) * 2003-01-24 2005-02-03 Telefonaktiebolaget Lm Ericsson (Publ) Link testing in an ethernet DSL network
CN102170364A (en) * 2011-05-26 2011-08-31 华为技术有限公司 Multicast communication method and device for broadband remote access server
CN103002065A (en) * 2012-12-14 2013-03-27 大唐移动通信设备有限公司 Method and device for sharing internet protocol (IP) address by host device and standby device
CN103731310A (en) * 2013-12-31 2014-04-16 华为技术有限公司 Message transmitting method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108512634A (en) * 2017-02-28 2018-09-07 北京华为数字技术有限公司 A kind of method and relevant device of data processing
CN107547321A (en) * 2017-06-28 2018-01-05 新华三技术有限公司 Message processing method, device, associated electronic device and readable storage medium storing program for executing
CN107547321B (en) * 2017-06-28 2021-05-14 新华三技术有限公司 Message processing method and device, related electronic equipment and readable storage medium
CN107801201A (en) * 2017-10-19 2018-03-13 维沃移动通信有限公司 Network recovery method and device
WO2020078428A1 (en) * 2018-10-17 2020-04-23 中兴通讯股份有限公司 Method and device enabling a user to access the internet, broadband remote access server, and storage medium
CN109639755A (en) * 2018-10-23 2019-04-16 平安科技(深圳)有限公司 Interconnected system server decoupling method, device, medium and electronic equipment
CN111130848A (en) * 2019-11-29 2020-05-08 中盈优创资讯科技有限公司 Fault detection method and device for authentication, authorization and accounting (AAA)
CN111130848B (en) * 2019-11-29 2022-04-19 中盈优创资讯科技有限公司 Fault detection method and device for authentication, authorization and accounting (AAA)

Also Published As

Publication number Publication date
CN106341270B (en) 2019-09-17

Similar Documents

Publication Publication Date Title
CN106341270A (en) Fault processing method and device
CN102257848B (en) Main and secondary apparatuses conversion method betwenn communication equipment, communication equipment and system, and request equipment of system and service
CN102571492B (en) Method and device for detecting failure of routing equipment
CN107026790B (en) A kind of transmission control method and equipment
CN104980298A (en) Abnormity prompting method, device and system
CN107370685A (en) A kind of internet-of-things terminal cut-in method and device
CN106658513A (en) Safety detection method of wireless network, terminal and server
CN108322366A (en) Access the methods, devices and systems of network
CN106453074A (en) Switching method and apparatus
CN110798453B (en) Data processing method and device for one-key login
CN105897766A (en) Virtual network flow security control method and device
CN107431971A (en) Wireless invasive system of defense sensor and the method using the sensor disconnected end
EP2417792B1 (en) A method for identifying a mobile telephone
CN103733581B (en) Message processing method and base station
CN106921588B (en) Flow control method, device and equipment
CN108156247B (en) Data communication method, device, system, terminal and readable storage medium
CN109819461A (en) A kind of cell identification system and device
CN105721190B (en) Fault detection method, device and the server of data transfer path
CN107608881A (en) The progress control method and device of a kind of software development kit
CN103490964B (en) A kind of method and device for realizing that flexible configuration terminal accesses quantity
CN108235800A (en) A kind of network failure probing method and control centre's equipment
WO2015180265A1 (en) Multi-link protection switching method and device
CN105991427A (en) Method and device for determining and switching backup paths
EP3557838A1 (en) Monitoring the behaviour of at least one communication device
CN104092674A (en) Router network security detection method and system based on set top box

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou science and Technology Development Zone, Zhejiang high tech park, No. six and road, No. 310

Applicant before: Huasan Communication Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant