CN100571223C - The method of rearranging gateway network element - Google Patents

The method of rearranging gateway network element Download PDF

Info

Publication number
CN100571223C
CN100571223C CNB2006100995424A CN200610099542A CN100571223C CN 100571223 C CN100571223 C CN 100571223C CN B2006100995424 A CNB2006100995424 A CN B2006100995424A CN 200610099542 A CN200610099542 A CN 200610099542A CN 100571223 C CN100571223 C CN 100571223C
Authority
CN
China
Prior art keywords
network element
gateway network
webmaster
gateway
rearranging
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.)
Active
Application number
CNB2006100995424A
Other languages
Chinese (zh)
Other versions
CN101115030A (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 CNB2006100995424A priority Critical patent/CN100571223C/en
Publication of CN101115030A publication Critical patent/CN101115030A/en
Application granted granted Critical
Publication of CN100571223C publication Critical patent/CN100571223C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention discloses a kind of method of rearranging gateway network element, relate to the communications field, more frequent for switching on the webmaster after solving webmaster and non-gateway network element interrupting being connected, can not remove to control non-gateway network element by man-machine interface and walk that gateway, cause data volume to be stopped up, problem such as cause that alarm is not reported and inventing.The unusual disconnection do not appear in webmaster of the present invention and the success of non-gateway network element link setup and pilot process, in N the cycle that with the Fixed Time Interval is the cycle, do not receive the handshake packet of non-gateway network element, then with non-gateway network element the rearranging gateway network element of process to another Gateway Network Element; If link setup is unsuccessful always, then the timing allocation interface removes to connect non-gateway network element, and wherein N is a natural number.The method of the invention increases the protection mechanism of gateway abnormal problem, avoids frequently switching, and avoids multidata amount clogging.

Description

The method of rearranging gateway network element
Technical field
The present invention relates to the communications field, the method for rearranging gateway network element when being specifically related to a kind of Gateway Network Element and network management communication.
Background technology
In user's use, the user has proposed the demand of Gateway Network Element and non-gateway network element at SDH (synchronous digital) equipment.Think that the IP address of distributing to SDH equipment at present is too many, taken too many IP address.Only need use implicit IP address for non-gateway network element.We have designed our a cover Gateway Network Element and the design of non-gateway network element at some existing ways of user's request and competitor under this prerequisite.
In communication process, webmaster not only with the network element direct communication, and see through network element and other network element communication.We will directly link to each other with webmaster or be called Gateway Network Element with the direct-connected network element of DCN net, and other is not direct-connected with webmaster, be not called non-gateway network element with the direct-connected network element of DCN, the network element that sees through the Gateway Network Element communication.
After the Gateway Network Element of a non-gateway network element occurred unusually, the user wished that webmaster can continue communication with non-gateway network element, and need be provided with another one or a plurality of Gateway Network Element this time for non-gateway network element.Can pour into other gateway and continue to keep in communication after primary gateway occurs unusually, Fig. 1 is seen in networking.
Webmaster sees through Gateway Network Element and non-gateway network element communication, at Gateway Network Element since abnormal cause occur to interrupt, cause webmaster can not with the non-gateway network element communication, this time need by switching of webmaster inside judge and handoff algorithms to another Gateway Network Element, continue to keep in communication through another Gateway Network Element webmaster and non-gateway network element.
Not unified standard is judged in switching that industry occurs at present, and the user goes to judge how long switch to the back neither one standard that goes wrong at gateway; In the common problem of having no progeny be to switch more frequently on the webmaster, and can not remove to control non-gateway network element by man-machine interface (as GUI) and walk that gateway, cause phenomenons such as data volume obstruction, problem such as cause that alarm is not reported.
Summary of the invention
In order to overcome above-mentioned defective, the object of the present invention is to provide a kind of method of rearranging gateway network element, this method makes webmaster can avoid webmaster frequently to switch, and stablizes the network element route.
For achieving the above object, the present invention proposes a kind of method of rearranging gateway network element, comprising:
(1) webmaster is communicated by letter with non-gateway network element, if unusual the disconnection do not appear in webmaster and the success of non-gateway network element link setup and pilot process, enters step (2); If webmaster and non-gateway network element link setup always are unsuccessful, enter step (3);
(2) in N the cycle that with the Fixed Time Interval is the cycle, webmaster is not then switched if receive the handshake packet of non-gateway network element; If do not receive the handshake packet of non-gateway network element, then to switch, step finishes, and wherein N is a natural number;
(3) webmaster removes to connect non-gateway network element by the timing allocation interface, be specially: after webmaster goes to connect the non-gateway network element success by timing allocation socket interface with Fixed Time Interval, being spaced apart with regular time in M the cycle in cycle, then do not switch if receive the handshake packet of non-gateway network element; If webmaster is not received the handshake packet of non-gateway network element, then non-gateway network element the rearranging gateway network element of process to another Gateway Network Element, go, wherein M is a natural number.
Wherein, described step (1) is specially:
(11) webmaster is communicated by letter with non-gateway network element by Gateway Network Element, if webmaster does not occur disconnecting unusually by Gateway Network Element and success of non-gateway network element link setup and pilot process, enter step (2), if webmaster by Gateway Network Element and non-gateway network element always link setup get nowhere, enter step (3).
Wherein, described step (2) is specially:
(21) webmaster detects once in Fixed Time Interval, in N the regular time gap periods if receive the handshake packet of non-gateway network element, then do not switch, if webmaster is not received the handshake packet of non-gateway network element, webmaster goes to another Gateway Network Element from the rearranging gateway network element of the process of communicating by letter with non-gateway network element, and wherein N is a natural number.
Wherein, described step (21) also comprises a step (22) afterwards: webmaster is communicated by letter with non-gateway network element after the rearranging gateway network element of process goes to another Gateway Network Element, if in N the cycle that with the Fixed Time Interval is the cycle, webmaster is not if receive the handshake packet of non-gateway network element, webmaster goes to another Gateway Network Element from the rearranging gateway network element of the process of communicating by letter with non-gateway network element, and wherein N is a natural number.
Wherein, also comprise before in step (1): after webmaster was created, non-gateway network element did not need and network management communication, and webmaster is not carried out and switched.
Wherein, above-mentioned rearranging gateway network element also comprises: reset the primary gateway network element of non-gateway network element by man-machine interface, webmaster is switched the current gateway network element of non-gateway network element process to described primary gateway network element.
Method of the present invention, the protection mechanism of increase gateway abnormal problem plays real-time supervisory function bit; Reduce the webmaster CPU usage, avoid frequently switching; Automatically with two kinds of switching modes of hand-guided, switch flexible; Play the effect of excellent communications Data Control, avoid the multidata amount fully simultaneously through a gateway phenomenon.
Description of drawings
Fig. 1 is a non-gateway network element networking schematic diagram;
Fig. 2 is the schematic diagram that non-gateway network element passes through the primary gateway communication;
Fig. 3 is the schematic diagram that non-gateway network element passes through the standby gateway communication.
Embodiment
The Gateway Network Element of configuration non-gateway network element is Gateway Network Element A, Gateway Network Element B etc., and Gateway Network Element A is the primary gateway network element, and B etc. are for being equipped with Gateway Network Element.At the beginning of configuration, make that primary gateway is current Communication Gateway, the communication picture group is as shown in Figure 2.
After Gateway Network Element A occurs causing non-gateway network element and webmaster communicating interrupt unusually, webmaster will be carried out according to following method and switch:
1, non-gateway network element does not need and the webmaster communication after webmaster is created, and does not carry out and switches.
2, non-gateway network element needs and network management communication (as pre-configured state) after webmaster is created, and receives the handshake packet of non-gateway network element by removing to judge webmaster, determines whether switching; For webmaster and non-gateway network element link setup case of successful (being the normal situation of communication) always, set time is detected once (for example 30s), (n is a natural number in n cycle, for example n can value be 5) do not receive that handshake packet just switches, the Gateway Network Element that non-gateway network element need pass through just switches to another Gateway Network Element get on (for example gateway B) fully.
3,, distribute socket to remove to connect network element with Fixed Time Interval (for example 10s) by timing (for example 120s) for webmaster and the obstructed always situation of non-gateway network element communication.Set time (30s for example, can be identical with the set time described in above-mentioned 2) detect once, after m cycle, (m is a natural number, and for example the m value is 4) do not receive handshake packet, the Communication Gateway that non-gateway network element need pass through switches to another gateway and gets on, and networking diagram is seen Fig. 3.
4, after being switched to another Gateway Network Element and getting on, if (for example the m value is 4 m cycle, generally speaking, the m here is less than the n during the link setup success in above-mentioned 2) interior webmaster do not receive the handshake packet of non-gateway network element, the reverse method of description is switched on the next gateway in by 3.
5, in webmaster management non-gateway network element process, if desired the manual intervention non-gateway network element the Gateway Network Element of process, can be set to the primary gateway of non-gateway network element by this Gateway Network Element of man-machine interface (as GUI etc.).Webmaster switches the current gateway network element of non-gateway network element process to the primary gateway network element.
Do further detailed explanation with regard to technical scheme of the present invention below:
(1) counter of definition is used to write down the periodicity that Gateway Network Element is not received handshake packet, defines a NE ID and does not receive handshake packet periodicity n;
(2) timer of registration, defined variable numeration in (1) adds 1 to non-gateway network element every 30s;
(3) issue the message of webmaster if receive non-gateway network element, show that communication is normal, the numeration of the variable of definition is set to 0 in (1);
(4) numeration of definition is set to 0 in webmaster and the non-gateway network element successful connection, (1);
(5) webmaster reconnects the non-gateway network element numeration and is set to 0;
(6) webmaster is received the handshake packet that non-gateway network element sends over, and numeration is set to 0;
(7) auto switching is handled;
The timer that is provided with in (2) detects once every 30s, if network element be connection status and numeration more than or equal to 5 or network element not in connection status and numeration more than or equal to 4 o'clock, do following action:
A, the Communication Gateway sign of current use is moved down.
B, will count clear 0;
C, close original socket and connect;
D, net element connection state is set is " connect disconnect ";
E, redistribute socket and connect non-gateway network element;
(8) current Communication Gateway manually is set;
The user can reset the primary gateway network element of non-gateway network element by GUI on the interface, communication link is switched on the communication link of customer requirements.And will do following action:
The primary gateway that A, judgement user are provided with is current Communication Gateway and is exactly primary gateway before being provided with, and directly returns success if be entirely;
B, if not current Communication Gateway, close original socket and connect;
C, carried out the B step, it is the chain rupture state that network element then is set;
D, carried out the B step, then reported the network element chain rupture to high-rise webmaster and GUI;
E, original primary gateway are set to be equipped with gateway, current Communication Gateway are provided with the primary gateway that the user is provided with;
F, discovery network element chain rupture in another concrete management communication thread are taken out current Communication Gateway and are connected;
G, link setup successfully report high-rise webmaster and GUI;
If H link setup always is unsuccessful, then handle by above-mentioned (7) described auto switching method.
Method of the present invention, the protection mechanism of increase gateway abnormal problem plays real-time supervisory function bit; Reduce the webmaster CPU usage, avoid frequently switching; Automatically with two kinds of switching modes of Artificial Control, switch flexible; Play the effect of excellent communications Data Control, avoid the multidata amount fully simultaneously through a gateway phenomenon.

Claims (5)

1, a kind of method of rearranging gateway network element comprises:
(1) webmaster is communicated by letter with non-gateway network element, if unusual the disconnection do not appear in webmaster and the success of non-gateway network element link setup and pilot process, enters step (2); If webmaster and non-gateway network element link setup always are unsuccessful, enter step (3);
(2) in N the cycle that with the Fixed Time Interval is the cycle, webmaster is not then switched if receive the handshake packet of non-gateway network element; If do not receive the handshake packet of non-gateway network element, then to switch, step finishes, and wherein N is a natural number;
(3) webmaster removes to connect non-gateway network element by the timing allocation interface, be specially: after webmaster goes to connect the non-gateway network element success by timing allocation socket interface with Fixed Time Interval, being spaced apart with regular time in M the cycle in cycle, then do not switch if receive the handshake packet of non-gateway network element; If webmaster is not received the handshake packet of non-gateway network element, then non-gateway network element the rearranging gateway network element of process to another Gateway Network Element, go, wherein M is a natural number.
2, the method for rearranging gateway network element as claimed in claim 1 is characterized in that, described step (1) is specially:
(11) webmaster is communicated by letter with non-gateway network element by Gateway Network Element, if webmaster does not occur disconnecting unusually by Gateway Network Element and success of non-gateway network element link setup and pilot process, enter step (2), if webmaster by Gateway Network Element and non-gateway network element always link setup get nowhere, enter step (3).
3, the method for rearranging gateway network element as claimed in claim 2 is characterized in that, described step (2) is specially:
(21) webmaster detects once in Fixed Time Interval, in N the regular time gap periods if receive the handshake packet of non-gateway network element, then do not switch, if webmaster is not received the handshake packet of non-gateway network element, webmaster goes to another Gateway Network Element from the rearranging gateway network element of the process of communicating by letter with non-gateway network element, and wherein N is a natural number.
4, the method for rearranging gateway network element as claimed in claim 3, it is characterized in that, described step (21) also comprises a step (22) afterwards: webmaster is communicated by letter with non-gateway network element after the rearranging gateway network element of process goes to another Gateway Network Element, if in N the cycle that with the Fixed Time Interval is the cycle, webmaster is not if receive the handshake packet of non-gateway network element, webmaster goes to next Gateway Network Element from the rearranging gateway network element of the process of communicating by letter with non-gateway network element, and wherein N is a natural number.
6, the method for rearranging gateway network element as claimed in claim 1 is characterized in that, also comprises before in step (1): after webmaster was created, non-gateway network element did not need and network management communication, and webmaster is not carried out and switched.
CNB2006100995424A 2006-07-28 2006-07-28 The method of rearranging gateway network element Active CN100571223C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100995424A CN100571223C (en) 2006-07-28 2006-07-28 The method of rearranging gateway network element

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100995424A CN100571223C (en) 2006-07-28 2006-07-28 The method of rearranging gateway network element

Publications (2)

Publication Number Publication Date
CN101115030A CN101115030A (en) 2008-01-30
CN100571223C true CN100571223C (en) 2009-12-16

Family

ID=39023147

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100995424A Active CN100571223C (en) 2006-07-28 2006-07-28 The method of rearranging gateway network element

Country Status (1)

Country Link
CN (1) CN100571223C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812166B (en) * 2014-12-30 2020-06-12 中兴通讯股份有限公司 Connection implementation method and system, network server, gateway network element and management method

Also Published As

Publication number Publication date
CN101115030A (en) 2008-01-30

Similar Documents

Publication Publication Date Title
CN100479434C (en) Method and system for realizing virtual router redundant protocol master and standby equipment switching
CN1968260B (en) Method for implementing virtual router redundancy protocol switching between primary/standby devices
EP2720418B1 (en) Lacp link switching and data transmission method and device
CN101867411B (en) Realize the method, system and device of passive optical network optical fiber protection
CN101072154B (en) Loop Ethernet switching method
CN100428697C (en) By-pass combination system and business processing method based on said system
CN101094114A (en) Method and device for processing bound link
CN106789521B (en) A kind of ring network fault reverse method and link point
CN101645812A (en) Protection switching method of Ethernet intersecting ring
CN104301226A (en) Designated routing bridge (DRB) election method, equipment and system
EP2466804B1 (en) Protection switching method for ethernet automatic protection switching (eaps) ring network and master node in eaps ring network
CN103227966A (en) Transparent protection switching operation in a Pon
CN100444571C (en) Method and system for deciding bridge role
CN101262399B (en) A cross-loop RPR two point failure processing method and system
CN101163038B (en) Ethernet equipment link protecting method
CN101997767B (en) Method and device for acquiring protocol messages by nodes on ring network
CN100571223C (en) The method of rearranging gateway network element
CN103391231A (en) Networking method and device for data communication network
CN102118266A (en) Industrial Ethernet dual-link redundancy technology
CN100558122C (en) The method that single board main/standby switches in a kind of access layer equipment
CN103840965B (en) Method for enhancing quick fault convergence in RSTP
CN100466546C (en) System and method for realizing business protection using LCAS protocol
CN102594696A (en) Method and device for managing link aggregation groups (LAGs) of network device
CN102255750A (en) Method and device for service disaster recovery protection
CN101369981A (en) Fast rerouting method and node

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