CN102710442B - Management method of network management service port, communication device and communication system - Google Patents

Management method of network management service port, communication device and communication system Download PDF

Info

Publication number
CN102710442B
CN102710442B CN201210178971.6A CN201210178971A CN102710442B CN 102710442 B CN102710442 B CN 102710442B CN 201210178971 A CN201210178971 A CN 201210178971A CN 102710442 B CN102710442 B CN 102710442B
Authority
CN
China
Prior art keywords
network management
operating state
state
functional area
management functional
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
CN201210178971.6A
Other languages
Chinese (zh)
Other versions
CN102710442A (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.)
Hans Automation Technology (Jiangsu) Co., Ltd.
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 CN201210178971.6A priority Critical patent/CN102710442B/en
Publication of CN102710442A publication Critical patent/CN102710442A/en
Application granted granted Critical
Publication of CN102710442B publication Critical patent/CN102710442B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a management method of a network management service port, a communication device and a communication system. The management method of the network management service port comprises the following steps: an effective working condition is obtained by a network management service module according to the obtained physical condition of the self network management service port, when the effective working condition and the self working condition are judged to be discordant, the self working condition is selected to be directly updated to the effective working condition according to the effective working condition, or the working condition is judged to update to the effective working condition according to the physical condition and the working condition of the other network management service port of the communication device. When the working condition of the network management service port provided in the invention is updated, the physical condition and the working condition of the other network service port are combined to further judge whether the self working condition is updated, so that the working conditions of multiple network business ports are avoided from being in a transmitted condition simultaneously to form a communication loop, the reliability of the network communication is improved, the networking complexity is reduced, and the utilization rate of resources is improved.

Description

Management method, communication equipment and the communication system of network management functional area
Technical field
The present invention relates to the communications field, relate in particular to management method, communication equipment and the communication system of a kind of network management functional area.
Background technology
Along with the deep development of network control technology and improving constantly of user's request, the existing network equipment is most of adopts unified network management system to safeguard.The interface of network management system is network management functional area, is called for short QX mouth.QX mouth is positioned between functional module NEF (Network Element Function) and MF (mediating function), QAF (Q Adapter Function) and MF (management function) and MF (mediating function) and MF (management function).QX mouth can be realized MIN operation that simple protocol stack (OSI 1 layer and 2 layers) limits, administer and maintain (OAM) function, these functions can be used for the Bidirectional flow of information of simple event, as reset, the loopback test etc. of the variation of logical circuit malfunction, fault.If realize more OAM(Operation Administration Maintenance)s, QX mouth need to possess the high level service between 3 layers to 7 layers.Along with the enhancing of QX mouth functional importance, user is also more and more higher to the reliability requirement of its communication, and wherein active and standby QX mouth protection is comparatively common implementation.Under normal circumstances, network management system is connected to two QX mouths on communication equipment by hub (HUB) or switch, and these two QX mouths are respectively primary QX and QX mouth for subsequent use, forms active and standby QX mouth protection, ensures the reliability of webmaster packet sending and receiving.
QX mouth is active and standby all connect in the situation that, and all webmaster messages are all sent on the main control unit of primary QX and process; While sending message from primary main control unit to QX mouth, decide from the QX mouth of primary main control unit and send or send from the QX mouth of main control unit for subsequent use according to the object MAC of webmaster message.Therefore, the MAC Address of network management system may be from the QX mouth learning of primary main control unit, also may be from the QX mouth learning of main control unit for subsequent use, when network management system is connected to two QX mouths on equipment by HUB or switch, and when the operating state of two QX mouths is all FORWARDING (can forwarding state), network management service traffics through this communication equipment form loop between these two QX mouths, thereby affect the forwarding of these other service traffics of communication equipment.In order to avoid this problem in network, existing way is to adopt two switches to connect respectively two QX mouths on communication equipment, because the MAC Address difference of two switches that adopt, so can not form communications loop.But this method needs the extra switch that increases, increase the complexity of use cost and networking, reduce the utilance of resource.
Summary of the invention
The main technical problem to be solved in the present invention is, management method, communication equipment and the communication system of a kind of network management functional area is provided, and can, in avoiding forming communications loop, reduce the complexity of networking, reduces use cost, improves utilization rate of equipment and installations.
For solving the problems of the technologies described above, the management method that the invention provides a kind of network management functional area comprises:
In the time that the state information acquisition cycle arranging arrives, the each network management business module of communication equipment obtains physical state and the operating state of self network management functional area, the described physical state of obtaining and operating state is sent to other network management business modules of described communication equipment; And reception is from physical state and the operating state of the network management functional area of other network management business modules of described communication equipment;
In the time that the operating state update cycle arranging arrives, the each network management business module of described communication equipment obtains effective operating state according to self the physical state of network management functional area of obtaining, and judges that whether described effective operating state is consistent with the operating state of the network management functional area of self; As no, select directly the operating state of the network management functional area of self to be updated to described effective operating state according to described effective operating state, or select to judge whether the operating state of the network management functional area of self to be updated to described effective operating state according to the physical state of the network management functional area of other network management business modules of described communication equipment and operating state.
In an embodiment of the present invention, be blocked state if obtain described effective operating state, directly the operating state of the network management functional area of self is updated to blocked state; If the described effective operating state obtaining is for can forwarding state, judging whether the operating state of the network management functional area of self to be updated to according to the network management functional area physical state of other network management business modules of described communication equipment and operating state can forwarding state.
In an embodiment of the present invention, judge whether the operating state of the network management functional area of self to be updated to and can forwarding state to comprise according to the physical state of the network management functional area of other network management business modules of described communication equipment and operating state:
If the physical state of the network management functional area of other network management business modules of described communication equipment is all opening, the operating state that judges whether a network management functional area is for can forwarding state; In this way, do not upgrade the operating state of self network management functional area; Otherwise judging whether the operating state of self network management functional area to be updated to according to preset rules can forwarding state;
If the physical state of other network management functional areas of described communication equipment is all closed condition, the operating state of self network management functional area being updated to can forwarding state;
If in the network management functional area of other network management business modules of described communication equipment, existing physical state is the network management functional area of closed condition, while having again physical state to be the network management functional area of opening, be judged as and in the network management functional area of opening, whether have the operating state of a network management functional area for can forwarding state, in this way, do not upgrade the operating state of self network management functional area; Otherwise judging whether the operating state of self network management functional area to be updated to according to described preset rules can forwarding state.
In an embodiment of the present invention, described preset rules is:
In the network management functional area that is opening in physical state, the operating state that the network management functional area that priority is the highest is set is for can forwarding state;
Judge whether the operating state of self network management functional area to be updated to and can forwarding state to comprise according to described preset rules:
Whether in the network management functional area that the priority that judges self network management functional area is opening in physical state, be the highest, in this way, its operating state being updated to can forwarding state; Otherwise, do not upgrade its operating state.
In an embodiment of the present invention, directly the operating state of self network management functional area is updated to after blocked state, also comprises that the operating state after self network management functional area is upgraded sends to other network management business modules.
In an embodiment of the present invention, described communication equipment comprises two network management business modules, be respectively first network management service module and second network management service module, described first network management service module comprises first network management service mouth, and described second network management service module comprises second network management service mouth, described first network management service module according to the physical state of described second network management service mouth and operating state judge whether by the operating state of first network management service mouth be updated to can the process of forwarding state in, if the physical state of described second network management service mouth is closed condition, operating state is can forwarding state time, described first network management service module is updated to after the message of blocked state in the operating state of receiving described second network management service mouth, judging whether the operating state of first network management service mouth to be updated to according to the described message receiving can forwarding state.
The present invention also provides a kind of communication equipment, comprises at least two network management business modules, and described network management business module comprises a network management functional area and the main control unit that is connected corresponding to described network management functional area; Described main control unit comprises timing subelement, state information acquisition subelement, operating state renewal subelement, wherein,
Described timing subelement is used for arranging state information acquisition cycle and operating state update cycle, and in the time that the state information acquisition cycle arranging arrives, sending state information acquisition notifies to described state information acquisition subelement, in the time that the operating state update cycle arranging arrives, send operating state update notification and upgrade subelement to described operating state;
Described state information acquisition subelement is used for receiving after described state information acquisition notice, obtain physical state and the operating state of its map network management service mouth, the described physical state of obtaining and operating state are sent to other network management business modules of described communication equipment; And reception is from physical state and the operating state of the network management functional area of other network management business modules of described communication equipment;
Described operating state is upgraded subelement and is used for receiving after operating state update notification, the physical state of obtaining according to described state information acquisition subelement obtains effective operating state of its map network management service mouth, judges that whether described effective operating state is consistent with its map network management service mouth operating state; As no, select directly the operating state of its map network management service mouth to be updated to described effective operating state according to described effective operating state, or select to judge whether the operating state of its map network management service mouth to be updated to described effective operating state according to the physical state of other network management functional areas of described communication equipment and operating state.
In an embodiment of the present invention, if effective operating state that described operating state renewal subelement obtains is blocked state, described operating state is upgraded subelement for directly the operating state of its corresponding network management functional area being updated to blocked state; If described operating state is upgraded effective operating state that subelement obtains for can forwarding state, described operating state upgrade subelement can forwarding state for judging whether the operating state of its corresponding network management functional area to be updated to according to the physical state of other network management functional areas of described communication equipment and operating state.
In an embodiment of the present invention, described operating state is upgraded subelement for judging whether the operating state of its corresponding network management functional area to be updated to and can forwarding state to comprise according to the physical state of other network management functional areas of described communication equipment and operating state:
If the physical state of other network management functional areas of described communication equipment is all opening, described operating state upgrade subelement for the operating state that judges whether a network management functional area for can forwarding state; In this way, do not upgrade the operating state of its corresponding network management functional area; Otherwise judging whether the operating state of its corresponding network management functional area to be updated to according to preset rules can forwarding state;
If the physical state of other network management functional areas of described communication equipment is all closed condition, described operating state upgrade subelement can forwarding state for the operating state of its corresponding network management functional area is updated to;
If in other network management functional areas of described communication equipment, existing physical state is the network management functional area of closed condition, while having again physical state to be the network management functional area of opening, described operating state upgrade subelement for the operating state that is judged as the network management functional area of opening and whether has a network management functional area for can forwarding state, in this way, do not upgrade the operating state of its corresponding network management functional area; Otherwise judging whether the operating state of its corresponding network management functional area to be updated to according to described preset rules can forwarding state.
In an embodiment of the present invention, described operating state is upgraded subelement and directly the operating state of its corresponding network management functional area is updated to after blocked state, also sends to other network management functional areas for the operating state after this network management functional area is upgraded.
The present invention also provides a kind of communication system, comprises network management device and communication equipment described above, and described network management device is connected with described communication equipment by least two network management functional areas of described communication equipment.
In an embodiment of the present invention, described network management device is connected with at least two network management functional areas of described communication equipment by switch or HUB.
The invention has the beneficial effects as follows:
In the present invention, the each network management business module of communication equipment periodically obtains physical state and the operating state of self network management functional area, and the physical state of obtaining and operating state is sent to other network management business modules of communication equipment; And reception is from physical state and the operating state of other network management business modules transmissions of communication equipment; Then in the time that the operating state update cycle arranging arrives, obtain effective operating state according to self the physical state of obtaining, judge that whether effective operating state is consistent with the operating state of self; If inconsistent, select directly the operating state of self to be updated to effective operating state according to effective operating state, or judge whether its operating state to be updated to described effective operating state according to the physical state of other network management functional areas of communication equipment and operating state.Be that network management functional area in the present invention is in the time that needs upgrade its operating state, have more than is simply to upgrade its operating state along with the variation of its physical state, also further judge whether upgrade the operating state of self in conjunction with physical state and the operating state of other Network mouths, therefore the operating state that can avoid multiple Network mouths is simultaneously in can forwarding state, and cause forming communications loop, improve the reliability of network service; Meanwhile, the present invention does not need to increase extra equipment (for example switch) and avoids forming communications loop, therefore can reduce the complexity of networking, reduces use cost, improves the utilance of resource.
Brief description of the drawings
Fig. 1 is the communication system architecture block diagram of an embodiment of the present invention;
Fig. 2 is the main control unit structured flowchart of the network management business module of the another kind of embodiment of the present invention.
Embodiment
By reference to the accompanying drawings the present invention is described in further detail below by embodiment.
Please refer to Fig. 1, communication system in the present embodiment comprises network management device 2 and communication equipment 1, communication equipment 1 has at least two network management business modules (being QX module), on each network management business module, be provided with a network management functional area (being QX mouth), network management device 2 is connected with communication equipment 1 by least two QX mouths of communication equipment 1, specifically can be connected with at least two QX mouths of communication equipment 1 by HUB or switch.Communication equipment 1 in the present embodiment specifically can be switch, also can be other communicators.Communication equipment 1 also can be connected with other communication equipments by network or other mode, for example, also can be connected with other switch by network.Communication equipment 1 in the present embodiment arranges multiple QX mouths and is mainly used for active and standby switching, to ensure that network traffic do not interrupt.
But, when multiple QX mouth is set, how to avoid forming communications loop between multiple QX mouths, the solution that prior art has not had, in the present embodiment, for this problem, discloses following solution:
The network management business module of communication equipment 1 also comprises the main control unit of a connection corresponding to QX mouth; Refer to Fig. 2, main control unit specifically comprises timing subelement 11, state information acquisition subelement 12, operating state renewal subelement 13, wherein,
Timing subelement 11 is for arranging state information acquisition cycle and operating state update cycle, set state information acquisition cycle and operating state update cycle can be the same cycle herein, the acquisition process that needs only a trigger state information, operating state renewal process is also just triggered simultaneously; Also can be two separate different cycles; Set state information acquisition cycle and operating state update cycle can be for the included all QX mouths of communication equipment 1 herein, the state information acquisition cycle that arranges of certain all QX mouths and operating state update cycle can be set to identical according to actual needs, also can be set to difference.Timing subelement 11 is also for timing, and in the time that the state information acquisition cycle arranging arrives, sends state information acquisition and notify the state information acquisition subelement 12 to QX mouth, obtains subelement 12 and obtain the state information of its corresponding QX mouth with notification status information; In the time that the operating state update cycle arranging arrives, send operating state update notification and upgrade subelement 13 to operating state, notify its operating state to QX mouth to upgrade;
State information acquisition subelement 12 for the state information acquisition notice of receiving timing subelement 11 and sending after, obtain physical state and the operating state of its corresponding QX mouth, the physical state of obtaining and operating state are sent to other QX mouths of this communication equipment; And reception is from physical state and the operating state of other QX mouths transmissions of this communication equipment; State information acquisition subelement 12 also can be used for physical state and the operating state of the each QX mouth obtaining to store, and specifically can be stored in state global table;
Operating state upgrade subelement 13 for the operating state update notification of receiving timing subelement 11 and sending after, the physical state of obtaining according to state information acquisition subelement 12 obtains effective operating state of its corresponding QX mouth, effective operating state is herein the operating state of mating with physical state, for example, when the physical state of QX mouth is opening UP, the effective operating state obtaining according to this physical state is for can forwarding state, and flow can forward; When the physical state of QX mouth is closed condition DOWN, the effective operating state obtaining according to this physical state is blocked state, and flow blocks.Operating state is upgraded subelement 13 and is obtained after effective operating state of QX mouth, judges that whether effective operating state of this QX mouth is consistent with this QX mouth operating state of obtaining; As inconsistent, further selecting according to the effective operating state obtaining is directly the operating state of this QX mouth to be updated to effective operating state, or judge whether the operating state of its corresponding QX mouth to be updated to effective operating state according to the physical state of other QX mouths of communication equipment 1 and operating state, specifically can comprise:
If effective operating state that operating state renewal subelement 13 obtains is blocked state, operating state renewal subelement 13 is directly updated to blocked state by the operating state of its corresponding QX mouth, also can be used for the operating state after upgrading to send to other QX mouths; Otherwise, operating state is upgraded effective operating state of obtaining of subelement for can forwarding state, now operating state upgrade that subelement 13 judges whether the operating state of its corresponding QX mouth to be updated to according to the physical state of other QX mouths of communication equipment and operating state can forwarding state; This process comprises:
Judge that the physical state of other QX mouths of communication equipment 1 be all opening if operating state is upgraded subelement 13, to upgrade the operating state that subelement 13 judges whether a QX mouth be can forwarding state to operating state; In this way, do not upgrade the operating state of its corresponding QX mouth; Otherwise judging whether the operating state of its corresponding QX mouth to be updated to according to preset rules can forwarding state;
If the physical state of other QX mouths of described communication equipment is all closed condition, described operating state upgrade subelement can forwarding state for the operating state of its corresponding QX mouth is updated to;
If upgrading subelement 13, operating state judges in other QX mouths of communication equipment 1, existing physical state is the QX mouth of closed condition, while having again physical state to be the QX mouth of opening, operating state is upgraded subelement 13 and is judged as in the QX mouth of opening, whether there is the operating state of a QX mouth for can forwarding state, in this way, do not upgrade the operating state of its corresponding QX mouth; Otherwise judging whether the operating state of its corresponding QX mouth to be updated to according to preset rules can forwarding state.
Preset rules in the present embodiment can be:
In the network management functional area that is opening in physical state, the operating state that the network management functional area that priority is the highest is set is for can forwarding state;
Therefore, operating state renewal subelement 13 judges whether the operating state of its corresponding QX mouth to be updated to and can forwarding state to comprise according to preset rules:
Operating state is upgraded subelement 13 and is judged whether the priority of its corresponding QX mouth is the highest in all QX mouths that are opening in physical state, if the highest, the operating state of its corresponding QX mouth being updated to can forwarding state; Otherwise, do not upgrade the operating state of its corresponding QX mouth.
Known according to above-mentioned disclosed content, when the closed condition DOWN of the physical state that the QX mouth in the present embodiment obtains, effective operating state of this QX mouth is blocked state, if when the now work of this QX mouth and effective operating state inconsistent (be operating state be can forwarding state), can directly the operating state of this QX mouth be updated to effective operating state, not need physical state and operating state with reference to other QX; Its corresponding operating state that is to say, as long as when the physical state of QX mouth is closed condition, all should be blocked state; When the physical state of QX mouth is UP state, its effective operating state is forwarding state, if now the operating state of this QX mouth is blocked state, in the time judging whether upgrade the operating state of this QX mouth, need further to judge in conjunction with physical state and the operating state of other QX mouths, to ensure in the time having multiple physical states as the QX mouth of UP, the operating state of also only having a QX mouth is for can forwarding state, to avoid the formation of communications loop, improve the reliability of network management.As from the foregoing, in the present embodiment, in the time avoiding forming communications loop, do not need to increase extra switch, therefore can reduce the complexity of networking, reduce use cost, improve the utilance of resource.
For a better understanding of the present invention, taking one, more specifically as example, the present invention is described further in embodiment below:
Communication equipment in the present embodiment only includes two QX modules,, be respectively a QX module and the 2nd QX module, in a QX module, be provided with a QX mouth, in the 2nd QX module, be provided with the 2nd QX mouth; Certainly, according to actual needs, in order further to improve the reliability of communication, also communication equipment also can arrange three or more QX modules, and the QX mouth that adopts one of them QX module is primary QX mouth, other can be used as QX mouth for subsequent use.The one QX mouth is when primary, and a QX mouth is primary QX mouth, and the 2nd QX mouth is QX mouth for subsequent use; Equally, when the 2nd QX mouth is when primary, the 2nd QX mouth is primary QX mouth, and a QX mouth is QX mouth for subsequent use.The corresponding main control unit connecting of the one QX mouth is the first main control unit, and the first main control unit specifically comprises the first timing subelement, the first state information acquisition subelement, the first operating state renewal subelement; The corresponding main control unit connecting of the 2nd QX mouth is the second main control unit, and the second main control unit specifically comprises the second timing subelement, the second state information acquisition subelement, the second operating state renewal subelement.The one QX mouth is set identical with the operating state update cycle with the state information acquisition cycle of the 2nd QX mouth in the present embodiment.Network management device is connected with this communication equipment with the 2nd QX mouth by a QX mouth.
When initial, the operating state of these two QX mouths is all blocked state (BLOCKING), in communication process, in the time that the state information acquisition cycle arrives, the first state information acquisition subelement and the second state information acquisition subelement periodically obtain respectively physical state and the operating state of a QX mouth and the 2nd QX mouth according to the state information acquisition cycle arranging, the physical state of obtaining and operating state are stored respectively in the state global table of the first main control unit and the second main control unit, and the physical state of obtaining and operating state are sent to respectively to the other side's QX mouth, and receive the other side's that the other side sends the physical state of QX mouth and operating state and the physical state and the operating state that receive are stored.
In the time that the operating state update cycle arrives, the first operating state is upgraded subelement and is obtained effective operating state of a QX mouth according to the physical state of the up-to-date QX mouth obtaining, and judges that whether the operating state of the up-to-date QX mouth obtaining is consistent with effective operating state obtained above, if consistent, it is not upgraded, otherwise, judge whether effective operating state is blocked state, in this way, directly the operating state of a QX mouth is upgraded, otherwise, show that this effective operating state, for can forwarding state, judges whether the physical state of the 2nd QX mouth is UP state, as no, the physical state that shows the 2nd QX mouth is DOWN state, now the 2nd QX mouth inevitable blocked state of final operating state within this cycle, therefore the operating state of a QX mouth being updated to can forwarding state, if the physical state of the 2nd QX mouth is UP state, whether the operating state that needs to judge the 2nd QX mouth is can forwarding state, in this way, the operating state of a QX mouth is not upgraded, otherwise, judge whether the priority of a QX mouth is greater than the priority of the 2nd QX mouth, in this way, its operating state being updated to can forwarding state, otherwise, to operating state, it does not upgrade, herein also can be according to judging that now who is for primary QX mouth, the current operating state as primary QX mouth is updated to can forwarding state, and its QX mouth interface is remained to blocked state by its operating state.
In the time that the operating state update cycle arrives, the second operating state is upgraded subelement and is judged whether that the method that the operating state of the 2nd QX mouth is upgraded is the same.
For the more concise and to the point clear and definite the present invention that understands, carry out the explanation of a step below in conjunction with rule list as shown in table 1:
Table 1
In table 1, UP represents that physical state is opening, and DOWN represents that physical state is closed condition, and B represents that Physics Work state is blocked state, and F represents that operating state is can forwarding state;-represent that operating state is constant.(BB) operating state that F represents a QX mouth and the 2nd QX mouth is when being blocked state B, and being switched to can forwarding state F.
As shown in Table 1, in the time that the physical state of a QX mouth and the 2nd QX mouth is all UP, within any operating state cycle, the operating state of all only having a QX mouth is for can forwarding state F; And in the time that the physical state of QX mouth is all DOWN, within this cycle, the operating state of this QX mouth is all finally blocked state B.When the physical state of a QX mouth is UP, when another physical state is DOWN, within this cycle, for the operating state of the QX mouth of UP is finally can forwarding state F, for the operating state of the QX mouth of DOWN is finally blocked state B.
When the physical state of a QX mouth is UP, forwarding state is B, and the 2nd QX mouth physical state is DOWN, when forwarding state is F, the operating state update cycle, while arrival, the operating state of the one QX mouth and the 2nd QX mouth all needed to do once to switch, but transfer sequence can be different; For example can switch in the following order:
It is F that the first operating state renewal subelement obtains its effective operating state according to the physical state of a QX mouth, and its work at present state is inconsistent, then the operating state that judges the 2nd QX mouth is F state, if now only according to the operating state judgement of the 2nd QX mouth, the operating state of a QX mouth can not be upgraded, and still remains blocked state.But now the physical state of the 2nd QX mouth is DOWN, its effective operating state is B, F is inconsistent with its work at present state, now the operating state of the 2nd QX mouth need be updated to B, the second operating state is upgraded subelement the operating state B after switching is sent to a QX mouth, and the first status message acquisition module is stored in this information in the state global table at the first main control unit place after receiving this message; Then the first operating state is upgraded subelement to obtain its effective operating state according to the physical state of a QX mouth is F, and when its work at present state is inconsistent, then the operating state that judges up-to-date the 2nd QX mouth receiving is B state, now met renewal (or switching) condition, the first operating state renewal subelement is updated to the operating state of a QX mouth can forwarding state.Certainly, in these cases, for fear of only judging whether to switch while there is above-mentioned situation the operating state of self according to the operating state of other QX mouths, also can directly adopt above-mentionedly directly to judge according to the physical state of QX mouth.
The detailed process of upgrading below in conjunction with the operating state of a QX mouth is further described:
Step 301: the state information acquisition cycle arrives, the first main control unit of the one QX module obtains physical state and the operating state of a QX mouth, and the physical state of obtaining and operating state are sent to the 2nd QX module, receive physical state and the work state information of the 2nd QX mouth simultaneously, these information are stored in the first main control unit state global table T;
Step 302: while arrival, in inquiry the first main control unit global state table T, the physical state of a QX mouth and the 2nd QX mouth, if be UP, went to step 303, otherwise went to step 306 the operating state update cycle;
Step 303: whether the operating state that judges a QX mouth and the 2nd QX mouth is consistent, if inconsistent, a QX mouth operating state is BLOCKING, the operating state of another QX mouth is FORWARDING, goes to step 304; Otherwise, go to step 305:
Step 304: keep current forwarding status information constant, so far in this cycle, state processing flow process finishes.
Step 305: the operating state that shows a QX and the 2nd QX is all BLOCKING, the operating state that a QX mouth is set is FORWARDING, upgrades the first main control unit state global table T, so far, in this cycle, state processing flow process finishes.
Step 306: judge the whether all DOWN of physical state of a QX mouth and the 2nd QX mouth, if so, go to step 307, otherwise go to step 310;
Step 307, judges and the whether BLOCKING of operating state of a QX mouth if so, goes to step 308; Otherwise, go to step 309;
Step 308: keep work at present state constant, so far in this cycle, state processing flow process finishes;
Step 309: the operating state of a QX mouth is updated to BLOCKING, and upgrades first main control unit state global table T, so far, in this cycle, state processing flow process finishes.
Step 310: judge that whether its current operating state of effective operating state obtaining according to the physical state of a QX mouth is consistent, if consistent, operating state is FORWARDING when a QX mouth physical state UP, when QX mouth physical state is DOWN, operating state is BLOCKING, goes to step 311; Otherwise, go to step 312:
Step 311: keep the current operating state of a QX mouth constant, so far, in this cycle, state processing flow process finishes.
Step 312: whether the physical state that judges a QX mouth is UP, if so, goes to step 313; Otherwise, go to step 316;
Step 313: judge whether the current operating state of a QX mouth is BLOCKING, in this way, goes to step 314; Otherwise go to step 315:
Step 314: the operating state of a QX mouth is set to FORWARDING, and upgrade the first main control unit state global table T, so far, in this cycle, state processing flow process finishes.
Step 315: keep the operating state of a QX mouth constant, so far, in this cycle, state processing flow process finishes.
Step 316: the physical state of a QX mouth is DOWN, judges whether the current operating state of a QX mouth is BLOCKING, in this way, goes to step 317; Otherwise go to step 318:
Step 317: keep the operating state of a QX mouth constant, so far, in this cycle, state processing flow process finishes.
Step 318: the operating state of a QX mouth is set to BLOCKING, and upgrade the first main control unit state global table T, so far, in this cycle, state processing flow process finishes.
In the present embodiment, in the time there is active and standby switching in communication equipment, the operating state that switches to primary QX mouth (for example a QX mouth switches to primary QX mouth) is unconditionally switched to FORWARDING immediately, and its operating state is upgraded in timing as stated above, if the effective operating state calculating and current operating state are inconsistent and while meeting above-mentioned state switching condition, trigger its renewal from left state, and record the operating state after upgrading; Otherwise keep original state constant.The main control unit (for example the second control unit) that switches to QX mouth for subsequent use is restarted after end, QX mouth initial condition for subsequent use is set to BLOCKING, its operating state is upgraded in timing as stated above, if the effective operating state calculating and current operating state are inconsistent and meet above-mentioned state switching condition, trigger its operating state and upgrade, and record the forwarding state after upgrading; Otherwise keep original state constant; , can not interrupt to ensure normal network traffic by above-mentioned masterslave switchover process.
Above content is in conjunction with concrete execution mode further description made for the present invention, can not assert that specific embodiment of the invention is confined to these explanations.For general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.

Claims (12)

1. a management method for network management functional area, is characterized in that comprising:
In the time that the state information acquisition cycle arranging arrives, the each network management business module of communication equipment obtains physical state and the operating state of self network management functional area, the described physical state of obtaining and operating state is sent to other network management business modules of described communication equipment; And reception is from physical state and the operating state of the network management functional area of other network management business modules of described communication equipment;
In the time that the operating state update cycle arranging arrives, the each network management business module of described communication equipment obtains effective operating state according to self the physical state of network management functional area of obtaining, and judges that whether described effective operating state is consistent with the operating state of the network management functional area of self; As no, select directly the operating state of the network management functional area of self to be updated to described effective operating state according to described effective operating state, or select to judge whether the operating state of the network management functional area of self to be updated to described effective operating state according to the physical state of the network management functional area of other network management business modules of described communication equipment and operating state, the network management functional area that finally makes the each network management business module of described communication equipment is not simultaneously in can forwarding state.
2. the management method of network management as claimed in claim 1 functional area, is characterized in that, is blocked state if obtain described effective operating state, directly the operating state of the network management functional area of self is updated to blocked state; If the described effective operating state obtaining is for can forwarding state, judging whether the operating state of the network management functional area of self to be updated to according to the network management functional area physical state of other network management business modules of described communication equipment and operating state can forwarding state.
3. the management method of network management as claimed in claim 2 functional area, it is characterized in that, judge whether the operating state of the network management functional area of self to be updated to and can forwarding state to comprise according to the physical state of the network management functional area of other network management business modules of described communication equipment and operating state:
If the physical state of the network management functional area of other network management business modules of described communication equipment is all opening, the operating state that judges whether a network management functional area is for can forwarding state; In this way, do not upgrade the operating state of self network management functional area; Otherwise judging whether the operating state of self network management functional area to be updated to according to preset rules can forwarding state;
If the physical state of other network management functional areas of described communication equipment is all closed condition, the operating state of self network management functional area being updated to can forwarding state;
If in the network management functional area of other network management business modules of described communication equipment, existing physical state is the network management functional area of closed condition, while having again physical state to be the network management functional area of opening, be judged as and in the network management functional area of opening, whether have the operating state of a network management functional area for can forwarding state, in this way, do not upgrade the operating state of self network management functional area; Otherwise judging whether the operating state of self network management functional area to be updated to according to described preset rules can forwarding state.
4. the management method of network management as claimed in claim 3 functional area, is characterized in that, described preset rules is:
In the network management functional area that is opening in physical state, the operating state that the network management functional area that priority is the highest is set is for can forwarding state;
Judge whether the operating state of self network management functional area to be updated to and can forwarding state to comprise according to described preset rules:
Whether in the network management functional area that the priority that judges self network management functional area is opening in physical state, be the highest, in this way, its operating state being updated to can forwarding state; Otherwise, do not upgrade its operating state.
5. the management method of network management as claimed in claim 3 functional area, it is characterized in that, directly the operating state of self network management functional area is updated to after blocked state, also comprises that the operating state after self network management functional area is upgraded sends to other network management business modules.
6. the management method of the network management functional area as described in claim 4 or 5, it is characterized in that, described communication equipment comprises two network management business modules, be respectively first network management service module and second network management service module, described first network management service module comprises first network management service mouth, and described second network management service module comprises second network management service mouth, described first network management service module according to the physical state of described second network management service mouth and operating state judge whether by the operating state of first network management service mouth be updated to can the process of forwarding state in, if the physical state of described second network management service mouth is closed condition, operating state is can forwarding state time, described first network management service module is updated to after the message of blocked state in the operating state of receiving described second network management service mouth, judging whether the operating state of first network management service mouth to be updated to according to the described message receiving can forwarding state.
7. a communication equipment, comprises at least two network management business modules, it is characterized in that, described network management business module comprises a network management functional area and the main control unit that is connected corresponding to described network management functional area; Described main control unit comprises timing subelement, state information acquisition subelement, operating state renewal subelement, wherein,
Described timing subelement is used for arranging state information acquisition cycle and operating state update cycle, and in the time that the state information acquisition cycle arranging arrives, sending state information acquisition notifies to described state information acquisition subelement, in the time that the operating state update cycle arranging arrives, send operating state update notification and upgrade subelement to described operating state;
Described state information acquisition subelement is used for receiving after described state information acquisition notice, obtain physical state and the operating state of its map network management service mouth, the described physical state of obtaining and operating state are sent to other network management business modules of described communication equipment; And reception is from physical state and the operating state of the network management functional area of other network management business modules of described communication equipment;
Described operating state is upgraded subelement and is used for receiving after operating state update notification, the physical state of obtaining according to described state information acquisition subelement obtains effective operating state of its map network management service mouth, judges that whether described effective operating state is consistent with its map network management service mouth operating state; As no, select directly the operating state of its map network management service mouth to be updated to described effective operating state according to described effective operating state, or select to judge whether the operating state of its map network management service mouth to be updated to described effective operating state according to the physical state of other network management functional areas of described communication equipment and operating state, the network management functional area that finally makes the each network management business module of described communication equipment is not simultaneously in can forwarding state.
8. communication equipment as claimed in claim 7, it is characterized in that, if effective operating state that described operating state renewal subelement obtains is blocked state, described operating state is upgraded subelement for directly the operating state of its corresponding network management functional area being updated to blocked state; If described operating state is upgraded effective operating state that subelement obtains for can forwarding state, described operating state upgrade subelement can forwarding state for judging whether the operating state of its corresponding network management functional area to be updated to according to the physical state of other network management functional areas of described communication equipment and operating state.
9. communication equipment as claimed in claim 8, it is characterized in that, described operating state is upgraded subelement for judging whether the operating state of its corresponding network management functional area to be updated to and can forwarding state to comprise according to the physical state of other network management functional areas of described communication equipment and operating state:
If the physical state of other network management functional areas of described communication equipment is all opening, described operating state upgrade subelement for the operating state that judges whether a network management functional area for can forwarding state; In this way, do not upgrade the operating state of its corresponding network management functional area; Otherwise judging whether the operating state of its corresponding network management functional area to be updated to according to preset rules can forwarding state;
If the physical state of other network management functional areas of described communication equipment is all closed condition, described operating state upgrade subelement can forwarding state for the operating state of its corresponding network management functional area is updated to;
If in other network management functional areas of described communication equipment, existing physical state is the network management functional area of closed condition, while having again physical state to be the network management functional area of opening, described operating state upgrade subelement for the operating state that is judged as the network management functional area of opening and whether has a network management functional area for can forwarding state, in this way, do not upgrade the operating state of its corresponding network management functional area; Otherwise judging whether the operating state of its corresponding network management functional area to be updated to according to described preset rules can forwarding state.
10. communication equipment as claimed in claim 8 or 9, it is characterized in that, described operating state is upgraded subelement and directly the operating state of its corresponding network management functional area is updated to after blocked state, also sends to other network management functional areas for the operating state after this network management functional area is upgraded.
11. 1 kinds of communication systems, is characterized in that, comprise network management device and as described in claim 7-10 any one communication equipment, described network management device is connected with described communication equipment by least two network management functional areas of described communication equipment.
12. communication systems as claimed in claim 11, is characterized in that, described network management device is connected with at least two network management functional areas of described communication equipment by switch or HUB.
CN201210178971.6A 2012-06-01 2012-06-01 Management method of network management service port, communication device and communication system Active CN102710442B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210178971.6A CN102710442B (en) 2012-06-01 2012-06-01 Management method of network management service port, communication device and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210178971.6A CN102710442B (en) 2012-06-01 2012-06-01 Management method of network management service port, communication device and communication system

Publications (2)

Publication Number Publication Date
CN102710442A CN102710442A (en) 2012-10-03
CN102710442B true CN102710442B (en) 2014-12-10

Family

ID=46903013

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210178971.6A Active CN102710442B (en) 2012-06-01 2012-06-01 Management method of network management service port, communication device and communication system

Country Status (1)

Country Link
CN (1) CN102710442B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7076594B2 (en) * 2000-12-22 2006-07-11 Cisco Technology, Inc. Apparatus and method for preventing one way connectivity loops in a computer network
CN101001192A (en) * 2007-01-17 2007-07-18 华为技术有限公司 Method, system and equipment for protecting ring network link
CN101022388A (en) * 2007-03-23 2007-08-22 毛德操 Method for constituting self-healing ring with ordinery Ethernet technique
CN101035053A (en) * 2007-04-26 2007-09-12 中兴通讯股份有限公司 Processing method for node link switching of the distributed system and its device
CN101212366A (en) * 2007-12-21 2008-07-02 杭州华三通信技术有限公司 Failure detection method, system, and main node in Ethernet loop network
CN101247306A (en) * 2008-03-13 2008-08-20 华为技术有限公司 Method for edge port block in ethernet ring, ethernet ring system and device
CN101674240A (en) * 2009-09-24 2010-03-17 中兴通讯股份有限公司 Method and device for realizing single-node dual home for distributed system
CN101834687A (en) * 2009-03-11 2010-09-15 华为技术有限公司 Method, system and device for switching main and spare light access networks

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7076594B2 (en) * 2000-12-22 2006-07-11 Cisco Technology, Inc. Apparatus and method for preventing one way connectivity loops in a computer network
CN101001192A (en) * 2007-01-17 2007-07-18 华为技术有限公司 Method, system and equipment for protecting ring network link
CN101022388A (en) * 2007-03-23 2007-08-22 毛德操 Method for constituting self-healing ring with ordinery Ethernet technique
CN101035053A (en) * 2007-04-26 2007-09-12 中兴通讯股份有限公司 Processing method for node link switching of the distributed system and its device
CN101212366A (en) * 2007-12-21 2008-07-02 杭州华三通信技术有限公司 Failure detection method, system, and main node in Ethernet loop network
CN101247306A (en) * 2008-03-13 2008-08-20 华为技术有限公司 Method for edge port block in ethernet ring, ethernet ring system and device
CN101834687A (en) * 2009-03-11 2010-09-15 华为技术有限公司 Method, system and device for switching main and spare light access networks
CN101674240A (en) * 2009-09-24 2010-03-17 中兴通讯股份有限公司 Method and device for realizing single-node dual home for distributed system

Also Published As

Publication number Publication date
CN102710442A (en) 2012-10-03

Similar Documents

Publication Publication Date Title
US9270524B2 (en) Method and device for LACP link switching and data transmission
US7869376B2 (en) Communicating an operational state of a transport service
EP1982447B1 (en) System and method for detecting and recovering from virtual switch link failures
US9385944B2 (en) Communication system, path switching method and communication device
CN102075343B (en) An out-of-band management realization method, a system for the same and an out-of-band management switch
CN102724030A (en) Stacking system with high reliability
CN103944746A (en) Hot standby method and device
EP3242446A1 (en) Failure protection method, device and system for ring protection link
JPWO2012066625A1 (en) Communication system control method, communication system, and communication apparatus
CN103152210B (en) Repair method and the stack equipment of Spanning-Tree Protocol forwarding state exception
CN105656645A (en) Decision making method and device for fault processing of stacking system
US9906412B2 (en) Collaboration method and system in distributed resilient network interconnect system
WO2016165142A1 (en) Preserving method and device for virtual network
WO2016095344A1 (en) Link switching method and device, and line card
CN102571612A (en) Virtual router redundancy protocol (VRRP) state switching method and three-layer exchange equipment
CN108600100B (en) Member port selection method and device
AU2011229566B2 (en) Load sharing method and apparatus
CN113300952B (en) Distributed drainage system for cloud security resource pool and drainage method thereof
US9967137B2 (en) System and method for protecting virtual circuits in dynamic multi-domain environment
CN109150709B (en) Method, equipment and system for realizing Mux machine
CN103840972A (en) System and method for backup between link aggregation groups in packet switched network
US7860090B2 (en) Method for processing LMP packets, LMP packet processing unit and LMP packet processing node
CN102710442B (en) Management method of network management service port, communication device and communication system
JP6118464B2 (en) Port status synchronization method, related device, and system
WO2011003260A1 (en) Method and device for service transfer in automatically switched optical network

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20171020

Address after: 401121 Chongqing new high tech area in northern Yubei District Mount Huangshan Middle Road No. 66 A207

Patentee after: Chongqing AOPO Ruisen Technology Co. Ltd.

Address before: 518057 Nanshan District science and Technology Park, Guangdong, South Road, ZTE building, science and Technology Park

Patentee before: ZTE Corporation

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20171116

Address after: 401120 Chongqing Longxi street, California city garden, Yubei District, 3, 8-5

Patentee after: CHONGQING FANCHAO BRAND MANAGEMENT CO., LTD.

Address before: 401121 Chongqing new high tech area in northern Yubei District Mount Huangshan Middle Road No. 66 A207

Patentee before: Chongqing AOPO Ruisen Technology Co. Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190605

Address after: 221600 Science and Technology Park A5, Peixian Economic Development Zone, Xuzhou City, Jiangsu Province

Patentee after: Hans Automation Technology (Jiangsu) Co., Ltd.

Address before: 401120 Chongqing Yubei District Longxi Street 3 California City Garden 8-5

Patentee before: CHONGQING FANCHAO BRAND MANAGEMENT CO., LTD.